frameset.el (frameset--jump-to-register): Check that buffer is live (bug#16749).
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2
3 * frameset.el (frameset--jump-to-register): Check that buffer is live
4 (bug#16749).
5
6 2014-02-15 Glenn Morris <rgm@gnu.org>
7
8 * info.el (info-initialize): Revert 2014-01-10 change.
9
10 2014-02-14 Glenn Morris <rgm@gnu.org>
11
12 * replace.el (map-query-replace-regexp)
13 (read-regexp-defaults-function, read-regexp): Doc fixes.
14
15 * dired.el (dired-read-regexp):
16 * faces.el (list-faces-display):
17 * misearch.el (multi-isearch-read-matching-buffers)
18 (multi-isearch-read-matching-files):
19 * play/cookie1.el (cookie-apropos):
20 * progmodes/grep.el (grep-read-regexp): Doc fixes.
21
22 * textmodes/remember.el (remember): Use frameset-to-register
23 rather than frame-configuration-to-register.
24
25 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
26
27 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
28 incorrect keybinding.
29
30 2014-02-13 Daniel Colascione <dancol@dancol.org>
31
32 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
33 when adding overlays so that line numbers from compiler match line
34 numbers we use.
35
36 2014-02-13 Glenn Morris <rgm@gnu.org>
37
38 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
39
40 * jit-lock.el (jit-lock-mode): Doc fix.
41
42 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
43
44 * apropos.el (apropos-read-pattern): When the user passes an empty
45 string, give a more helpful error message than "Wrong type
46 argument: stringp, nil".
47
48 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
51
52 2014-02-13 Glenn Morris <rgm@gnu.org>
53
54 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
55
56 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
59 shift-select commands.
60
61 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
62
63 * progmodes/js.el (js-indent-line): Don't widen.
64 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
65
66 2014-02-12 Glenn Morris <rgm@gnu.org>
67
68 * icomplete.el (icomplete): Add info-link to defgroup.
69 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
70 (icomplete-minibuffer-map, icomplete-mode)
71 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
72
73 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
74 (package-menu-filter): Rename from package-menu-filter-interactive.
75 Doc fix.
76
77 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
78
79 * frameset.el (frameset--jump-to-register): Select the required
80 window and buffer before restoring position (bug#16696).
81
82 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
83
84 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
85
86 2014-02-10 Glenn Morris <rgm@gnu.org>
87
88 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
89
90 2014-02-10 Eli Zaretskii <eliz@gnu.org>
91
92 * w32-common-fns.el (x-get-selection): Doc fix.
93 * select.el (x-get-selection): Doc fix. (Bug#15109)
94
95 * face-remap.el (face-remap-add-relative)
96 (face-remap-remove-relative, face-remap-reset-base)
97 (face-remap-set-base): Call force-mode-line-update to redisplay
98 the current buffer due to potential change in faces. (Bug#16709)
99
100 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
101
102 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
103 script more robustly.
104
105 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
106
107 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
108
109 * simple.el (choose-completion): Doc fix (bug#14160).
110
111 * subr.el (event-start): Say what a nil EVENT value means.
112
113 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
114 (bug#14197).
115
116 * progmodes/grep.el (find-program): Doc fix (bug#14289).
117
118 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
119
120 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
121
122 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
123 predicate function (bug#15455).
124
125 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
126
127 * ielm.el (inferior-emacs-lisp-mode): Instead of
128 `comment-use-global-state', set `comment-use-syntax'.
129
130 2014-02-10 Glenn Morris <rgm@gnu.org>
131
132 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
133
134 2014-02-09 Alan Mackenzie <acm@muc.de>
135
136 Fix c-invalidate-state-cache on narrowed buffers.
137 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
138 Widen when setting and clearing the CPP delimiter properties.
139
140 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
141
142 * help.el (describe-bindings): Doc fix (bug#9888).
143
144 * files.el (save-buffer): Use ARG as the parameter name for
145 consistency (bug#10346).
146 (save-buffer): Clarify the 0 argument (bug#10346).
147
148 * cus-edit.el (customize-apropos): Fix error string.
149 (custom-buffer-create): Doc fix (bug#11122).
150 (custom-sort-items): Doc fix (bug#11121).
151
152 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
153
154 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
155 (icomplete-simple-completing-p): Mention the previous variable.
156
157 * font-lock.el (font-lock-value-in-major-mode): Clarify the
158 meaning of the parameter (bug#12282).
159
160 * files.el (find-file-noselect): Clarify prompt when changing
161 readedness (bug#13261).
162 (locate-file): Suffixes aren't returned, so don't say that they
163 are (bug#12674).
164 (backup-inhibited): Doc clarification (bug#12525).
165
166 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
167 before we actually start to delete things (bug#16331).
168
169 * subr.el (event-start): Doc fix (bug#14228).
170 (event-end): Ditto.
171
172 2014-02-09 Glenn Morris <rgm@gnu.org>
173
174 * emacs-lisp/warnings.el (lwarn):
175 Empower help-enable-auto-load. (Bug#15940)
176
177 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
178
179 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
180 (Bug#16690)
181
182 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
183
184 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
185 Insert output at end of buffer. (Bug#16120)
186
187 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
188
189 * simple.el (choose-completion-string-functions): Document new
190 calling convention (bug#14153).
191 (execute-extended-command): Clarify doc string (bug#13373).
192
193 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
194
195 * find-dired.el (find-name-dired): Doc fix (bug#14290).
196 (find-grep-dired): Doc fix (bug#14288).
197
198 2014-02-08 Juri Linkov <juri@jurta.org>
199
200 * isearch.el (isearch-quote-char): Check character validity
201 like in `quoted-insert' (bug#16677).
202
203 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
204
205 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
206
207 * isearch.el (isearch-hide-immediately): Doc clarification
208 (bug#14723).
209
210 * simple.el (line-move): Document utility function used many
211 places in the Emacs sources (bug#14843).
212
213 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
214 (dired-prev-marked-file): Doc fix (bug#14855).
215 (dired-up-directory): Doc fix (bug#14848).
216
217 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
218
219 * files.el (file-relative-name): Doc fix (bug#15159).
220
221 * fringe.el (fringe-styles): Doc fix (bug#15239).
222
223 * isearch.el (isearch-filter-predicate): Documentation typo fix
224 (bug#15474).
225
226 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
227
228 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
229
230 * replace.el (replace-match-maybe-edit): Doc clarification
231 (bug#15632).
232
233 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
234
235 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
236
237 2014-02-08 Glenn Morris <rgm@gnu.org>
238
239 * help-fns.el (describe-variable):
240 Check {file,dir}-local-variables-alist, and buffer-file-name,
241 in the correct buffer.
242
243 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
244
245 * help-fns.el (describe-variable): Fix the case where
246 a value is directory-local with no dir-locals file. (Bug#16635)
247
248 2014-02-08 Glenn Morris <rgm@gnu.org>
249
250 * abbrev.el (edit-abbrevs-mode):
251 Derive from fundamental-mode. (Bug#16682)
252
253 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
254
255 * simple.el (quoted-insert): Check character validity (bug#16677).
256
257 2014-02-07 Juri Linkov <juri@jurta.org>
258
259 * desktop.el (desktop-read): Claim the lock when the owner is not
260 the current process. (Bug#16157)
261
262 2014-02-07 Juri Linkov <juri@jurta.org>
263
264 * desktop.el (desktop-buffers-not-to-save): Change default from nil
265 to "\\` ". (Bug#16651)
266
267 2014-02-07 Juri Linkov <juri@jurta.org>
268
269 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
270 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
271 (desktop-auto-save-cancel-timer): New function with some code from
272 `desktop-auto-save-set-timer'.
273 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
274 Instead of setting `desktop-save-mode' to nil, call
275 `desktop-save-mode' with arg 0. (Bug#16630)
276
277 2014-02-07 Glenn Morris <rgm@gnu.org>
278
279 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
280 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
281 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
282
283 * obsolete/iswitchb.el: Move to obsolete/.
284 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
285 since obsolete/ is not scanned for autoloads.
286 * emacs-lisp/authors.el (authors-valid-file-names):
287 Add iswitchb.el.
288
289 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
290 Disable now non-functional find-file-hook.
291
292 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
293
294 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
295 instead of ";" in order to avoid additional prompts. Let heredoc
296 scripts read from tty. (Bug#16582)
297 (tramp-send-command): No special handling of heredocs, it isn't
298 necessary anymore.
299
300 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
303 with a space (bug#16664). Limit the symbols considered to the ones
304 that are bound or fbound (bug#16646).
305
306 2014-02-06 Glenn Morris <rgm@gnu.org>
307
308 * epa.el (epa-mail-aliases): Doc fix.
309
310 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
311
312 * emacs-lisp/lisp.el (lisp-completion-at-point):
313 Use `completion-table-merge' instead of `completion-table-in-turn'
314 (bug#16604).
315
316 * minibuffer.el (completion-table-merge): New function.
317
318 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
319
320 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
321 (tramp-sh-handle-set-file-acl)
322 (tramp-sh-handle-start-file-process)
323 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
324 (tramp-find-executable, tramp-send-command): Use it.
325
326 2014-02-05 Glenn Morris <rgm@gnu.org>
327
328 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
329
330 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
331
332 * progmodes/python.el (python-shell-send-string):
333 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
334
335 2014-02-04 Anders Lindgren <andlind@gmail.com>
336
337 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
338 the names (bug#16620).
339
340 2014-02-03 Martin Rudalics <rudalics@gmx.at>
341
342 * faces.el (window-divider): New default value. Rewrite doc-string.
343 (window-divider-first-pixel, window-divider-last-pixel): New faces.
344
345 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
346
347 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
348 `protected' and `public' can also be called without arguments.
349
350 2014-02-03 Glenn Morris <rgm@gnu.org>
351
352 * register.el (window-configuration-to-register)
353 (frame-configuration-to-register): Unadvertise unused argument.
354 * frameset.el (frameset-to-register): Remove unused argument.
355
356 * frameset.el (frameset-to-register):
357 * kmacro.el (kmacro-to-register):
358 * register.el (increment-register):
359 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
360 (calc-append-to-register, calc-prepend-to-register):
361 * play/gametree.el (gametree-layout-to-register)
362 (gametree-apply-register-layout):
363 * textmodes/picture.el (picture-clear-rectangle-to-register)
364 (picture-yank-rectangle-from-register):
365 * vc/emerge.el (emerge-combine-versions-register):
366 Use register-read-with-preview to read registers.
367
368 2014-02-03 João Távora <joaotavora@gmail.com>
369
370 * elec-pair.el (electric-pair-backward-delete-char): Don't error
371 when at beginning of (possibly narrowed) buffer.
372
373 2014-02-02 Daniel Colascione <dancol@dancol.org>
374
375 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
376 Also try to display local help from just before point.
377
378 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
379
380 c-parse-state. Don't "append-lower-brace-pair" in certain
381 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
382 recognised as a comment.
383
384 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
385 as well as normal comment starter.
386 (c-parse-state-get-strategy): Extra return possibility
387 'back-and-forward.
388 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
389 return value list to indicate replacement of a brace-pair cons
390 with its car.
391 (c-parse-state-1): With 'back-and-forward, only call
392 c-append-lower-brace-pair-to state-cache when cons-separated.
393
394 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
395
396 * term/ns-win.el (ns-suspend-error): New function.
397 (ns-initialize-window-system): Add ns-suspend-error to
398 suspend-hook (Bug#16612).
399
400 2014-02-02 Daniel Colascione <dancol@dancol.org>
401
402 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
403
404 2014-02-02 Daniel Colascione <dancol@dancol.org>
405
406 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
407
408 2014-02-02 Glenn Morris <rgm@gnu.org>
409
410 * register.el (register-read-with-preview, point-to-register)
411 (window-configuration-to-register, frame-configuration-to-register)
412 (jump-to-register, number-to-register, view-register, insert-register)
413 (copy-to-register, append-to-register, prepend-to-register)
414 (copy-rectangle-to-register): Doc fixes.
415
416 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
419 * emacs-lisp/find-func.el (find-function-C-source): Idem.
420 * emacs-lisp/nadvice.el (advice--cd*r): New function.
421 * help-fns.el (describe-function-1): Use it.
422
423 2014-02-02 Glenn Morris <rgm@gnu.org>
424
425 * register.el (register-preview-default): New function,
426 split from register-preview.
427 (register-preview-function): Rename from register-preview-functions,
428 make it not a hook.
429 (register-preview): Use register-preview-function.
430 (register-read-with-preview): Error on non-character event. (Bug#16595)
431
432 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
433
434 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
435 `:' before binary operators (bug#16609). Don't check for `:'
436 before `[' and `(', or their syntax status. A percent literal
437 can't end with either.
438 (ruby-font-lock-keywords): For built-ins that require arguments,
439 check that they're followed by something that looks like argument
440 (bug#16610).
441
442 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
443
444 * subr.el (butlast): Document what an omitted N means (bug#13437).
445 (nbutlast): Ditto.
446
447 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
448
449 * net/shr.el (shr-generic): Make into a defsubst to make the stack
450 depth shallower (bug#16587).
451 (shr-tag-svg): Respect `shr-inhibit-images'.
452 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
453
454 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
455
456 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
457 (ruby-smie-grammar): Make "." right-associative. Make its priority
458 lower than the ternary and all binary operators.
459 (ruby-smie-rules): Indent "(" relative to the first non-"."
460 parent, or the first "." parent at indentation.
461 Use `ruby-align-chained-calls' for indentation of "." tokens.
462 (Bug#16593)
463
464 2014-01-31 Juri Linkov <juri@jurta.org>
465
466 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
467 from `make-hash-table'.
468
469 * textmodes/ispell.el (ispell-init-process): Change message format
470 to be consistent with other messages.
471
472 2014-01-31 Glenn Morris <rgm@gnu.org>
473
474 * delsel.el (delete-selection-mode): Doc fix.
475
476 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
477 (trace-function-background): Doc fixes.
478
479 * ido.el (ido-use-virtual-buffers): Doc fix.
480 Reset :version, since the default value has not changed.
481
482 * register.el (register-preview-delay, register-read-with-preview):
483 Doc fixes.
484
485 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
486 do not mess with mail-buffer position (fixes 2009-11-03 change).
487 * progmodes/cc-mode.el (c-submit-bug-report):
488 Check auto-fill-mode is bound. (Bug#16592)
489
490 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
491
492 * startup.el (fancy-splash-image-file): New function,
493 split from fancy-splash-head.
494 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
495 so that we are both using the same image. (Bug#16574)
496
497 2014-01-30 Glenn Morris <rgm@gnu.org>
498
499 * simple.el (eval-expression): Doc fix.
500
501 * hexl.el (hexl-mode-hook):
502 * ielm.el (ielm-mode-hook):
503 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
504 (lisp-interaction-mode-hook):
505 * progmodes/cfengine.e (cfengine3-documentation-function):
506 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
507
508 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
511 is a symbol (bug#16584).
512
513 2014-01-30 Glenn Morris <rgm@gnu.org>
514
515 * help.el (help-for-help-internal): Add "P" to text.
516
517 2014-01-29 Glenn Morris <rgm@gnu.org>
518
519 * simple.el (just-one-space, cycle-spacing): Doc fixes.
520
521 2014-01-28 Martin Rudalics <rudalics@gmx.at>
522
523 * window.el (fit-frame-to-buffer): Fix calculations for margins and
524 height constraints.
525
526 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
527
528 * progmodes/hideif.el: Extend to full CPP expression syntax.
529 (hif-token-alist): Add missing tokens.
530 (hif-token-regexp): Add support for float/octal/hex immediates.
531 (hif-string-literal-regexp): New const.
532 (hif-tokenize): Recognize strings and float/octal/hex immediates.
533 (hif-exprlist): New function.
534 (hif-parse-if-exp): Use it.
535 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
536 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
537 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
538 (hif-logxor, hif-comma): New functions.
539
540 2014-01-28 Glenn Morris <rgm@gnu.org>
541
542 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
543
544 * indent.el (tab-stop-list): Doc fix. Add :version.
545
546 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
547 (cvs-append-to-ignore): Add compatibility alias.
548
549 2014-01-27 Glenn Morris <rgm@gnu.org>
550
551 * dired.el (dired-hide-details-mode): Don't autoload it,
552 since it cannot be used outside Dired buffers anyway.
553
554 * emulation/cua-base.el (cua-mode): Doc fix.
555
556 * dired.el (dired-hide-details-hide-symlink-targets)
557 (dired-hide-details-hide-information-lines)
558 (dired-hide-details-mode): Doc fixes.
559
560 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
561 * strokes.el (strokes-file): Doc fix. Bump :version.
562 (strokes-help): Doc fix.
563 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
564 * emulation/viper.el (viper): Doc fix for custom group.
565 (top-level): Remove oh-so-no-longer-relevant text about vip.
566 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
567
568 * ido.el (ido-save-directory-list-file):
569 * saveplace.el (save-place-file):
570 * calendar/timeclock.el (timeclock-file):
571 * net/quickurl.el (quickurl-url-file):
572 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
573 * progmodes/idlwave.el (idlwave-config-directory):
574 * textmodes/remember.el (remember-data-file):
575 Bump :version.
576
577 2014-01-26 Glenn Morris <rgm@gnu.org>
578
579 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
580 Doc fix. Make obsolete.
581 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
582
583 * sort.el (delete-duplicate-lines): Doc fix.
584
585 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
586
587 * progmodes/ada-mode.el (ada):
588 * woman.el (woman): Link to info manual and Commentary section.
589
590 * progmodes/flymake.el (flymake):
591 * nxml/nxml-mode.el (nxml):
592 * net/eww.el (eww):
593 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
594 * htmlfontify.el (htmlfontify):
595 * ses.el (ses):
596 * epa.el (epa):
597 * ido.el (ido): Link to info manual.
598
599 2014-01-25 Leo Liu <sdl.web@gmail.com>
600
601 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
602
603 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
604
605 * net/shr.el (shr-tag-img): Prefer the title over the alt text
606 (bug#16537).
607
608 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
609
610 * net/eww.el (eww-download-callback):
611 Fix reference to eww-download-directory.
612
613 * emacs-lisp/bytecomp.el (byte-compile-file):
614 Remove unused local variable `file-name'.
615
616 2014-01-24 Glenn Morris <rgm@gnu.org>
617
618 * woman.el (woman-default-faces, woman-monochrome-faces):
619 Fix obsolescence specification.
620
621 * subr.el (with-demoted-errors): Doc fix.
622
623 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
626 (cl--macroexp-fboundp): New function.
627 (cl--make-type-test): Use it.
628
629 2014-01-23 Glenn Morris <rgm@gnu.org>
630
631 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
632 * simple.el (eval-expression): Doc fixes.
633
634 2014-01-22 Glenn Morris <rgm@gnu.org>
635
636 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
637
638 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * emacs-lisp/package.el: Write files silently.
641 (package-autoload-ensure-default-file, package--write-file-no-coding)
642 (package-generate-description-file, package--download-one-archive)
643 (package-install-from-archive): Tell `write-region' to stay quiet.
644 (package-menu-mode, package-menu--print-info): Omit the Archive column
645 if there's only one archive.
646 (package-all-keywords, package--has-keyword-p): Remove dead code.
647
648 2014-01-22 Glenn Morris <rgm@gnu.org>
649
650 * version.el (emacs-bzr-version-bzr): Fix typo.
651
652 * version.el (emacs-repository-get-version):
653 Check either .bzr or .git, but not both.
654 Make the git case actually use the DIR argument, and return nil
655 rather than the empty string.
656 Avoid error if .git exists but the git executable is not found.
657
658 2014-01-22 Martin Rudalics <rudalics@gmx.at>
659
660 Fixes in window size functions around Bug#16430 and Bug#16470.
661 * window.el (window-total-size, window-size): New argument ROUND.
662 (window--min-delta-1, window-min-delta, window--max-delta-1):
663 Be more conservative when calculating the numbers of lines or
664 columns a window can shrink (Bug#16430).
665 (fit-window-to-buffer): Simplify code.
666 * term.el (term-window-width): Call window-body-width again.
667
668 2014-01-22 Glenn Morris <rgm@gnu.org>
669
670 * image.el (image-format-suffixes): Doc fix.
671
672 * international/quail.el (quail-define-package): Doc fix.
673
674 * emacs-lisp/authors.el (authors-valid-file-names):
675 (authors-renamed-files-alist): Additions.
676
677 * vc/vc-git.el (vc-git-print-log): Remove --follow;
678 reverts 2014-01-09 change. (Bug#16422)
679
680 * calc/calc-embed.el (thing-at-point-looking-at):
681 * emacs-lisp/map-ynp.el (x-popup-dialog):
682 * obsolete/lmenu.el (x-popup-dialog):
683 * emacs-lisp/package.el (url-recreate-url):
684 * mail/mailclient.el (clipboard-kill-ring-save):
685 * subr.el (x-popup-dialog): Update declaration.
686 * mail/rmail.el (rmail-mime-message-p):
687 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
688
689 2014-01-21 Daniel Colascione <dancol@dancol.org>
690
691 * progmodes/sh-script.el (sh--inside-noncommand-expression):
692 Correctly detect when we're inside an arithmetic expansion form
693 containing nested parenthesis.
694 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
695 to detect cases where we shouldn't expand "<<" to a heredoc
696 skeleton.
697
698 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
701 (eldoc--message-command-p): New function.
702 (eldoc-display-message-p): Use it.
703 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
704 message is not automatically erased for us.
705 (eldoc-print-current-symbol-info): Erase previous message, if any.
706
707 2014-01-21 Tassilo Horn <tsdh@gnu.org>
708
709 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
710 specify it's an interactive function.
711
712 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
713 Fix regex used for scanning for citation keys which failed for
714 citations with optional arguments.
715
716 2014-01-21 Leo Liu <sdl.web@gmail.com>
717
718 * simple.el (read--expression): Don't enable eldoc-mode.
719
720 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * simple.el (move-beginning-of-line): Make sure we don't move forward
723 (bug#16497).
724
725 2014-01-20 Juri Linkov <juri@jurta.org>
726
727 * saveplace.el (toggle-save-place, save-place-to-alist)
728 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
729 'dired-mode) before checking for dired-directory. (Bug#16477)
730
731 2014-01-20 Juri Linkov <juri@jurta.org>
732
733 * indent.el (indent-line-to): Use backward-to-indentation
734 instead of back-to-indentation. (Bug#16461)
735
736 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
737
738 Revert some of the CANNOT_DUMP fix (Bug#16494).
739 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
740 but fixing this can wait until after the next release.
741 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
742
743 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
744
745 * eshell/esh-mode.el (eshell-password-prompt-regexp):
746 Use `password-word-equivalents'.
747 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
748 to t. (Bug#5664, Bug#13124)
749
750 2014-01-19 Alan Mackenzie <acm@muc.de>
751
752 Bind open-paren-in-column-0-is-defun-start to nil at some entry
753 points.
754 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
755 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
756 * progmodes/cc-mode.el (c-before-change, c-after-change)
757 (c-font-lock-fontify-region): Bind it here.
758
759 2014-01-19 Martin Rudalics <rudalics@gmx.at>
760
761 * term.el (term-window-width): Call window-text-width instead of
762 window-width (Bug#16470).
763
764 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
765
766 * simple.el (password-word-equivalents): Remove duplicates.
767 Sort, to make this easier next time.
768 Downcase. Omit ": " after "jelszó".
769
770 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
771
772 * term/common-win.el (saved-region-selection): Defvar it.
773 (x-select-text): Set saved-region-selection (Bug#16382).
774
775 2014-01-18 Glenn Morris <rgm@gnu.org>
776
777 * emacs-lisp/authors.el (authors-aliases)
778 (authors-renamed-files-alist): Add some entries.
779
780 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
781
782 * net/tramp.el (tramp-password-prompt-regexp):
783 Use `password-word-equivalents' if available.
784 (tramp-action-password, tramp-process-one-action)
785 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
786
787 2014-01-17 Chong Yidong <cyd@gnu.org>
788
789 * simple.el (password-word-equivalents): New defcustom.
790 * comint.el (comint-password-prompt-regexp): Use it. Bump version
791 to 24.4.
792 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
793 to t. (Bug#13124)
794
795 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
796
797 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
798 (ruby-align-to-stmt-keywords): Change the default value.
799 Use `ruby-alignable-keywords' to generate the possible customization
800 choices.
801 (ruby-smie-rules): Instead of using a hardcoded list of alignable
802 keywords, check against the value of `ruby-alignable-keywords'
803 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
804
805 2014-01-17 Glenn Morris <rgm@gnu.org>
806
807 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
808
809 Make M-x authors return zero *Authors Errors* from current logs.
810 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
811 (authors-ignored-files): Add some entries, remove others.
812 (authors-ambiguous-files, authors-valid-file-names):
813 Add some entries.
814 (authors-renamed-files-alist): Add, remove, and adjust entries.
815 (authors-renamed-files-regexps): Add some entries.
816 Remove some very broad ones. Make some entries `lax'.
817 (authors-lax-changelogs): New constant.
818 (authors-disambiguate-file-name): Treat top-level specially.
819 (authors-lax-changelog-p): New function.
820 (authors-canonical-file-name): Check file as written against
821 authors-valid-file-names. Do not special-case etc/.
822 Handle `lax' logs and authors-renamed-files-regexps elements.
823
824 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
825
826 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
827 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
828 callers.
829
830 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
833 Assume we're already in the proper buffer.
834 Inspired by Anders Lindgren <andlind@gmail.com>.
835 (follow-post-command-hook): Call it from the right buffer.
836 (follow-comint-scroll-to-bottom): Adjust call.
837 (follow-all-followers): Use get-buffer-window-list.
838
839 2014-01-15 Daniel Colascione <dancol@dancol.org>
840
841 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
842 `buffer-file-name' in interactive-form so that we don't leave
843 pathless file names in `file-name-history'.
844
845 2014-01-15 Juri Linkov <juri@jurta.org>
846
847 * indent.el (indent-rigidly): Set deactivate-mark to nil
848 in transient indentation mode. (Bug#16438)
849
850 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
851
852 * emacs-lisp/package.el (package-desc-keywords): New function
853 (Bug#16222).
854 (describe-package-1, package-all-keywords)
855 (package--has-keyword-p): Use it.
856
857 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
858
859 * simple.el (define-alternatives): When creating the
860 COMMAND-alternatives variable, assign COMMAND as its definition
861 name so that `describe-variable' can relocate it.
862
863 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
864
865 * font-lock.el (font-lock-keywords): Fix typo in docstring
866 (bug#16307).
867
868 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
869
870 * ispell.el (ispell-region): Reset `in-comment' for new line
871 instead of wrongly reset `add-coment' (bug#13577).
872
873 2014-01-14 Daiki Ueno <ueno@gnu.org>
874
875 * epa-file.el (epa-file-write-region): Encode the region according
876 to `buffer-file-format'. Problem reported at:
877 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
878
879 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
882 so it applies in the right buffer (bug#16410).
883
884 2014-01-13 Daniel Colascione <dancol@dancol.org>
885
886 * textmodes/rst.el (rst-define-key): Provide deprecated
887 keybindings through named functions instead of anonymous ones so
888 that "??" doesn't appear in describe-mode output.
889
890 2014-01-13 Bastien Guerry <bzg@gnu.org>
891
892 * simple.el (define-alternatives): Call the selected command
893 interactively. When setting `COMMAND--implementation' for the
894 first time, tell the user how to chose another implementation.
895 Enhance the docstring.
896
897 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
900 (log-edit--match-first-line): New function.
901 (log-edit-font-lock-keywords): Use it.
902 (log-edit-mode): Make jit-lock-defer-multiline work.
903
904 2014-01-13 Bastien Guerry <bzg@gnu.org>
905
906 * rect.el (rectangle-mark-mode): When the region is not active,
907 display a message saying that the mark as been set and that
908 rectangle mode is in use.
909 (rectangle--highlight-for-redisplay): Only put an overlay with a
910 visible vertical bar when (display-graphic-p) is non-nil.
911 This partially fixes Bug#16403.
912
913 2014-01-13 Juri Linkov <juri@jurta.org>
914
915 * info.el (Info-find-file): Go to DIR before displaying the error
916 about a nonexistent file if no previous Info file is visited.
917 Use `user-error' instead of `error' for "Info file %s does not exist".
918 (Info-find-node-2): In case of a nonexistent node in unwind forms
919 go to the Top node if there is no previous node to revert to.
920 (Bug#16405)
921
922 2014-01-13 Martin Rudalics <rudalics@gmx.at>
923
924 fit-frame/window-to-buffer code fixes including one for Bug#14096.
925 * window.el (fit-frame-to-buffer): Fix doc-string.
926 Respect window-min-height/-width. Fit pixelwise when
927 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
928 when avoiding that frame goes partially off-screen.
929 (fit-window-to-buffer): Respect window-min-height/-width
930 (Bug#14096).
931
932 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
935 after an empty line.
936
937 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * net/shr.el (shr-render-region): Autoload.
940
941 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
942
943 * net/eww.el (eww-download-directory): Rename from
944 `eww-download-path' (Bug#16419).
945
946 2014-01-12 Leo Liu <sdl.web@gmail.com>
947
948 * dired-x.el (dired-mode-map): Fix last change.
949
950 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
951
952 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
953
954 Spelling fixes.
955 * emacs-lisp/generic.el (generic--normalize-comments):
956 Rename from generic--normalise-comments. All uses changed.
957 * play/bubbles.el (bubbles--neighborhood-score):
958 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
959 (bubbles--neighborhood-available)
960 (bubbles--update-neighborhood-score):
961 Rename from names with 'neighbourhood'. All uses changed.
962
963 2014-01-12 Leo Liu <sdl.web@gmail.com>
964
965 Re-implement the feature of showing eldoc info after editing.
966 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
967 (eldoc-edit-message-commands): New function.
968 (eldoc-print-after-edit): New variable.
969 (eldoc-pre-command-refresh-echo-area): Emit message only by
970 eldoc-message-commands.
971 (eldoc-mode): Restrict eldoc-message-commands to editing commands
972 if eldoc-print-after-edit is set. (Bug#16346)
973 * simple.el (read--expression): Enable eldoc-mode.
974 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
975
976 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
977 Eric S. Raymond <esr@thyrsus.com>
978
979 * version.el (emacs-repository-get-version): Enhance so the
980 function works correctly in either a Bazaar or Git repo.
981
982 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
983
984 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
985 Goes with removal of the joke manpages from /etc.
986
987 2014-01-10 Kenichi Handa <handa@gnu.org>
988
989 * mail/rmail.el (rmail-get-coding-system):
990 Check rmail-get-coding-function before "funcall"ing it.
991
992 2014-01-10 Glenn Morris <rgm@gnu.org>
993
994 * emacs-lisp/authors.el (authors-fixed-entries):
995 Update for files that no longer exist.
996
997 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
998
999 * version.el (emacs-bzr-get-version): Restore compatibilty with
1000 24.3 (Tested).
1001
1002 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1003
1004 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1005 and Podfile.
1006
1007 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1008
1009 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1010
1011 2014-01-10 Chong Yidong <cyd@gnu.org>
1012
1013 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1014
1015 2014-01-10 Anders Lindgren <andlind@gmail.com>
1016
1017 * follow.el (follow-cache-command-list): Include right-char and
1018 left-char.
1019
1020 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1021
1022 Spelling fixes.
1023 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1024 * woman.el (woman-mark-horizontal-position):
1025 Rename from woman-mark-horizonal-position. Use changed.
1026
1027 2014-01-10 Glenn Morris <rgm@gnu.org>
1028
1029 * info.el (info-initialize): If running uninstalled, ensure our
1030 own info files are always found first, even if INFOPATH is set.
1031
1032 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1033
1034 2014-01-09 David Engster <deng@randomsample.de>
1035
1036 * emacs-lisp/eieio-custom.el:
1037 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1038 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1039 * emacs-lisp/eieio.el: Regenerate autoloads.
1040
1041 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1042
1043 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1044 following renames. (Bug#8756)
1045
1046 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1049 (bug#16382).
1050 (activate-mark): Add `no-tmm' argument.
1051 (set-mark, push-mark-command): Use it instead of running
1052 activate-mark-hook by hand.
1053
1054 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1055
1056 In preparation for the move to git, sanitize out some
1057 Bazaar-specific names.
1058
1059 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1060
1061 * version.el (emacs-bzr-version): Name changed to
1062 emacs-repository-version. Obsolete-variable alias made.
1063 * loadup.el: Follow through on this name change.
1064 * mail/emacsbug.el (report-emacs-bug): Factor out any
1065 assumption about the version control system in use.
1066
1067 2014-01-08 David Engster <deng@randomsample.de>
1068
1069 * help-fns.el (help-fns-describe-function-functions):
1070 New variable to call functions for augmenting help buffers.
1071 (describe-function-1): Remove explicit calls to
1072 `help-fns--compiler-macro', `help-fns--parent-mode' and
1073 `help-fns--obsolete'. Put them in above new variable instead, and
1074 call them through `run-hook-with-args'.
1075 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1076 `eieio-describe-class'. Not meant for interactive use anymore,
1077 but to augment existing help buffers. Remove optional second
1078 argument. Create proper button for file location.
1079 Rewrite function to use `insert' instead of `princ' and `prin1' where
1080 possible.
1081 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1082 (eieio-method-def, eieio-class-def): Move further up.
1083 (describe-method, describe-generic, eieio-describe-method):
1084 Remove aliases.
1085 (eieio-help-constructor, eieio-help-generic): Rename from
1086 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1087 Rewrite to use `insert' in the current buffer and use proper help
1088 buttons.
1089 (eieio-help-find-method-definition)
1090 (eieio-help-find-class-definition): Also accept symbols as
1091 arguments.
1092 (eieio-help-mode-augmentation-maybee): Remove.
1093 (eieio-describe-class-sb): Use `describe-function'.
1094 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1095 Add `eieio-help-generic' and `eieio-help-constructor'.
1096
1097 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1098
1099 Spelling fixes.
1100 * language/china-util.el (hz-ascii-designation):
1101 Rename from hz-ascii-designnation.
1102 (hz-ascii-designation): Rename from hz-ascii-designnation.
1103 All uses changed.
1104
1105 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1108 package-alist.
1109
1110 2014-01-08 Bastien Guerry <bzg@gnu.org>
1111
1112 * emacs-lisp/package.el (package-delete):
1113 Correctly delete the package from package-alist.
1114
1115 2014-01-08 Daiki Ueno <ueno@gnu.org>
1116
1117 * emacs-lisp/package.el (url-recreate-url): Declare.
1118 (url-http-target-url): Declare.
1119 (package-handle-response): Include requested URL in the error message.
1120 (package--check-signature): Don't re-signal errors from
1121 package--with-work-buffer. Suggested by Stefan Monnier.
1122
1123 2014-01-07 Bastien Guerry <bzg@gnu.org>
1124
1125 * minibuffer.el (completion--try-word-completion): When both a
1126 hyphen and a space are possible candidates for the character
1127 following a word, display both candidates. (Bug#15980)
1128
1129 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1130
1131 * window.el (balance-windows-2): While rounding don't give a
1132 window more than the remainder. Bug#16351, bug#16383.
1133
1134 2014-01-07 Glenn Morris <rgm@gnu.org>
1135
1136 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1137 (menu-bar-help-menu): Use view-external-packages instead.
1138
1139 2014-01-07 Bastien Guerry <bzg@gnu.org>
1140
1141 * emacs-lisp/package.el (package-delete): Also delete the package
1142 name from `package-alist', not its description only.
1143
1144 2014-01-07 Glenn Morris <rgm@gnu.org>
1145
1146 * help.el (view-external-packages):
1147 * menu-bar.el (menu-bar-help-extra-packages):
1148 Visit efaq.info rather than etc/MORE.STUFF.
1149
1150 2014-01-07 Juri Linkov <juri@jurta.org>
1151
1152 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1153 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1154
1155 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1156 that shadows RET. (Bug#16342)
1157
1158 2014-01-07 Chong Yidong <cyd@gnu.org>
1159
1160 * isearch.el (isearch-yank-char, isearch-yank-word)
1161 (isearch-yank-line): Doc fix.
1162
1163 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1166 * emacs-lisp/elint.el (elint-find-builtins):
1167 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1168 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1169 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1170 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1171 * apropos.el (apropos-safe-documentation):
1172 * subr.el (symbol-file): Remove redundant fboundp.
1173 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1174
1175 2014-01-06 Bastien Guerry <bzg@gnu.org>
1176
1177 * hl-line.el (global-hl-line-overlay): Make a local variable.
1178 (global-hl-line-overlays): New variable to store all overlays.
1179 (global-hl-line-mode): Don't delete overlays from the current
1180 buffer when `global-hl-line-sticky-flag' is non-nil.
1181 (global-hl-line-highlight): Add new overlays to
1182 `global-hl-line-overlays'.
1183 (global-hl-line-unhighlight-all): New function to delete all
1184 overlays when turning off `global-hl-line-mode'.
1185 This fixes Bug#16183.
1186
1187 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * subr.el (set-transient-map): Fix nested case and docstring.
1190
1191 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1192
1193 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1194 `Texinfo' entry.
1195
1196 2014-01-06 Daniel Colascione <dancol@dancol.org>
1197
1198 Fix defun navigation in vc log view.
1199
1200 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1201 like `beginning-of-defun'.
1202 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1203 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1204 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1205 (log-view-extract-comment): Call `log-view-current-entry' directly
1206 instead of relying on broken `log-view-beginning-of-defun' behavior.
1207
1208 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1209
1210 Spelling fixes.
1211 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1212 * emacs-lisp/debug.el (cancel-debug-on-entry):
1213 * epg.el (epg-error-to-string):
1214 * files.el (recover-file):
1215 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1216 * mail/emacsbug.el (report-emacs-bug-hook):
1217 * mail/sendmail.el (mail-recover):
1218 * ses.el (ses-yank-resize):
1219 * term/ns-win.el (ns-print-buffer):
1220 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1221 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1222 All uses changed.
1223 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1224
1225 2014-01-06 Leo Liu <sdl.web@gmail.com>
1226
1227 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1228 to avoid shadowing global key. (Bug#16354)
1229
1230 2014-01-06 Daniel Colascione <dancol@dancol.org>
1231
1232 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1233 rst-mode.
1234
1235 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1236
1237 * window.el (balance-windows): Add mising t to fix Bug#16351.
1238
1239 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1240
1241 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1242 (bug#16285).
1243 (shr-insert): If we have a word that's longer than `shr-width',
1244 break after it anyway. Otherwise we'll do no breaking once we get
1245 such a long word.
1246
1247 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1248
1249 * net/eww.el (eww): Support single/double quote for search.
1250 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1251 (eww-history-quit): Delete and use quit-window.
1252 (eww-history-kill): Delete, because it doesn't work well and
1253 not necessary.
1254 (eww-history-mode-map): Delete some keys and add easy-menu.
1255
1256 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1257
1258 Fix misspelling of 'chinese' in rx (Bug#16237).
1259 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1260 chinese-two-byte.
1261
1262 Change subword regexps back to vars (Bug#16296).
1263 * progmodes/subword.el (subword-forward-regexp)
1264 (subword-backward-regexp): Change these back to variables.
1265
1266 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1269 syntax-begin-function (bug#16247).
1270
1271 2014-01-03 Chong Yidong <cyd@gnu.org>
1272
1273 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1274 (advice--docstring): Delete variable.
1275 (advice--make-1): Leave the docstring empty.
1276 (advice-add): Use function-documentation for advised docstring.
1277
1278 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1279 Ignore function-documentation property when getting documentation.
1280 (ad-activate-advised-definition): Use function-documentation
1281 generate the docstring.
1282 (ad-make-advised-definition): Don't call
1283 ad-make-advised-definition-docstring.
1284 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1285 Delete functions.
1286
1287 * progmodes/sql.el (sql-help): Use function-documentation instead
1288 of dynamic-docstring-function property. No need to autoload now.
1289 (sql--help-docstring): New variable.
1290 (sql--make-help-docstring): Use it.
1291
1292 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * ielm.el (ielm-tab): Retarget.
1295 (ielm-map): Use ielm-tab for tab.
1296 (ielm-complete-filename): Use comint-filename-completion.
1297 (ielm-complete-symbol): Remove.
1298 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1299 remove ielm-tab from completion-at-point-functions (bug#16224).
1300
1301 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1302 Beware signals raised by predicates (bug#16201).
1303
1304 2014-01-02 Richard Stallman <rms@gnu.org>
1305
1306 * dired-aux.el (dired-do-print): Handle printer-name.
1307
1308 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1309 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1310 (rmail-epa-decrypt): Turn off mime processing.
1311
1312 * mail/rmail.el (rmail-make-in-reply-to-field):
1313 Add parens in message-id.
1314
1315 * mail/rmail.el (rmail-get-coding-function): Variable.
1316 (rmail-get-coding-system): Use it.
1317
1318 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1319
1320 * international/mule-conf.el: Unify the charset indian-is13194.
1321 (indian-is13194): Specify unify-map.
1322
1323 2013-12-31 Leo Liu <sdl.web@gmail.com>
1324
1325 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1326
1327 2013-12-30 Daniel Colascione <dancol@dancol.org>
1328
1329 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1330 of printing a useless when we resume from sleep.
1331
1332 * progmodes/sh-script.el
1333 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1334 in indentation code. (Bug#16233)
1335
1336 2013-12-28 João Távora <joaotavora@gmail.com>
1337
1338 * elec-pair.el (electric-pair-post-self-insert-function):
1339 Don't open extra newlines at beginning of buffer. (Bug#16272)
1340
1341 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1342
1343 * frame.el (window-system-for-display): Don't allow to create a
1344 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1345
1346 2013-12-28 Glenn Morris <rgm@gnu.org>
1347
1348 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1349 Update callers.
1350
1351 * apropos.el (apropos-match-face):
1352 * calculator.el (calculator-displayer):
1353 * dabbrev.el (dabbrev-search-these-buffers-only):
1354 * face-remap.el (buffer-face-mode-face):
1355 * simple.el (yank-handled-properties):
1356 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1357 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1358 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1359 (hashcash-double-spend-database):
1360 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1361 (ruby-deep-indent-paren-style):
1362 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1363 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1364 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1365 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1366 Specify custom types.
1367
1368 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1369 * bookmark.el (bookmark-bmenu-use-header-line):
1370 * doc-view.el (doc-view-scale-internally):
1371 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1372 * register.el (register-preview-delay):
1373 * net/shr.el (shr-bullet):
1374 * progmodes/cfengine.el (cfengine-cf-promises)
1375 (cfengine-parameters-indent):
1376 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1377 * textmodes/reftex-vars.el (reftex-label-regexps):
1378 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1379
1380 * net/tls.el (tls-certtool-program): Fix default value.
1381
1382 * desktop.el (desktop-restore-in-current-display):
1383 * newcomment.el (comment-empty-lines):
1384 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1385 (idlwave-pad-keyword):
1386 * progmodes/tcl.el (tcl-tab-always-indent):
1387 * textmodes/reftex-vars.el (reftex-index-default-tag):
1388 * elec-pair.el (electric-pair-skip-whitespace):
1389 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1390
1391 * emacs-lisp/authors.el (authors-ignored-files)
1392 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1393
1394 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1395
1396 * shell.el (shell-dynamic-complete-command): Doc fix.
1397 (shell--command-completion-data): Shell completion now matches
1398 executable filenames from the current buffer's directory, on
1399 systems in which this behavior is the default (windows-nt, ms-dos).
1400
1401 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1402
1403 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1404
1405 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1408 (bug#16251).
1409
1410 * electric.el: Move all electric-pair-* to elec-pair.el.
1411 * elec-pair.el: New file, split from electric.el.
1412
1413 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1414
1415 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1416 indentation level is larger than the width, because that will
1417 infloop.
1418 (shr-insert): Fill repeatedly long texts, so that Japanese is
1419 formatted correctly (bug#16263).
1420 (shr-find-fill-point): Off by one error in comparison with the
1421 indentation.
1422
1423 2013-12-26 João Távora <joaotavora@gmail.com>
1424
1425 * electric.el (electric-pair-mode): More flexible engine for skip-
1426 and inhibit predicates, new options for pairing-related functionality.
1427 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1428 if that keeps or improves their balance in buffers.
1429 (electric-pair-delete-adjacent-pairs): Delete the pair when
1430 backspacing over adjacent matched delimiters.
1431 (electric-pair-open-extra-newline): Open extra newline when
1432 inserting newlines between adjacent matched delimiters.
1433 (electric--sort-post-self-insertion-hook):
1434 Sort post-self-insert-hook according to priority values when
1435 minor-modes are activated.
1436 * simple.el (newline-and-indent): Call newline with interactive
1437 set to t.
1438 (blink-paren-post-self-insert-function): Set priority to 100.
1439 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1440 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1441 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1442 electric-pair-open-newline-between-pairs to nil.
1443
1444 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1445
1446 * progmodes/python.el: Use lexical-binding.
1447 (python-nav-beginning-of-defun): Stop searching ASAP.
1448
1449 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1450
1451 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1452 Fix interactive spec. Doc fix. (Bug#15754)
1453
1454 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1455
1456 * emacs-lisp/byte-run.el (eval-when-compile):
1457 * progmodes/cc-defs.el (cc-eval-when-compile):
1458 Fix edebug spec (bug#16184).
1459
1460 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1461
1462 * net/shr.el (shr-visit-file): Remove debugging function.
1463 (shr-insert): Don't infloop if we can't find a good place to break
1464 the line (bug#16256).
1465
1466 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1467
1468 * progmodes/python.el:
1469 (python-nav--lisp-forward-sexp): New function.
1470 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1471 python-nav-lisp-forward-sexp-safe.
1472 (python-nav--forward-sexp): New argument SAFE allows switching
1473 forward sexp movement behavior for parens.
1474 (python-nav-forward-sexp): Throw errors on unterminated parens
1475 (Bug#16191).
1476 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1477 (python-nav-backward-sexp-safe): New functions.
1478 (python-shell-buffer-substring):
1479 Use `python-nav-forward-sexp-safe'.
1480
1481 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1482
1483 * net/shr.el (shr-find-fill-point): Don't break lines before a
1484 quotation mark.
1485 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1486 (shr-find-fill-point): Remove the special checks for the quotation
1487 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1488
1489 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1490
1491 * net/eww.el (eww-form-textarea): Use a different face for
1492 textareas than text input since they have different keymaps
1493 (bug#16142).
1494
1495 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1496
1497 * progmodes/python.el (python-nav-beginning-of-statement):
1498 Speed up (Bug#15295).
1499
1500 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1501
1502 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1503 the window configuration.
1504
1505 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1506
1507 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1508 we run on MS-Windows or MS-DOS.
1509
1510 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1511
1512 * window.el (balance-windows-area): Call window-size instead of
1513 window-height and window-width. Bug#16241.
1514
1515 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1516
1517 * net/eww.el (eww-bookmark-quit): Remove.
1518 (eww-bookmark-browse): Restore the window configuration when you
1519 choose a bookmark (bug#16144).
1520
1521 2013-12-24 Daniel Colascione <dancol@dancol.org>
1522
1523 * icomplete.el: Remove redundant :group arguments to `defcustom'
1524 throughout.
1525 (icomplete-show-matches-on-no-input): New customizable variable.
1526 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1527 we have something to show.
1528 (icomplete-exhibit): Compute completions even if we have no user input.
1529
1530 2013-12-23 Daniel Colascione <dancol@dancol.org>
1531
1532 * icomplete.el: Move `provide' to end of file.
1533
1534 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1535
1536 * net/gnutls.el (gnutls-verify-error): Add version tag.
1537
1538 2013-12-23 Chong Yidong <cyd@gnu.org>
1539
1540 * subr.el (set-transient-map): Rename from
1541 set-temporary-overlay-map. Doc fix.
1542
1543 * face-remap.el (text-scale-adjust):
1544 * indent.el (indent-rigidly):
1545 * kmacro.el (kmacro-call-macro):
1546 * minibuffer.el (minibuffer-force-complete):
1547 * repeat.el (repeat):
1548 * simple.el (universal-argument--mode):
1549 * calendar/todo-mode.el (todo-insert-item--next-param):
1550 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1551
1552 * indent.el (indent-rigidly): Use substitute-command-keys.
1553
1554 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1555
1556 * net/eww.el (eww-tag-select): Add text-property to jump to next
1557 select field.
1558 (eww): Add non-supported ftp error.
1559
1560 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1561
1562 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1563 comments. Handle electric indent after typing `?' and `!'.
1564
1565 2013-12-22 Chong Yidong <cyd@gnu.org>
1566
1567 * faces.el (face-spec-recalc): If the theme specs are not
1568 applicable to a frame, fall back on the defface spec.
1569 This prevents themes from obliterating faces on low-color terminals.
1570
1571 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1572
1573 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1574 after `{'. We need it after block openers, and it doesn't seem
1575 to hurt after hash openers.
1576
1577 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1580 extracted from `ruby-smie-rules'.
1581 (ruby--electric-indent-chars): New variable.
1582 (ruby--electric-indent-p): New function.
1583 (ruby-mode): Use `electric-indent-functions' instead of
1584 `electric-indent-chars'.
1585
1586 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1587
1588 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1589 docstring.
1590 (ruby-smie-rules): Indent plus one level after `=>'.
1591
1592 2013-12-21 Richard Stallman <rms@gnu.org>
1593
1594 * simple.el (newline): Doc fix.
1595
1596 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1597
1598 * net/eww.el (eww-list-histories, eww-list-histories)
1599 (eww-history-browse, eww-history-quit, eww-history-kill)
1600 (eww-history-mode-map, eww-history-mode): New command and
1601 functions to list browser histories.
1602 (eww-form-text): Support text form with disabled
1603 and readonly attributes.
1604 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1605
1606 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1607
1608 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1609 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1610 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1611 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1612 Use `user-error'.
1613 (eww-bookmark-mode-map): Add menu.
1614 (eww-render, eww-mode): Use `setq-local'.
1615 (eww-tool-bar-map): New variable.
1616 (eww-mode): Set `tool-bar-map'.
1617 (eww-view-source): Check for `html-mode' with `fboundp'.
1618
1619 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1620
1621 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1622 elements with text inside. Also remove debugging.
1623
1624 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1625
1626 * cus-start.el (all): Add ns-use-srgb-colorspace.
1627
1628 2013-12-21 Chong Yidong <cyd@gnu.org>
1629
1630 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1631 undefined. Thus, theme settings for undefined faces do not take
1632 effect until the faces are defined with defface, the same as with
1633 theme variables.
1634
1635 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1636 (face-spec-reset-face): Don't assign extra properties in temacs.
1637 (face-spec-recalc): Apply X resources too.
1638
1639 2013-12-21 Chong Yidong <cyd@gnu.org>
1640
1641 * faces.el (face-spec-set):
1642 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1643 * custom.el (defface): Doc fixes (Bug#16203).
1644
1645 * indent.el (indent-rigidly-map): Add docstring, and move commands
1646 into named functions.
1647 (indent-rigidly-left, indent-rigidly-right)
1648 (indent-rigidly-left-to-tab-stop)
1649 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1650 indentation direction based on bidi direction, and accumulate
1651 sequential commands in a single undo boundary.
1652 (indent-rigidly--pop-undo): New utility function.
1653
1654 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * faces.el (read-face-name): Require crm.el when using crm-separator.
1657
1658 2013-12-20 Daniel Colascione <dancol@dancol.org>
1659
1660 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1661 so that we don't reflow comments into the shebang line.
1662
1663 2013-12-20 Juri Linkov <juri@jurta.org>
1664
1665 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1666 a position when `dired-directory' is non-nil. Check integer
1667 positions with `integerp'.
1668 (toggle-save-place, save-places-to-alist): Add check for
1669 `dired-directory'.
1670 (save-place-find-file-hook): Check integer positions with
1671 `integerp'.
1672 (save-place-dired-hook): Use `dired-goto-file' when
1673 `dired-filename' is found in the assoc list. Check integer
1674 positions with `integerp'.
1675 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1676
1677 * dired.el (dired-initial-position-hook): Rename back from
1678 `dired-initial-point-hook'.
1679 (dired-initial-position): Rename `dired-initial-point-hook' to
1680 `dired-initial-position-hook'.
1681 (dired-file-name-at-point): Doc fix. (Bug#15329)
1682
1683 2013-12-20 Juri Linkov <juri@jurta.org>
1684
1685 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1686 (read-regexp-suggestions): New function.
1687 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1688 Use `read-regexp-suggestions'. Add non-empty default to history
1689 for empty input.
1690 (occur-read-regexp-defaults-function): Remove function.
1691 (occur-read-primary-args): Use `regexp-history-last' instead of
1692 `occur-read-regexp-defaults-function'.
1693
1694 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1695 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1696 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1697 `hi-lock-read-regexp-defaults-function'. Doc fix.
1698 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1699 with `find-tag-default-as-symbol-regexp'. Doc fix.
1700 (hi-lock-read-regexp-defaults): Remove function.
1701 (hi-lock-regexp-okay): Add check for null.
1702
1703 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1704 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1705
1706 * subr.el (find-tag-default-as-symbol-regexp): New function.
1707 (find-tag-default-as-regexp): Move symbol regexp formatting to
1708 `find-tag-default-as-symbol-regexp'.
1709
1710 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1711
1712 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1713 (Bug#14179)
1714
1715 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1716
1717 * calendar/todo-mode.el: New implementation of item insertion
1718 commands and key bindings.
1719 (todo-key-prompt): New face.
1720 (todo-insert-item): New command.
1721 (todo-insert-item--parameters): New defconst, replacing defvar
1722 todo-insertion-commands-args-genlist.
1723 (todo-insert-item--param-key-alist): New defconst, replacing
1724 defvar todo-insertion-commands-arg-key-list.
1725 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1726 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1727 (todo-insert-item--next-param): New functions.
1728 (todo-insert-item--args, todo-insert-item--argleft)
1729 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1730 New variables.
1731 (todo-key-bindings-t): Change binding of "i" from
1732 todo-insertion-map to todo-insert-item.
1733 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1734 (todo-insertion-command-name, todo-insertion-commands-names)
1735 (todo-define-insertion-command, todo-insertion-commands)
1736 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1737
1738 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1739
1740 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1741 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1742 eval-when-compile.
1743 (todo-move-category): Allow choosing a non-existing todo file to
1744 move the category to, and create that file.
1745 (todo-default-priority): New user option.
1746 (todo-set-item-priority): Use it.
1747 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1748 (desktop-restore-file-buffer): Declare.
1749 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1750 (todo-modes-set-2): Locally set desktop-save-buffer to
1751 todo-desktop-save-buffer.
1752 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1753 (auto-mode-alist): Add autoload cookie.
1754
1755 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1756
1757 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1758 helpers.el was a poor choice of name.
1759 (string-remove-prefix): New function.
1760 (string-remove-suffix): New function.
1761
1762 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1763
1764 Fix assignment for new window total sizes.
1765 * window.el (window--pixel-to-size): Remove function.
1766 (window--pixel-to-total-1, window--pixel-to-total):
1767 Fix calculation of new total sizes.
1768
1769 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1770
1771 * comint.el (comint-output-filter): Fix rear-nonsticky property
1772 placement (Bug#16010).
1773
1774 2013-12-20 Chong Yidong <cyd@gnu.org>
1775
1776 * faces.el (read-color): Minor fix for completion function.
1777
1778 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1779
1780 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1781 New option. (Bug#16182)
1782 (ruby-smie--indent-to-stmt-p): Use it.
1783 (ruby-smie-rules): Revert the logic in the handling of `when'.
1784 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1785 (ruby-deep-arglist, ruby-deep-indent-paren)
1786 (ruby-deep-indent-paren-style): Update docstrings to note that the
1787 vars don't have any effect with SMIE.
1788
1789 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1790
1791 * calc/calc.el (calc-enter, calc-pop): Use the variable
1792 `calc-context-sensitive-enter'.
1793
1794 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1795
1796 * net/shr.el (shr-insert): Protect against infloops in degenerate
1797 tables.
1798
1799 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1800
1801 * progmodes/octave.el (octave): Add link to manual and octave
1802 homepage.
1803 (octave-mode-menu): Link to octave-mode manual.
1804
1805 2013-12-20 Leo Liu <sdl.web@gmail.com>
1806
1807 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1808 insertion using skeleton-end-newline. (Bug#16138)
1809
1810 2013-12-20 Juri Linkov <juri@jurta.org>
1811
1812 * replace.el (occur-engine): Use `add-face-text-property'
1813 to add the face property to matches and titles. (Bug#14645)
1814
1815 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1816 the palette of other hi-lock colors.
1817 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1818
1819 2013-12-19 Juri Linkov <juri@jurta.org>
1820
1821 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1822 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1823 (minibuffer-history-symbol): Move variable declaration closer to
1824 its usage.
1825
1826 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1827 (Bug#14785)
1828
1829 2013-12-19 Juri Linkov <juri@jurta.org>
1830
1831 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1832 New function.
1833 (log-edit-hook): Add it to :options. (Bug#16170)
1834
1835 2013-12-19 Juri Linkov <juri@jurta.org>
1836
1837 * simple.el (eval-expression-print-format): Don't check for
1838 command names and the last command. Always display additional
1839 formats of the integer result in the echo area, and insert them
1840 to the current buffer only with a zero prefix arg.
1841 Display character when char-displayable-p is non-nil.
1842 (eval-expression): With a zero prefix arg, set `print-length' and
1843 `print-level' to nil, and insert the integer values from
1844 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1845
1846 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1847 `eval-last-sexp-arg-internal'. Doc fix.
1848 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1849 `eval-last-sexp-print-value'. Doc fix.
1850 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1851 Set `print-length' and `print-level' to nil when arg is zero.
1852 (eval-last-sexp): Doc fix.
1853 (eval-defun-2): Print the integer values from
1854 `eval-expression-print-format' at the end.
1855
1856 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1857 values from `eval-expression-print-format' at the end.
1858
1859 * ielm.el (ielm-eval-input): Print the integer
1860 values from `eval-expression-print-format' at the end.
1861
1862 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1863
1864 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1865 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1866
1867 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1870 (hl-line-highlight, global-hl-line-highlight): Use it.
1871 (hl-line-overlay): Use defvar-local.
1872
1873 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1874
1875 * term/ns-win.el: Require dnd.
1876 (global-map): Remove drag items.
1877 (ns-insert-text, ns-set-foreground-at-mouse)
1878 (ns-set-background-at-mouse):
1879 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1880 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1881 New functions.
1882
1883 2013-12-19 Glenn Morris <rgm@gnu.org>
1884
1885 * emacs-lisp/ert.el (ert-select-tests):
1886 Fix string/symbol mixup. (Bug#16121)
1887
1888 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1891 keywords to their parent.
1892
1893 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1894
1895 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1896 first arg to be a string (fixed dead code), or an operator symbol.
1897 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1898 operator symbols.
1899 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1900 did nothing. Don't respond to `(:after ".")', it will be called
1901 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1902 change anything. Only return indentation for binary operators
1903 when they are hanging. De-dent opening paren when its parent is
1904 `.', otherwise it looks bad when the dot is not at bol or eol
1905 (bug#16182).
1906
1907 2013-12-19 Juri Linkov <juri@jurta.org>
1908
1909 * replace.el (query-replace-read-args): Split a non-negative arg
1910 and a negative arg into separate elements.
1911 (query-replace, query-replace-regexp, replace-string)
1912 (replace-regexp): Add arg `backward'. Doc fix.
1913 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1914 move point to the beginning of the match.
1915 (replace-search, replace-highlight): Use new arg `backward'
1916 to set the value of `isearch-forward'.
1917 (perform-replace): Add arg `backward' and use it to perform
1918 replacement backward. (Bug#14979)
1919
1920 * isearch.el (isearch-query-replace): Use a negative prefix arg
1921 to call `perform-replace' with a non-nil arg `backward'.
1922
1923 2013-12-18 Juri Linkov <juri@jurta.org>
1924
1925 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1926 to the default list. Move `log-edit-show-files' to the end.
1927 Add more available functions to options.
1928 (log-edit): Move default specific settings to
1929 `log-edit-insert-message-template'. Don't move point.
1930 (log-edit-insert-message-template): New function.
1931 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1932 (Bug#16170)
1933
1934 2013-12-18 Juri Linkov <juri@jurta.org>
1935
1936 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1937 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1938
1939 2013-12-18 Leo Liu <sdl.web@gmail.com>
1940
1941 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1942 (Bug#16186)
1943
1944 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1945
1946 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1947 formats for displaying file sizes when the -s switch is given.
1948 Instead, compute a separate format for displaying the size in
1949 blocks, which is displayed in addition to the "regular" size.
1950 When -h is given in addition to -s, produce size in blocks in
1951 human-readable form as well. (Bug#16179)
1952
1953 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1954
1955 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1956 Reference tables with ~\ref{...} instead of only \ref{...}.
1957
1958 2013-12-18 Chong Yidong <cyd@gnu.org>
1959
1960 * cus-edit.el (custom-magic-alist): Fix "themed" description
1961 (Bug#14348).
1962
1963 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1964 is non-nil, do not create a new entry in the symbol's theme-value
1965 or theme-face property; update theme-settings only (Bug#14664).
1966 (custom-available-themes): Doc fix.
1967
1968 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1969 (Bug#15674).
1970
1971 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1972
1973 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1974
1975 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1976 (Bug#13914).
1977
1978 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1979
1980 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1981
1982 2013-12-18 Glenn Morris <rgm@gnu.org>
1983
1984 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1985 * cus-start.el (load-prefer-newer): New option.
1986
1987 2013-12-18 Le Wang <l26wang@gmail.com>
1988
1989 * comint.el (comint-previous-matching-input-from-input):
1990 Retain point (Bug#13404).
1991
1992 2013-12-18 Chong Yidong <cyd@gnu.org>
1993
1994 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1995
1996 2013-12-18 Glenn Morris <rgm@gnu.org>
1997
1998 * mail/emacsbug.el (report-emacs-bug):
1999 Only mention enable-multibyte-characters if non-standard.
2000
2001 2013-12-17 Juri Linkov <juri@jurta.org>
2002
2003 * arc-mode.el (archive-extract-by-file): Check if directory exists
2004 before deletion to not show irrelevant errors if it doesn't exist.
2005
2006 2013-12-17 Juri Linkov <juri@jurta.org>
2007
2008 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2009 (Bug#14751)
2010
2011 * net/eww.el (browse-web): Add alias to `eww'.
2012 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2013 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2014
2015 * net/browse-url.el (browse-url-browser-function): Move `eww'
2016 closer to similar functions.
2017
2018 * startup.el (fancy-startup-screen, fancy-about-screen):
2019 Set browse-url-browser-function to eww-browse-url locally.
2020 (Bug#14751)
2021
2022 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * window.el (window--pixel-to-total): Remove unused `mini' var.
2025 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2026 (split-window): Remove unused `new' var.
2027 (window--display-buffer): Remove unused `frame' and `delta' vars.
2028 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2029 and display-width'.
2030
2031 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2032
2033 * dired.el (dired-mark-pop-up):
2034 * register.el (register-preview): Don't bind
2035 split-height-threshold here since it's now done in
2036 display-buffer-below-selected.
2037
2038 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2039
2040 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2041 xterm-rgb-convert-to-16bit.
2042 (rxvt-register-default-colors): Standardize with
2043 xterm-register-default-colors (Bug#14078).
2044
2045 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2046
2047 * simple.el (kill-region): Pass mark first, then point, so that
2048 kill-append works right (Bug#12819).
2049 (copy-region-as-kill, kill-ring-save): Likewise.
2050
2051 2013-12-17 Leo Liu <sdl.web@gmail.com>
2052
2053 * net/rcirc.el (rcirc-add-face):
2054 * eshell/em-prompt.el (eshell-emit-prompt):
2055 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2056 (Bug#16167)
2057
2058 2013-12-17 Chong Yidong <cyd@gnu.org>
2059
2060 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2061 Suggested by Xue Fuqiao.
2062
2063 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2066
2067 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * net/shr.el (shr-insert-document): Remove unused var
2070 `shr-preliminary-table-render'.
2071 (shr-rescale-image): Remove unused arg `force'.
2072 (shr-put-image): Update calls accordingly.
2073 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2074
2075 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2076
2077 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2078 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2079 :close-all, to see which indentation method to use (Bug#16116).
2080 (smie-rules-function): Document the method :close-all.
2081
2082 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2083
2084 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2085
2086 * net/eww.el (eww-display-html): If we can't find the anchor we're
2087 looking for, then go to point-min.
2088
2089 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2090
2091 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2092 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2093 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2094 Expand dir too, in case it's relative.
2095
2096 2013-12-16 Juri Linkov <juri@jurta.org>
2097
2098 * desktop.el (desktop-auto-save-timeout): Change default to
2099 `auto-save-timeout'. Doc fix.
2100 (desktop-save): Skip the timestamp in desktop-saved-frameset
2101 when checking for auto-save changes.
2102 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2103 `desktop-auto-save' is called repeatedly by the idle timer.
2104 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2105 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2106 (Bug#15331)
2107
2108 2013-12-16 Juri Linkov <juri@jurta.org>
2109
2110 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2111 (Bug#16035)
2112 (isearch-pre-command-hook): Check `this-command' for symbolp.
2113
2114 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2117
2118 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2119
2120 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2121 (cfengine3--current-function): Bring in the current-function
2122 functionality from `cfengine3--current-word'.
2123 (cfengine3-completion-function): Bring in the
2124 bounds-of-current-word functionality from
2125 `cfengine3--current-word'.
2126
2127 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2128
2129 * window.el (display-buffer-below-selected):
2130 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2131
2132 2013-12-16 Leo Liu <sdl.web@gmail.com>
2133
2134 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2135 Remove NOMSG arg and all uses changed.
2136
2137 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2140 (cua--deactivate-rectangle): Don't deactivate the mark.
2141 (cua-set-rectangle-mark): Don't set mark-active since
2142 cua--activate-rectangle already does it for us.
2143 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2144 non-rectangular region.
2145
2146 * emulation/cua-base.el (cua-repeat-replace-region):
2147 Use with-current-buffer.
2148
2149 * net/gnutls.el: Use cl-lib.
2150 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2151
2152 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2153
2154 * emacs-lisp/package.el (package-built-in-p): Support both
2155 built-in and the package.el converted package descriptions.
2156 (package-show-package-list): Allow keywords.
2157 (package-keyword-button-action): Use it instead of
2158 `finder-list-matches'.
2159 (package-menu-filter-interactive): Interactive filtering (by
2160 keyword) function.
2161 (package-menu--generate): Support keywords and change keymappings
2162 and headers when they are given.
2163 (package--has-keyword-p): Helper function.
2164 (package-menu--refresh): Use it.
2165 (package--mapc): Helper function.
2166 (package-all-keywords): Use it.
2167 (package-menu-mode-map): Set up menu items and keybindings to
2168 provide a filtering UI.
2169
2170 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2171
2172 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2173 the behavior when a certificate fails validation. Defaults to
2174 old behavior: never abort, just warn.
2175 (gnutls-negotiate): Use it.
2176
2177 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2178
2179 * window.el (display-buffer-below-selected): Never split window
2180 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2181
2182 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2183
2184 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2185 (package-buffer-info): Use it (bug#15108).
2186
2187 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * icomplete.el (icomplete-completions): Make sure the prefix is already
2190 displayed elsewhere before hiding it (bug#16219).
2191
2192 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2193
2194 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2195 open-paren tokens when preceded by a open-paren, too.
2196 (ruby-smie-rules): Handle virtual indentation after open-paren
2197 tokens specially. If there is code between it and eol, return the
2198 column where is starts (Bug#16118).
2199
2200 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2201
2202 * progmodes/cfengine.el: Fix `add-hook' doc.
2203 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2204 (cfengine3--current-word): Fix parameters.
2205 (cfengine3-make-syntax-cache): Simplify further.
2206 (cfengine3-completion-function, cfengine3--current-function):
2207 Use `assq' for symbols.
2208 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2209
2210 2013-12-13 Glenn Morris <rgm@gnu.org>
2211
2212 * loadup.el (load-path): Warn if site-load or site-init changes it.
2213 No more need to reset it when bootstrapping.
2214
2215 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2216
2217 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2218 locations for cf-promises.
2219 (cfengine-mode-syntax-functions-regex): New caching variable.
2220 (cfengine3-fallback-syntax): Fallback syntax for cases where
2221 cf-promises doesn't run.
2222 (cfengine3--current-word): Reimplement using
2223 `cfengine-mode-syntax-functions-regex'.
2224 (cfengine3-completion-function, cfengine3--current-function):
2225 Use `cfengine3-make-syntax-cache' directly.
2226 (cfengine3-clear-syntax-cache): New function.
2227 (cfengine3-make-syntax-cache): Simplify and create
2228 `cfengine-mode-syntax-functions-regex' on demand.
2229 (cfengine3-format-function-docstring): Don't call
2230 `cfengine3-make-syntax-cache' explicitly.
2231
2232 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2233
2234 Fix windmove-find-other-window broken after pixelwise resizing
2235 (Bug#16017).
2236 * windmove.el (windmove-other-window-loc): Revert change from
2237 2013-12-04.
2238 (windmove-find-other-window): Call window-in-direction.
2239 * window.el (window-in-direction): New arguments SIGN, WRAP and
2240 MINI to emulate original windmove-find-other-window behavior.
2241
2242 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2243
2244 * simple.el (blink-matching--overlay): New variable.
2245 (blink-matching-open): Instead of moving point, highlight the
2246 matching paren with an overlay
2247 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2248
2249 * faces.el (paren-showing-faces, show-paren-match)
2250 (show-paren-mismatch): Move from paren.el.
2251
2252 2013-12-13 Leo Liu <sdl.web@gmail.com>
2253
2254 * indent.el (indent-region): Disable progress reporter in
2255 minibuffer. (Bug#16108)
2256
2257 * bindings.el (visual-order-cursor-movement): Fix version.
2258
2259 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2260
2261 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2262 Also match after beginning of line.
2263 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2264 files. Thanks to Russell Sim. (Bug#15378)
2265
2266 2013-12-13 Juri Linkov <juri@jurta.org>
2267
2268 * simple.el <Keypad support>: Remove key bindings duplicated
2269 with bindings.el. (Bug#14397)
2270
2271 2013-12-13 Juri Linkov <juri@jurta.org>
2272
2273 * comint.el (comint-mode-map): Replace `delete-char' with
2274 `delete-forward-char'. (Bug#16109)
2275
2276 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2277
2278 * progmodes/python.el (python-indent-calculate-indentation):
2279 Fix de-denters cornercase. (Bug#15731)
2280
2281 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2284 (advice--make): Pay attention to `depth'.
2285 (advice--make-1): Don't autoload commands eagerly.
2286 * emacs-lisp/elp.el (elp-instrument-function):
2287 * emacs-lisp/trace.el (trace-function-internal):
2288 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2289
2290 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2291
2292 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2293
2294 * term/w32-win.el (w32-handle-dropped-file):
2295 * startup.el (normal-top-level):
2296 * net/browse-url.el (browse-url-file-url):
2297 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2298 decode file names using 'utf-8' rather than
2299 file-name-coding-system.
2300
2301 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2302
2303 * progmodes/python.el (python-indent-context)
2304 (python-indent-calculate-indentation): Fix auto-identation
2305 behavior for comment blocks. (Bug#15916)
2306
2307 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2308
2309 * progmodes/python.el (python-indent-calculate-indentation):
2310 When determining indentation, don't treat "return", "pass", etc., as
2311 operators when they are just string constituents. (Bug#15812)
2312
2313 2013-12-12 Juri Linkov <juri@jurta.org>
2314
2315 * uniquify.el (uniquify-buffer-name-style): Change default to
2316 `post-forward-angle-brackets'.
2317
2318 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2319 `uniquify'. Change default to `post-forward-angle-brackets'.
2320
2321 2013-12-11 Glenn Morris <rgm@gnu.org>
2322
2323 * emacs-lisp/package.el (finder-list-matches):
2324 Autoload rather than falsely declaring.
2325
2326 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2327
2328 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2329 (eww-mode-map): Use them.
2330
2331 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2332
2333 * window.el (display-buffer-in-side-window): Fix doc-string
2334 (Bug#16115).
2335
2336 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2337
2338 * vc/vc-git.el: Silence byte-compiler warnings.
2339 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2340 (log-edit-set-header): Declare.
2341
2342 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2343
2344 * Makefile.in (custom-deps, finder-data): Run output file names
2345 through unmsys--file-name. (Bug#16099)
2346
2347 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2350 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2351
2352 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2353 instead of deleting the selection "by hand" (bug#16098).
2354 Rely on insert-for-yank to yank rectangles.
2355 (cua-highlight-region-shift-only): Mark obsolete.
2356 (cua-mode): Don't enable/disable transient-mark-mode,
2357 shift-select-mode (cua-mode works both with and without them), and
2358 pc-selection-mode (obsolete).
2359 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2360 (cua--deactivate-rectangle): Deactivate it.
2361
2362 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2363 (delete-selection-helper): Make sure yank starts at the top of the
2364 deleted region.
2365 (minibuffer-keyboard-quit): Use region-active-p.
2366
2367 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2368
2369 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2370 to `delete' (bug#16109).
2371
2372 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2373
2374 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2375 info manual and show keybindings and set `:group' keyword.
2376
2377 2013-12-11 Juri Linkov <juri@jurta.org>
2378
2379 * delsel.el (delete-active-region): Let-bind `this-command'
2380 to prevent `kill-region' from changing its original value.
2381 (delete-selection-helper): Handle `overwrite-mode' for the type
2382 `kill' exactly the same way as for the type `t'.
2383 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2384 Support more commands. (Bug#13312)
2385
2386 2013-12-11 Juri Linkov <juri@jurta.org>
2387
2388 * bindings.el: Map kp keys to non-kp keys systematically
2389 with basic modifiers control, meta and shift. (Bug#14397)
2390
2391 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2392
2393 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2394 "Close browser" menu items. Fix wrong function of "List
2395 bookmarks".
2396
2397 2013-12-11 Juri Linkov <juri@jurta.org>
2398
2399 * misearch.el (multi-isearch-buffers): Set the value of
2400 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2401 arg of isearch-forward to t.
2402 (multi-isearch-buffers-regexp): Set the value of
2403 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2404 arg of isearch-forward-regexp to t.
2405 (multi-isearch-files): Set the value of
2406 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2407 arg of isearch-forward to t.
2408 (multi-isearch-files-regexp): Set the value of
2409 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2410 arg of isearch-forward-regexp to t. (Bug#16035)
2411
2412 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2413 arg of isearch-forward to t.
2414 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2415 arg of isearch-forward-regexp to t.
2416 (dired-isearch-filter-filenames): Remove unnecessary check for
2417 `dired-isearch-filenames'.
2418
2419 * comint.el (comint-history-isearch-backward):
2420 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2421 (comint-history-isearch-backward-regexp):
2422 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2423
2424 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2425
2426 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2427 unmsys--file-name. (Bug#16099)
2428
2429 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2430
2431 * emacs-lisp/package.el (package-keyword-button-action):
2432 Remove finder.el require dependency.
2433
2434 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2435
2436 * emacs-lisp/package.el: Require finder.el.
2437 (describe-package-1): Add keyword buttons.
2438 (package-make-button): New convenience function.
2439 (package-keyword-button-action): Keyword button action using
2440 `finder-list-matches'.
2441
2442 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2443
2444 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2445 last commit.
2446
2447 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2448
2449 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2450 symlinked files.
2451
2452 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2455 after the end of a percent literal.
2456
2457 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2458
2459 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2460 Handle caret-delimited strings (Bug#16079).
2461
2462 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2463
2464 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2465 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2466 `ruby-parse-partial' (Bug#16078).
2467
2468 2013-12-09 Leo Liu <sdl.web@gmail.com>
2469
2470 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2471
2472 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2473
2474 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2475 (js-switch-indent-offset): New option.
2476 (js--proper-indentation): Use it. And handle the case when
2477 "default" is actually a key in an object literal.
2478 (js--same-line): New function.
2479 (js--multi-line-declaration-indentation): Use it.
2480 (js--indent-in-array-comp, js--array-comp-indentation):
2481 New functions.
2482 (js--proper-indentation): Use them, to handle array comprehension
2483 continuations.
2484
2485 2013-12-08 Leo Liu <sdl.web@gmail.com>
2486
2487 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2488 (flymake-make-overlay): Remove arg MOUSE-FACE.
2489 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2490
2491 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2494 New function.
2495 (redisplay-highlight-region-function): Use it.
2496
2497 * emulation/cua-base.el (cua--explicit-region-start)
2498 (cua--last-region-shifted): Remove.
2499 (cua--deactivate): Use deactivate-mark.
2500 (cua--pre-command-handler-1): Don't handle shift-selection.
2501 (cua--post-command-handler-1): Don't change transient-mark-mode.
2502 (cua--select-keymaps): Use region-active-p rather than
2503 cua--explicit-region-start or cua--last-region-shifted.
2504 (cua-mode): Enable shift-select-mode.
2505
2506 2013-12-08 Leo Liu <sdl.web@gmail.com>
2507
2508 * progmodes/flymake.el (flymake-popup-current-error-menu):
2509 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2510 (flymake-posn-at-point-as-event, flymake-popup-menu)
2511 (flymake-make-emacs-menu): Remove. (Bug#16077)
2512
2513 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * rect.el (rectangle-mark-mode): Activate mark even if
2516 transient-mark-mode is off (bug#16066).
2517 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2518 is > mark and at bolp.
2519
2520 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2521 (region-extract-function): Use it.
2522 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2523 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2524 Delete functions.
2525 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2526 kill-ring-save, kill-region, delete-char, delete-forward-char.
2527 Ignore self-insert-iso.
2528
2529 * emulation/cua-gmrk.el (cua--init-global-mark):
2530 Ignore `self-insert-iso'.
2531
2532 * emulation/cua-base.el (cua--prefix-copy-handler)
2533 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2534 checking cua--rectangle.
2535 (cua-delete-region): Use region-extract-function.
2536 (cua-replace-region): Delete function.
2537 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2538 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2539 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2540 (cua--init-keymaps): Don't remap delete-selection commands.
2541 (cua-mode): Use delete-selection-mode instead of rolling our own
2542 (bug#16085).
2543
2544 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2545 Obey region-extract-function.
2546
2547 Make registers and delete-selection-mode work on rectangles.
2548 * register.el (describe-register-1): Don't modify the register's value.
2549 (copy-to-register): Obey region-extract-function.
2550 * delsel.el (delete-active-region): Obey region-extract-function.
2551
2552 2013-12-08 Leo Liu <sdl.web@gmail.com>
2553
2554 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2555 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2556 (flymake-compilation-prevents-syntax-check)
2557 (flymake-start-syntax-check-on-newline)
2558 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2559 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2560 (flymake-xml-program, flymake-master-file-dirs)
2561 (flymake-master-file-count-limit)
2562 (flymake-allowed-file-name-masks): Relocate.
2563 (flymake-makehash, flymake-float-time)
2564 (flymake-replace-regexp-in-string, flymake-split-string)
2565 (flymake-get-temp-dir): Remove.
2566 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2567 (flymake-current-row, flymake-selected-frame)
2568 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2569 related functions. (Bug#16077)
2570
2571 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2572
2573 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2574
2575 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2576
2577 * help-fns.el (describe-function-1): Use new advice-* functions
2578 rather than old ad-* functions. Fix function type description and
2579 source links for advised functions and subrs.
2580
2581 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2582
2583 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2584
2585 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2586
2587 * progmodes/compile.el (compilation-start):
2588 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2589
2590 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2591 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2592
2593 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2594
2595 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2596 Touch up the last change.
2597
2598 2013-12-06 Leo Liu <sdl.web@gmail.com>
2599
2600 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2601 (inferior-octave-startup): Always use "octave> " for prompt.
2602 (octave-goto-function-definition)
2603 (octave-sync-function-file-names)
2604 (octave-find-definition-default-filename): Remove redundant backquotes.
2605
2606 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2607
2608 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2609 syntax for `?'.
2610 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2611 where appropriate already.
2612 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2613 end of method names (Bug#15874).
2614
2615 2013-12-06 Juri Linkov <juri@jurta.org>
2616
2617 * isearch.el (isearch--saved-overriding-local-map):
2618 New internal variable.
2619 (isearch-mode): Set it to the initial value of
2620 `overriding-terminal-local-map'.
2621 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2622 with `isearch--saved-overriding-local-map'. (Bug#16035)
2623
2624 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2625
2626 * progmodes/octave.el (inferior-octave-completion-table):
2627 Turn back into function, use `completion-table-with-cache'
2628 (Bug#11906). Update all references.
2629
2630 * minibuffer.el (completion-table-with-cache): New function.
2631
2632 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2633
2634 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2635
2636 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2637
2638 * net/eww.el (eww-current-source): New variable to store page
2639 source.
2640 (eww-display-html, eww-mode, eww-save-history)
2641 (eww-restore-history): Use it.
2642 (eww-view-source): New command to view page source.
2643 Opportunistically uses `html-mode' to highlight the buffer.
2644 (eww-mode-map): Install it.
2645
2646 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2647
2648 * net/dbus.el (dbus-unregister-service)
2649 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2650 Fix docstring.
2651 (dbus-unregister-service): Skip :serial entries in
2652 `dbus-registered-objects-table'.
2653 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2654
2655 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2656
2657 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2658 around keywords with extra `split-string' argument.
2659
2660 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2661
2662 * windmove.el (windmove-other-window-loc): Handle navigation
2663 between windows (excluding the minibuffer window - Bug#16017).
2664
2665 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2666
2667 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2668 in D-Bus type syntax.
2669 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2670 preserve unibyte strings. (Bug#16048)
2671
2672 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2675 Call force-mode-line-update is the proper buffer (bug#16042).
2676
2677 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2678
2679 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2680 `log-edit-remember-comment', make argument optional. Adjust all
2681 callers.
2682 (log-edit-mode): Add `log-edit-remember-comment' to
2683 `kill-buffer-hook' locally.
2684 (log-edit-kill-buffer): Don't remember comment explicitly since
2685 the buffer is killed anyway.
2686
2687 2013-12-04 Juri Linkov <juri@jurta.org>
2688
2689 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2690 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2691
2692 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2693
2694 * notifications.el (notifications-close-notification): Call the
2695 D-Bus method with ID being a `:uint32'. (Bug#16030)
2696
2697 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2698
2699 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2700
2701 2013-12-03 Juri Linkov <juri@jurta.org>
2702
2703 * progmodes/compile.el (compilation-start): Rename window alist
2704 entry `no-display-ok' to `allow-no-window'.
2705
2706 * simple.el (shell-command): Add window alist entry
2707 `allow-no-window' to `display-buffer'.
2708 (async-shell-command): Doc fix.
2709
2710 * window.el (display-buffer-no-window): New action function.
2711 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2712
2713 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2714
2715 * vc/log-edit.el (log-edit-set-header): Extract from
2716 `log-edit-toggle-header'.
2717 (log-edit-extract-headers): Separate the summary, when extracted
2718 from header, from the rest of the message with an empty line.
2719
2720 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2721 line, if present, to the Summary header.
2722
2723 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2726 in current-buffer (bug#16029).
2727
2728 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2729
2730 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2731 (debugger-mode-map): Bind it.
2732 (debugger--backtrace-base): New function.
2733 (debugger-eval-expression): Use it.
2734 (debugger-frame-number): Skip local vars when present.
2735 (debugger--locals-visible-p, debugger--insert-locals)
2736 (debugger--show-locals, debugger--hide-locals): New functions.
2737
2738 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2741 "LC_ALL".
2742 (tramp-get-remote-locale): New defun.
2743 (tramp-open-connection-setup-interactive-shell): Use it.
2744
2745 2013-12-02 Leo Liu <sdl.web@gmail.com>
2746
2747 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2748
2749 * progmodes/sh-script.el (sh-shell-process):
2750 * progmodes/octave.el (inferior-octave-process-live-p):
2751 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2752 (gdb-inferior-io-sentinel):
2753 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2754
2755 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2756
2757 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2758 `save-selected-window' to `log-edit-hide-buf'. This makes
2759 `log-edit-show-files' idempotent.
2760 (log-edit-show-files): Mark the new window as dedicated.
2761
2762 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2763
2764 * vc/log-edit.el (log-edit-mode-map): Add binding for
2765 `log-edit-kill-biffer'.
2766 (log-edit-hide-buf): Add a FIXME comment.
2767 (log-edit-add-new-comment): New function, extracted from
2768 `log-edit-done'.
2769 (log-edit-done, log-edit-add-to-changelog): Use it.
2770 (log-edit-kill-buffer): New command.
2771
2772 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2773
2774 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2775 instead of killing the buffer.
2776
2777 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2780
2781 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2782
2783 * net/eww.el (eww-form-checkbox-selected-symbol)
2784 (eww-form-checkbox-symbol): New customizable variable.
2785 (eww-form-checkbox, eww-toggle-checkbox):
2786 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2787
2788 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2789 (shr--get-media-pref, shr--extract-best-source): New function.
2790 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2791 no :src tag was specified.
2792
2793 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2794 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2795 Use \\` to match beginning of string instead of ^.
2796 (eww-browse-with-external-browser): Provide optional URL parameter.
2797 (eww-render): Set `eww-current-title' back to "".
2798
2799 * net/shr.el (shr-tag-video): Display content for video if no
2800 poster is available.
2801 (shr-tag-audio): Add support for <audio> tag.
2802
2803 * net/eww.el (eww-text-input-types): New const.
2804 (eww-process-text-input): Treat input types in
2805 `eww-text-input-types' as text.
2806
2807 * net/shr.el (shr-tag-table): Fix comment typo.
2808
2809 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2810
2811 * net/eww.el (eww-follow-link): New command to avoid reloading
2812 pages when we follow #target links (bug#15243).
2813 (eww-quit): Special mode buffers shouldn't query before exiting.
2814
2815 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2816
2817 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2818 forms.
2819
2820 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2821
2822 * net/eww.el (eww-restore-history): Update the window title after
2823 moving in the history.
2824 (eww-current-dom): New variable used to save the current DOM.
2825
2826 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2827
2828 * vc/log-edit.el (log-edit-mode-map): Add binding for
2829 `log-edit-beginning-of-line'.
2830 (log-edit-setup-add-author): New user option.
2831 (log-edit-beginning-of-line): New command.
2832 (log-edit): Move major mode call above the contents setup so that
2833 the local variable values are already applied.
2834 (log-edit): Only insert "Author: " when
2835 `log-edit-setup-add-author' is non-nil.
2836 (log-edit): When SETUP is non-nil, position point after ": "
2837 instead of point-min.
2838
2839 2013-12-01 Glenn Morris <rgm@gnu.org>
2840
2841 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2842
2843 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2844
2845 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2846 redisplay to make sure the initial frame gets a chance to become
2847 visible. (Bug#16014)
2848
2849 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2850
2851 Support resizing frames and windows pixelwise.
2852 * cus-start.el (frame-resize-pixelwise)
2853 (window-resize-pixelwise): New entries.
2854 * emacs-lisp/debug.el (debug): Use window-total-height instead
2855 of window-total-size.
2856 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2857 * help.el (describe-bindings-internal): Call help-buffer
2858 (temp-buffer-max-width): New option.
2859 (resize-temp-buffer-window, help-window-setup)
2860 (with-help-window): Rewrite.
2861 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2862 dragging dividers.
2863 * window.el (frame-char-size, window-min-pixel-height)
2864 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2865 (window-min-pixel-width, window-safe-min-pixel-size)
2866 (window-combination-p, window-safe-min-size)
2867 (window-resizable-p, window--size-to-pixel)
2868 (window--pixel-to-size, window--resize-apply-p): New functions.
2869 (window-safe-min-height): Fix doc-string.
2870 (window-size, window-min-size, window--min-size-1)
2871 (window-sizable, window-sizable-p, window--min-delta-1)
2872 (window-min-delta, window--max-delta-1, window-max-delta)
2873 (window--resizable, window--resizable-p, window-resizable)
2874 (window-full-height-p, window-full-width-p, window-at-side-p)
2875 (window--in-direction-2, window-in-direction)
2876 (window--resize-reset-1, window--resize-mini-window)
2877 (window-resize, window-resize-no-error)
2878 (window--resize-child-windows-normal)
2879 (window--resize-child-windows, window--resize-siblings)
2880 (window--resize-this-window, window--resize-root-window)
2881 (window--resize-root-window-vertically)
2882 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2883 (maximize-window, minimize-window, delete-window)
2884 (quit-restore-window, window-split-min-size, split-window)
2885 (balance-windows-2, balance-windows)
2886 (balance-windows-area-adjust, balance-windows-area)
2887 (window--state-get-1, window-state-get, window--state-put-1)
2888 (window--state-put-2, window-state-put)
2889 (display-buffer-record-window, window--display-buffer):
2890 Make functions handle pixelwise sizing of windows.
2891 (display-buffer--action-function-custom-type)
2892 (display-buffer-fallback-action):
2893 Add display-buffer-in-previous-window.
2894 (display-buffer-use-some-window): Resize window to height it had
2895 before.
2896 (fit-window-to-buffer-horizontally): New option.
2897 (fit-frame-to-buffer): Describe new values.
2898 (fit-frame-to-buffer-bottom-margin): Replace with
2899 fit-frame-to-buffer-margins.
2900 (window--sanitize-margin): New function.
2901 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2902 using window-text-pixel-size.
2903
2904 2013-11-30 Glenn Morris <rgm@gnu.org>
2905
2906 * emacs-lisp/bytecomp.el (byte-compile-form):
2907 Make the `interactive-only' warning like the `obsolete' one.
2908 * comint.el (comint-run):
2909 * files.el (insert-file-literally, insert-file):
2910 * replace.el (replace-string, replace-regexp):
2911 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2912 (goto-line, insert-buffer, next-line, previous-line):
2913 Tweak `interactive-only' spec.
2914
2915 Stop keeping (most) generated cedet grammar files in the repository.
2916 * Makefile.in (semantic): New.
2917 (compile-main): Depend on semantic.
2918
2919 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2922 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2923
2924 * uniquify.el (uniquify-buffer-name-style): Change default.
2925
2926 * loadup.el: Preload "uniquify".
2927
2928 * time.el (display-time-update): Update all mode lines (bug#15999).
2929
2930 * electric.el (electric-indent-mode): Enable by default.
2931 * loadup.el: Preload "electric".
2932
2933 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2934
2935 * emacs-lisp/helpers.el (string-empty-p): New function.
2936 (string-blank-p): New function.
2937
2938 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2939
2940 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2941 (Bug#14029).
2942
2943 2013-11-29 Andreas Politz <politza@fh-trier.de>
2944 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2945 allow non-lambda lists as functions.
2946 (imenu--in-alist): Don't recurse into non-subalists.
2947 (imenu): Don't pass function itself as an argument (Bug#14029).
2948
2949 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * progmodes/python.el (python-mode-map): Remove binding for ":".
2952 (python-indent-electric-colon): Remove command.
2953 (python-indent-post-self-insert-function): Integrate the previous code
2954 of python-indent-electric-colon. Make it conditional on
2955 electric-indent-mode.
2956 (python-mode): Add ?: to electric-indent-chars.
2957 Move python-indent-post-self-insert-function to the end of
2958 post-self-insert-hook.
2959
2960 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * doc-view.el (doc-view-goto-page): Update mode-line.
2963
2964 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2965
2966 2013-11-27 Glenn Morris <rgm@gnu.org>
2967
2968 * international/charprop.el, international/uni-bidi.el:
2969 * international/uni-category.el, international/uni-combining.el:
2970 * international/uni-comment.el, international/uni-decimal.el:
2971 * international/uni-decomposition.el, international/uni-digit.el:
2972 * international/uni-lowercase.el, international/uni-mirrored.el:
2973 * international/uni-name.el, international/uni-numeric.el:
2974 * international/uni-old-name.el, international/uni-titlecase.el:
2975 * international/uni-uppercase.el:
2976 Remove generated files from VCS repository.
2977
2978 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2979
2980 * filenotify.el (file-notify-add-watch): Don't special-case
2981 w32notify when computing the directory to watch.
2982
2983 2013-11-27 Glenn Morris <rgm@gnu.org>
2984
2985 Make bootstrap without generated uni-*.el files possible again.
2986 * loadup.el: Update command-line-args checking for unidata-gen.
2987 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2988 * composite.el, international/characters.el:
2989 Handle unicode tables being undefined.
2990
2991 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2992 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2993 (compile-main): Depend on leim rule.
2994 (leim): New rule.
2995 * loadup.el: Move leim-list.el to leim/ subdirectory.
2996 * startup.el (normal-top-level): No more leim directory.
2997 * international/ja-dic-cnv.el (skkdic-convert):
2998 Disable version-control and autoloads in output files.
2999 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3000 Disable version-control and autoloads in output files.
3001 * leim/quail: Move here from ../leim.
3002 * leim/quail/hangul.el (hangul-input-method-activate):
3003 Add autoload cookie.
3004 (generated-autoload-load-name): Set file-local value.
3005 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3006 (generated-autoload-load-name): Set file-local value.
3007
3008 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3009
3010 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3011 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3012 (eww-quit): Ask confirmation before quitting eww.
3013
3014 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3015
3016 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3017 reading output from Diff on MS-Windows and MS-DOS.
3018
3019 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3020
3021 * emacs-lisp/helpers.el (string-reverse): New function.
3022
3023 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3024
3025 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3026 names on MS Windows, like "/[::1]:".
3027
3028 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3029 SWITCHES.
3030
3031 2013-11-26 Glenn Morris <rgm@gnu.org>
3032
3033 * progmodes/python.el (python-indent-guess-indent-offset):
3034 Avoid corner-case error. (Bug#15975)
3035
3036 Preload leim-list.el. (Bug#4789)
3037 * loadup.el: Load leim-list.el when found.
3038 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3039
3040 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3041
3042 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3043
3044 * emacs-lisp/helpers.el (string-join): New function.
3045
3046 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3047
3048 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3049 Mark as obsolete and replace it with a symbol property.
3050 (byte-compile-form): Use new 'interactive-only property.
3051 * comint.el, files.el, replace.el, simple.el:
3052 Apply new 'interactive-only properly.
3053
3054 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3055
3056 * window.el (display-buffer-at-bottom): Make sure that
3057 split-window-sensibly creates the new window on bottom
3058 (Bug#15961).
3059
3060 2013-11-23 David Kastrup <dak@gnu.org>
3061
3062 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3063 on the conflict markers when available.
3064 (smerge--get-marker): New function.
3065 (smerge-end-re, smerge-base-re): Add subgroup.
3066
3067 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * frame.el (handle-focus-in, handle-focus-out): Add missing
3070 interactive spec.
3071
3072 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3073
3074 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3075 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3076
3077 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3078
3079 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3080 (gomoku--last-pos): New var.
3081 (gomoku--intangible-chars): New const.
3082 (gomoku--intangible): New function.
3083 (gomoku-mode): Use it. Derive from special-mode.
3084 (gomoku-move-up): Adjust line count.
3085 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3086 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3087 Simplify accordingly.
3088
3089 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3090 Remove blink-cursor code.
3091 (blink-cursor-timer-function, blink-cursor-suspend):
3092 Don't special-case GUIs.
3093 (blink-cursor-mode): Use focus-in/out-hook.
3094
3095 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3096
3097 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3098 work when annotation is invisible (Bug#13886).
3099
3100 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3101
3102 * json.el (json-alist-p): Only return non-nil if the alist has
3103 simple keys (Bug#13518).
3104
3105 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3106
3107 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3108 when control-statement is the first statement in a buffer (Bug#15956).
3109
3110 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3111
3112 * imenu.el (imenu-generic-skip-comments-and-strings):
3113 New option (Bug#15560).
3114 (imenu--generic-function): Use it.
3115
3116 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3117
3118 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3119 (Bug#13898)
3120
3121 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3122
3123 * emacs-lisp/helpers.el: Add some string helpers.
3124 (string-trim-left): Removes leading whitespace.
3125 (string-trim-right): Removes trailing whitespace.
3126 (string-trim): Removes leading and trailing whitespace.
3127
3128 * subr.el (string-suffix-p): New function.
3129
3130 2013-11-23 Glenn Morris <rgm@gnu.org>
3131
3132 * progmodes/python.el (python-shell-send-file):
3133 Add option to delete file when done. (Bug#15647)
3134 (python-shell-send-string, python-shell-send-region): Use it.
3135
3136 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3137
3138 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3139 to set buffer-read-only to t, never to nil. (Bug#15938)
3140
3141 * textmodes/tex-mode.el (latex-noindent-environments):
3142 Add safe-local-variable property. (Bug#15936)
3143
3144 2013-11-23 Glenn Morris <rgm@gnu.org>
3145
3146 * textmodes/enriched.el (enriched-mode): Doc fix.
3147 * emacs-lisp/authors.el (authors-renamed-files-alist):
3148 Add enriched.doc -> enriched.txt.
3149
3150 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3151
3152 2013-11-22 Leo Liu <sdl.web@gmail.com>
3153
3154 * progmodes/octave.el (inferior-octave-startup): Spit out error
3155 message.
3156
3157 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3158
3159 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3160 Improve docstring.
3161 Add :version.
3162 (ruby-encoding-magic-comment-style): Add :version.
3163
3164 2013-11-22 Leo Liu <sdl.web@gmail.com>
3165
3166 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3167 (Bug#15076)
3168 (octave-help-mode): Adapt to change to help-mode-finish to use
3169 derived-mode-p on 2013-09-17.
3170 (inferior-octave-prompt): Also match octave-gui.
3171 (octave-kill-process): Don't ask twice. (Bug#10564)
3172
3173 2013-11-22 Leo Liu <sdl.web@gmail.com>
3174
3175 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3176 (inferior-octave-startup, inferior-octave-check-process)
3177 (inferior-octave-track-window-width-change)
3178 (octave-completion-at-point, octave-eldoc-function): Use it.
3179 (octave-kill-process): Provide confirmation. (Bug#10564)
3180
3181 2013-11-21 Leo Liu <sdl.web@gmail.com>
3182
3183 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3184 Fix obsolete variable comment-use-global-state.
3185
3186 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3187
3188 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3189 Add `octave-source-file'.
3190 (octave-source-file): New function. (Bug#15935)
3191
3192 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3193
3194 * net/eww.el (eww-local-regex): New variable.
3195 (eww): Use it to detect localhost and similar.
3196
3197 2013-11-21 Leo Liu <sdl.web@gmail.com>
3198
3199 Add completion for command `ag'.
3200 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3201 (pcomplete/ag): New function.
3202 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3203
3204 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3207 (bug#14646).
3208 (make-obsolete): Remove interactive spec.
3209
3210 2013-11-21 Glenn Morris <rgm@gnu.org>
3211
3212 * startup.el (command-line-1): Use path-separator with -L.
3213
3214 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3215
3216 * emacs-lisp/package.el (describe-package-1): Add package archive
3217 to shown fields.
3218
3219 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3220
3221 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3222 Change default to "# encoding: %s" to differentiate it from the
3223 default Ruby encoding comment template.
3224
3225 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3226
3227 * ses.el (ses-mode): Doc fix. (Bug#14748)
3228
3229 2013-11-20 Leo Liu <sdl.web@gmail.com>
3230
3231 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3232
3233 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3234
3235 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3236 when rebase or bisect are in progress.
3237
3238 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3239
3240 * filenotify.el (file-notify-add-watch): Doc fix.
3241
3242 2013-11-19 Leo Liu <sdl.web@gmail.com>
3243
3244 * obsolete/rcompile.el: Mark obsolete.
3245
3246 * progmodes/compile.el (compilation-start)
3247 (compilation-goto-locus, compilation-find-file):
3248 Pass no-display-ok and handle nil value from display-buffer.
3249 (Bug#13594)
3250
3251 * window.el (display-buffer-alist, display-buffer): Document the
3252 new parameter no-display-ok. Return either a window or nil
3253 but never a non-window value.
3254
3255 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * electric.el (electric-indent-mode-map): Remove.
3258 (electric-indent-mode): Change the global-map instead (bug#15915).
3259
3260 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3261 Use add-function.
3262
3263 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * emacs-lisp/nadvice.el (remove-function): Align with
3266 add-function's behavior.
3267
3268 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3269 (gdb--string-regexp): New constant.
3270 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3271 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3272 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3273 submatch 1.
3274 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3275 Adjust use accordingly.
3276 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3277
3278 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3279
3280 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3281 interpolation curlies (Bug#15914).
3282
3283 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3284
3285 * calc/calc.el (calc-context-sensitive-enter): New variable.
3286 (calc-enter): Use `calc-context-sensitive-enter'.
3287
3288 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3289
3290 * progmodes/cfengine.el: Version bump.
3291 (cfengine-cf-promises): New defcustom to locate cf-promises.
3292 (cfengine3-vartypes): Add new "data" type.
3293 (cfengine3--current-word): New function to get current name-like
3294 word or its bounds.
3295 (cfengine3--current-function): New function to look up a CFEngine
3296 function's definition.
3297 (cfengine3-format-function-docstring): New function.
3298 (cfengine3-make-syntax-cache): New function.
3299 (cfengine3-documentation-function): New function: ElDoc glue.
3300 (cfengine3-completion-function): New function: completion glue.
3301 (cfengine3-mode): Set `compile-command',
3302 `eldoc-documentation-function', and add to
3303 `completion-at-point-functions'.
3304
3305 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3308 `tramp-current-connection'.
3309
3310 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3311
3312 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3313 nil/self/true/false with "end of symbol".
3314
3315 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3316
3317 * subr.el (version-regexp-alist): Fix a typo.
3318
3319 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3322 "en_US.utf8" and "LC_CTYPE" to "".
3323 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3324 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3325
3326 2013-11-15 Leo Liu <sdl.web@gmail.com>
3327
3328 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3329
3330 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * progmodes/gud.el (ctl-x-map):
3333 Remove C-x SPC binding. (Bug#12342)
3334 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3335
3336 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3337
3338 * subr.el (version-regexp-alist):
3339 Recognize hg, svn and darcs versions as snapshot versions.
3340
3341 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3342 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3343 (ruby--encoding-comment-required-p): Extract from
3344 `ruby-mode-set-encoding'.
3345 (ruby-mode-set-encoding): Add the ability to always insert an
3346 utf-8 encoding comment. Fix and simplify coding comment update
3347 logic.
3348
3349 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3350
3351 * net/tramp-gvfs.el (top): Run init code only when
3352 `tramp-gvfs-enabled' is not nil.
3353 (tramp-gvfs-enabled): Check also :system bus.
3354
3355 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 Sync with upstream verilog-mode revision 78e66ba.
3358 * progmodes/verilog-mode.el (verilog-end-of-defun)
3359 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3360 (verilog-get-end-of-defun): Remove unused argument.
3361 (verilog-comment-depth): Remove unused local `e'.
3362 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3363 Don't pass arg to verilog-get-end-of-defun.
3364
3365 2013-11-14 Glenn Morris <rgm@gnu.org>
3366
3367 * obsolete/assoc.el (aget): Prefix dynamic variable.
3368
3369 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3370
3371 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * widget.el, hfy-cmap.el: Remove bogus package version number.
3374
3375 2013-11-13 Glenn Morris <rgm@gnu.org>
3376
3377 * replace.el (replace-eval-replacement):
3378 Try to give more helpful error message. (Bug#15836)
3379
3380 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3381 (archive-7z-update): Avoid custom type mismatches.
3382
3383 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3384
3385 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3386
3387 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3388 address can be empty.
3389
3390 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3391 Accept nil SWITCHES.
3392 (tramp-gvfs-handle-write-region): Implement APPEND.
3393
3394 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3395
3396 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3397 binary "|" operator and closing block args delimiter.
3398 Remove FIXME comment referring to Ruby 1.8-only syntax.
3399 (ruby-smie--implicit-semi-p): Not after "|" operator.
3400 (ruby-smie--closing-pipe-p): New function.
3401 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3402 (ruby-smie-rules): Indent after "|".
3403
3404 2013-11-12 Glenn Morris <rgm@gnu.org>
3405
3406 * ps-print.el (ps-face-attribute-list):
3407 Handle anonymous faces. (Bug#15827)
3408
3409 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3410
3411 * window.el (display-buffer-other-frame): Fix doc-string.
3412 (Bug#15868)
3413
3414 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3417
3418 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3419
3420 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3421 (tramp-sh-handle-file-local-copy): Don't write a message when
3422 saving temporary files.
3423
3424 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3425 both directories are remote.
3426 (tramp-smb-handle-directory-files): Do not return double entries.
3427 Do not expand full file names.
3428 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3429 (tramp-smb-handle-write-region): Implement APPEND.
3430 (tramp-smb-get-stat-capability): Fix a stupid bug.
3431
3432 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3435
3436 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3437
3438 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3439 throwing error over malformed let/let* (bug#15814).
3440
3441 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * iswitchb.el (iswitchb-mode): Mark obsolete.
3444
3445 2013-11-11 Glenn Morris <rgm@gnu.org>
3446
3447 * international/uni-bidi.el, international/uni-category.el:
3448 * international/uni-name.el, international/uni-numeric.el:
3449 Regenerate for Unicode 6.3.0.
3450
3451 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3452
3453 * net/tramp.el (tramp-methods):
3454 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3455 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3456
3457 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3458
3459 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3460 Force highlighting text after Summary keyword in doc face for rpm.
3461
3462 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3463
3464 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3465 available and the word has no wildcards, append one to the grep pattern.
3466 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3467 (ispell-complete-word): Call `ispell-lookup-words' with the value
3468 independent of `ispell-look-p'.
3469
3470 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3471
3472 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3473 Not after "||".
3474 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3475 their parent.
3476
3477 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3480 (ruby-font-lock-keywords): Use backquote.
3481
3482 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3483
3484 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3485 (ruby-smie--backward-token): Only consider full-string matches.
3486
3487 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3488
3489 * faces.el (describe-face): Add distant-foreground.
3490
3491 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3492
3493 * progmodes/ruby-mode.el: Improve encoding comment handling.
3494 (ruby-encoding-magic-comment-style): New option.
3495 (ruby-custom-encoding-magic-comment-template): New option.
3496 (ruby--insert-coding-comment, ruby--detect-encoding):
3497 New functions extracted from `ruby-mode-set-encoding'.
3498 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3499 to control the style of the auto-inserted encoding comment.
3500
3501 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3502
3503 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3504 Use `smie-backward-sexp' with token argument.
3505
3506 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3507
3508 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3509 Remove instrumentation code.
3510
3511 2013-11-08 Glenn Morris <rgm@gnu.org>
3512
3513 * progmodes/autoconf.el (autoconf-mode):
3514 Tweak comment-start-skip. (Bug#15822)
3515
3516 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3519 at bobp (bug#15826).
3520 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3521
3522 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3523
3524 * man.el (Man-start-calling): New macro, extracted from
3525 Man-getpage-in-background.
3526 (Man-getpage-in-background): Use it.
3527 (Man-update-manpage): New command.
3528 (Man-mode-map): Bind it.
3529
3530 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3531
3532 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3533 of "and", "or", "&&" and "||".
3534 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3535 argument. Prohibit opening curly brace because it could only be a
3536 block opener in that position.
3537 (ruby-smie--forward-token, ruby-smie--backward-token):
3538 Separate "|" from "&" or "*" going after it. That can happen in block
3539 arguments.
3540 (ruby-smie--indent-to-stmt): New function, seeks the end of
3541 previous statement or beginning of buffer.
3542 (ruby-smie-rules): Use it.
3543 (ruby-smie-rules): Check if there's a ":" before a curly block
3544 opener candidate; if there is, it's a hash.
3545
3546 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3548 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3549 (cl--block-wrapper): Fix last accidental change.
3550
3551 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3552
3553 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3554 Instrument, in order to hunt failure on hydra.
3555
3556 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3557
3558 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3559 malformed bindings form (bug#15814).
3560
3561 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3562
3563 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3564 "." compared to " @ ". This incidentally fixes some indentation
3565 examples with "do".
3566 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3567 (ruby-smie-grammar): New tokens: "and" and "or".
3568 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3569 Exclude "and" and "or". Remove "do" in order to work around token
3570 priorities.
3571 (ruby-smie-rules): Add all infix tokens. Handle the case of
3572 beginning-of-buffer.
3573
3574 2013-11-06 Glenn Morris <rgm@gnu.org>
3575
3576 * Makefile.in (setwins_almost, setwins_for_subdirs):
3577 Avoid accidental matches.
3578
3579 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * menu-bar.el (popup-menu): Use key-binding.
3582
3583 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3584
3585 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3586 menus, support also the menus produced by minor modes.
3587 (Bug#15817)
3588
3589 2013-11-06 Leo Liu <sdl.web@gmail.com>
3590
3591 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3592 DISTANCE to bound the search. All uses changed. (Bug#15808)
3593
3594 2013-11-06 Glenn Morris <rgm@gnu.org>
3595
3596 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3597 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3598 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3599
3600 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * electric.el (electric-indent-just-newline): New command.
3603 (electric-indent-mode-map): New keymap.
3604 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3605 Re-add :group which weren't redundant.
3606
3607 * electric.el (electric-indent-local-mode): New minor mode.
3608 (electric-indent-functions-without-reindent): New var.
3609 (electric-indent-post-self-insert-function): Use it.
3610 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3611
3612 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3613
3614 * international/quail.el (quail-help): Be more explicit about the
3615 meaning of the labels shown on the keys. (Bug#15800)
3616
3617 * startup.el (normal-top-level): Load the subdirs.el files before
3618 setting the locale environment. (Bug#15805)
3619
3620 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3623 via arguments so as to get the right ones (bug#15418).
3624
3625 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3626
3627 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3628
3629 Fix problems found while writing a test suite.
3630
3631 * net/tramp-compat.el (tramp-compat-load): New defun.
3632 * net/tramp.el (tramp-handle-load): Use it.
3633
3634 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3635 "(numberp ok-if-already-exists)" correctly.
3636
3637 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3638
3639 * international/characters.el (glyphless-char-display-control):
3640 Add usage note.
3641
3642 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3643
3644 * progmodes/python.el (python-mode):
3645 * progmodes/scheme.el (scheme-mode):
3646 * progmodes/prolog.el (prolog-mode):
3647 * progmodes/ruby-mode.el (ruby-mode):
3648 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3649 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3650
3651 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * rect.el (rectangle--highlight-for-redisplay):
3654 * emacs-lisp/smie.el (smie--next-indent-change):
3655 Use buffer-chars-modified-tick.
3656
3657 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3658
3659 * electric.el (electric-indent-post-self-insert-function):
3660 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3661
3662 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3663
3664 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3665
3666 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3667
3668 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3669 (bug#15786).
3670
3671 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3674
3675 * progmodes/python.el: Fix up last change.
3676 (python-shell--save-temp-file): New function.
3677 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3678 `string' comes from the current buffer.
3679 (python-shell-send-string-no-output): Remove `msg' arg.
3680 (python--use-fake-loc): New var.
3681 (python-shell-buffer-substring): Obey it. Try to compensate for the
3682 extra coding line added by python-shell--save-temp-file.
3683 (python-shell-send-region): Use python-shell--save-temp-file and
3684 python-shell-send-file directly. Add `nomain' argument.
3685 (python-shell-send-buffer): Use python-shell-send-region.
3686 (python-electric-pair-string-delimiter): New function.
3687 (python-mode): Use it.
3688
3689 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3690
3691 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3692 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3693 environment and decoding all of the default-directory's to here
3694 from command-line.
3695 (command-line): Decode also argv[0].
3696
3697 * loadup.el: Error out if default-directory is a multibyte string
3698 when we are dumping.
3699
3700 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3701
3702 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3703
3704 * emacs-lisp/package.el (package-menu-mode)
3705 (package-menu--print-info, package-menu--archive-predicate):
3706 Add Archive column to package list.
3707
3708 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3709
3710 Fix problems found while writing a test suite.
3711
3712 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3713 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3714 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3715 to nil when running original file name handler. Otherwise,
3716 there are problems with constructs like "$$FOO".
3717
3718 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3719 for `localname'.
3720
3721 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3722
3723 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3724
3725 * subr.el (version<, version<=, version=):
3726 Update docstrings with information for snapshot versions.
3727
3728 * helpers.el: New library for misc helper functions.
3729 (hash-table-keys): New function returning a list of hash keys.
3730 (hash-table-values): New function returning a list of hash values.
3731
3732 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3733
3734 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3735 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3736
3737 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3738
3739 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3740 checking whether point is after a 1-letter word.
3741
3742 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3743
3744 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3745 Don't infloop when expanding region over `multiline' syntax-type that
3746 begins a line (bug#15778).
3747
3748 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3751 Make it into a proper minor mode.
3752 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3753 (rectangle-mark-mode-map): New keymap.
3754 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3755
3756 2013-11-04 Glenn Morris <rgm@gnu.org>
3757
3758 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3759
3760 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3763 (ruby-smie-rules): Use smie-rule-parent instead.
3764
3765 * emacs-lisp/smie.el (smie-rule-parent): Always call
3766 smie-indent-virtual rather than only for hanging tokens.
3767 (smie--next-indent-change): New helper command.
3768
3769 2013-11-03 Glenn Morris <rgm@gnu.org>
3770
3771 * Makefile.in (abs_srcdir): Remove.
3772 (emacs): Unset EMACSLOADPATH.
3773
3774 2013-11-02 Glenn Morris <rgm@gnu.org>
3775
3776 * Makefile.in (EMACS): Use a relative filename.
3777 (abs_top_builddir): Remove.
3778 (custom-deps, finder-data, autoloads): Use --chdir.
3779
3780 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3781
3782 Use relative filenames in TAGS files.
3783 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3784 (lisptagsfiles4, TAGS): Use relative file names.
3785 (TAGS-LISP): Remove.
3786 (maintainer-clean): No more TAGS-LISP file.
3787
3788 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3789 (lisptagsfiles4): Use absolute filenames again.
3790 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3791 Remove all *loaddefs files, not just the first. Remove esh-groups.
3792 (maintainer-clean): Delete TAGS, TAGS-LISP.
3793
3794 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3795
3796 * emacs-lisp/package.el (package-version-join):
3797 Recognize snapshot versions.
3798
3799 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3800
3801 * subr.el (version-regexp-alist): Add support for snapshot versions.
3802
3803 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3804
3805 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3806 New function, replacement for `smie-rule-parent' for when we want to
3807 skip over our direct parent if it's an assignment token..
3808 (ruby-smie-rules): Use it.
3809
3810 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3811
3812 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3813 unconditionally. Remove now unnecessary forward declarations.
3814 Remove XEmacs-specific setup.
3815 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3816 (ruby-font-lock-syntactic-keywords)
3817 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3818 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3819 (ruby-here-doc-end-syntax): Remove.
3820 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3821 defined as function.
3822
3823 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3824
3825 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3826
3827 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3828
3829 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3830 table and abbrev table, `define-derived-mode' does that for us
3831 anyway.
3832
3833 2013-11-01 Glenn Morris <rgm@gnu.org>
3834
3835 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3836 files is atomic for some time, so no parallel compilation issues).
3837
3838 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3839
3840 * faces.el (face-x-resources): Add :distant-foreground.
3841 (region): Use :distant-foreground for gtk and ns.
3842
3843 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3844
3845 Allow multiple bibliographies when BibLaTeX is used rather than
3846 BibTeX.
3847 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3848 (reftex-locate-bibliography-files): Us it.
3849
3850 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3851
3852 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3853 allow comments in pbm files.
3854
3855 * term/w32-win.el (dynamic-library-alist): Support newer versions
3856 of libjpeg starting with v7: look only for the DLL from the
3857 version against which Emacs was built.
3858 Support versions of libpng beyond 1.4.x.
3859 Support libtiff v4.x.
3860
3861 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3862
3863 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3864 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3865 Add property :safe.
3866 (ruby-deep-arglist): Add property :type.
3867
3868 2013-10-31 Glenn Morris <rgm@gnu.org>
3869
3870 * Makefile.in (custom-deps, finder-data): No need to setq the target
3871 variables, we are in the right directory and the defaults work fine.
3872
3873 2013-10-30 Glenn Morris <rgm@gnu.org>
3874
3875 * Makefile.in (autoloads): Do not use abs_lisp.
3876
3877 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3878 `newline' does not respect `standard-output', so use `princ'.
3879
3880 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3881
3882 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3883 * buff-menu.el (Buffer-menu--unmark): New function.
3884 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3885
3886 2013-10-30 Glenn Morris <rgm@gnu.org>
3887
3888 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3889
3890 * emacs-lisp/package.el (lm-homepage): Declare.
3891
3892 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3893 Fix doc typos.
3894
3895 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3896
3897 * Makefile.in (finder-data, autoloads, update-subdirs)
3898 (compile-main, compile-clean, compile-always, bootstrap-clean):
3899 Check return value of cd.
3900 (compile-calc): Remove.
3901
3902 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3905
3906 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3907 (byte-compile-and-folded): New function.
3908 (=, <, >, <=, >=): Use it.
3909
3910 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3911 (path-separator, null-device, buffer-file-coding-system)
3912 (lpr-headers-switches): Check system-type before modifying them.
3913 (find-buffer-file-type-coding-system): Mark obsolete.
3914 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3915 find-file-not-found-set-buffer-file-coding-system.
3916 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3917 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3918 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3919 (w32-direct-print-region-helper, w32-direct-print-region-function)
3920 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3921 * startup.el (normal-top-level-add-subdirs-to-load-path):
3922 * ps-print.el (ps-print-region-function):
3923 * lpr.el (print-region-function): Use new name.
3924
3925 * subr.el (custom-declare-variable-early): Remove function.
3926 (custom-declare-variable-list): Remove var.
3927 (error, user-error): Remove `while' loop.
3928 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3929 (user-emacs-directory-warning, locate-user-emacs-file):
3930 Move to files.el.
3931 * simple.el (read-quoted-char-radix, read-quoted-char):
3932 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3933 Move from subr.el.
3934 * custom.el (custom-declare-variable-list): Don't process
3935 custom-declare-variable-list.
3936
3937 * progmodes/python.el (python-shell-get-buffer): New function.
3938 (python-shell-get-process): Use it.
3939 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3940 Python which encoding was used. Don't split-string since we only care
3941 about the first line. Return the temp-file, if applicable.
3942 (python-shell-send-region): Tell compile.el how to turn locations in
3943 the temp-file into locations in the source buffer.
3944
3945 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * subr.el (undefined): Add missing behavior from the C code for
3948 unbound keys.
3949
3950 * rect.el: Use lexical-binding. Add new rectangular region support.
3951 (rectangle-mark): New command.
3952 (rectangle--region): New var.
3953 (deactivate-mark-hook): Reset rectangle--region.
3954 (rectangle--extract-region, rectangle--insert-for-yank)
3955 (rectangle--highlight-for-redisplay)
3956 (rectangle--unhighlight-for-redisplay): New functions.
3957 (region-extract-function, redisplay-unhighlight-region-function)
3958 (redisplay-highlight-region-function): Use them to handle
3959 rectangular region.
3960 * simple.el (region-extract-function): New var.
3961 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3962 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3963 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3964 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3965 (redisplay-unhighlight-region-function)
3966 (redisplay-highlight-region-function): New vars.
3967 (redisplay--update-region-highlight): New function.
3968 (pre-redisplay-function): Use it.
3969 (exchange-point-and-mark): Don't deactivate the mark before
3970 reactivate-it anyway.
3971 * comint.el (comint-kill-region): Remove yank-handler argument.
3972 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3973 (delete-char): Remove property, since it's now part of their
3974 default behavior.
3975 (self-insert-iso): Remove property since this command doesn't exist.
3976
3977 * emacs-lisp/package.el (package--download-one-archive)
3978 (describe-package-1): Don't query the user about final newline.
3979
3980 2013-10-29 Daniel Colascione <dancol@dancol.org>
3981
3982 * net/tramp.el (tramp-methods): Document new functionality.
3983 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3984 tramp-hostname-checker if method provides one instead of scanning
3985 argument list for "%h" to decide hostname acceptability.
3986
3987 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3988
3989 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3990 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3991 Handle COPY-CONTENTS. (Bug#15737)
3992
3993 2013-10-28 Daiki Ueno <ueno@gnu.org>
3994
3995 * epa-file.el
3996 (epa-file-cache-passphrase-for-symmetric-encryption):
3997 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3998
3999 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4000
4001 * image.el (defimage):
4002 (image-load-path): Doc fixes.
4003
4004 2013-10-27 Alan Mackenzie <acm@muc.de>
4005
4006 Indent statements in macros following "##" correctly.
4007 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4008 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4009
4010 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4011
4012 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4013
4014 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4015
4016 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4017 after `=' is probably a new expression.
4018
4019 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4020
4021 * man.el (man-imenu-title): New option.
4022 (Man-mode-map): Add menu. (Bug#15722)
4023 (Man-mode): Add imenu to menu.
4024
4025 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4026
4027 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4028 specific in what the first arg can be: a non-keyword word,
4029 string/regexp/percent literal opener, opening paren, or unary
4030 operator followed directly by word.
4031
4032 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4033
4034 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4035 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4036 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4037 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4038 Remove vars, they do not apply any more.
4039 (prolog-mode-abbrev-table): Remove redundant declaration.
4040 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4041 (prolog-use-smie): Remove.
4042 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4043 supported by prolog-electric-if-then-else-flag.
4044 (prolog-mode-variables, prolog-menu): Use setq-local.
4045 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4046 Remove binding to `Backspace' since this key doesn't exist anyway.
4047 Remove bindings for electric self-inserting keys.
4048 (prog-mode): Assume it's defined.
4049 (prolog-post-self-insert): New function.
4050 (prolog-mode): Use it.
4051 (prolog-indent-line, prolog-indent-level)
4052 (prolog-find-indent-of-matching-paren)
4053 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4054 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4055 (prolog-goto-next-paren, prolog-in-string-or-comment)
4056 (prolog-tokenize, prolog-inside-mline-comment)
4057 (prolog-find-start-of-mline-comment): Remove functions.
4058 (prolog-find-unmatched-paren, prolog-clause-end)
4059 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4060 (prolog-electric--if-then-else): Rename from
4061 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4062 (prolog-tokenize-searchkey): Remove const.
4063 (prolog-clause-info): Use forward-sexp.
4064 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4065 (prolog-electric-if-then-else): Remove commands.
4066 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4067 for use in post-self-insert-hook.
4068 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4069 for use in post-self-insert-hook.
4070 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4071 for use in post-self-insert-hook.
4072 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4073 adapt it for use in post-self-insert-hook.
4074
4075 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4076
4077 * emacs-lisp/ert.el (ert-run-tests-interactively):
4078 Use `completing-read'. (Bug#9756)
4079
4080 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4081
4082 * simple.el (line-move): Call line-move-1 instead of
4083 line-move-visual when the current window hscroll is zero, but
4084 temporary-goal-column indicates we will need to hscroll as result
4085 of the movement. (Bug#15712)
4086
4087 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4088
4089 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4090 capitalization. Use :visible instead of :active.
4091 Fix `ruby-indent-exp' reference. Add menu items for the generic
4092 commands that are used with SMIE.
4093 (ruby-do-end-to-brace): Insert space after `{'.
4094
4095 2013-10-25 John Anthony <john@jo.hnanthony.com>
4096
4097 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4098
4099 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4100
4101 2013-10-25 Glenn Morris <rgm@gnu.org>
4102
4103 * vc/vc.el (vc-print-log): Don't use a working revision unless
4104 one was explicitly specified. (Bug#15322)
4105
4106 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * subr.el (add-to-list): Preserve return value in compiler-macro
4109 (bug#15692).
4110
4111 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4112
4113 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4114 result. Ask user to retry using '-all' flag. (Bug#15701)
4115
4116 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * emacs-lisp/smie.el: New smie-config system.
4119 (smie-config): New defcustom.
4120 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4121 (smie-config-guess, smie-config-save): New commands.
4122 (smie-config--mode-local, smie-config--buffer-local)
4123 (smie-config--trace, smie-config--modefuns): New vars.
4124 (smie-config--advice, smie-config--mode-hook)
4125 (smie-config--setter, smie-config-local, smie-config--get-trace)
4126 (smie-config--guess-value, smie-config--guess): New functions.
4127 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4128 text properties. Treat "string fence" syntax like string syntax.
4129
4130 * progmodes/sh-script.el (sh-use-smie): Change default.
4131 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4132 (sh-var-value): Simplify by CSE.
4133 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4134 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4135 is used.
4136 (sh-guess-basic-offset): Use cl-incf.
4137 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4138
4139 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4140
4141 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4142 (bug#15699).
4143
4144 2013-10-24 Glenn Morris <rgm@gnu.org>
4145
4146 * Makefile.in (abs_top_srcdir): Remove.
4147 (update-subdirs): Use relative path to update-subdirs.
4148
4149 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4150
4151 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4152 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4153 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4154 Call unmsys--file-name before expand-file-name, not after it.
4155
4156 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4157
4158 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4159 (ert-test-skipped): New error.
4160 (ert-skip, ert-stats-skipped): New defuns.
4161 (ert--skip-unless): New macro.
4162 (ert-test-skipped): New struct.
4163 (ert--run-test-debugger, ert-test-result-type-p)
4164 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4165 (ert--stats-set-test-and-result, ert-char-for-test-result)
4166 (ert-string-for-test-result, ert-run-tests-batch)
4167 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4168 Handle skipped tests. (Bug#9803)
4169
4170 2013-10-24 Glenn Morris <rgm@gnu.org>
4171
4172 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4173
4174 * Makefile.in (abs_top_srcdir): New, set by configure.
4175 (update-subdirs): Correct build-aux location.
4176
4177 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4178
4179 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4180 value, whether we could auto-deduce `backend', or not.
4181
4182 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4183 with parameters" example. Simplify the "is it block or is it
4184 hash" check, but also make it more thorough.
4185
4186 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4187
4188 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4189
4190 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4193 { if it is hanging.
4194
4195 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4196 :before ";".
4197
4198 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4199
4200 * progmodes/compile.el (compilation-directory-matcher)
4201 (compilation-page-delimiter):
4202 Support GNU Make-4.0 directory quoting. (Bug#15678)
4203
4204 2013-10-23 Leo Liu <sdl.web@gmail.com>
4205
4206 * ido.el (ido-tidy): Handle read-only text.
4207
4208 2013-10-23 Glenn Morris <rgm@gnu.org>
4209
4210 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4211 (emacs, compile, compile-always):
4212 Quote entities that might contain whitespace.
4213 (custom-deps, finder-data, autoloads): Use abs_lisp.
4214 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4215 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4216 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4217
4218 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4219
4220 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4221 Use `following-char'.
4222
4223 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4226 * progmodes/ruby-mode.el (ruby-smie-rules):
4227 Remove corresponding workaround. Fix indentation rule of ";" so it
4228 also applies when ";" is the parent.
4229
4230 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4231
4232 * frame.el (display-screens, display-pixel-height)
4233 (display-pixel-width, display-mm-width, display-backing-store)
4234 (display-save-under, display-planes, display-color-cells)
4235 (display-visual-class, display-monitor-attributes-list):
4236 Mention the optional ‘display’ argument in doc strings.
4237
4238 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4239
4240 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4241 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4242
4243 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4246 TODO. Add "." after " @ ".
4247 (ruby-smie--at-dot-call): New function. Checks if point at method
4248 call with explicit target.
4249 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4250 to the method name tokens when it precedes them.
4251 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4252 (ruby-smie-rules): Add rule for indentation before and after "."
4253 token.
4254
4255 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4256
4257 * textmodes/remember.el (remember-diary-extract-entries):
4258 Avoid add-to-list.
4259
4260 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4261 an instruction.
4262
4263 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4264
4265 * progmodes/ruby-mode.el (ruby-smie-grammar):
4266 Add (almost) all infix operators.
4267 (ruby-smie--implicit-semi-p): Add new operator chars.
4268
4269 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4270 `smie-down-list'.
4271 (ruby-smie--args-separator-p): Check that there's no newline
4272 between method call and its arguments.
4273
4274 2013-10-20 Alan Mackenzie <acm@muc.de>
4275
4276 Allow comma separated lists after Java "implements".
4277
4278 * progmodes/cc-engine.el (c-backward-over-enum-header):
4279 Parse commas.
4280 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4281 from a "disallowed" list in enum fontification.
4282
4283 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4284
4285 * startup.el (default-frame-background-mode): Remove unused defvar.
4286
4287 * progmodes/verilog-mode.el (verilog-mode): Don't set
4288 comment-indent-function globally.
4289
4290 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4291
4292 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4293 Move Info menu item creation to ns-win.el.
4294
4295 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4296 in menu bar.
4297
4298 * menu-bar.el: Move GNUstep specific menus...
4299
4300 * term/ns-win.el (ns-initialize-window-system): ... to here.
4301
4302 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * simple.el (newline): Only run post-self-insert-hook when
4305 called interactively.
4306
4307 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4308
4309 * icomplete.el (icomplete-with-completion-tables): Add :version.
4310
4311 2013-10-19 Alan Mackenzie <acm@muc.de>
4312
4313 Fix fontification bugs with constructors and const.
4314
4315 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4316 CASE 2) Remove the check for the absence of a suffix construct
4317 after a function declaration with only types (no identifiers) in
4318 the parentheses. Also, accept a function declaration with just a
4319 type inside the parentheses, if this type can be positively
4320 recognised as such, or if a prefix keyword like "explicit" nails
4321 down the construct as a declaration.
4322
4323 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4324
4325 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4326 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4327 the problem whereby selecting a menu item that leads to a
4328 minibuffer prompt moves the cursor out of the minibuffer window,
4329 making it hard to type at the prompt. Suggested by Stefan Monnier
4330 <monnier@iro.umontreal.ca>.
4331
4332 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4333
4334 * menu-bar.el: Don't make Services menu.
4335
4336 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4337
4338 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4339 (ffap-alist): Use ffap-c++-mode for c++-mode.
4340 (ffap-c++-path): New variable.
4341 (ffap-c++-mode): New function.
4342
4343 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4344
4345 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4346
4347 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4348
4349 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4350 introduced on 2013-09-08, which results in an infinite loop
4351 requesting a password.
4352
4353 2013-10-18 Glenn Morris <rgm@gnu.org>
4354
4355 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4356
4357 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4358
4359 Sync with upstream verilog-mode revision 1a6ecec7.
4360 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4361 (verilog-mode-release-date): Remove.
4362 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4363 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4364 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4365 (verilog-auto-tieoff-ignore-regexp)
4366 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4367 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4368 (verilog-signals-with, verilog-dir-cache-preserving)
4369 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4370 Doc fixes.
4371 (verilog-case-fold): New option, to control case folding in
4372 regexp searches, bug597.
4373 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4374 (verilog-string-match-fold, verilog-in-paren-count)
4375 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4376 (verilog-at-close-struct-p): New functions.
4377 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4378 (verilog-forward-sexp, verilog-set-auto-endcomments):
4379 (verilog-leap-to-case-head): Handle "unique0" case.
4380 (verilog-in-constraint-re): New constant.
4381 (verilog-keywords, verilog-type-font-keywords):
4382 Add some SystemVerilog 1800-2012 keywords.
4383 (verilog-label-be): Remove unimplemented argument, bug669.
4384 (verilog-batch-execute-func): When batch expanding clear
4385 create-lockfiles to prevent spurious user locks when a file ends
4386 up not changing.
4387 (verilog-calculate-indent, verilog-calc-1)
4388 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4389 (verilog-do-indent): Fix indentation of nested constraints
4390 and structures.
4391 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4392 (verilog-auto-inst-param): Use verilog-string-match-fold.
4393 (verilog-read-inst-module-matcher):
4394 Fix AUTOINST on gate primitives with #1.
4395 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4396 Reads all user-defined typed variables.
4397 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4398 (verilog-signals-matching-regexp)
4399 (verilog-signals-not-matching-regexp, verilog-auto):
4400 Respect verilog-case-fold.
4401 (verilog-diff-report): Fix line count.
4402 (verilog-auto-assign-modport): Remove unused local `modi'.
4403 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4404 better handle multidimensional arrays.
4405 Fix packed array ports misadding bit index in AUTOINST, bug637.
4406 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4407 to not double-declare existing outputs and inputs, respectively.
4408 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4409 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4410 (verilog-sk-uvm-component): New skeleton.
4411 (verilog-submit-bug-report): Add verilog-case-fold,
4412 remove verilog-mode-release-date.
4413
4414 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4415
4416 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4417 as before.
4418
4419 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4420
4421 * textmodes/remember.el (remember): Set buffer-offer-save in
4422 remember buffers (bug#13566).
4423
4424 2013-10-18 Daniel Colascione <dancol@dancol.org>
4425
4426 When evaluating forms in ielm, direct standard output to ielm
4427 buffer. Add new ielm-return-for-effect command. Remove trailing
4428 whitespace throughout.
4429
4430 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4431 (ielm-return-for-effect): New command.
4432 (ielm-send-input): Accept optional `for-effect' parameter.
4433 (ielm-eval-input): Accept optional `for-effect' parameter.
4434 Bind `standard-output' to stream we create using
4435 `ielm-standard-output-impl'. Suppress printing result when
4436 `for-effect'.
4437 (ielm-standard-output-impl): New function.
4438 (inferior-emacs-lisp-mode): Explain new features in documentation.
4439
4440 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4441
4442 Code cleanup.
4443
4444 * net/tramp.el (tramp-debug-message): Do not check for connection
4445 buffer.
4446 (tramp-message): Use "vector" connection property.
4447
4448 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4449 (tramp-equal-remote, tramp-eshell-directory-change)
4450 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4451 (tramp-adb-handle-rename-file)
4452 * net/tramp-cmds.el (tramp-list-remote-buffers)
4453 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4454 * net/tramp-compat.el (tramp-compat-process-running-p)
4455 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4456 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4457 (tramp-gvfs-handle-rename-file)
4458 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4459 (tramp-set-file-uid-gid)
4460 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4461 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4462 of `file-remote-p'.
4463
4464 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4465 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4466 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4467 (tramp-gw-open-network-stream): Suppress unrelated traces.
4468
4469 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4470 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4472 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4473 connection property.
4474
4475 * net/tramp-cache.el (top): Suppress traces when reading
4476 persistency file.
4477
4478 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4479 Refactor common code. Improve debug message.
4480 (tramp-maybe-open-connection)
4481 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4482 connection buffer too early.
4483
4484 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4485 from `tramp-smb-actions-with-acl'.
4486 (tramp-smb-actions-set-acl): New defconst.
4487 (tramp-smb-handle-copy-directory)
4488 (tramp-smb-action-get-acl): New defun, renamed from
4489 `tramp-smb-action-with-acl'.
4490 (tramp-smb-action-set-acl): New defun.
4491 (tramp-smb-handle-set-file-acl): Rewrite.
4492
4493 2013-10-17 Glenn Morris <rgm@gnu.org>
4494
4495 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4496
4497 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * skeleton.el (skeleton-newline): Remove.
4500 (skeleton-internal-1): Use (insert "\n") instead.
4501
4502 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4503 let-bindings.
4504
4505 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4506 forward-sexp-function while we redo its job (bug#15613).
4507
4508 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4509
4510 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4511 represented by lists.
4512
4513 2013-10-16 Glenn Morris <rgm@gnu.org>
4514
4515 * tmm.el (tmm--history): New dynamic variable.
4516 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4517
4518 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4519
4520 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4521 (tramp-smb-errors): Add error messages.
4522 (tramp-smb-actions-with-acl): New defconst.
4523 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4524 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4525 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4526 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4527 (tramp-smb-get-stat-capability): Fix tests.
4528
4529 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4530
4531 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4532 (bug#15580).
4533
4534 2013-10-16 Glenn Morris <rgm@gnu.org>
4535
4536 * ansi-color.el (ansi-color-drop-regexp):
4537 Add 1J, 1K, 2K. (Bug#15617)
4538
4539 * files.el (hack-local-variables--warned-lexical): New.
4540 (hack-local-variables):
4541 Warn about misplaced lexical-binding. (Bug#15616)
4542
4543 * net/eww.el (eww-render): Always set eww-current-url,
4544 and update header line. (Bug#15622)
4545 (eww-display-html): ... Rather than just doing it here.
4546
4547 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4548
4549 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4550 menu navigations commands.
4551
4552 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4553
4554 * progmodes/subword.el (subword-capitalize): Be careful when
4555 the search for [[:alpha:]] fails (bug#15580).
4556
4557 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4558
4559 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4560 to commands that scroll the menu.
4561
4562 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4563
4564 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4565 Handle methods ending with `?' and `!'.
4566
4567 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4568
4569 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4570 `japanese-cp932' to `cp932' to fix the problem where saving a
4571 source file written in Shift_JIS twice would end up having
4572 `coding: japanese-cp932' which Ruby could not recognize.
4573 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4574 in `ruby-encoding-map'.
4575 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4576 doesn't need to be explicitly declared in magic comment.
4577 (ruby-encoding-map): Add type declaration for better customize UI.
4578
4579 2013-10-13 Glenn Morris <rgm@gnu.org>
4580
4581 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4582 Occur buffers are read-only. http://bugs.debian.org/720775
4583
4584 * emacs-lisp/authors.el (authors-fixed-entries):
4585 Comment out old alpha stuff.
4586
4587 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4588
4589 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4590 to `after-save-hook' instead of `before-save-hook'.
4591 (ruby-mode-set-encoding): Use the value of coding system used to
4592 write the file. Call `basic-save-buffer-1' after modifying the
4593 buffer.
4594
4595 2013-10-13 Alan Mackenzie <acm@muc.de>
4596
4597 Fix indentation/fontification of Java enum with
4598 "implements"/generic.
4599
4600 * progmodes/cc-engine.el (c-backward-over-enum-header):
4601 Extracted from the three other places and enhanced to handle generics.
4602 (c-inside-bracelist-p): Uses new function above.
4603 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4604 function above.
4605 (c-font-lock-enum-tail): Uses new function above.
4606
4607 2013-10-13 Kenichi Handa <handa@gnu.org>
4608
4609 * international/mule-cmds.el (select-safe-coding-system): Remove a
4610 superfluous condition in chekcing whether a coding system is safe
4611 or not.
4612
4613 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4614
4615 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4616
4617 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4618
4619 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4620
4621 2013-10-13 Glenn Morris <rgm@gnu.org>
4622
4623 * menu-bar.el (menu-bar-update-buffers):
4624 Unify Buffers menu prompt string. (Bug#15576)
4625
4626 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4627
4628 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4629 Add some entries.
4630 (authors-fixed-entries): Use accented form of name.
4631
4632 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4635 method calls (bug#15594).
4636 (ruby-smie--args-separator-p): New function.
4637 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4638 recognize paren-free method calls.
4639
4640 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4641 internals of universal-argument.
4642
4643 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4644
4645 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4646 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4647 dropped menu on second mouse click on the menu bar.
4648
4649 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4652 (explicit-shell-file-name): Declare.
4653 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4654 (sh-completion-at-point-function): New function.
4655 (sh-mode): Use it.
4656 (sh-smie--keyword-p): Remove unused argument.
4657 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4658 vars.
4659 (sh-set-shell): Always setup SMIE, even if we use the
4660 old indentation code.
4661
4662 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4663
4664 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4665 cases of ? and =.
4666 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4667 predicate would return nil are almost non-existent.
4668 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4669
4670 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4671 cache also after commands that modify the buffer but don't move
4672 point.
4673
4674 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * env.el (substitute-env-in-file-name): New function.
4677 (substitute-env-vars): Extend the meaning of the optional arg.
4678
4679 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4680
4681 * term/w32-win.el (dynamic-library-alist): Define separate lists
4682 of GIF DLLs for versions before and after 5.0.0 of giflib.
4683 (Bug#15531)
4684
4685 2013-10-10 João Távora <joaotavora@gmail.com>
4686
4687 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4688 not locked, use last revision and current source as
4689 defaults. (Bug#15569)
4690
4691 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4692
4693 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4694 menu-bar is hidden.
4695
4696 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4697
4698 * window.el (pop-to-buffer-same-window): Fix doc-string.
4699 (Bug#15492)
4700
4701 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4704
4705 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4706
4707 * calendar/icalendar.el (icalendar-import-file):
4708 Fix interactive spec. (Bug#15482)
4709
4710 2013-10-10 Glenn Morris <rgm@gnu.org>
4711
4712 * desktop.el (desktop-save): Default to saving in .emacs.d,
4713 since PWD is no longer in desktop-path by default. (Bug#15319)
4714
4715 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4716 now that text mode has a menu with the same entry.
4717 (menu-bar-text-mode-auto-fill): Remove now unused func.
4718 * textmodes/text-mode.el (text-mode-map):
4719 Use auto-fill help text from menu-bar.el.
4720
4721 2013-10-10 John Anthony <john@jo.hnanthony.com>
4722
4723 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4724
4725 2013-10-09 Juri Linkov <juri@jurta.org>
4726
4727 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4728 instead of this-command-keys. Add universal-argument-more and
4729 universal-argument-minus to the list of prefix commands. (Bug#15568)
4730
4731 2013-10-09 Glenn Morris <rgm@gnu.org>
4732
4733 * vc/vc-svn.el (vc-svn-create-repo):
4734 Expand paths in file://... url. (Bug#15446)
4735
4736 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4737 Add some entries.
4738 (authors): Remove unused local variables.
4739
4740 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * profiler.el: Create a more coherent calltree from partial backtraces.
4743 (profiler-format): Hide the tail with `invisible' so that C-s can still
4744 find the hidden elements.
4745 (profiler-calltree-depth): Don't recurse so enthusiastically.
4746 (profiler-function-equal): New hash-table-test.
4747 (profiler-calltree-build-unified): New function.
4748 (profiler-calltree-build): Use it.
4749 (profiler-report-make-name-part): Indent the calltree less.
4750 (profiler-report-mode): Add visibility specs for profiler-format.
4751 (profiler-report-expand-entry, profiler-report-toggle-entry):
4752 Expand the whole subtree when provided with a prefix arg.
4753
4754 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4755
4756 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4757 iuwu-mod token.
4758 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4759 hanging iuwu-mod token.
4760 (ruby-smie--forward-token): Do not include a dot after a token in
4761 that token.
4762 (ruby-smie--backward-token): Likewise.
4763
4764 2013-10-08 Juri Linkov <juri@jurta.org>
4765
4766 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4767 to isearch-other-control-char.
4768 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4769 and isearch-post-command-hook to post-command-hook.
4770 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4771 and isearch-post-command-hook from post-command-hook.
4772 (isearch-unread-key-sequence)
4773 (isearch-reread-key-sequence-naturally)
4774 (isearch-lookup-scroll-key, isearch-other-control-char)
4775 (isearch-other-meta-char): Remove functions.
4776 (isearch-pre-command-hook, isearch-post-command-hook):
4777 New functions based on isearch-other-meta-char rewritten
4778 relying on the new behavior of overriding-terminal-local-map
4779 that does not replace the local keymaps any more. (Bug#15200)
4780
4781 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4782
4783 Support menus on text-mode terminals.
4784 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4785 functionality.
4786
4787 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4788
4789 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4790 Move here from mouse.el.
4791 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4792 and arrow keys.
4793 (tty-menu-navigation-map): New map for TTY menu navigation.
4794
4795 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4796
4797 * frame.el (display-mouse-p): Report text-mode mouse as available
4798 on w32.
4799 (display-popup-menus-p): Report availability if mouse is
4800 available; don't condition on window-system.
4801
4802 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4803 (tty-menu-selected-face): New faces.
4804
4805 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4808 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4809 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4810 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4811 New constants.
4812 (lisp-mode-variables): New `elisp' argument.
4813 (emacs-lisp-mode): Use it.
4814 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4815 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4816
4817 * indent.el: Use lexical-binding.
4818 (indent-region): Add progress reporter.
4819 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4820 last step.
4821 (indent--next-tab-stop): New function to implement this behavior.
4822 (tab-to-tab-stop, move-to-tab-stop): Use it.
4823
4824 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4825
4826 * indent.el (indent-rigidly--current-indentation): New function.
4827 (indent-rigidly-map): New var.
4828 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4829
4830 2013-10-08 Bastien Guerry <bzg@gnu.org>
4831
4832 * register.el (insert-register): Fix 2013-10-07 change.
4833
4834 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * progmodes/perl-mode.el: Use lexical-binding.
4837 Remove redundant :group args.
4838 (perl-nochange): Change default to be closer to other major modes's
4839 standard behavior.
4840 (perl-indent-line): Don't consider text on current line as a
4841 valid beginning of function from which to indent.
4842
4843 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4844 with more than one argument (bug#15538).
4845
4846 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4847
4848 * vc/pcvs.el: Use lexical-binding.
4849 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4850 environment of `eval'.
4851 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4852 than a list of expressions. Adjust callers.
4853 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4854
4855 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4856
4857 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4858 case of the dot in a chained method call being on the following line.
4859
4860 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * electric.el (electric-indent-inhibit): New var.
4863 (electric-indent-post-self-insert-function): Use it.
4864 * progmodes/python.el (python-mode): Set it.
4865
4866 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4867 open braces.
4868
4869 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4870
4871 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4872 (css-mode): Use electric-indent-chars.
4873
4874 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4875 (font-lock-beg, font-lock-end): Move before first use.
4876 (nxml-mode): Use syntax-propertize-function.
4877 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4878 (nxml-extend-after-change-region): Remove.
4879 * nxml/xmltok.el: Use lexical-binding.
4880 (xmltok-save): Use `declare'.
4881 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4882 * nxml/nxml-util.el: Use lexical-binding.
4883 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4884 Use `declare'.
4885 * nxml/nxml-ns.el: Use lexical-binding.
4886 (nxml-ns-save): Use `declare'.
4887 (nxml-ns-prefixes-for): Avoid add-to-list.
4888 * nxml/rng-match.el: Use lexical-binding.
4889 (rng--ipattern): Use cl-defstruct.
4890 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4891 (rng-cons-group-after, rng-subst-group-after)
4892 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4893 Use closures instead of `(lambda...).
4894
4895 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4898 of BEG and END.
4899
4900 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4901 Use `tramp-handle-insert-file-contents'.
4902 (tramp-gvfs-handle-insert-file-contents): Remove function.
4903
4904 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4905 Use `save-restriction' in order to keep markers.
4906
4907 * net/trampver.el: Update release number.
4908
4909 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * progmodes/compile.el (compilation-parse-errors):
4912 Use compilation--put-prop.
4913 (compilation--ensure-parse): Check compilation-multiline.
4914
4915 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4916
4917 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4918 lexical-binding.
4919
4920 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4921
4922 * progmodes/ruby-mode.el: Fix recently added tests.
4923 (ruby-smie-grammar): Add - and +.
4924 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4925 (ruby-smie--backward-id): New functions.
4926 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4927 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4928 any more.
4929
4930 2013-10-07 Leo Liu <sdl.web@gmail.com>
4931
4932 * register.el (register-preview-delay)
4933 (register-preview-functions): New variables.
4934 (register-read-with-preview, register-preview)
4935 (register-describe-oneline): New functions.
4936 (point-to-register, window-configuration-to-register)
4937 (frame-configuration-to-register, jump-to-register)
4938 (number-to-register, view-register, insert-register)
4939 (copy-to-register, append-to-register, prepend-to-register)
4940 (copy-rectangle-to-register): Use register-read-with-preview to
4941 read register. (Bug#15525)
4942
4943 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4944
4945 * net/network-stream.el (network-stream-open-starttls): Don't add
4946 --insecure if it's already present, because that gnutls-cli
4947 rejects getting that parameter twice.
4948
4949 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4950
4951 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4952 keyword, too.
4953
4954 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4955
4956 * newcomment.el (comment-use-global-state): Change default value
4957 to t, mark obsolete (Bug#15251).
4958 (comment-beginning): In addition to `comment-to-syntax', check the
4959 value of `comment-use-global-state'.
4960
4961 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4962
4963 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4964 (ruby-comment-column): Follow the global default, by default.
4965 (ruby-smie-grammar): Add assignment syntax.
4966 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4967 open-paren, a comma, or a \.
4968 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4969 and line continuations.
4970 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4971 followed by implicit semi-colons. Add rule for string concatenation
4972 and for indentation at BOB.
4973 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4974
4975 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4976 calling next-sexp, since next-token may have skipped chars which
4977 next-sexp doesn't know should be skipped!
4978
4979 2013-10-05 Leo Liu <sdl.web@gmail.com>
4980
4981 * progmodes/octave.el (octave-send-region):
4982 Call compilation-forget-errors.
4983
4984 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4985
4986 * vc/vc-svn.el (vc-svn-find-admin-dir):
4987 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4988 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4989 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4990 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4991
4992 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4995
4996 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * subr.el (read-passwd): Hide chars even when called within a context
4999 where after-change-functions is disabled (bug#15501).
5000 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5001 until we removed ourself from overriding-terminal-local-map.
5002
5003 2013-10-04 Leo Liu <sdl.web@gmail.com>
5004
5005 * progmodes/octave.el (inferior-octave-mode):
5006 Call compilation-forget-errors.
5007
5008 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5009
5010 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5011
5012 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * net/secrets.el (secrets-create-collection): Add optional
5015 argument ALIAS. Use proper Label keyword. Append ALIAS as
5016 dbus-call-method argument. (Bug#15516)
5017
5018 2013-10-04 Leo Liu <sdl.web@gmail.com>
5019
5020 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5021 (inferior-octave-compilation-font-lock-keywords): New variables.
5022 (compilation-error-regexp-alist)
5023 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5024 (inferior-octave-mode): Use compilation-shell-minor-mode.
5025
5026 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5027
5028 * minibuffer.el (completion--replace): Be careful that `end' might be
5029 a marker.
5030
5031 2013-10-03 Daiki Ueno <ueno@gnu.org>
5032
5033 Add support for package signature checking.
5034 * emacs-lisp/package.el (url-http-file-exists-p)
5035 (epg-make-context, epg-context-set-home-directory)
5036 (epg-verify-string, epg-context-result-for)
5037 (epg-signature-status, epg-signature-to-string)
5038 (epg-check-configuration, epg-configuration)
5039 (epg-import-keys-from-file): Declare.
5040 (package-check-signature): New user option.
5041 (package-unsigned-archives): New user option.
5042 (package-desc): Add `signed' field.
5043 (package-load-descriptor): Set `signed' field if .signed file exists.
5044 (package--archive-file-exists-p): New function.
5045 (package--check-signature): New function.
5046 (package-install-from-archive): Check package signature.
5047 (package--download-one-archive): Check archive signature.
5048 (package-delete): Remove .signed file.
5049 (package-import-keyring): New command.
5050 (package-refresh-contents): Import default keyring.
5051 (package-desc-status): Add "unsigned" status.
5052 (describe-package-1, package-menu--print-info)
5053 (package-menu-mark-delete, package-menu--find-upgrades)
5054 (package-menu--status-predicate): Support "unsigned" status.
5055
5056 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5059 the new compilation scheme using the new byte-codes.
5060
5061 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5062 (byte-pophandler): New byte codes.
5063 (byte-goto-ops): Adjust accordingly.
5064 (byte-compile--use-old-handlers): New var.
5065 (byte-compile-catch): Use new byte codes depending on
5066 byte-compile--use-old-handlers.
5067 (byte-compile-condition-case--old): Rename from
5068 byte-compile-condition-case.
5069 (byte-compile-condition-case--new): New function.
5070 (byte-compile-condition-case): New function that dispatches depending
5071 on byte-compile--use-old-handlers.
5072 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5073 when we can.
5074
5075 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5076 Optimize under `condition-case' and `catch' if
5077 byte-compile--use-old-handlers is nil.
5078 (disassemble-offset): Handle new bytecodes.
5079
5080 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * subr.el (error): Use `declare'.
5083 (decode-char, encode-char): Use advertised-calling-convention instead
5084 of the docstring to discourage use of the `restriction' arg.
5085
5086 2013-10-03 Daiki Ueno <ueno@gnu.org>
5087
5088 * epg.el (epg-verify-file): Add a comment saying that it does not
5089 notify verification error as a return value nor a signal.
5090 (epg-verify-string): Ditto.
5091
5092 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5093
5094 * progmodes/compile.el (compilation-start): Try globbing the arg to
5095 `cd' (bug#15417).
5096
5097 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5098
5099 Sync with Tramp 2.2.8.
5100
5101 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5102 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5103 * net/trampver.el: Update release number.
5104
5105 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5106
5107 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5108 and default-process-coding-system for darwin only.
5109
5110 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5113
5114 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5115
5116 * vc/vc-git.el (vc-git-grep): Disable pager.
5117
5118 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5119
5120 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5121 Use :url instead of :homepage, as per
5122 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5123
5124 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5125 non-nil, use `syntax-ppss' (Bug#15251).
5126
5127 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5128
5129 * progmodes/octave.el (inferior-octave-startup-file):
5130 Prefer ~/.emacs.d/init_octave.m.
5131
5132 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5133
5134 * emacs-lisp/package.el (package-desc-from-define):
5135 Accept additional arguments as plist, convert them to an alist and store
5136 them in the `extras' slot.
5137 (package-generate-description-file): Convert extras alist back to
5138 plist and append to the `define-package' form arguments.
5139 (package--alist-to-plist): New function.
5140 (package--ac-desc): Add `extras' slot.
5141 (package--add-to-archive-contents): Check if the archive-contents
5142 vector is long enough, and if it is, pass its `extras' slot value
5143 to `package-desc-create'.
5144 (package-buffer-info): Call `lm-homepage', pass the returned value
5145 to `package-desc-from-define'.
5146 (describe-package-1): Render the homepage button (Bug#13291).
5147
5148 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5149 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5150
5151 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5152
5153 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5154 and default-process-coding-system to utf-8-unix (Bug#15402).
5155
5156 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5157
5158 * subr.el (looking-back): Do not recommend using looking-back.
5159
5160 2013-09-28 Alan Mackenzie <acm@muc.de>
5161
5162 Fix indentation/fontification of Java enum with "implements".
5163
5164 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5165 regexp which matches "implements", etc., in Java.
5166 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5167 specifier clauses coming after "enum".
5168 * progmodes/cc-fonts.el (c-font-lock-declarations)
5169 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5170 after "enum".
5171
5172 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5173
5174 * faces.el (region): Change ns_selection_color to
5175 ns_selection_fg_color, add ns_selection_bg_color.
5176
5177 2013-09-28 Leo Liu <sdl.web@gmail.com>
5178
5179 * progmodes/octave.el (inferior-octave-completion-table)
5180 (inferior-octave-completion-at-point): Minor tweaks.
5181
5182 * textmodes/ispell.el (ispell-lookup-words): Rename from
5183 lookup-words. (Bug#15460)
5184 (lookup-words): Obsolete.
5185 (ispell-complete-word, ispell-command-loop): All uses changed.
5186
5187 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5188
5189 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5190 (octave-mode-menu): Add octave-send-buffer.
5191 (octave-send-buffer): New function.
5192
5193 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5194
5195 * progmodes/octave.el (octave-mode-map): Add key binding for
5196 octave-lookfor.
5197 (octave-mode-menu): Add octave-lookfor.
5198 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5199 octave-lookfor.
5200 (octave-lookfor): New function.
5201
5202 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * emacs-lisp/cl-macs.el:
5205 (cl--loop-destr-temps): Remove.
5206 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5207 its convention.
5208 (cl--loop-set-iterator-function): New function.
5209 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5210 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5211 Bind `it' with `let' instead of substituting it with `cl-subst'.
5212 (cl--unused-var-p): New function.
5213 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5214 Eliminate some unused variable warnings (bug#15326).
5215
5216 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5217
5218 * doc-view.el (doc-view-scale-reset): Rename from
5219 `doc-view-reset-zoom-level'.
5220 (doc-view-scale-adjust): New command.
5221 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5222 `doc-view-scale-adjust'.
5223
5224 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5225
5226 * doc-view.el (doc-view-reset-zoom-level): New command.
5227 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5228 zoom commands (bug#15466).
5229
5230 2013-09-26 Kenichi Handa <handa@gnu.org>
5231
5232 * international/quail.el (quail-help): Make it not a command.
5233
5234 2013-09-26 Leo Liu <sdl.web@gmail.com>
5235
5236 * minibuffer.el (completion-all-sorted-completions): Make args
5237 optional as they are.
5238
5239 2013-09-25 Daniel Colascione <dancol@dancol.org>
5240
5241 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5242 specs are and that they're not evaluated.
5243
5244 2013-09-24 Sam Steingold <sds@gnu.org>
5245
5246 * midnight.el (clean-buffer-list-kill-regexps)
5247 (clean-buffer-list-kill-buffer-names): Update for the new Man
5248 buffer naming which includes the object name.
5249
5250 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5253 (eshell-parse-command, eshell-parse-pipeline): Use it since
5254 eshell-separate-commands requires a dynamic scoped var.
5255 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5256
5257 2013-09-23 Leo Liu <sdl.web@gmail.com>
5258
5259 * autoinsert.el (auto-insert-alist): Make the value of
5260 lexical-binding match its file setting.
5261
5262 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5263
5264 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5265
5266 * autoarg.el (autoarg-kp-digit-argument):
5267 * electric.el (Electric-command-loop):
5268 * kmacro.el (kmacro-step-edit-insert):
5269 Do not set universal-argument-num-events.
5270
5271 2013-09-22 Leo Liu <sdl.web@gmail.com>
5272
5273 * files.el (interpreter-mode-alist): Add octave.
5274
5275 2013-09-21 Alan Mackenzie <acm@muc.de>
5276
5277 C++: fontify identifier in declaration following "public:" correctly.
5278 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5279 to match "public", etc.
5280 (c-decl-prefix-re): Add ":" into the C++ value.
5281 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5282 bit. Add a check for a ":" preceded by "public", etc.
5283
5284 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5285
5286 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5287 recognized by GDB 7.5 and later.
5288
5289 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5290
5291 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5292
5293 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * subr.el (internal--call-interactively): New const.
5296 (called-interactively-p): Use it (bug#3984).
5297
5298 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5299
5300 * vc/pcvs.el (cvs-mode-ignore):
5301 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5302 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5303
5304 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5307 (eshell-ls-orig-insert-directory): Remove.
5308 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5309 (eshell-ls-use-in-dired): Use advice-add/remove.
5310 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5311 Add `orig-fun' arg for use in :around advice.
5312 Make it check (redundantly) eshell-ls-use-in-dired.
5313
5314 2013-09-19 Glenn Morris <rgm@gnu.org>
5315
5316 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5317
5318 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5319
5320 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5321
5322 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5323
5324 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5325 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5326 (tramp-get-remote-python): New defuns.
5327 (tramp-get-remote-uid-with-perl)
5328 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5329 contributed by yary <not.com@gmail.com> (tiny change).
5330 (tramp-get-remote-uid-with-python)
5331 (tramp-get-remote-gid-with-python): New defuns. Python code
5332 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5333 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5334
5335 2013-09-19 Glenn Morris <rgm@gnu.org>
5336
5337 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5338
5339 * eshell/em-unix.el (eshell-remove-entries):
5340 Rename argument to avoid name-clash with global `top-level'.
5341
5342 * eshell/esh-proc.el (eshell-kill-process-function):
5343 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5344 (eshell-reset-after-proc): Remove unused arg `proc'.
5345
5346 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5347 (directory-files-and-attributes): Mark unused arg.
5348
5349 * eshell/em-unix.el (eshell-remove-entries):
5350 Remove unused arg `path'. Update callers.
5351
5352 * eshell/em-hist.el (eshell-hist-parse-arguments):
5353 Remove unused arg `silent'. Update callers.
5354
5355 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5356 Fix (f)boundp mix-up.
5357
5358 * eshell/em-smart.el (eshell-smart-scroll-window)
5359 (eshell-disable-after-change):
5360 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5361
5362 2013-09-18 Alan Mackenzie <acm@muc.de>
5363
5364 Fix fontification of type when followed by "const".
5365 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5366 "known" types from fontification.
5367
5368 2013-09-18 Glenn Morris <rgm@gnu.org>
5369
5370 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5371 (chart-face-list): Drop Emacsen without display-color-p.
5372
5373 * net/eww.el (libxml-parse-html-region): Declare.
5374 (eww-display-html): Explicit error if no libxml2 support.
5375
5376 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5377
5378 * image.el (image-type-from-buffer, image-multi-frame-p):
5379 Remove --without-x warning/error.
5380
5381 * mouse.el (mouse-yank-primary):
5382 * term.el (term-mouse-paste):
5383 Reorder to silence --without-x compilation.
5384
5385 * mpc.el (doc-view-mode): Silence --without-x compilation.
5386
5387 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5388 Silence --without-x compilation.
5389
5390 * progmodes/gud.el (gud-find-file, gud-mode):
5391 Silence --without-x compilation.
5392 (tooltip-mode): Declare.
5393
5394 * wdired.el (dired-backup-overwrite): Remove declaration.
5395 (wdired-mode-map): Add doc string.
5396
5397 * custom.el (x-get-resource): Declare.
5398
5399 * eshell/em-glob.el (ange-cache):
5400 * eshell/em-unix.el (ange-cache): Declare.
5401
5402 * faces.el (x-display-list, x-open-connection, x-get-resource):
5403 Declare.
5404
5405 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5406 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5407 Declare.
5408
5409 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5410
5411 * net/gnutls.el (gnutls-log-level): Declare.
5412
5413 * net/shr.el (image-size, image-animate): Declare.
5414
5415 * simple.el (font-info): Declare.
5416
5417 * subr.el (x-popup-dialog): Declare.
5418
5419 * term/common-win.el (x-select-enable-primary)
5420 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5421 Declare.
5422
5423 * term/ns-win.el (x-handle-args): Declare.
5424
5425 * term/x-win.el (x-select-enable-clipboard): Declare.
5426
5427 * term/w32-win.el (create-default-fontset): Declare.
5428
5429 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5430 Declare.
5431
5432 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5433 (fit-frame-to-buffer): Explicit error if --without-x.
5434 (mouse-autoselect-window-select): Silence compiler.
5435
5436 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5437
5438 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5439 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5440 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5441 * eshell/esh-util.el (eshell-sublist):
5442 Remove unused local variables.
5443
5444 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5445
5446 * textmodes/two-column.el: Make 2C-split work for --without-x.
5447 (scroll-bar-columns): Autoload.
5448 (top-level): Require fringe when compiling.
5449
5450 2013-09-18 Leo Liu <sdl.web@gmail.com>
5451
5452 * subr.el (add-hook): Robustify to handle closure as well.
5453
5454 2013-09-17 Glenn Morris <rgm@gnu.org>
5455
5456 * simple.el (messages-buffer-mode-map): Unbind "g".
5457
5458 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5459
5460 * help-mode.el (help-mode-finish): Use derived-mode-p.
5461 Remove obsolete highlighting.
5462
5463 * play/life.el (life-mode): Use define-derived-mode. Derive from
5464 special-mode.
5465 (life): Let-bind inhibit-read-only.
5466 (life-setup): Avoid `setq'. Use `life-mode'.
5467
5468 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5469 which should not be needed any more.
5470 (package-menu-refresh, package-menu-describe-package): Use user-error.
5471
5472 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5473 (eshell-post-rewrite-command-hook): Make obsolete.
5474 (eshell-parse-command): Simplify.
5475 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5476 (eshell--cmd): Declare.
5477 (eshell-parse-pipeline): Remove unused var `final-p'.
5478 Pass a dynvar to eshell-post-rewrite-command-hook.
5479 Implement the new eshell-post-rewrite-command-function.
5480 (eshell-invoke-directly): Remove unused arg `input'.
5481 * eshell/esh-io.el (eshell-io-initialize):
5482 Use eshell-post-rewrite-command-function (bug#15399).
5483 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5484 adjust to new calling convention.
5485 (eshell-create-handles): Rename args to avoid clashing with dynvar
5486 `standard-output'.
5487
5488 2013-09-17 Glenn Morris <rgm@gnu.org>
5489
5490 * simple.el (messages-buffer-mode): New major mode.
5491 (messages-buffer): New function.
5492 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5493 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5494 (ert-run-test): Use `messages-buffer' function.
5495 (ert--force-message-log-buffer-truncation): Ignore read-only.
5496 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5497 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5498
5499 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5502
5503 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5504
5505 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * icomplete.el (icomplete-in-buffer): New var.
5508 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5509 vars and replace them with functions.
5510 (icomplete-minibuffer-setup): Adjust accordingly.
5511 (icomplete--completion-table, icomplete--completion-predicate)
5512 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5513 New functions.
5514 (icomplete-forward-completions, icomplete-backward-completions)
5515 (icomplete-simple-completing-p, icomplete-exhibit)
5516 (icomplete-completions): Use them.
5517 (icomplete--in-region-buffer): New var.
5518 (icomplete--in-region-setup): New function.
5519 (icomplete-mode): Use it.
5520
5521 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5522 (bug#15379).
5523 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5524 return args and options.
5525 (eshell-eval-using-options): Use the new return value of
5526 eshell--do-opts to set the options's vars in their scope.
5527 (eshell--set-option): Rename from eshell-set-option.
5528 Add arg `opt-vals'.
5529 (eshell--process-option): Rename from eshell-process-option.
5530 Add arg `opt-vals'.
5531 (eshell--process-args): Use an `opt-vals' alist to store the options's
5532 values during their processing and return them additionally to the
5533 remaining args.
5534
5535 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5536
5537 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5538 continuation character an operator, as far as indentation is
5539 concerned (Bug#15369).
5540
5541 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5542
5543 * window.el (window--state-put-2): Don't process buffer state
5544 when buffer doesn't exist any more (Bug#15382).
5545
5546 2013-09-15 Glenn Morris <rgm@gnu.org>
5547
5548 * eshell/em-unix.el (eshell/rm):
5549 Make -f ignore missing files. (Bug#15373)
5550
5551 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5552 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5553 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5554
5555 2013-09-14 Glenn Morris <rgm@gnu.org>
5556
5557 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5558
5559 2013-09-13 Glenn Morris <rgm@gnu.org>
5560
5561 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5562 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5563
5564 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5565
5566 * frame.el (x-focus-frame): Mark as declared in frame.c.
5567
5568 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * ls-lisp.el: Use advice-add.
5571 (original-insert-directory): Remove.
5572 (ls-lisp--insert-directory): Rename from insert-directory; add
5573 `orig-fun' argument.
5574 (insert-directory): Advise.
5575
5576 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5577
5578 * term.el (term-emulate-terminal): Decode the command string
5579 before passing it to term-command-hook. (Bug#15337)
5580
5581 2013-09-13 Glenn Morris <rgm@gnu.org>
5582
5583 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5584
5585 * eshell/esh-ext.el (eshell-search-path): Declare.
5586
5587 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5588 Otherwise an error occurs if eshell-dirs module not loaded.
5589
5590 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5591
5592 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5593
5594 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5595 `tramp-check-proper-host'. Check for a valid method name.
5596
5597 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5598 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5599 * net/tramp-sh.el (tramp-maybe-open-connection):
5600 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5601
5602 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5603 also for hash values.
5604
5605 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * term/ns-win.el (parameters): Don't declare as dynamic.
5608 (before-make-frame-hook): Don't add ineffective function.
5609
5610 * eshell/*.el: Use lexical-binding (bug#15231).
5611
5612 2013-09-12 Kenichi Handa <handa@gnu.org>
5613
5614 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5615
5616 2013-09-12 Glenn Morris <rgm@gnu.org>
5617
5618 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5619 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5620
5621 * subr.el (do-after-load-evaluation): Also give compiler warnings
5622 when obsolete files are used (except by obsolete files).
5623
5624 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5625 in the status output, assume `filename' is the first. (Bug#15322)
5626
5627 * vc/vc.el (vc-deduce-fileset): Doc fix.
5628
5629 * calc/calc-help.el (Info-goto-node):
5630 * progmodes/cperl-mode.el (Info-find-node):
5631 * vc/ediff.el (Info-goto-node): Update declarations.
5632
5633 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5634
5635 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5636 (vc-bzr-pull): Require vc-dispatcher.
5637 * vc/vc-git.el (vc-compilation-mode): Declare.
5638 (vc-git-pull): Require vc-dispatcher.
5639
5640 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5641
5642 * progmodes/octave.el (help-button-action): Declare.
5643
5644 * shell.el (shell-directory-tracker): Output error as a message
5645 rather than just returning it as a string.
5646 (shell-process-pushd): Remove useless use of message.
5647
5648 * dframe.el (dframe-timer-fn):
5649 * files.el (dir-locals-read-from-file):
5650 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5651 (mpc-format):
5652 * reveal.el (reveal-post-command):
5653 * saveplace.el (load-save-place-alist-from-file):
5654 * shell.el (shell-resync-dirs):
5655 * w32-common-fns.el (x-get-selection-value):
5656 * emacs-lisp/copyright.el (copyright-find-copyright):
5657 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5658 * emulation/tpu-edt.el (tpu-copy-keyfile):
5659 * play/bubbles.el (bubbles--mark-neighbourhood):
5660 * progmodes/executable.el
5661 (executable-make-buffer-file-executable-if-script-p):
5662 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5663
5664 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 Cleanup Eshell to rely less on dynamic scoping.
5667 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5668 last-value, and ext-command here. Bind `args' closer to `body'.
5669 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5670 (eshell--args): Declare new dynamic var.
5671 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5672 last-value, and ext-command. Pass `args' to `body'.
5673 (eshell-process-args): Bind eshell--args.
5674 (eshell-set-option): Use eshell--args.
5675 * eshell/eshell.el (eshell): Use derived-mode-p.
5676 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5677 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5678 (eshell-glob-function): Declare.
5679 * eshell/esh-util.el: Require cl-lib.
5680 (eshell-read-hosts-file): Avoid add-to-list.
5681 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5682 `err'.
5683 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5684 Declare.
5685 (eshell/diff): Remove unused var `err'.
5686 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5687 `killflag'.
5688 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5689 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5690 first use.
5691 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5692 Move declaration before first use.
5693 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5694 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5695 rely on cl-return.
5696
5697 2013-09-12 Glenn Morris <rgm@gnu.org>
5698
5699 * term/ns-win.el (global-map): Remove binding for ispell-next,
5700 deleted 1999-05-29. (Bug#15357)
5701
5702 2013-09-11 Glenn Morris <rgm@gnu.org>
5703
5704 * echistory.el (electric-command-history): Remove call to deleted func.
5705
5706 * play/landmark.el (landmark-mode): Fix typos.
5707
5708 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5709 Check cvs-sort-ignore-file is bound.
5710
5711 * savehist.el: No need for cl when compiling on Emacs.
5712
5713 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5716 (bug#15338).
5717 (eshell-self-insert-command, eshell-send-invisible):
5718 Remove unused argument.
5719 (eshell-handle-control-codes): Remove unused var `orig'.
5720 Avoid delete-backward-char.
5721
5722 * files.el (set-auto-mode): Simplify a bit further.
5723
5724 2013-09-11 Glenn Morris <rgm@gnu.org>
5725
5726 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5727 (set-auto-mode): Don't regexp-quote elements.
5728 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5729 * progmodes/cc-mode.el (interpreter-mode-alist):
5730 * progmodes/ruby-mode.el (interpreter-mode-alist):
5731 Revert previous change.
5732
5733 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * play/snake.el (snake-mode):
5736 * play/mpuz.el (mpuz-mode):
5737 * play/landmark.el (lm-mode):
5738 * play/blackbox.el (blackbox-mode):
5739 * play/5x5.el (5x5-mode):
5740 * obsolete/options.el (Edit-options-mode):
5741 * net/quickurl.el (quickurl-list-mode):
5742 * net/newst-treeview.el (newsticker-treeview-mode):
5743 * mail/rmailsum.el (rmail-summary-mode):
5744 * mail/mspools.el (mspools-mode):
5745 * locate.el (locate-mode):
5746 * ibuffer.el (ibuffer-mode):
5747 * emulation/ws-mode.el (wordstar-mode):
5748 * emacs-lisp/debug.el (debugger-mode):
5749 * array.el (array-mode):
5750 * net/eudc.el (eudc-mode): Use define-derived-mode.
5751 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5752 Move initialization into declaration.
5753 (mairix-searches-mode): Use define-derived-mode.
5754 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5755 (eudc-edit-hotlist): Use dolist.
5756 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5757 (Man-mode): Use define-derived-mode.
5758 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5759 (Info-edit-mode): Use define-derived-mode.
5760 (Info-cease-edit): Use Info-mode.
5761 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5762 into declaration.
5763 (eshell-mode): Use define-derived-mode.
5764 * chistory.el (command-history-mode-map): Rename from
5765 command-history-map.
5766 (command-history-mode): Use define-derived-mode.
5767 (Command-history-setup): Remove function.
5768 * calc/calc.el (calc-trail-mode-map): New var.
5769 (calc-trail-mode): Use define-derived-mode.
5770 (calc-trail-buffer): Set calc-main-buffer manually.
5771 * bookmark.el (bookmark-insert-annotation): New function.
5772 (bookmark-edit-annotation): Use it.
5773 (bookmark-edit-annotation-mode): Make it a proper major mode.
5774 (bookmark-send-edited-annotation): Use derived-mode-p.
5775 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5776 closer to its ideal place. Use \' to match EOS.
5777
5778 * profiler.el (profiler-calltree-find): Use function-equal.
5779
5780 2013-09-10 Glenn Morris <rgm@gnu.org>
5781
5782 * files.el (interpreter-mode-alist): Convert to regexps.
5783 (set-auto-mode): Adapt for this. (Bug#15306)
5784 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5785 Comment out unused variable.
5786 * progmodes/cc-mode.el (interpreter-mode-alist):
5787 * progmodes/python.el (interpreter-mode-alist):
5788 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5789 * progmodes/sh-script.el (sh-set-shell):
5790 No longer use interpreter-mode-alist to get list of shells.
5791
5792 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5793
5794 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * simple.el: Use set-temporary-overlay-map for universal-argument.
5797 (universal-argument-map): Don't use default-bindings (bug#15317).
5798 Bind switch-frame explicitly. Replace universal-argument-minus with
5799 a conditional binding.
5800 (universal-argument-num-events, saved-overriding-map): Remove.
5801 (restore-overriding-map): Remove.
5802 (universal-argument--mode): Rename from save&set-overriding-map,
5803 and rewrite.
5804 (universal-argument, universal-argument-more, negative-argument)
5805 (digit-argument): Adjust accordingly.
5806 (universal-argument-minus): Remove.
5807 (universal-argument-other-key): Remove.
5808
5809 * subr.el (with-demoted-errors): Add `format' argument.
5810
5811 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5812
5813 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5814 `tramp-cleanup-connection'.
5815
5816 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5817 parameters KEEP-DEBUG and KEEP-PASSWORD.
5818
5819 * net/tramp.el (tramp-file-name-handler):
5820 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5821 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5822 (tramp-maybe-open-connection):
5823 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5824 Use `tramp-cleanup-connection'.
5825
5826 * net/tramp-sh.el (tramp-maybe-open-connection):
5827 Catch 'uname-changed inside the progress reporter.
5828
5829 2013-09-10 Glenn Morris <rgm@gnu.org>
5830
5831 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5832
5833 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5834 returns "alternate access method" in mode (eg "-rw-r--r--.").
5835
5836 2013-09-08 Glenn Morris <rgm@gnu.org>
5837
5838 * saveplace.el (load-save-place-alist-from-file):
5839 Demote errors. (Bug#15305)
5840
5841 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5842
5843 Improve compatibility with older Emacsen, and XEmacs.
5844
5845 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5846 only if it is bound. It isn't for XEmacs.
5847 (with-tramp-progress-reporter): Do not let-bind `result'.
5848 This yields to scoping errors in XEmacs.
5849 (tramp-handle-make-auto-save-file-name): New function, moved from
5850 tramp-sh.el.
5851
5852 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5853 for `make-auto-save-file-name'.
5854 (tramp-adb--gnu-switches-to-ash):
5855 Use `tramp-compat-replace-regexp-in-string'.
5856
5857 * net/tramp-cache.el (tramp-cache-print): Call
5858 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5859
5860 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5861 bound. It isn't for XEmacs.
5862
5863 * net/tramp-compat.el (tramp-compat-copy-file):
5864 Catch `wrong-number-of-arguments' error.
5865 (tramp-compat-replace-regexp-in-string): New defun.
5866
5867 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5868 for `make-auto-save-file-name'.
5869 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5870 `copy-file'.
5871 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5872 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5873 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5874
5875 * net/tramp-gw.el (tramp-gw-open-network-stream):
5876 Use `tramp-compat-replace-regexp-in-string'.
5877
5878 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5879 Call `tramp-handle-make-auto-save-file-name'.
5880 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5881 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5882 (tramp-sh-file-inotifywait-process-filter):
5883 Use `tramp-compat-replace-regexp-in-string'.
5884 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5885
5886 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5887 for `make-auto-save-file-name'.
5888 (tramp-smb-handle-copy-directory):
5889 Call `tramp-compat-replace-regexp-in-string'.
5890 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5891 (tramp-smb-handle-copy-file): Improve error message.
5892 (tramp-smb-handle-rename-file): Rename directly only in case
5893 `newname' does not exist yet. This is a restriction of smbclient.
5894 (tramp-smb-maybe-open-connection): Rerun the function only when
5895 `auth-sources' is non-nil.
5896
5897 2013-09-08 Kenichi Handa <handa@gnu.org>
5898
5899 * international/characters.el: Set category "^" (Combining) for
5900 more characters.
5901
5902 2013-09-07 Alan Mackenzie <acm@muc.de>
5903
5904 Correctly fontify Java class constructors.
5905 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5906 in Java Mode.
5907 (c-recognize-typeless-decls): Set the Java value to t.
5908 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5909 While handling a "(", add a check for, effectively, Java, and handle a
5910 "typeless" declaration there.
5911
5912 2013-09-07 Roland Winkler <winkler@gnu.org>
5913
5914 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5915 field subtitle for entry type book.
5916
5917 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * minibuffer.el: Make minibuffer-complete call completion-in-region
5920 rather than other way around.
5921 (completion--some, completion-pcm--find-all-completions):
5922 Don't delay signals when debugging.
5923 (minibuffer-completion-contents): Beware fields within the
5924 minibuffer contents.
5925 (completion-all-sorted-completions): Use defvar-local.
5926 (completion--do-completion, completion--cache-all-sorted-completions)
5927 (completion-all-sorted-completions, minibuffer-force-complete):
5928 Add args `beg' and `end'.
5929 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5930 (minibuffer-complete): Use completion-in-region.
5931 (completion-complete-and-exit): New fun, extracted from
5932 minibuffer-complete-and-exit.
5933 (minibuffer-complete-and-exit): Use it.
5934 (completion--complete-and-exit): Rename from
5935 minibuffer--complete-and-exit.
5936 (completion-in-region--single-word): New function, extracted from
5937 minibuffer-complete-word.
5938 (minibuffer-complete-word): Use it.
5939 (display-completion-list): Make `common-substring' argument obsolete.
5940 (completion--in-region): Call completion--in-region-1 instead of
5941 minibuffer-complete.
5942 (completion-help-at-point): Pass boundaries to
5943 minibuffer-completion-help as args rather than via an overlay.
5944 (completion-pcm--string->pattern): Use `any-delim'.
5945 (completion-pcm--optimize-pattern): New function.
5946 (completion-pcm--pattern->regex): Handle `any-delim'.
5947 * icomplete.el (icomplete-forward-completions)
5948 (icomplete-backward-completions, icomplete-completions):
5949 Adjust calls to completion-all-sorted-completions and
5950 completion--cache-all-sorted-completions.
5951 (icomplete-with-completion-tables): Default to t.
5952 * emacs-lisp/crm.el (crm--current-element): Rename from
5953 crm--select-current-element. Don't put an overlay but return the
5954 boundaries instead.
5955 (crm--completion-command): Take two new args to bind to the boundaries.
5956 (crm-completion-help): Adjust accordingly.
5957 (crm-complete): Use completion-in-region.
5958 (crm-complete-word): Use completion-in-region--single-word.
5959 (crm-complete-and-exit): Use completion-complete-and-exit.
5960
5961 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5964 than dynamically.
5965
5966 2013-09-06 Juri Linkov <juri@jurta.org>
5967
5968 * info.el (Info-display-images-node): When image file doesn't exist
5969 display text version of the image if it's provided in the Info file.
5970 Otherwise, display the location of missing image from SRC attribute.
5971 Add help-echo text property from ALT attribute. (Bug#15279)
5972
5973 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5976 (edit-abbrevs-mode): Use define-derived-mode.
5977
5978 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5979 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5980 that it's defined.
5981 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5982 Use define-derived-mode.
5983
5984 * epg.el (epg-start-encrypt): Minor CSE simplification.
5985
5986 2013-09-06 William Xu <william.xwl@gmail.com>
5987
5988 * arc-mode.el: Add support for 7za (bug#15264).
5989 (archive-7z-program): New var.
5990 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5991 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5992 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5993
5994 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5995
5996 Remove URL syntax.
5997
5998 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5999 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6000 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6001 (tramp-postfix-host-format, tramp-file-name-regexp)
6002 (tramp-completion-file-name-regexp)
6003 (tramp-completion-dissect-file-name)
6004 (tramp-handle-substitute-in-file-name): Remove 'url case.
6005 (tramp-file-name-regexp-url)
6006 (tramp-completion-file-name-regexp-url): Remove constants.
6007
6008 2013-09-06 Glenn Morris <rgm@gnu.org>
6009
6010 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6011
6012 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6013
6014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6015 keywords" below "here-doc beginnings" (Bug#15270).
6016
6017 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * subr.el (pop): Use `car-safe'.
6020 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6021 to detect unused `pop' return value.
6022
6023 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6024 var `block-regexp'.
6025 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6026 (python-fill-string): Remove unused var `marker'.
6027 (python-skeleton-add-menu-items): Remove unused var `items'.
6028
6029 * international/mule-cmds.el: Require CL.
6030 (find-coding-systems-for-charsets): Avoid add-to-list.
6031 (sanitize-coding-system-list): New function, extracted from
6032 select-safe-coding-system-interactively.
6033 (select-safe-coding-system-interactively): Use it.
6034 (read-input-method-name): Accept symbols for `default'.
6035
6036 * emacs-lisp/advice.el (defadvice): Add indent rule.
6037
6038 2013-09-05 Daniel Hackney <dan@haxney.org>
6039
6040 * dired-x.el:
6041 * net/ange-ftp.el:
6042 * net/browse-url.el:
6043 * net/dbus.el:
6044 * net/eudc.el:
6045 * net/eudcb-ldap.el:
6046 * net/eww.el:
6047 * net/imap.el:
6048 * printing.el:
6049 * vc/ediff-diff.el:
6050 * vc/ediff-init.el:
6051 * vc/ediff-merg.el:
6052 * vc/ediff-mult.el:
6053 * vc/ediff-util.el:
6054 * vc/ediff-wind.el:
6055 * vc/ediff.el:
6056 * vc/emerge.el:
6057 * vc/pcvs.el:
6058 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6059 byte compiler. Remove some unused let-bound variables.
6060
6061 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6064 a "ref-cell", since it gets better optimized (bug#14883).
6065
6066 2013-09-05 Glenn Morris <rgm@gnu.org>
6067
6068 * progmodes/cc-awk.el (c-forward-sws): Declare.
6069
6070 2013-09-04 Glenn Morris <rgm@gnu.org>
6071
6072 * generic-x.el [rul-generic-mode]: Require cc-mode.
6073 (c++-mode-syntax-table): Declare.
6074 (rul-generic-mode-syntax-table): Init in the defvar.
6075
6076 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6079 (vc-do-command, vc-set-async-update):
6080 * vc/vc-mtn.el (vc-mtn-dir-status):
6081 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6082 (vc-hg-pull, vc-hg-merge-branch):
6083 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6084 (vc-git-merge-branch):
6085 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6086 (vc-cvs-dir-status-files):
6087 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6088 (vc-bzr-dir-status-files):
6089 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6090 * vc/vc-annotate.el: Use lexical-binding.
6091 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6092 (vc-sentinel-movepoint): Declare.
6093 (vc-annotate): Don't use `goto-line'.
6094 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6095 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6096 (vc-sentinel-movepoint): Declare.
6097 * vc/vc-svn.el: Use lexical-binding.
6098 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6099 * vc/vc-sccs.el:
6100 * vc/vc-rcs.el: Use lexical-binding.
6101
6102 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6103 `deleted'. Don't drop errors silently.
6104
6105 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6106
6107 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6108
6109 * vc/vc.el (vc-ignore): Rewrite.
6110 (vc-default-ignore): New function.
6111 (vc-default-ignore-completion-table): Use find-ignore-file.
6112
6113 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6114 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6115 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6116 Remove. Most code moved to vc.el.
6117
6118 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6121 * net/tramp-smb.el (tramp-smb-get-file-entries):
6122 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6123 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6124
6125 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6126 Update call to it.
6127 (eww-change-select): Remove unused var `properties'.
6128 (eww-make-unique-file-name): Remove unused var `base'.
6129
6130 * finder.el (finder-compile-keywords): Don't mess with windows.
6131
6132 * calculator.el (calculator-funcall): Fix typo in last change.
6133
6134 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6135
6136 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6137 <pkg>-autoloads.el file stop us.
6138
6139 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6140 warnings, and factor out common code.
6141
6142 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6143
6144 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6145 two-character operators and whether the character preceding them
6146 changes their meaning (Bug#15208).
6147
6148 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6149
6150 Format code sent to Python shell for robustness.
6151 * progmodes/python.el (python-shell-buffer-substring):
6152 New function.
6153 (python-shell-send-region, python-shell-send-buffer): Use it.
6154
6155 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6156
6157 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6158 * net/tramp.el (tramp-user-error): ... here.
6159 (tramp-find-method, tramp-check-proper-host)
6160 (tramp-dissect-file-name, tramp-debug-message)
6161 (tramp-handle-shell-command):
6162 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6163 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6164
6165 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6166
6167 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6168
6169 * avoid.el (mouse-avoidance-point-position)
6170 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6171 returns nil.
6172
6173 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6174
6175 * progmodes/python.el (python-shell-completion-get-completions):
6176 Drop use of deleted `comint-last-prompt-overlay'.
6177 (python-nav-if-name-main): New command.
6178
6179 2013-09-01 Glenn Morris <rgm@gnu.org>
6180
6181 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6182 Avoid leading space in $wins. Otherwise the sed command used by
6183 eg compile-main ends up containing "/*.el". (Bug#15170)
6184
6185 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6186
6187 2013-08-30 Glenn Morris <rgm@gnu.org>
6188
6189 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6190 Fix is-this-a-directory logic. (Bug#15220)
6191
6192 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * textmodes/css-mode.el: Use SMIE.
6195 (css-smie-grammar): New var.
6196 (css-smie--forward-token, css-smie--backward-token)
6197 (css-smie-rules): New functions.
6198 (css-mode): Use them.
6199 (css-navigation-syntax-table): Remove var.
6200 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6201 (css-indent-calculate, css-indent-line): Remove functions.
6202
6203 Misc changes to reduce use of `(lambda...); and other cleanups.
6204 * cus-edit.el: Use lexical-binding.
6205 (customize-push-and-save, customize-apropos)
6206 (custom-buffer-create-internal): Use closures.
6207 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6208 * progmodes/ada-xref.el: Use setq.
6209 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6210 * dframe.el: Use lexical-binding.
6211 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6212 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6213 * descr-text.el: Use lexical-binding.
6214 (describe-text-widget, describe-text-sexp, describe-property-list):
6215 Use closures.
6216 * comint.el (comint-history-isearch-push-state): Use a closure.
6217 * calculator.el: Use lexical-binding.
6218 (calculator-number-to-string): Make it work with lexical-binding.
6219 (calculator-funcall): Same and use cl-letf.
6220
6221 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6222 (lisp--company-doc-string, lisp--company-location): New functions.
6223 (lisp-completion-at-point): Use them to improve Company support.
6224
6225 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6226 params of lambda expressions.
6227 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6228 (ruby-smie--opening-pipe-p): New function.
6229 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6230 symbols and matched |...| for formal params.
6231 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6232 from being treated as hanging. Handle "rescue".
6233
6234 2013-08-29 Glenn Morris <rgm@gnu.org>
6235
6236 * progmodes/cc-engine.el (c-pull-open-brace):
6237 Move definition before use.
6238
6239 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6242 are immutable. Don't use `unsafe' any more.
6243 (cl--defsubst-expand): Don't substitute at the same time as keeping
6244 a residual unused let-binding. Don't use `unsafe' any more.
6245
6246 2013-08-29 Glenn Morris <rgm@gnu.org>
6247
6248 * calendar/cal-china.el (calendar-chinese-year-cache):
6249 Recenter on 2015.
6250
6251 * nxml/nxml-util.el (nxml-debug-clear-inside):
6252 Use cl-loop rather than loop.
6253
6254 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6255
6256 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6257
6258 2013-08-28 Glenn Morris <rgm@gnu.org>
6259
6260 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6261
6262 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6263
6264 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6265
6266 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * simple.el (repeat-complex-command--called-interactively-skip):
6269 New function.
6270 (repeat-complex-command): Use it (bug#14136).
6271
6272 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6273 (c-define-abbrev-table): Add `doc' argument.
6274 (c-mode-abbrev-table, c++-mode-abbrev-table)
6275 (objc-mode-abbrev-table, java-mode-abbrev-table)
6276 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6277 (awk-mode-abbrev-table): Use it.
6278 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6279 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6280 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6281 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6282 Move initialization into the declaration; and remove any
6283 autoload cookie.
6284
6285 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6286 and dynamic let binding.
6287
6288 * vc/smerge-mode.el: Remove redundant :group args.
6289
6290 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6291 to load-path.
6292
6293 2013-08-28 Juri Linkov <juri@jurta.org>
6294
6295 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6296 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6297 (isearch-other-meta-char): Handle an undefined shifted printing
6298 character by downshifting it. (Bug#15200)
6299
6300 2013-08-28 Juri Linkov <juri@jurta.org>
6301
6302 * isearch.el (isearch-search): Change regexp error message for
6303 non-regexp searches. (Bug#15166)
6304
6305 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6306
6307 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6308 for portability to hosts where /bin/sh has problems.
6309
6310 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6313
6314 2013-08-27 Juri Linkov <juri@jurta.org>
6315
6316 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6317 in the keyboard macro. (Bug#15126)
6318
6319 2013-08-27 Juri Linkov <juri@jurta.org>
6320
6321 * isearch.el (isearch-quote-char): Comment out converting unibyte
6322 to multibyte, thus syncing with its `quoted-insert' counterpart.
6323 (Bug#15166)
6324
6325 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6326
6327 * window.el (display-buffer-use-some-window): Add missing
6328 argument in call of get-largest-window (Bug#15185).
6329 Reported by Stephen Leake.
6330
6331 2013-08-27 Glenn Morris <rgm@gnu.org>
6332
6333 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6334
6335 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6338 from a matcher-function unless there's no more matches (bug#15161).
6339
6340 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6341
6342 * minibuffer.el: Revert change from 2013-08-20.
6343
6344 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6345 with text property `tramp-default', if appropriate.
6346 (tramp-check-proper-host): New defun.
6347 (tramp-dissect-file-name): Do not check hostname. Revert change
6348 of 2013-03-18.
6349 (tramp-backtrace): Make VEC-OR-PROC optional.
6350
6351 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6352 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6353 * net/tramp-sh.el (tramp-maybe-open-connection):
6354 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6355 Apply `tramp-check-proper-host'.
6356
6357 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6358
6359 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6360 lambda expression in order to have `describe-variable' display it.
6361
6362 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6363
6364 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6365 BUF can be optional. (Bug#15186)
6366
6367 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6368
6369 * progmodes/flymake.el (flymake-get-real-file-name-function):
6370 Fix broken customization. (Bug#15184)
6371
6372 2013-08-25 Alan Mackenzie <acm@muc.de>
6373
6374 Improve indentation of bracelists defined by macros (without "=").
6375
6376 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6377 expansion begins with "{", regard it as bracelist when it doesn't
6378 contain a ";".
6379
6380 Parse C++ inher-intro when there's a template split over 2 lines.
6381
6382 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6383 rigorously the search for "class" etc. followed by ":".
6384
6385 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6386 random languages a regexp which never matches rather than nil.
6387
6388 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6389
6390 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6391 (c-awk-regexp-one-line-possibly-open-char-list-re)
6392 (c-awk-one-line-possibly-open-regexp-re)
6393 (c-awk-one-line-non-syn-ws*-re): Remove.
6394 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6395 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6396 (c-awk-space*-unclosed-regexp-/-re): New constants.
6397 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6398 aren't regexp delimiters.
6399
6400 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6401 handling for a rare situation in AWK Mode involving unterminated
6402 strings/regexps.
6403
6404 2013-08-23 Glenn Morris <rgm@gnu.org>
6405
6406 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6407
6408 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6409
6410 * files.el (create-file-buffer): If the result would begin with
6411 spaces, prepend a "|" instead of removing them. (Bug#15162)
6412
6413 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6416 text-properties (bug#15155).
6417
6418 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6419 exist any more.
6420 (calc-keypad-redraw): Remove unused var `pad'.
6421 (calc-keypad-press): Remove unused var `menu'.
6422
6423 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6424
6425 * window.el (display-buffer-pop-up-frame):
6426 Call pop-up-frame-function with BUFFER current so `make-frame' will
6427 use it as the new frame's buffer (Bug#15133).
6428
6429 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * calendar/timeclock.el: Minor cleanups.
6432 (timeclock-ask-before-exiting, timeclock-use-display-time):
6433 Use `symbol'.
6434 (timeclock-modeline-display): Define as alias before the
6435 actual definition.
6436 (timeclock-mode-line-display): Use define-minor-mode.
6437 (timeclock-day-list-template): Make it a function, add an argument.
6438 (timeclock-day-list-required, timeclock-day-list-length)
6439 (timeclock-day-list-debt, timeclock-day-list-span)
6440 (timeclock-day-list-break): Adjust calls accordingly.
6441
6442 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6445 Use read--expression so that completion works again.
6446
6447 2013-08-21 Sam Steingold <sds@gnu.org>
6448
6449 Add rudimentary inferior shell interaction
6450 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6451 (sh-set-shell): Reset it.
6452 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6453 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6454
6455 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * align.el: Use lexical-binding.
6458 (align-region): Simplify accordingly.
6459
6460 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6461
6462 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6463
6464 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6465 `non-essential' up.
6466
6467 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6468
6469 * net/tramp.el:
6470 * net/tramp-adb.el:
6471 * net/tramp-cmds.el:
6472 * net/tramp-ftp.el:
6473 * net/tramp-gvfs.el:
6474 * net/tramp-gw.el:
6475 * net/tramp-sh.el: Don't wrap external variable declarations by
6476 `eval-when-compile'.
6477
6478 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6479
6480 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6481 now that Emacs supports ImageMagick animations.
6482
6483 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6484
6485 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6486 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6487
6488 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6489
6490 * window.el (mouse-autoselect-window-select): Do autoselect when
6491 mouse pointer is on margin.
6492
6493 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6494
6495 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6496
6497 2013-08-16 Glenn Morris <rgm@gnu.org>
6498
6499 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6500 Handle "Remote Directory" response of some clients. (Bug#15058)
6501
6502 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6503 Tweak warning. (Bug#14926)
6504
6505 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6506 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6507
6508 * image-mode.el (image-mode-map): Add menu items to reverse,
6509 increase, decrease, reset animation speed.
6510 (image--set-speed, image-increase-speed, image-decrease-speed)
6511 (image-reverse-speed, image-reset-speed): New functions.
6512 (image-mode-map): Add bindings for speed commands.
6513
6514 * image.el (image-animate-get-speed, image-animate-set-speed):
6515 New functions.
6516 (image-animate-timeout): Respect image :speed property.
6517
6518 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6521 previous line (bug#15101).
6522 (debugger-eval-expression, debugger-record-expression):
6523 Use read--expression (bug#15102).
6524
6525 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6526
6527 Remove byte compiler warnings, visible when compiling with
6528 `byte-compile-force-lexical-warnings' set to t.
6529
6530 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6531 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6532 (tramp-handle-unhandled-file-name-directory)
6533 (tramp-handle-file-notify-add-watch, tramp-action-login)
6534 (tramp-action-succeed, tramp-action-permission-denied)
6535 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6536 arguments with "_".
6537
6538 * net/tramp-adb.el (tramp-adb-parse-device-names)
6539 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6540 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6541 (tramp-adb-handle-file-truename): Remove unused arguments.
6542
6543 * net/tramp-cache.el (tramp-flush-directory-property)
6544 (tramp-flush-connection-property, tramp-list-connections)
6545 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6546
6547 * net/tramp-compat.el (tramp-compat-make-temp-file):
6548 Rename FILENAME to F.
6549
6550 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6551 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6552 (tramp-zeroconf-parse-workstation-device-names)
6553 (tramp-zeroconf-parse-webdav-device-names)
6554 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6555
6556 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6557 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6558
6559 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6560 arguments.
6561 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6562 (tramp-sh-handle-insert-file-contents-literally)
6563 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6564 with "_".
6565 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6566 Remove unused variables.
6567
6568 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6569 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6570 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6571
6572 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6573 Make them a defconst.
6574 (tramp-uuencode-region): Remove unused variable.
6575
6576 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * frameset.el (frameset--prop-setter): New function.
6579 (frameset-prop): Add gv-setter declaration.
6580 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6581 parameter was already set in FILTERED. Doc fix.
6582 (frameset--record-minibuffer-relationships): Allow saving a
6583 minibufferless frame without its corresponding minibuffer frame.
6584 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6585 frame, if the frame id matches.
6586 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6587 frames before orphaned ones.
6588 (frameset-restore): Warn about orphaned windows, instead of error out.
6589
6590 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6591
6592 * window.el (window-make-atom): Don't overwrite parameter
6593 already present.
6594 (display-buffer-in-atom-window): Handle special case where we
6595 split an already atomic window.
6596 (window--major-non-side-window, display-buffer-in-side-window)
6597 (window--side-check): Ignore minibuffer window when walking
6598 window tree.
6599 (window-deletable-p): Return 'frame only if no other frame uses
6600 our minibuffer window.
6601 (record-window-buffer): Run buffer-list-update-hook.
6602 (split-window): Make sure window--check-frame won't destroy an
6603 existing atomic window in case the new window gets nested
6604 inside.
6605 (display-buffer-at-bottom): Ignore minibuffer window when
6606 walking window tree. Don't split a side window.
6607 (pop-to-buffer): Don't set-buffer here, the select-window call
6608 should do that.
6609 (mouse-autoselect-window-select): Autoselect only if we are in the
6610 text portion of the window.
6611
6612 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6613
6614 * net/shr.el (shr-parse-image-data): New function to grab both the
6615 data itself and the Content-Type.
6616 (shr-put-image): Use it.
6617
6618 * net/eww.el (eww-display-image): Ditto.
6619
6620 * image.el (image-content-type-suffixes): New variable.
6621
6622 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6623
6624 * progmodes/python.el (python-imenu--build-tree)
6625 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6626
6627 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6628
6629 * simple.el (backward-word): Mention the optional argument.
6630
6631 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * frameset.el (frameset--make): Rename constructor from make-frameset.
6634 (frameset-p, frameset-valid-p): Don't autoload.
6635 (frameset-valid-p): Use normal accessors.
6636
6637 2013-08-13 Glenn Morris <rgm@gnu.org>
6638
6639 * progmodes/compile.el (compile-command): Tweak example in doc.
6640 * obsolete/scribe.el (scribe-mode):
6641 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6642
6643 * mail/feedmail.el (feedmail-confirm-outgoing)
6644 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6645
6646 * cus-start.el (truncate-partial-width-windows): Fix type.
6647
6648 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6649
6650 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6651
6652 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * emacs-lisp/timer.el (timer--time-setter): New function.
6655 (timer--time): Use it as gv-setter.
6656
6657 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6658 setter is not a symbol.
6659
6660 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6661
6662 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6663 if sending fails. This makes debugging easier.
6664
6665 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6666
6667 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6668 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6669 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6670
6671 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6672
6673 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6674
6675 2013-08-12 Glenn Morris <rgm@gnu.org>
6676
6677 * format.el (format-annotate-function):
6678 Handle read-only text properties in the source. (Bug#14887)
6679
6680 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6681
6682 * net/eww.el (eww-display-html): Ignore coding system errors.
6683 One web site uses "utf-8lias" as the coding system.
6684
6685 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6686
6687 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6688
6689 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6690
6691 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6692 (tutorial--detailed-help): Remove unused local variables.
6693 (tutorial--save-tutorial-to): Use ignore-errors.
6694 (help-with-tutorial): Use looking-at-p.
6695
6696 * view.el (view-buffer-other-window, view-buffer-other-frame):
6697 Mark unused arguments.
6698
6699 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6700 (woman-select-symbol-fonts, woman, woman-find-file)
6701 (woman-insert-file-contents, woman-non-underline-faces):
6702 Use string-match-p.
6703 (woman1-unquote): Move declaration.
6704
6705 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6706 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6707 argument. Remove unused local variable.
6708 (xml-parse-elem-type): Use string-match-p.
6709 (xml-substitute-numeric-entities): Use ignore-errors.
6710
6711 * calculator.el (calculator): Mark unused argument.
6712 (calculator-paste, calculator-quit, calculator-integer-p):
6713 Use ignore-errors.
6714 (calculator-string-to-number, calculator-decimal, calculator-exp)
6715 (calculator-op-or-exp): Use string-match-p.
6716
6717 * dired.el (dired-buffer-more-recently-used-p): Declare.
6718 (dired-insert-set-properties, dired-insert-old-subdirs):
6719 Use ignore-errors.
6720
6721 * dired-aux.el (dired-compress): Use ignore-errors.
6722 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6723 (dired-do-async-shell-command, dired-do-shell-command)
6724 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6725 (dired-insert-subdir-validate): Use string-match-p.
6726 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6727 (dired-add-entry): Use string-match-p, looking-at-p.
6728 (dired-insert-subdir-newpos): Remove unused local variable.
6729
6730 * filenotify.el (file-notify-callback): Remove unused local variable.
6731
6732 * filesets.el (filesets-error): Mark unused argument.
6733 (filesets-which-command-p, filesets-filter-dir-names)
6734 (filesets-directory-files, filesets-get-external-viewer)
6735 (filesets-ingroup-get-data): Use string-match-p.
6736
6737 * find-file.el (ff-other-file-name, ff-other-file-name)
6738 (ff-find-the-other-file, ff-cc-hh-converter):
6739 Remove unused local variables.
6740 (ff-get-file-name): Use string-match-p.
6741 (ff-all-dirs-under): Use ignore-errors.
6742
6743 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6744 (follow-select-if-visible): Remove unused local variable.
6745
6746 * forms.el (read-file-filter): Move declaration.
6747 (forms--make-format, forms--make-parser, forms-insert-record):
6748 Quote function with #'.
6749 (forms--update): Use string-match-p. Quote function with #'.
6750
6751 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6752 (help-make-xrefs): Use looking-at-p.
6753 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6754
6755 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6756 (ibuffer-confirm-operation-on): Use string-match-p.
6757
6758 * msb.el (msb-item-handler, msb-dired-item-handler):
6759 Mark unused arguments.
6760
6761 * ses.el (ses-decode-cell-symbol)
6762 (ses-kill-override): Remove unused local variable.
6763 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6764 (ses-load): Use ignore-errors, looking-at-p.
6765 (ses-jump-safe): Use ignore-errors.
6766 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6767
6768 * tabify.el (untabify, tabify): Mark unused arguments.
6769
6770 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6771 Mark unused argument.
6772 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6773 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6774
6775 * emacs-lisp/timer.el (timer--time): Define setter with
6776 gv-define-setter to avoid deprecation warning.
6777
6778 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6779 (*record-cmpl-statistics-p*): Remove (was commented out).
6780 (cmpl-statistics-block): Remove (body was commented out).
6781 All callers changed.
6782 (add-completions-from-buffer, load-completions-from-file):
6783 Remove unused variables.
6784
6785 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6786
6787 * filecache.el (file-cache-delete-file-list):
6788 Print message only when told so.
6789 (file-cache-files-matching): Use #' in mapconcat argument.
6790
6791 * ffap.el (ffap-url-at-point): Fix reference to variable
6792 thing-at-point-default-mail-uri-scheme.
6793
6794 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * subr.el (define-error): New function.
6797 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6798 error-file-not-found and define with define-error.
6799 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6800 and define with define-error.
6801 * userlock.el (file-locked, file-supersession):
6802 * simple.el (mark-inactive):
6803 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6804 * progmodes/ada-mode.el (ada-mode-errors):
6805 * play/life.el (life-extinct):
6806 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6807 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6808 * nxml/rng-util.el (rng-error):
6809 * nxml/rng-uri.el (rng-uri-error):
6810 * nxml/rng-match.el (rng-compile-error):
6811 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6812 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6813 * nxml/nxml-rap.el (nxml-scan-error):
6814 * nxml/nxml-outln.el (nxml-outline-error):
6815 * net/soap-client.el (soap-error):
6816 * net/gnutls.el (gnutls-error):
6817 * net/ange-ftp.el (ftp-error):
6818 * mpc.el (mpc-proc-error):
6819 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6820 (json-number-format, json-string-escape, json-string-format)
6821 (json-key-format, json-object-format):
6822 * jka-compr.el (compression-error):
6823 * international/quail.el (quail-error):
6824 * international/kkc.el (kkc-error):
6825 * emacs-lisp/ert.el (ert-test-failed):
6826 * calc/calc.el (calc-error, inexact-result, math-overflow)
6827 (math-underflow):
6828 * bookmark.el (bookmark-error-no-filename):
6829 * epg.el (epg-error): Define with define-error.
6830
6831 * time.el (display-time-event-handler)
6832 (display-time-next-load-average): Don't call sit-for since it seems
6833 unnecessary (bug#15045).
6834
6835 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6836 Use #' instead of ' to quote functions.
6837 (checkdoc-output-mode): Use setq-local.
6838 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6839 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6840 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6841 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6842 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6843 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6844 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6845 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6846
6847 * ido.el (ido-completion-help): Fix up compiler warning.
6848
6849 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * frameset.el (frameset-p): Add autoload cookie.
6852 (frameset--jump-to-register): New function, based on code moved from
6853 register.el.
6854 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6855
6856 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6857 (frameset-restore, frameset-save, frameset-session-filter-alist):
6858 Remove declarations.
6859 (register-alist): Doc fix.
6860 (frameset-to-register): Move to frameset.el.
6861 (jump-to-register, describe-register-1): Remove frameset-specific code.
6862
6863 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6864
6865 * allout-widgets.el (allout-widgets-pre-command-business)
6866 (allout-widgets-post-command-business)
6867 (allout-widgets-after-change-handler)
6868 (allout-decorate-item-and-context, allout-set-boundary-marker)
6869 (allout-body-modification-handler)
6870 (allout-graphics-modification-handler): Mark ignored arguments.
6871 (allout-widgets-post-command-business)
6872 (allout-widgets-exposure-change-processor)
6873 (allout-widgets-exposure-undo-processor)
6874 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6875 (allout-parse-item-at-point, allout-decorate-item-guides)
6876 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6877 * allout.el (epa-passphrase-callback-function): Declare.
6878 (allout-overlay-insert-in-front-handler)
6879 (allout-overlay-interior-modification-handler)
6880 (allout-isearch-end-handler, allout-chart-siblings)
6881 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6882 (allout-yank-processing, allout-process-exposed)
6883 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6884 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6885 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6886 (lisp-indent-defform): Mark ignored arguments.
6887 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6888 (calculate-lisp-indent): Remove unused variables.
6889 * international/characters.el (indian-2-column, arabic-2-column)
6890 (tibetan): Mark ignored arguments.
6891 (use-cjk-char-width-table): Mark ignored arguments.
6892 Remove unused variables.
6893 * international/fontset.el (build-default-fontset-data)
6894 (x-compose-font-name, create-fontset-from-fontset-spec):
6895 Mark ignored arguments.
6896 (fontset-plain-name): Remove unused variables.
6897 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6898 (keyboard-coding-system): Mark ignored arguments.
6899 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6900 * help.el (resize-temp-buffer-window):
6901 * window.el (display-buffer-in-major-side-window)
6902 (display-buffer-in-side-window, display-buffer-in-previous-window):
6903 Remove unused variables.
6904 * isearch.el (isearch-forward-symbol):
6905 * version.el (emacs-bzr-version-bzr):
6906 * international/mule-cmds.el (current-language-environment):
6907 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6908 (x-handle-display):
6909 * term/pc-win.el (x-list-fonts, x-display-planes)
6910 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6911 (x-server-version, x-display-screens, x-display-mm-height)
6912 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6913 (x-selection-owner-p, x-own-selection-internal)
6914 (x-disown-selection-internal, x-get-selection-internal)
6915 (msdos-initialize-window-system):
6916 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6917 * term/x-win.el (x-handle-no-bitmap-icon):
6918 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6919 (vc-default-find-file-hook, vc-default-extra-menu):
6920 Mark ignored arguments.
6921
6922 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6925 break-condition in the context of the debugged code (bug#12685).
6926
6927 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6928
6929 * comint.el:
6930 Do not use an overlay to highlight the last prompt. (Bug#14744)
6931 (comint-mode): Make comint-last-prompt buffer local.
6932 (comint-last-prompt): New variable.
6933 (comint-last-prompt-overlay): Remove. Superseded by
6934 comint-last-prompt.
6935 (comint-snapshot-last-prompt, comint-output-filter):
6936 Use comint-last-prompt.
6937
6938 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6941 (frameset-save): Check validity of the resulting frameset.
6942
6943 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6944
6945 * ido.el (ido-record-command): Add doc string.
6946
6947 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6948
6949 * frameset.el (frameset): Do not disable creation of the default
6950 frameset-p predicate. Doc fix.
6951 (frameset-valid-p): New function, copied from the old predicate-p.
6952 Add additional checks.
6953 (frameset-restore): Check with frameset-valid-p.
6954 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6955 (frameset-name, frameset-description, frameset-properties)
6956 (frameset-states): Add docstring.
6957 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6958 (frameset-filter-alist): Doc fixes.
6959
6960 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6961
6962 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6963
6964 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6967 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6968 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6969 (byte-compile-normal-call): Remove obsolescence check.
6970
6971 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6972
6973 * frameset.el (frameset-restore): Doc fix.
6974
6975 * register.el (frameset-frame-id, frameset-frame-with-id)
6976 (frameset-p, frameset-restore, frameset-save): Declare.
6977 (register-alist): Document framesets.
6978 (frameset-session-filter-alist): Declare.
6979 (frameset-to-register): New function.
6980 (jump-to-register): Implement jumping to framesets. Doc fix.
6981 (describe-register-1): Describe framesets.
6982
6983 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6984
6985 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6986
6987 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6988 Use lexical-binding.
6989
6990 * frameset.el (frameset): Use type vector, not list (incompatible
6991 change). Do not declare a new constructor, use the default one.
6992 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6993 `name' and `description', respectively, and add read-only slot
6994 `timestamp'. Doc fixes.
6995 (frameset-copy, frameset-persistent-filter-alist)
6996 (frameset-filter-alist, frameset-switch-to-gui-p)
6997 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6998 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6999 (frameset-filter-iconified, frameset-keep-original-display-p):
7000 Doc fixes.
7001 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7002 Rename from frameset-filter-(save|restore)-param. All callers changed.
7003 Doc fix.
7004 (frameset-p): Adapt to change to vector and be more thorough.
7005 Change arg name to OBJECT. Doc fix.
7006 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7007 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7008 All callers changed.
7009 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7010 All callers changed.
7011 (frameset--record-minibuffer-relationships): Rename from
7012 frameset--process-minibuffer-frames. All callers changed.
7013 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7014 Use new default constructor (again). Doc fix.
7015 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7016 All callers changed.
7017 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7018 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7019 Doc fix.
7020 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7021 PARAMETERS and WINDOW-STATE, respectively.
7022 (frameset-restore): Add new keyword argument PREDICATE.
7023 Reset frameset--target-display to nil. Doc fix.
7024
7025 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7028 (bat-mode): Use it.
7029 (bat-mode-syntax-table): Mark \n as end-of-comment.
7030 (bat-font-lock-keywords): Remove comment rule.
7031
7032 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7033 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7034
7035 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7036 (byte-compile-callargs-warn): Use `push'.
7037 (byte-compile-arglist-warn): Ignore higher-order "calls".
7038 (byte-compile-file-form-autoload): Use `pcase'.
7039 (byte-compile-function-form): If quoting a symbol, check that it exists.
7040
7041 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7042
7043 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7044 and add a few popular commands found in batch files.
7045 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7046 (dos-mode): Doc fixes.
7047
7048 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7051 (dos-mode): Use setq-local. Add space after "rem".
7052 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7053 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7054
7055 2013-08-07 Arni Magnusson <arnima@hafro.is>
7056
7057 * progmodes/dos.el: New file.
7058 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7059 dos-mode.
7060
7061 2013-08-06 Glenn Morris <rgm@gnu.org>
7062
7063 * calendar/calendar.el: Add new faces, and day-header-array.
7064 (calendar-weekday-header, calendar-weekend-header)
7065 (calendar-month-header): New faces.
7066 (calendar-day-header-construct): New function.
7067 (calendar-day-header-width): Also :set calendar-day-header-array.
7068 (calendar-american-month-header, calendar-european-month-header)
7069 (calendar-iso-month-header): Use calendar- faces.
7070 (calendar-generate-month):
7071 Use calendar-day-header-array for day headers; apply faces to them.
7072 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7073 (calendar-abbrev-construct): Add optional maxlen argument.
7074 (calendar-day-name-array): Doc fix.
7075 (calendar-day-name-array, calendar-abbrev-length)
7076 (calendar-day-abbrev-array):
7077 Also :set calendar-day-header-array, and maybe redraw.
7078 (calendar-day-header-array): New option. (Bug#15007)
7079 (calendar-font-lock-keywords): Set to nil and make obsolete.
7080 (calendar-day-name): Add option to use header array.
7081
7082 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7083
7084 * net/shr.el (shr-render-td): Remove debugging.
7085 (shr-render-td): Make width computation consistent by defaulting
7086 all zero-width columns to 10 characters. This may not be optimal,
7087 but it's at least consistent.
7088 (shr-make-table-1): Redo last change to fix the real problem in
7089 colspan handling.
7090
7091 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7092
7093 * files.el (cache-long-line-scans):
7094 Make obsolete alias to `cache-long-scans'.
7095
7096 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7097
7098 * frameset.el (frameset, frameset-filter-alist)
7099 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7100 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7101 (frameset-compute-pos): Rename from frameset--compute-pos,
7102 and add docstring.
7103 (frameset-move-onscreen): Use frameset-compute-pos.
7104 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7105
7106 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7107 Fix typos in docstrings.
7108
7109 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7110
7111 * frame.el (get-other-frame): Tiny cleanup.
7112
7113 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7114
7115 * vc/vc.el (vc-default-ignore-completion-table):
7116 Silence byte-compiler warning.
7117
7118 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7119 slot, which can indeed be nil.
7120 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7121 Move entry for `left' from persistent to live filter alist.
7122 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7123 Doc fixes.
7124 (frameset-filter-params): When restoring a frame, copy items added to
7125 `filtered', to avoid unwittingly modifying the original parameters.
7126 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7127 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7128
7129 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7130 to use looking-at-p instead of looking-at. (Bug#15028)
7131
7132 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 Revert introduction of isearch-filter-predicates (bug#14714).
7135 Rely on add-function instead.
7136 * isearch.el (isearch-filter-predicates): Rename it back to
7137 isearch-filter-predicate.
7138 (isearch-message-prefix): Use advice-function-mapc and advice
7139 properties to get the isearch-message-prefix.
7140 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7141 instead of run-hook-with-args-until-failure.
7142 (isearch-filter-visible): Not obsolete any more.
7143 * loadup.el: Preload nadvice.
7144 * replace.el (perform-replace): Revert to funcall
7145 instead of run-hook-with-args-until-failure.
7146 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7147 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7148 dired-isearch-filenames-toggle; make it into a proper minor mode.
7149 Use add/remove-function.
7150 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7151 Call the minor-mode rather than add/remove-hook.
7152 (dired-isearch-filter-filenames):
7153 Remove isearch-message-prefix property.
7154 * info.el (Info--search-loop): New function, extracted from Info-search.
7155 Funcall isearch-filter-predicate instead of
7156 run-hook-with-args-until-failure isearch-filter-predicates.
7157 (Info-search): Use it.
7158 (Info-mode): Use isearch-filter-predicate instead of
7159 isearch-filter-predicates.
7160
7161 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7162
7163 Do not call to `selected-window' where it is assumed by default.
7164 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7165 `window-hscroll', `window-width', `window-height', `window-buffer',
7166 `window-frame', `window-start', `window-point', `next-window'
7167 and `window-display-table'.
7168 * abbrev.el (abbrev--default-expand):
7169 * bs.el (bs--show-with-configuration):
7170 * buff-menu.el (Buffer-menu-mouse-select):
7171 * calc/calc.el (calc):
7172 * calendar/calendar.el (calendar-generate-window):
7173 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7174 (diary-make-entry):
7175 * comint.el (send-invisible, comint-dynamic-complete-filename)
7176 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7177 * completion.el (complete):
7178 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7179 * disp-table.el (describe-current-display-table):
7180 * doc-view.el (doc-view-insert-image):
7181 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7182 * ehelp.el (with-electric-help):
7183 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7184 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7185 * emacs-lisp/helper.el (Helper-help-scroller):
7186 * emulation/cua-base.el (cua--post-command-handler-1):
7187 * eshell/esh-mode.el (eshell-output-filter):
7188 * ffap.el (ffap-gnus-wrapper):
7189 * help-macro.el (make-help-screen):
7190 * hilit-chg.el (highlight-compare-buffers):
7191 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7192 * hl-line.el (global-hl-line-highlight):
7193 * icomplete.el (icomplete-simple-completing-p):
7194 * isearch.el (isearch-done):
7195 * jit-lock.el (jit-lock-stealth-fontify):
7196 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7197 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7198 * mpc.el (mpc-tagbrowser, mpc):
7199 * net/rcirc.el (rcirc-any-buffer):
7200 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7201 * play/landmark.el (landmark-max-width, landmark-max-height):
7202 * play/zone.el (zone):
7203 * progmodes/compile.el (compilation-goto-locus):
7204 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7205 * progmodes/etags.el (find-tag-other-window):
7206 * progmodes/fortran.el (fortran-column-ruler):
7207 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7208 * progmodes/verilog-mode.el (verilog-point-text):
7209 * reposition.el (reposition-window):
7210 * rot13.el (toggle-rot13-mode):
7211 * server.el (server-switch-buffer):
7212 * shell.el (shell-dynamic-complete-command)
7213 (shell-dynamic-complete-environment-variable):
7214 * simple.el (insert-buffer, set-selective-display)
7215 (delete-completion-window):
7216 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7217 (speedbar-recenter):
7218 * startup.el (fancy-splash-head):
7219 * textmodes/ispell.el (ispell-command-loop):
7220 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7221 * tutorial.el (help-with-tutorial):
7222 * vc/add-log.el (add-change-log-entry):
7223 * vc/compare-w.el (compare-windows):
7224 * vc/ediff-help.el (ediff-indent-help-message):
7225 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7226 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7227 (ediff-setup-control-frame):
7228 * vc/emerge.el (emerge-position-region):
7229 * vc/pcvs-util.el (cvs-bury-buffer):
7230 * window.el (walk-windows, mouse-autoselect-window-select):
7231 * winner.el (winner-set-conf, winner-undo): Related users changed.
7232
7233 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7234
7235 * frameset.el (frameset--set-id): Doc fix.
7236 (frameset-frame-id, frameset-frame-id-equal-p)
7237 (frameset-locate-frame-id): New functions.
7238 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7239 (frameset-restore): Use them.
7240
7241 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7242
7243 Do not call to `selected-frame' where it is assumed by default.
7244 Affected functions are `raise-frame', `redraw-frame',
7245 `frame-first-window', `frame-terminal' and `delete-frame'.
7246 * calendar/appt.el (appt-disp-window):
7247 * epg.el (epg-wait-for-completion):
7248 * follow.el (follow-delete-other-windows-and-split)
7249 (follow-avoid-tail-recenter):
7250 * international/mule.el (set-terminal-coding-system):
7251 * mail/rmail.el (rmail-mail-return):
7252 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7253 * progmodes/f90.el (f90-add-imenu-menu):
7254 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7255 * server.el (server-switch-buffer):
7256 * simple.el (delete-completion-window):
7257 * talk.el (talk):
7258 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7259 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7260 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7261 * vc/ediff.el (ediff-documentation): Related users changed.
7262 * frame.el (selected-terminal): Remove the leftover.
7263
7264 2013-08-05 Glenn Morris <rgm@gnu.org>
7265
7266 * calendar/calendar.el (calendar-generate-month):
7267 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7268 (calendar-generate-month, calendar-font-lock-keywords):
7269 Fix for calendar-day-header-width > length of any day name.
7270
7271 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7272
7273 * desktop.el (desktop-clear): Use new name of sort predicate.
7274
7275 * frameset.el (frameset): Add docstring. Move :version property to its
7276 own `version' slot.
7277 (frameset-copy): Rename from copy-frameset.
7278 (frameset-p): Check more thoroughly.
7279 (frameset-prop): Do not check for :version, which is no longer a prop.
7280 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7281 Use new :never value instead of t.
7282 (frameset-filter-alist): Expand and clarify docstring.
7283 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7284 (frameset-filter-minibuffer, frameset-filter-save-param)
7285 (frameset-filter-restore-param, frameset-filter-iconified):
7286 Add pointer to docstring of frameset-filter-alist.
7287 (frameset-filter-params): Rename filter values to be more meaningful:
7288 :never instead of t, and reverse the meanings of :save and :restore.
7289 (frameset--process-minibuffer-frames): Clarify error message.
7290 (frameset-save): Avoid unnecessary and confusing call to framep.
7291 Use new BOA constructor for framesets.
7292 (frameset--reuse-list): Doc fix.
7293 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7294 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7295 (frameset-minibufferless-first-p): Doc fix.
7296 Rename from frameset-sort-frames-for-deletion.
7297 (frameset-restore): Doc fixes. Use new function names.
7298 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7299
7300 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7301
7302 * desktop.el (desktop-restore-forces-onscreen)
7303 (desktop-restore-reuses-frames): Document :keyword constant values.
7304 (desktop-filter-parameters-alist): Remove, now identical to
7305 frameset-filter-alist.
7306 (desktop--filter-tty*): Remove, moved to frameset.el.
7307 (desktop-save-frameset, desktop-restore-frameset):
7308 Do not pass :filters argument.
7309
7310 * frameset.el (frameset-live-filter-alist)
7311 (frameset-persistent-filter-alist): New variables.
7312 (frameset-filter-alist): Use them. Add autoload cookie.
7313 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7314 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7315 `frameset--id' (it's supposed to be internal to frameset.el).
7316 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7317 (frameset--initial-params): New function.
7318 (frameset--get-frame): Use it. Doc fix.
7319 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7320 Accept :all, not 'all.
7321 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7322 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7323 with fbound symbols. Fix frame id matching, and remove matching ids if
7324 the frame being restored is deleted. Obey :delete.
7325
7326 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * subr.el (macrop): New function.
7329 (text-clone--maintaining): New var.
7330 (text-clone--maintain): Rename from text-clone-maintain. Use it
7331 instead of inhibit-modification-hooks.
7332
7333 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7334 a proxy, so as handle autoloads and redefinitions of the target.
7335 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7336
7337 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7338 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7339 (pcase--mutually-exclusive-p): New function.
7340 (pcase--split-consp): Use it.
7341 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7342 mutually exclusive with the current predicate.
7343
7344 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7345 (edebug-macrop): Remove. Use `macrop' instead.
7346 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7347 (ad-macro-p):
7348 * eshell/esh-cmd.el (eshell-macrop):
7349 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7350
7351 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7354 (advice-mapc): New function, using it.
7355 (advice-function-member-p): New function.
7356 (advice--normalize): Store the cdr in advice--saved-rewrite since
7357 that's the part that will be changed.
7358 (advice--symbol-function): New function.
7359 (advice-remove): Handle removal before the function is defined.
7360 Adjust to new advice--saved-rewrite.
7361 (advice-member-p): Use advice-function-member-p and
7362 advice--symbol-function.
7363
7364 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7365
7366 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7367 (frameset-filter-minibuffer): Doc fix.
7368 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7369 (frameset--set-id, frameset--process-minibuffer-frames)
7370 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7371 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7372
7373 * desktop.el (desktop-clear): Only delete frames when called
7374 interactively and desktop-restore-frames is non-nil. Doc fix.
7375 (desktop-read): Set desktop-saved-frameset to nil.
7376
7377 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7378
7379 * vc/vc.el (vc-ignore): Rewrite.
7380 (vc-default-ignore-completion-table):
7381 (vc--read-lines):
7382 (vc--add-line, vc--remove-regexp): New functions.
7383
7384 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7385 (vc-svn-ignore-completion-table): New function.
7386
7387 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7388 (vc-hg-ignore-completion-table):
7389 (vc-hg-find-ignore-file): New functions.
7390
7391 * vc/vc-git.el (vc-git-ignore): Rewrite.
7392 (vc-git-ignore-completion-table):
7393 (vc-git-find-ignore-file): New functions.
7394
7395 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7396
7397 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7398 (vc-bzr-ignore-completion-table):
7399 (vc-bzr-find-ignore-file): New functions.
7400
7401 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7402
7403 * frameset.el (frameset-prop): New function and setter.
7404 (frameset-save): Do not modify frame list passed by the caller.
7405
7406 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7409
7410 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7411
7412 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7413 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7414
7415 * custom.el (custom-initialize-default, custom-initialize-set)
7416 (custom-initialize-reset, custom-initialize-changed): Affect the
7417 toplevel-default-value (bug#6275, bug#14586).
7418 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7419 for bug#6275.
7420
7421 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7422
7423 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7424 Add cl-def* expressions.
7425
7426 * frameset.el (frameset-filter-params): Fix order of arguments.
7427
7428 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7429
7430 Move code related to saving frames to frameset.el.
7431 * desktop.el: Require frameset.
7432 (desktop-restore-frames): Doc fix.
7433 (desktop-restore-reuses-frames): Rename from
7434 desktop-restoring-reuses-frames.
7435 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7436 (desktop-clear): Clear frames too.
7437 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7438 (desktop--filter-tty*, desktop-save, desktop-read):
7439 Use frameset functions.
7440 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7441 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7442 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7443 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7444 (desktop--process-minibuffer-frames, desktop-save-frames)
7445 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7446 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7447 (desktop--sort-states, desktop-restoring-frames-p)
7448 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7449 (desktop-restoring-frameset-p, desktop-restore-frameset)
7450 (desktop--check-dont-save, desktop-save-frameset): New functions.
7451 (desktop--app-id): New constant.
7452 (desktop-first-buffer, desktop-buffer-ok-count)
7453 (desktop-buffer-fail-count): Move before first use.
7454 * frameset.el: New file.
7455
7456 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * files.el: Use lexical-binding.
7459 (dir-locals-read-from-file): Remove unused `err' variable.
7460 (hack-dir-local-variables--warned-coding): New var.
7461 (hack-dir-local-variables): Use it to avoid repeated warnings.
7462 (make-backup-file-name--default-function): New function.
7463 (make-backup-file-name-function): Use it as default.
7464 (buffer-stale--default-function): New function.
7465 (buffer-stale-function): Use it as default.
7466 (revert-buffer-insert-file-contents--default-function): New function.
7467 (revert-buffer-insert-file-contents-function): Use it as default.
7468 (insert-directory): Avoid add-to-list.
7469
7470 * autorevert.el (auto-revert-handler): Simplify.
7471 Use buffer-stale--default-function.
7472
7473 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7474
7475 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7476
7477 * whitespace.el (whitespace-ensure-local-variables): New function.
7478 (whitespace-cleanup-region): Call it.
7479 (whitespace-turn-on): Call it.
7480
7481 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7482
7483 Complete file name handlers.
7484
7485 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7486 (tramp-handle-verify-visited-file-modtime)
7487 (tramp-handle-file-notify-rm-watch): New functions.
7488 (tramp-call-process): Do not bind `default-directory'.
7489
7490 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7491 Order alphabetically.
7492 [access-file, add-name-to-file, dired-call-process]:
7493 [dired-compress-file, file-acl, file-notify-rm-watch]:
7494 [file-ownership-preserved-p, file-selinux-context]:
7495 [make-directory-internal, make-symbolic-link, set-file-acl]:
7496 [set-file-selinux-context, set-visited-file-modtime]:
7497 [verify-visited-file-modtime]: Add handler.
7498 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7499
7500 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7501 [file-notify-add-watch, file-notify-rm-watch]:
7502 [set-file-times, set-visited-file-modtime]:
7503 [verify-visited-file-modtime]: Add handler.
7504 (with-tramp-gvfs-error-message)
7505 (tramp-gvfs-handle-set-visited-file-modtime)
7506 (tramp-gvfs-fuse-file-name): Remove.
7507 (tramp-gvfs-handle-file-notify-add-watch)
7508 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7509 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7510
7511 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7512 Order alphabetically.
7513 [file-notify-rm-watch ]: Use default Tramp handler.
7514 [executable-find]: Remove private handler.
7515 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7516 `default-directory'.
7517 (tramp-sh-handle-executable-find)
7518 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7519 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7520 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7521 Do not use `format' in `tramp-message'.
7522
7523 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7524 [file-notify-rm-watch, set-visited-file-modtime]:
7525 [verify-visited-file-modtime]: Add handler.
7526 (tramp-smb-call-winexe): Do not bind `default-directory'.
7527
7528 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7529
7530 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7531
7532 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7533
7534 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7535 use it.
7536 (log-view-diff-changeset): Same.
7537 (log-view-diff-common): Call backend command `previous-revision'
7538 to find out the previous revision, in both cases. Swap the
7539 variables `to' and `fr', so that `fr' usually refers to the
7540 earlier revision (Bug#14989).
7541
7542 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7543
7544 * ibuf-ext.el (ibuffer-filter-by-filename):
7545 Make it work with dired buffers too.
7546
7547 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7548
7549 * emacs-lisp/re-builder.el (reb-color-display-p):
7550 * files.el (save-buffers-kill-terminal):
7551 * net/browse-url.el (browse-url):
7552 * server.el (server-save-buffers-kill-terminal):
7553 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7554 Prefer nil to selected-frame for the first arg of frame-parameter.
7555
7556 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7557
7558 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7559
7560 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7561
7562 * minibuffer.el (completion--twq-all): Try and preserve each
7563 completion's case choice (bug#14907).
7564
7565 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7566
7567 * net/network-stream.el (open-network-stream): Mention the new
7568 :nogreeting parameter.
7569 (network-stream-open-starttls): Use the :nogreeting parameter
7570 (bug#14938).
7571
7572 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7573
7574 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7575 more natural than popping.
7576
7577 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7578 (shr-urlify): Highlight under mouse.
7579
7580 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7581
7582 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7583
7584 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7585
7586 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7587 buffer for output.
7588
7589 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7590 point-min==1. Fix search string. Fix parentheses missing.
7591
7592 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7593 assume point-min==1. Fix search string. Fix parentheses missing.
7594
7595 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7596
7597 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7598 buffer for output.
7599
7600 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7601
7602 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7603 initial frame is minibuffer-less. (Bug#14841)
7604
7605 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7606
7607 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7608 option.
7609
7610 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7611 (tramp-maybe-open-connection): Use it.
7612
7613 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7614
7615 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7616 minimal set of parameters passed when creating a frame, because
7617 the minibuffer status of a frame cannot be changed later.
7618
7619 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7620
7621 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7622 replace-regexp-in-string and inadvertent omissions in previous change.
7623 (todo-filter-items): Ensure only file names are comma-separated in
7624 name of filtered items buffer.
7625
7626 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * desktop.el: Optionally force offscreen frames back onscreen.
7629 (desktop-restoring-reuses-frames): New option.
7630 (desktop--compute-pos, desktop--move-onscreen): New functions.
7631 (desktop--make-frame): Use desktop--move-onscreen.
7632
7633 2013-07-27 Alan Mackenzie <acm@muc.de>
7634
7635 Fontify a Java generic method as a function.
7636 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7637 value to t.
7638
7639 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7640
7641 * calendar/todo-mode.el: Add command to rename todo files.
7642 (todo-rename-file): New command.
7643 (todo-key-bindings-t): Add key binding for it. Change the
7644 bindings of todo-filter-regexp-items(-multifile) to use `x'
7645 instead of `r', since the latter is better suited to the new
7646 renaming command.
7647
7648 2013-07-27 Alan Mackenzie <acm@muc.de>
7649
7650 Make Java try-with-resources statement parse properly.
7651 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7652 (c-block-stmt-1-2-key): New language constants/variables.
7653 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7654 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7655 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7656 with c-block-stmt-1-2-key.
7657
7658 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7659
7660 * desktop.el (desktop--make-frame): Apply most frame parameters after
7661 creating the frame to force (partially or totally) offscreen frames to
7662 be restored as such.
7663
7664 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7665
7666 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7667 (Bug#14948)
7668
7669 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7672 `base' arg of backtrace-frame.
7673
7674 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7675
7676 * simple.el (list-processes): Doc fix.
7677
7678 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7679
7680 * desktop.el (desktop--select-frame):
7681 Try harder to reuse existing frames.
7682
7683 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7686 (edebug-eval): Use backtrace-eval.
7687 (edebug--display, edebug--recursive-edit): Don't let-bind the
7688 edebug-outer-* vars that keep track of variables we locally let-bind.
7689 (edebug-outside-excursion): Don't restore outside values of locally
7690 let-bound vars.
7691 (edebug--display): Use user-error.
7692 (cl-lexical-debug, cl-debug-env): Remove.
7693
7694 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7695
7696 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7697 are restored to be sure that they are visible before deleting any
7698 remaining ones.
7699
7700 2013-07-26 Matthias Meulien <orontee@gmail.com>
7701
7702 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7703 vc-print-root-log. (Bug#14948)
7704
7705 2013-07-26 Richard Stallman <rms@gnu.org>
7706
7707 Add aliases for encrypting mail.
7708 * epa.el (epa-mail-aliases): New option.
7709 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7710 Bind inhibit-read-only so read-only text doesn't ruin everything.
7711 (epa-mail-default-recipients): New subroutine broken out.
7712 Handle epa-mail-aliases.
7713
7714 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 Add support for lexical variables to the debugger's `e' command.
7717 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7718 vars, except for debugger-outer-match-data.
7719 (debugger-frame-number): Move check for "on a function call" from
7720 callers into it. Add `skip-base' argument.
7721 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7722 (debugger-env-macro): Only reset the state stored in non-variables,
7723 i.e. current-buffer and match-data.
7724 (debugger-eval-expression): Rewrite using backtrace-eval.
7725 * subr.el (internal--called-interactively-p--get-frame): Remove.
7726 (called-interactively-p):
7727 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7728 `base' arg of backtrace-frame instead.
7729
7730 2013-07-26 Glenn Morris <rgm@gnu.org>
7731
7732 * align.el (align-regexp): Doc fix. (Bug#14857)
7733 (align-region): Explicit error if subexpression missing/does not match.
7734
7735 * simple.el (global-visual-line-mode):
7736 Do not duplicate the mode lighter. (Bug#14858)
7737
7738 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7739
7740 * window.el (display-buffer): In display-buffer bind
7741 split-window-keep-point to t, bug#14829.
7742
7743 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7744
7745 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7746 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7747 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7748 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7749 Change accordingly.
7750 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7751 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7752
7753 2013-07-25 Glenn Morris <rgm@gnu.org>
7754
7755 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7756
7757 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7758
7759 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7760 parameter to modify-frame-parameters if the value has not changed;
7761 this is a workaround for bug#14949.
7762 (desktop--make-frame): On cl-delete-if call, check parameter name,
7763 not full parameter.
7764
7765 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7766
7767 * vc/vc.el (vc-ignore): New function.
7768
7769 * vc/vc-svn.el (vc-svn-ignore): New function.
7770
7771 * vc/vc-hg.el (vc-hg-ignore): New function.
7772
7773 * vc/vc-git.el (vc-git-ignore): New function.
7774
7775 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7776 (vc-dir-ignore): New function.
7777
7778 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7779 (cvs-append-to-ignore): Move here from pcvs.el.
7780
7781 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7782
7783 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7784
7785 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7786
7787 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7788 (desktop-restore-frames): Warn when deleting an existing frame failed.
7789
7790 2013-07-24 Glenn Morris <rgm@gnu.org>
7791
7792 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7793
7794 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7795
7796 * filenotify.el (file-notify-supported-p):
7797 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7798 Remove functions.
7799
7800 * autorevert.el (auto-revert-use-notify):
7801 (auto-revert-notify-add-watch):
7802 * net/tramp.el (tramp-file-name-for-operation):
7803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7805 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7806 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7807 Remove `file-notify-supported-p' entry.
7808
7809 2013-07-24 Glenn Morris <rgm@gnu.org>
7810
7811 * printing.el: Replace all uses of deleted ps-windows-system,
7812 ps-lp-system, ps-flatten-list with lpr- versions.
7813
7814 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7815
7816 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7817 checked with memq (bug#14935).
7818
7819 * files.el (revert-buffer-function): Use a non-nil default.
7820 (revert-buffer-preserve-modes): Declare var to
7821 provide access to the `preserve-modes' argument.
7822 (revert-buffer): Let-bind it.
7823 (revert-buffer--default): New function, extracted from revert-buffer.
7824
7825 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * lpr.el: Signal print errors more prominently.
7828 (print-region-function): Don't default to nil.
7829 (lpr-print-region): New function, extracted from print-region-1.
7830 Check lpr's return value and signal an error in case of problem.
7831 (print-region-1): Use it.
7832 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7833 versions instead.
7834 (ps-printer-name): Default to nil.
7835 (ps-printer-name-option): Default to lpr-printer-switch.
7836 (ps-print-region-function): Don't default to nil.
7837 (ps-postscript-code-directory): Simplify default.
7838 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7839 (ps-string-list, ps-eval-switch, ps-flatten-list)
7840 (ps-flatten-list-1): Remove.
7841 (ps-multibyte-buffer): Avoid setq.
7842 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7843 (print-region-function, ps-print-region-function): Don't set them here.
7844
7845 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7846
7847 * ido.el (ido-fractionp):
7848 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7849 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7850 (ido-max-directory-size, ido-max-dir-file-cache)
7851 (ido-decorations): Doc fix.
7852
7853 * ansi-color.el: Fix old URL.
7854
7855 2013-07-23 Michael R. Mauger <michael@mauger.com>
7856
7857 * progmodes/sql.el: Version 3.3
7858 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7859 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7860 (sql-interactive-remove-continuation-prompt): Rewrite, use
7861 functions above. Fix continuation prompt and complete output line
7862 handling.
7863 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7864 redirected output buffer.
7865 (sql-mode): Restore deleted code (Bug#13591).
7866
7867 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7868
7869 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7870
7871 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7872
7873 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7874
7875 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7876 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7877 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7878
7879 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * desktop.el (desktop-clear): Simplify; remove useless checks
7882 against invalid buffer names.
7883 (desktop-list*): Use cl-list*.
7884 (desktop-buffer-info, desktop-create-buffer): Simplify.
7885
7886 2013-07-23 Leo Liu <sdl.web@gmail.com>
7887
7888 * bookmark.el (bookmark-make-record): Restore NAME as a default
7889 value. (Bug#14933)
7890
7891 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7894 extracted from autoload--insert-text.
7895 (autoload--insert-text): Remove.
7896 (autoload--print-cookie-text): New function, extracted from
7897 autoload--insert-cookie-text.
7898 (autoload--insert-cookie-text): Remove.
7899 (autoload-generate-file-autoloads): Adjust calls accordingly.
7900
7901 * winner.el (winner-hook-installed-p): Remove.
7902 (winner-mode): Simplify accordingly.
7903
7904 * subr.el (add-to-list): Fix compiler-macro when `append' is
7905 not constant. Don't use `cl-member' for the base case.
7906
7907 * progmodes/subword.el: Fix boundary case (bug#13758).
7908 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7909 own group.
7910 (subword-backward-regexp): Make it a constant.
7911 (subword-forward-internal): Don't treat a trailing capital as the
7912 beginning of a word.
7913
7914 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7915
7916 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7917 global value of tabulated-list-revert-hook (bug#14930).
7918
7919 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7920
7921 * desktop.el: Require 'cl-lib.
7922 (desktop-before-saving-frames-functions): New hook.
7923 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7924 for frames being saved. Rename from desktop--save-minibuffer-frames.
7925 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7926 Do not save frames with non-nil `desktop-dont-save' parameter.
7927 Filter out deleted frames.
7928 (desktop--find-frame): Use cl-find-if.
7929 (desktop--select-frame): Use cl-(first|second|third) to access values
7930 of desktop-mini.
7931 (desktop--make-frame): Use cl-delete-if.
7932 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7933 (desktop-restore-frames): Use cl-(first|second|third) to access values
7934 of desktop-mini. Look for visible frame at the end, not while
7935 restoring frames.
7936
7937 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7938 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7939 Use string-match-p, looking-at-p (bug#14927).
7940
7941 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7942
7943 * desktop.el (desktop-saved-frame-states):
7944 Rename from desktop--saved-states; all users changed.
7945 (desktop-save-frames): Rename from desktop--save-frames.
7946 Do not save state to desktop file.
7947 (desktop-save): Save desktop-saved-frame-states to desktop file
7948 and reset to nil.
7949 (desktop-restoring-frames-p): New function.
7950 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7951 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7952 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7953
7954 * desktop.el: Correctly restore iconified frames.
7955 (desktop--filter-iconified-position): New function.
7956 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7957
7958 2013-07-20 Glenn Morris <rgm@gnu.org>
7959
7960 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7961 Let `message' do the formatting.
7962 (def-gdb-preempt-display-buffer): Add explicit format.
7963
7964 * image-dired.el (image-dired-track-original-file):
7965 Use with-current-buffer.
7966 (image-dired-track-thumbnail): Use with-current-buffer.
7967 Avoid changing point of wrong window.
7968
7969 * image-dired.el (image-dired-track-original-file):
7970 Avoid changing point of wrong window. (Bug#14909)
7971
7972 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7973
7974 * progmodes/gdb-mi.el (gdb-done-or-error):
7975 Guard against "%" in gdb output. (Bug#14127)
7976
7977 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7978
7979 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7980 (Bug#14826)
7981
7982 * international/mule.el (coding-system-iso-2022-flags): Fix last
7983 change.
7984
7985 2013-07-20 Kenichi Handa <handa@gnu.org>
7986
7987 * international/mule.el (coding-system-iso-2022-flags):
7988 Add `8-bit-level-4'. (Bug#8522)
7989
7990 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7991
7992 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7993 (bug#14815).
7994
7995 * net/eww.el (eww-process-text-input): Allow inputting when the
7996 point is at the start of the line, as the properties aren't
7997 front-sticky.
7998
7999 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8000 degenerate widths.
8001
8002 2013-07-19 Richard Stallman <rms@gnu.org>
8003
8004 * epa.el (epa-popup-info-window): Doc fix.
8005
8006 * subr.el (split-string): New arg TRIM.
8007
8008 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8009
8010 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8011 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8012
8013 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8014
8015 * filenotify.el (file-notify--library): Rename from
8016 `file-notify-support'. Do not autoload. Adapt all uses.
8017 (file-notify-supported-p): New defun.
8018
8019 * autorevert.el (auto-revert-use-notify):
8020 Use `file-notify-supported-p' instead of `file-notify-support'.
8021 Adapt docstring.
8022 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8023
8024 * net/tramp.el (tramp-file-name-for-operation):
8025 Add `file-notify-supported-p'.
8026
8027 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8028 New defun.
8029 (tramp-sh-file-name-handler-alist): Add it as handler for
8030 `file-notify-supported-p '.
8031
8032 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8033 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8034 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8035 Add `ignore' as handler for `file-notify-*' functions.
8036
8037 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8038
8039 * simple.el (line-move-partial, line-move): Don't start vscroll or
8040 scroll-up if the current line is not taller than the window.
8041 (Bug#14881)
8042
8043 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8044
8045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8046 highlight question marks in the method names as strings.
8047 (ruby-block-beg-keywords): Inline.
8048 (ruby-font-lock-keyword-beg-re): Extract from
8049 `ruby-font-lock-keywords'.
8050
8051 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8052
8053 * frame.el (blink-cursor-blinks): New defcustom.
8054 (blink-cursor-blinks-done): New defvar.
8055 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8056 (blink-cursor-timer-function): Check if number of blinks has been
8057 done on X and NS.
8058 (blink-cursor-suspend, blink-cursor-check): New defuns.
8059
8060 2013-07-15 Glenn Morris <rgm@gnu.org>
8061
8062 * edmacro.el (edmacro-format-keys): Fix previous change.
8063
8064 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8065
8066 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8067 The hack didn't work outside English locales anyway.
8068
8069 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8070
8071 * simple.el (define-alternatives): Rename from alternatives-define,
8072 per RMS' suggestion.
8073
8074 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8075
8076 * desktop.el (desktop-restore-frames): Change default to t.
8077 (desktop-restore-in-current-display): Now offer more options.
8078 (desktop-restoring-reuses-frames): New customization option.
8079 (desktop--saved-states): Doc fix.
8080 (desktop-filter-parameters-alist): New variable, renamed and expanded
8081 from desktop--excluded-frame-parameters.
8082 (desktop--target-display): New variable.
8083 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8084 (desktop--filter-tty*, desktop--filter-*-color)
8085 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8086 (desktop--filter-save-desktop-parm)
8087 (desktop-restore-in-original-display-p): New functions.
8088 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8089 (desktop--save-minibuffer-frames): New function, inspired by a similar
8090 function from Martin Rudalics.
8091 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8092 (desktop--restore-in-this-display-p): Remove.
8093 (desktop--find-frame): Rename from desktop--find-frame-in-display
8094 and add predicate argument.
8095 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8096 (desktop--reuse-list): New variable.
8097 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8098 New functions.
8099 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8100
8101 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8102
8103 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8104
8105 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8106
8107 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8108 Highlight conversion methods on Kernel.
8109
8110 2013-07-13 Alan Mackenzie <acm@muc.de>
8111
8112 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8113 and comment it out. This out-commenting enables certain C++
8114 declarations to be parsed correctly.
8115
8116 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8117
8118 * international/mule.el (define-coding-system): Doc fix.
8119
8120 * simple.el (default-font-height): Don't call font-info if the
8121 frame's default font didn't change since the frame was created.
8122 (Bug#14838)
8123
8124 2013-07-13 Leo Liu <sdl.web@gmail.com>
8125
8126 * ido.el (ido-read-file-name): Guard against non-symbol value.
8127
8128 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8129
8130 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8131 in nested defuns.
8132
8133 2013-07-13 Leo Liu <sdl.web@gmail.com>
8134
8135 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8136 ido-set-matches call. (Bug#6852)
8137
8138 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8139
8140 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8141 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8142 Ruby 2.0.
8143 (ruby-font-lock-keywords): Distinguish calls to functions with
8144 module-like names from module references. Highlight character
8145 literals.
8146
8147 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8148
8149 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8150 (gdb-send): Handle continued commands. (Bug#14847)
8151
8152 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8153
8154 * desktop.el (desktop--v2s): Remove unused local variable.
8155 (desktop-save-buffer): Make defvar-local; adjust docstring.
8156 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8157 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8158
8159 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8160
8161 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8162
8163 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8164
8165 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8166 (Bug#14842)
8167
8168 2013-07-12 Glenn Morris <rgm@gnu.org>
8169
8170 * doc-view.el: Require cl-lib at runtime too.
8171 (doc-view-remove-if): Remove.
8172 (doc-view-search-next-match, doc-view-search-previous-match):
8173 Use cl-remove-if.
8174
8175 * edmacro.el: Require cl-lib at runtime too.
8176 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8177 (edmacro-mismatch, edmacro-subseq): Remove.
8178
8179 * shadowfile.el: Require cl-lib.
8180 (shadow-remove-if): Remove.
8181 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8182 Use cl-remove-if.
8183
8184 * wid-edit.el: Require cl-lib.
8185 (widget-choose): Use cl-remove-if.
8186 (widget-remove-if): Remove.
8187
8188 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8189 (ebrowse-delete-if-not): Remove.
8190 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8191 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8192 Use cl-delete-if-not.
8193
8194 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8195
8196 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8197 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8198
8199 2013-07-12 Leo Liu <sdl.web@gmail.com>
8200
8201 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8202
8203 2013-07-11 Glenn Morris <rgm@gnu.org>
8204
8205 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8206 (edebug-gensym-index, edebug-gensym):
8207 Remove reimplementation of cl-gensym.
8208 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8209
8210 * thumbs.el: Require cl-lib at run-time too.
8211 (thumbs-gensym-counter, thumbs-gensym):
8212 Remove reimplementation of cl-gensym.
8213 (thumbs-temp-file): Use cl-gensym.
8214
8215 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8216 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8217 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8218 (ert--union, ert--gensym-counter, ert--gensym-counter)
8219 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8220 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8221 (ert-make-test-unbound, ert--expand-should-1)
8222 (ert--expand-should, ert--should-error-handle-error)
8223 (should-error, ert--explain-equal-rec)
8224 (ert--plist-difference-explanation, ert-select-tests)
8225 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8226 Use cl-lib functions rather than reimplementations.
8227
8228 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8229
8230 * net/tramp.el (tramp-methods): Extend docstring.
8231 (tramp-connection-timeout): New defcustom.
8232 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8233 (with-tramp-progress-reporter): Simplify.
8234 (tramp-process-actions): Improve messages.
8235
8236 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8237 * net/tramp-sh.el (tramp-maybe-open-connection):
8238 Use `tramp-connection-timeout'.
8239 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8240 (Bug#14808)
8241
8242 2013-07-11 Leo Liu <sdl.web@gmail.com>
8243
8244 * ido.el (ido-read-file-name): Conform to the requirements of
8245 read-file-name. (Bug#11861)
8246 (ido-read-directory-name): Conform to the requirements of
8247 read-directory-name.
8248
8249 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8250
8251 * subr.el (delay-warning): New function.
8252
8253 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8254
8255 * simple.el (default-line-height): New function.
8256 (line-move-partial, line-move): Use it instead of computing the
8257 line height inline.
8258 (line-move-partial): Always compute ROWH. If the last line is
8259 partially-visible, but its text is completely visible, allow
8260 cursor to enter such a partially-visible line.
8261
8262 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8263
8264 Improve error messages. (Bug#14808)
8265
8266 * net/tramp.el (tramp-current-connection): New defvar, moved from
8267 tramp-sh.el.
8268 (tramp-message-show-progress-reporter-message): Remove, not
8269 needed anymore.
8270 (tramp-error-with-buffer): Show message in minibuffer.
8271 Discard input before waiting. Reset connection timestamp.
8272 (with-tramp-progress-reporter): Improve messages.
8273 (tramp-process-actions): Use progress reporter. Delete process in
8274 case of error. Improve messages.
8275
8276 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8277 Call `tramp-error-with-buffer' with vector and buffer.
8278 (tramp-current-connection): Remove.
8279 (tramp-maybe-open-connection): The car of
8280 `tramp-current-connection' are the first 3 slots of the vector.
8281
8282 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8283
8284 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8285 inside continued strings.
8286
8287 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8288
8289 Timestamp fixes for undo (Bug#14824).
8290 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8291
8292 2013-07-10 Leo Liu <sdl.web@gmail.com>
8293
8294 * files.el (require-final-newline): Allow safe local value.
8295 (Bug#14834)
8296
8297 2013-07-09 Leo Liu <sdl.web@gmail.com>
8298
8299 * ido.el (ido-read-directory-name): Handle fallback.
8300 (ido-read-file-name): Update DIR to ido-current-directory.
8301 (Bug#1516)
8302 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8303
8304 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8305
8306 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8307 "autoload". Remove "warn lower camel case" section, previously
8308 commented out. Highlight negation char. Do not highlight the
8309 target in singleton method definitions.
8310
8311 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * faces.el (tty-setup-hook): Declare the hook.
8314
8315 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8316 and detect when a guard/pred depends on local vars (bug#14773).
8317 (pcase--u1): Adjust caller.
8318
8319 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8320
8321 * simple.el (line-move-partial, line-move): Account for
8322 line-spacing.
8323 (line-move-partial): Avoid setting vscroll when the last
8324 partially-visible line in window is of default height.
8325
8326 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8327
8328 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8329 been used a while.
8330
8331 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8332
8333 * subr.el (read-quoted-char): Remove unused local variable `char'.
8334
8335 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8336
8337 * ediff.el (ediff-version): Version update.
8338 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8339 (ediff-merge-with-ancestor-command, ediff-directories-command)
8340 (ediff-directories3-command, ediff-merge-directories-command)
8341 (ediff-merge-directories-with-ancestor-command): New functions.
8342 All are command-line interfaces to ediff: to facilitate calling
8343 Emacs with the appropriate ediff functions invoked.
8344
8345 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8346 (viper-save-kill-buffer): Check if buffer is modified.
8347
8348 * viper.el (viper-version): Version update.
8349 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8350
8351 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8352
8353 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8354 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8355 (viper-intercept-ESC-key): Simplify.
8356 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8357 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8358 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8359 (viper-setup-ESC-to-escape): New functions.
8360 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8361 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8362
8363 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8364
8365 * simple.el (default-font-height, window-screen-lines):
8366 New functions.
8367 (line-move, line-move-partial): Use them instead of
8368 frame-char-height and window-text-height. This makes scrolling
8369 text smoother when the buffer's default face uses a font that is
8370 different from the frame's default font.
8371
8372 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8373
8374 * files.el (write-file): Do not display confirm dialog for NS,
8375 it does its own dialog, which can't be canceled (Bug#14578).
8376
8377 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8378
8379 * simple.el (line-move-partial): Adjust the row returned by
8380 posn-at-point for the current window-vscroll. (Bug#14567)
8381
8382 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8383
8384 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8385 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8386 spaces.
8387
8388 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8389
8390 * window.el (window-state-put-stale-windows): New variable.
8391 (window--state-put-2): Save list of windows without matching buffer.
8392 (window-state-put): Remove "bufferless" windows if possible.
8393
8394 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8395
8396 * simple.el (alternatives-define): Remove leftover :group keyword.
8397 Tweak docstring.
8398
8399 2013-07-06 Leo Liu <sdl.web@gmail.com>
8400
8401 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8402 (ido-enable-virtual-buffers): New variable.
8403 (ido-buffer-internal, ido-toggle-virtual-buffers)
8404 (ido-make-buffer-list): Use it.
8405 (ido-exhibit): Support turning on and off virtual buffers
8406 automatically.
8407
8408 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8409
8410 * simple.el (alternatives-define): New macro.
8411
8412 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * subr.el (read-quoted-char): Use read-key.
8415 (sit-for): Let read-event decode tty input (bug#14782).
8416
8417 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8418
8419 * calendar/todo-mode.el: Add handling of file deletion, both by
8420 mode command and externally. Fix various related bugs.
8421 Clarify Commentary and improve some documentation strings and code.
8422 (todo-delete-file): New command.
8423 (todo-check-file): New function.
8424 (todo-show): Handle external deletion of the file we're trying to
8425 show (bug#14688). Replace called-interactively-p by an optional
8426 prefix argument to avoid problematic interaction with catch form
8427 when byte compiled (bug#14702).
8428 (todo-quit): Handle external deletion of the archive's todo file.
8429 Make sure the buffer that was visiting the archive file is still
8430 live before trying to bury it.
8431 (todo-category-completions): Handle external deletion of any
8432 category completion files.
8433 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8434 of todo files, in case of external deletion.
8435 (todo-add-file): Replace unnecessary setq by let-binding.
8436 (todo-find-archive): Check whether there are any archives.
8437 Replace unnecessary setq by let-binding.
8438 (todo-archive-done-item): Use find-file-noselect to get the
8439 archive buffer whether or not the archive already exists.
8440 Remove superfluous code. Use file size instead of buffer-file-name to
8441 check if the archive is new; if it is, update list of archives.
8442 (todo-default-todo-file): Allow nil to be a valid value for when
8443 there are no todo files.
8444 (todo-reevaluate-default-file-defcustom): Use corrected definition
8445 of todo-default-todo-file.
8446 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8447 (todo-delete-category, todo-show-categories-table)
8448 (todo-category-number): Clarify comment.
8449 (todo-filter-items): Clarify documentation string.
8450 (todo-show-current-file, todo-display-as-todo-file)
8451 (todo-reset-and-enable-done-separator): Tweak documentation string.
8452 (todo-done-separator): Make separator length window-width, since
8453 bug#2749 is now fixed.
8454
8455 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8456
8457 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8458 Support both "gvfs-monitor-dir" and "inotifywait".
8459 (tramp-sh-file-inotifywait-process-filter): Rename from
8460 `tramp-sh-file-notify-process-filter'.
8461 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8462 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8463
8464 2013-07-05 Leo Liu <sdl.web@gmail.com>
8465
8466 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8467
8468 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8469
8470 * frame.el (display-pixel-height, display-pixel-width)
8471 (display-mm-height, display-mm-width): Mention behavior on
8472 multi-monitor setups in docstrings.
8473 (w32-display-monitor-attributes-list): Declare function.
8474 (display-monitor-attributes-list): Use it.
8475
8476 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8477
8478 * filenotify.el: New package.
8479
8480 * autorevert.el (top): Require filenotify.el.
8481 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8482 instead.
8483 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8484 (auto-revert-notify-handler): Use `file-notify-*' functions.
8485
8486 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8487
8488 * net/tramp.el (tramp-file-name-for-operation):
8489 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8490
8491 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8492 for `file-notify-add-watch' and `file-notify-rm-watch'.
8493 (tramp-process-sentinel): Improve trace.
8494 (tramp-sh-handle-file-notify-add-watch)
8495 (tramp-sh-file-notify-process-filter)
8496 (tramp-sh-handle-file-notify-rm-watch)
8497 (tramp-get-remote-inotifywait): New defuns.
8498
8499 2013-07-03 Juri Linkov <juri@jurta.org>
8500
8501 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8502 call of `occur-read-primary-args' to interactive spec.
8503
8504 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8505 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8506
8507 2013-07-03 Matthias Meulien <orontee@gmail.com>
8508
8509 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8510 `Buffer-menu-multi-occur'. Add it to the menu.
8511 (Buffer-menu-mode): Document it in docstring.
8512 (Buffer-menu-multi-occur): New command. (Bug#14673)
8513
8514 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8515
8516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8517 keywords and built-ins.
8518
8519 2013-07-03 Glenn Morris <rgm@gnu.org>
8520
8521 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8522
8523 Make info-xref checks case-sensitive by default
8524 * info.el (Info-find-node, Info-find-in-tag-table)
8525 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8526 Add option for exact case matching of nodes.
8527 * info-xref.el (info-xref): New custom group.
8528 (info-xref-case-fold): New option.
8529 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8530
8531 2013-07-03 Leo Liu <sdl.web@gmail.com>
8532
8533 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8534
8535 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8536
8537 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8538 middle of block statement initially, lower the depth. Remove
8539 FIXME comment, not longer valid. Remove middle of block statement
8540 detection, no need to do that anymore since we've been using
8541 `ruby-parse-region' here.
8542
8543 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8544
8545 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8546
8547 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8548
8549 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8550
8551 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8552
8553 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8554 (desktop-restore-in-current-display): New customization option.
8555 (desktop--excluded-frame-parameters): Add `font'.
8556 (desktop--save-frames): Rename from desktop--save-windows.
8557 (desktop--restore-in-this-display-p): New function.
8558 (desktop--make-full-frame): Remove unwanted width/height from
8559 full(width|height) frames.
8560 (desktop--restore-frames): Rename from desktop--restore-windows.
8561 Obey desktop-restore-current-display. Do not delete old frames or
8562 select a new frame unless we were able to restore at least one frame.
8563
8564 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8565
8566 * files.el (find-file-noselect): Simplify conditional expression.
8567
8568 * textmodes/remember.el (remember-append-to-file):
8569 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8570
8571 Add `remember-notes' function to store random notes across Emacs
8572 restarts.
8573 * textmodes/remember.el (remember-data-file): Add :set callback to
8574 affect notes buffer (if any).
8575 (remember-notes): New command.
8576 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8577 New defcustoms for the `remember-notes' function.
8578 (remember-notes-save-and-bury-buffer): New command.
8579 (remember-notes-mode-map): New variable.
8580 (remember-mode): New minor mode.
8581 (remember-notes--kill-buffer-query): New function.
8582 * startup.el (initial-buffer-choice): Add notes to custom type.
8583
8584 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8585
8586 * bindings.el (right-char, left-char): Don't call sit-for, this is
8587 no longer needed. Use arithmetic comparison only for numerical
8588 arguments.
8589
8590 * international/mule-cmds.el (select-safe-coding-system):
8591 Handle the case of FROM being a string correctly. (Bug#14755)
8592
8593 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594
8595 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8596 progression on degenerate tables.
8597 (shr-rescale-image): ImageMagick animated images currently don't work.
8598
8599 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8600
8601 Some fixes and improvements for desktop frame restoration.
8602 It is still experimental and disabled by default.
8603 * desktop.el (desktop--save-windows): Put the selected frame at
8604 the head of the list.
8605 (desktop--make-full-frame): New function.
8606 (desktop--restore-windows): Try to re-select the frame that was
8607 selected upon saving. Do not abort if some frames fail to restore,
8608 just show an error message and continue. Set up maximized frames
8609 so they have default non-maximized dimensions.
8610
8611 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8612
8613 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8614 Don't start heredoc inside a string or comment.
8615
8616 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8617
8618 * bindings.el (visual-order-cursor-movement): New defcustom.
8619 (right-char, left-char): Provide visual-order cursor motion by
8620 calling move-point-visually. Update the doc strings.
8621
8622 2013-06-28 Kenichi Handa <handa@gnu.org>
8623
8624 * international/mule.el (define-coding-system): New coding system
8625 properties :inhibit-null-byte-detection,
8626 :inhibit-iso-escape-detection, and :prefer-utf-8.
8627 (set-buffer-file-coding-system): If :charset-list property of
8628 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8629 appropriate for setting.
8630
8631 * international/mule-cmds.el (select-safe-coding-system):
8632 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8633 multibyte characters, return utf-8 (or one of its siblings).
8634
8635 * international/mule-conf.el (prefer-utf-8): New coding system.
8636 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8637 files.
8638
8639 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8640
8641 * net/shr.el (shr-render-region): New function.
8642
8643 * net/eww.el: Autoload `eww-browse-url'.
8644
8645 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8646
8647 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8648 Adapt to `package-desc-version' being a list.
8649 Use `package--ac-desc-version' to retrieve version from a package
8650 archive element.
8651
8652 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8653
8654 New experimental feature to save&restore window and frame setup.
8655 * desktop.el (desktop-save-windows): New defcustom.
8656 (desktop--saved-states): New var.
8657 (desktop--excluded-frame-parameters): New defconst.
8658 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8659 (desktop--restore-windows, desktop--save-windows): New functions.
8660 (desktop-save): Call `desktop--save-windows'.
8661 (desktop-read): Call `desktop--restore-windows'.
8662
8663 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8664
8665 * net/shr.el (add-face-text-property): Remove compat definition.
8666
8667 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8668
8669 * info.el (Info-try-follow-nearest-node): Move search for footnote
8670 above search for node name to prevent missing a footnote (bug#14717).
8671
8672 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8673
8674 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8675
8676 2013-06-27 Leo Liu <sdl.web@gmail.com>
8677
8678 * net/eww.el (eww-read-bookmarks): Check file size.
8679
8680 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8683 advice--pending if newdef is nil or an autoload (bug#13820).
8684 (advice-mapc): New function.
8685
8686 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8687
8688 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8689 probably.
8690 (eww-mode-map): Add a menu bar.
8691 (eww-add-bookmark): New command.
8692 (eww-bookmark-mode): New mode and commands.
8693 (eww-add-bookmark): Remove newlines from the title.
8694 (eww-bookmark-browse): Don't bug out if it's the only window.
8695
8696 2013-06-26 Glenn Morris <rgm@gnu.org>
8697
8698 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8699 (hfy-size): Handle ttys. (Bug#14668)
8700
8701 * info-xref.el: Update for Texinfo 5 change in *note format.
8702 (info-xref-node-re, info-xref-note-re): New constants.
8703 (info-xref-check-buffer): Use info-xref-note-re.
8704
8705 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8708
8709 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8710 nil terminate the loop (bug#14718).
8711
8712 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8713
8714 * net/eww.el: Rework history traversal. When going forward/back,
8715 put these actions into the history, too, so that they can be
8716 replayed.
8717 (eww-render): Move the history reset to the correct buffer.
8718
8719 2013-06-25 Juri Linkov <juri@jurta.org>
8720
8721 * files-x.el (modify-dir-local-variable): Change the header comment
8722 in the file with directory local variables. (Bug#14692)
8723
8724 * files-x.el (read-file-local-variable-value): Add `default'.
8725 (Bug#14710)
8726
8727 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8728
8729 * net/eww.el (eww-make-unique-file-name): Create a unique file
8730 name before saving to entering `y' accidentally asynchronously.
8731
8732 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8733
8734 * net/eww.el (eww-download): New command and keystroke.
8735
8736 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8737
8738 * net/eww.el (eww-copy-page-url): Change name of command.
8739
8740 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8741 be more consistent with Info and dired.
8742
8743 * net/eww.el (eww-mode-map): Ditto.
8744
8745 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8748 packages from archives.
8749 (package-archive-contents): Change format; include obsolete packages.
8750 (package-desc): Use `dir' to mark builtin packages.
8751 (package--from-builtin): Set the `dir' field to `builtin'.
8752 (generated-autoload-file, version-control): Declare.
8753 (package-compute-transaction): Change first arg and return value to be
8754 lists of package-descs. Adjust to new package-archive-contents format.
8755 (package--add-to-archive-contents): Adjust to new
8756 package-archive-contents format.
8757 (package-download-transaction): Arg is now a list of package-descs.
8758 (package-install): If `pkg' is a package name, pass it as
8759 a requirement, so it is subject to the usual (e.g. disabled) checks.
8760 (describe-package): Accept package-desc as well.
8761 (describe-package-1): Describe a specific package-desc. Add links to
8762 other package-descs for the same package name.
8763 (package-menu-describe-package): Pass the actual package-desc.
8764 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8765 works correctly.
8766 (package-desc-status): New function.
8767 (package-menu--refresh): New function, extracted
8768 from package-menu--generate.
8769 (package-menu--generate): Use it.
8770 (package-delete): Update package-alist.
8771 (package-menu-execute): Don't call package-initialize.
8772
8773 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8774 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8775 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8776 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8777 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8778 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8779
8780 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8781
8782 * window.el (window--state-get-1): Workaround for bug#14527.
8783 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8784
8785 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8786
8787 * net/eww.el (eww-back-url): Implement the history by stashing all
8788 the data into a list.
8789 (eww-forward-url): Allow going forward in the history, too.
8790
8791 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8794 for values and use read--expression for expressions (bug#14710).
8795 (read-file-local-variable): Avoid setq.
8796 (read-file-local-variable-mode): Use minor-mode-list.
8797
8798 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8799
8800 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8801 for DOI URLs.
8802
8803 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8804
8805 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8806 Update imenu-support when dialect changes.
8807
8808 2013-06-25 Leo Liu <sdl.web@gmail.com>
8809
8810 * ido.el (ido-read-internal): Allow forward slash on windows.
8811
8812 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8813
8814 * net/eww.el (eww): Start of strings is \\`, not ^.
8815
8816 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8817
8818 * net/shr.el (shr-browse-url): Fix interactive spec.
8819
8820 * net/eww.el (eww): Add a trailing slash to domain names.
8821
8822 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8823
8824 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8825
8826 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8827
8828 * net/shr.el (shr-browse-url): Use an external browser if given a
8829 prefix.
8830
8831 * net/eww.el (eww-external-browser): Move to shr.
8832
8833 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8834
8835 * net/eww.el (eww): Work more correctly for file: URLs.
8836 (eww-detect-charset): Allow quoted charsets.
8837 (eww-yank-page-url): New command and keystroke.
8838
8839 2013-06-24 Daiki Ueno <ueno@gnu.org>
8840
8841 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8842 file name of gpg executable.
8843 (epg-context-program): New function.
8844 (epg-context-home-directory): New function.
8845 (epg-context-set-program): New function.
8846 (epg-context-set-home-directory): New function.
8847 (epg--start): Use `epg-context-program' instead of
8848 'epg-gpg-program'.
8849 (epg--list-keys-1): Likewise.
8850
8851 2013-06-24 Leo Liu <sdl.web@gmail.com>
8852
8853 * ido.el (ido-read-internal): Fix bug#14620.
8854
8855 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8856
8857 * faces.el (face-documentation): Simplify.
8858 (read-face-attribute, tty-find-type, x-resolve-font-name):
8859 Use `string-match-p'.
8860 (list-faces-display): Use `string-match-p'. Simplify.
8861 (face-spec-recalc): Check face to avoid face alias loops.
8862 (read-color): Use `string-match-p' and non-capturing parenthesis.
8863
8864 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8865
8866 * net/shr.el (shr-rescale-image): Use the new
8867 :max-width/:max-height functionality.
8868
8869 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8870
8871 * net/eww.el (eww-search-prefix): New variable.
8872 (eww): Use it.
8873 (eww-external-browser): New variable.
8874 (eww-mode-map): New keystroke.
8875 (eww-browse-with-external-browser): New command.
8876
8877 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8878
8879 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8880
8881 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8882 Don't skip aligning the next header field when padding is 0;
8883 otherwise, field width is not respected unless the title is as
8884 wide as the field.
8885
8886 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * emacs-lisp/package.el (package-el-version): Remove.
8889 (package-process-define-package): Fix inf-loop.
8890 (package-install): Allow symbols as arguments again.
8891
8892 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8893
8894 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8895 add some more keyword-like methods.
8896 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8897
8898 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8899
8900 * bs.el (bs-buffer-show-mark): Make defvar-local.
8901 (bs-mode): Use setq-local.
8902
8903 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8904 (emacs-lock--try-unlocking): Make defvar-local.
8905
8906 2013-06-22 Glenn Morris <rgm@gnu.org>
8907
8908 * play/cookie1.el (cookie-apropos): Minor simplification.
8909
8910 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8911
8912 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8913
8914 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8915 `regexp-opt', it breaks the build during dumping.
8916
8917 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8918
8919 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8920 Highlight keyword-like methods on Kernel and Module with
8921 font-lock-builtin-face.
8922 (auto-mode-alist): Consolidate different entries into one regexp
8923 and add more *file-s.
8924
8925 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8926
8927 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8928
8929 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8930 (diary-entry): Use it in the action of this button type instead of
8931 diary-goto-entry.
8932
8933 * calendar/todo-mode.el: New version.
8934 (todo-add-category): Append new category to end of file and give
8935 it the highest number, instead of putting it at the beginning and
8936 giving it 0. Incorporate noninteractive functionality.
8937 (todo-forward-category): Adapt to 1-based category numbering.
8938 Allow skipping over archived categories.
8939 (todo-backward-category): Derive from todo-forward-category.
8940 (todo-backward-item, todo-forward-item): Make noninteractive and
8941 delegate interactive part to new commands. Make sensitive to done items.
8942 (todo-categories): Make value an alist of category names and
8943 vectors of item counts.
8944 (todo-category-beg): Make a defconst.
8945 (todo-category-number): Use 1 instead of 0 as initial value.
8946 (todo-category-select): Make sensitive to overlays, optional item
8947 highlighting and done items.
8948 (todo-delete-item): Make sensitive to overlays and marked and done items.
8949 (todo-edit-item): Make sensitive to overlays and editing of
8950 date/time header optional. Add format checks.
8951 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8952 no-op if point is not on an item. Advertise using todo-edit-quit.
8953 (todo-edit-mode): Make sensitive to new format, font-locking, and
8954 multiple todo files.
8955 (todo-insert-item, todo-insert-item-here): Derive from
8956 todo-basic-insert-item and extend functionality.
8957 (todo-item-end, todo-item-start): Make sensitive to done items.
8958 (todo-item-string): Don't return text properties. Restore point.
8959 (todo-jump-to-category): Make sensitive to multiple todo files and
8960 todo archives. Use extended category completion.
8961 (todo-lower-item, todo-raise-item): Rename to *-priority and
8962 derive from todo-set-item-priority.
8963 (todo-mode): Derive from special-mode. Make sensitive to new
8964 format, font-locking and multiple todo files. Make read-only.
8965 (todo-mode-map): Don't suppress digit keys, so they can supply
8966 prefix arguments. Add many new key bindings.
8967 (todo-prefix): Insert as an overlay instead of file text.
8968 Change semantics from diary date expression to purely visual mark.
8969 (todo-print): Rename to todo-print-buffer. Make buffer display
8970 features printable. Remove option to restrict number of items
8971 printed. Add option to print to file.
8972 (todo-print-function): Rename to todo-print-buffer-function.
8973 (todo-quit): Extend to handle exiting new todo modes.
8974 (todo-remove-item): Make sensitive to overlays.
8975 (todo-save): Extend to buffers of filtered items.
8976 (todo-show): Make sensitive to done items, multiple todo files and
8977 new todo modes. Offer to convert legacy todo file before creating
8978 first new todo file.
8979 (todo-show-priorities): Rename to todo-top-priorities.
8980 Change semantics of value 0.
8981 (todo-top-priorities): Rename to todo-filter-top-priorities,
8982 derive from todo-filter-items and extend functionality.
8983 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8984 and extend functionality to other types of filtered items.
8985 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8986 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8987 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8988 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8989 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8990 (todo-edit-mode-hook, todo-entry-prefix-function)
8991 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8992 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8993 (todo-initials, todo-insert-threshold, todo-item-string-start)
8994 (todo-line-string, todo-menu, todo-mode-hook)
8995 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8996 (todo-print-priorities, todo-remove-separator)
8997 (todo-save-top-priorities-too, todo-string-count-lines)
8998 (todo-string-multiline-p, todo-time-string-format)
8999 (todo-tmp-buffer-name): Remove.
9000 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9001 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9002 (todo-edit-category-diary-inclusion)
9003 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9004 (todo-edit-file, todo-edit-item-date-day)
9005 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9006 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9007 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9008 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9009 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9010 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9011 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9012 (todo-filter-top-priorities-multifile, todo-find-archive)
9013 (todo-find-filtered-items-file, todo-go-to-source-item)
9014 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9015 (todo-jump-to-archive-category, todo-lower-category)
9016 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9017 (todo-move-category, todo-move-item, todo-next-button)
9018 (todo-next-item, todo-padded-string, todo-powerset)
9019 (todo-previous-button, todo-previous-item)
9020 (todo-print-buffer-to-file, todo-raise-category)
9021 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9022 (todo-set-category-number, todo-set-item-priority)
9023 (todo-set-top-priorities-in-category)
9024 (todo-set-top-priorities-in-file, todo-show-categories-table)
9025 (todo-sort-categories-alphabetically-or-numerically)
9026 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9027 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9028 (todo-toggle-item-header, todo-toggle-item-highlighting)
9029 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9030 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9031 (todo-unarchive-items, todo-unmark-category): New commands.
9032 (todo-absolute-file-name, todo-add-to-buffer-list)
9033 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9034 (todo-basic-insert-item, todo-category-completions)
9035 (todo-category-number, todo-category-string-matcher-1)
9036 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9037 (todo-check-format, todo-clear-matches)
9038 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9039 (todo-current-category, todo-date-string-matcher)
9040 (todo-define-insertion-command, todo-diary-expired-matcher)
9041 (todo-diary-goto-entry, todo-diary-item-p)
9042 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9043 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9044 (todo-done-item-section-p, todo-done-separator)
9045 (todo-done-string-matcher, todo-files, todo-filter-items)
9046 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9047 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9048 (todo-insert-category-line, todo-insert-item-from-calendar)
9049 (todo-insert-sort-button, todo-insert-with-overlays)
9050 (todo-insertion-command-name, todo-insertion-key-bindings)
9051 (todo-label-to-key, todo-longest-category-name-length)
9052 (todo-make-categories-list, todo-mode-external-set)
9053 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9054 (todo-modes-set-3, todo-multiple-filter-files)
9055 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9056 (todo-read-category, todo-read-date, todo-read-dayname)
9057 (todo-read-file-name, todo-read-time)
9058 (todo-reevaluate-category-completions-files-defcustom)
9059 (todo-reevaluate-default-file-defcustom)
9060 (todo-reevaluate-filelist-defcustoms)
9061 (todo-reevaluate-filter-files-defcustom)
9062 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9063 (todo-reset-done-separator, todo-reset-done-separator-string)
9064 (todo-reset-done-string, todo-reset-global-current-todo-file)
9065 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9066 (todo-reset-prefix, todo-set-categories)
9067 (todo-set-date-from-calendar, todo-set-show-current-file)
9068 (todo-set-top-priorities, todo-short-file-name)
9069 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9070 (todo-total-item-counts, todo-update-buffer-list)
9071 (todo-update-categories-display, todo-update-categories-sexp)
9072 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9073 New functions.
9074 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9075 New major modes.
9076 (todo-categories, todo-display, todo-edit, todo-faces)
9077 (todo-filtered): New defgroups.
9078 (todo-archived-only, todo-button, todo-category-string, todo-date)
9079 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9080 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9081 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9082 (todo-add-item-if-new-category, todo-always-add-time-string)
9083 (todo-categories-align, todo-categories-archived-label)
9084 (todo-categories-category-label, todo-categories-diary-label)
9085 (todo-categories-done-label, todo-categories-number-separator)
9086 (todo-categories-todo-label, todo-categories-totals-label)
9087 (todo-category-completions-files, todo-completion-ignore-case)
9088 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9089 (todo-done-separator-string, todo-done-string)
9090 (todo-files-function, todo-filter-done-items, todo-filter-files)
9091 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9092 (todo-initial-category, todo-initial-file, todo-item-mark)
9093 (todo-legacy-date-time-regexp, todo-mode-line-function)
9094 (todo-nondiary-marker, todo-number-prefix)
9095 (todo-print-buffer-function, todo-show-current-file)
9096 (todo-show-done-only, todo-show-first, todo-show-with-done)
9097 (todo-skip-archived-categories, todo-top-priorities-overrides)
9098 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9099 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9100 New defcustoms.
9101 (todo-category-done, todo-date-pattern, todo-date-string-start)
9102 (todo-diary-items-buffer, todo-done-string-start)
9103 (todo-filtered-items-buffer, todo-item-start)
9104 (todo-month-abbrev-array, todo-month-name-array)
9105 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9106 (todo-top-priorities-buffer): New defconsts.
9107 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9108 (todo-categories-with-marks, todo-category-string-face)
9109 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9110 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9111 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9112 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9113 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9114 (todo-font-lock-keywords, todo-global-current-todo-file)
9115 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9116 (todo-insertion-commands-args)
9117 (todo-insertion-commands-args-genlist)
9118 (todo-insertion-commands-names, todo-insertion-map)
9119 (todo-key-bindings-t, todo-key-bindings-t+a)
9120 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9121 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9122 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9123 (todo-visited): New variables.
9124
9125 2013-06-21 Glenn Morris <rgm@gnu.org>
9126
9127 * play/cookie1.el (cookie-apropos): Add optional display argument.
9128 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9129 (psychoanalyze-pinhead): Use cookie-doctor.
9130
9131 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9132
9133 * emacs-lisp/package.el (tar-get-file-descriptor)
9134 (tar--extract): Declare.
9135
9136 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9137
9138 Extend flymake's warning predicate to be a function (bug#14217).
9139 * progmodes/flymake.el (flymake-warning-predicate): New.
9140 (flymake-parse-line): Use it.
9141 (flymake-warning-re): Make obsolete alias to
9142 `flymake-warning-predicate'.
9143
9144 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9147 (package-obsolete-list): Remove.
9148 (package-activate): Remove min-version argument. Add `force' argument.
9149 Adjust to new package-alist format.
9150 (package-mark-obsolete): Remove.
9151 (package-unpack): Force reload of the package's autoloads.
9152 (package-installed-p): Check builtins if the installed package is not
9153 recent enough.
9154 (package-initialize): Don't reset package-obsolete-list.
9155 Don't specify which package version to activate.
9156 (package-process-define-package, describe-package-1)
9157 (package-menu--generate): Adjust to new package-alist format.
9158
9159 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9160
9161 * allout-widgets.el (allout-widgets-mode-off)
9162 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9163 (allout-widgets-post-command-business)
9164 (allout-widgets-after-copy-or-kill-function)
9165 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9166 (allout-decorate-item-and-context)
9167 (allout-graphics-modification-handler): Fix typos in docstrings.
9168 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9169
9170 * cmuscheme.el (scheme-start-file): Doc fix.
9171 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9172 (scheme-input-filter): Use `string-match-p'.
9173
9174 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9175
9176 * dired-x.el: Use Dired consistently in docstrings.
9177
9178 * dired.el: Use Dired consistently in docstrings.
9179 (dired-readin, dired-mode): Use `setq-local'.
9180 (dired-switches-alist): Make defvar-local.
9181 (dired-buffers-for-dir): Use `zerop'.
9182 (dired-safe-switches-p, dired-switches-escape-p)
9183 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9184 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9185 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9186 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9187 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9188 (dired-toggle-marks, dired-mark-files-containing-regexp)
9189 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9190 (dired-flag-auto-save-files, dired-flag-backup-files):
9191 Use `looking-at-p'.
9192 (dired-mark-files-regexp, dired-build-subdir-alist):
9193 Use `string-match-p', `looking-at-p'.
9194
9195 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9196 (direct-print-region-helper): Use `string-match-p'.
9197
9198 2013-06-21 Leo Liu <sdl.web@gmail.com>
9199
9200 * comint.el (comint-redirect-results-list-from-process):
9201 Fix infinite loop.
9202
9203 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9204
9205 * net/eww.el (eww-update-header-line-format): Quote % characters.
9206
9207 2013-06-21 Glenn Morris <rgm@gnu.org>
9208
9209 * play/cookie1.el (cookie): New custom group.
9210 (cookie-file): New option.
9211 (cookie-check-file): New function.
9212 (cookie): Make it interactive. Make start and end messages optional.
9213 Interactively, display the result. Default to cookie-file.
9214 (cookie-insert): Default to cookie-file.
9215 (cookie-snarf): Make start and end messages optional.
9216 Default to cookie-file. Use with-temp-buffer.
9217 (cookie-read): Rename from read-cookie.
9218 Make start and end messages optional. Default to cookie-file.
9219 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9220 Do not autoload it.
9221 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9222 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9223
9224 2013-06-21 Leo Liu <sdl.web@gmail.com>
9225
9226 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9227
9228 2013-06-21 Glenn Morris <rgm@gnu.org>
9229
9230 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9231
9232 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9233 Daniel Hackney <dan@haxney.org>
9234
9235 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9236 Consolidate the single-file vs tarball code.
9237 (package-desc-suffix): New function.
9238 (package-desc-full-name): Don't bother inlining it.
9239 (package-load-descriptor): Return the new package-desc.
9240 (package-mark-obsolete): Remove unused arg `package'.
9241 (package-unpack): Make it work for single files as well.
9242 Make it update package-alist.
9243 (package--make-autoloads-and-stuff): Rename from
9244 package--make-autoloads-and-compile. Don't compile any more.
9245 (package--compile): New function.
9246 (package-generate-description-file): New function, extracted from
9247 package-unpack-single.
9248 (package-unpack-single): Remove.
9249 (package--with-work-buffer): Add indentation and debugging info.
9250 (package-download-single): Remove.
9251 (package-install-from-archive): Rename from package-download-tar, make
9252 it take a pkg-desc, and make it work for single files as well.
9253 (package-download-transaction): Simplify.
9254 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9255 external tar program.
9256 (package-install-from-buffer): Remove `pkg-desc' argument.
9257 Use package-tar-file-info for tar-mode buffers.
9258 (package-install-file): Simplify accordingly.
9259 (package-archive-base): Change to take a pkg-desc.
9260 * tar-mode.el (tar--check-descriptor): New function, extracted from
9261 tar-get-descriptor.
9262 (tar-get-descriptor): Use it.
9263 (tar-get-file-descriptor): New function.
9264 (tar--extract): New function, extracted from tar-extract.
9265 (tar--extract): Use it.
9266 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9267 case the summary uses non-ascii. Adjust to new calling convention of
9268 package-tar-file-info.
9269
9270 2013-06-21 Leo Liu <sdl.web@gmail.com>
9271
9272 * comint.el (comint-redirect-results-list-from-process):
9273 Fix random delay. (Bug#14681)
9274
9275 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9276
9277 * profiler.el (profiler-format-number): Use log, not log10.
9278
9279 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9280
9281 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9282
9283 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9286 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9287 yet available.
9288 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9289 (AUTOGENEL): ... here.
9290 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9291 (cl--defsubst-expand): Use it.
9292
9293 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9294
9295 * subr.el (log10): Move here from C code, and declare as obsolete.
9296 All uses of (log10 X) replaced with (log X 10).
9297
9298 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9301 Declare with `defvar-local'.
9302 (tabulated-list-use-header-line, tabulated-list-entries)
9303 (tabulated-list-padding, tabulated-list-printer)
9304 (tabulated-list-sort-key): Declare with `defvar-local'.
9305 (tabulated-list-init-header, tabulated-list-print-fake-header):
9306 Use `setq-local'.
9307
9308 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9309
9310 * arc-mode.el (archive-mode): Add `archive-write-file' to
9311 `write-contents-functions' also for remote files. (Bug#14652)
9312
9313 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9314
9315 * cus-edit.el (custom-commands): Fix typos.
9316 (custom-display): Fix tooltip text.
9317 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9318 Fix typos in docstrings.
9319 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9320 (custom-unlispify-menu-entry, custom-magic-value-create)
9321 (custom-add-see-also, custom-group-value-create): Use ?\s.
9322 (custom-guess-type, customize-apropos, editable-field)
9323 (custom-face-value-create): Use `string-match-p'.
9324 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9325
9326 * custom.el (custom-load-symbol): Use `string-match-p'.
9327
9328 * ansi-color.el: Convert to lexical binding.
9329 (ansi-colors): Fix URL.
9330 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9331 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9332 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9333
9334 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9335
9336 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9337
9338 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9339
9340 2013-06-19 Tom Tromey <tromey@redhat.com>
9341
9342 * net/eww.el (eww-top-url): Remove.
9343 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9344 (eww-render): Set new variables. Don't set eww-top-url.
9345 (eww-handle-link): Handle "prev", "home", and "contents".
9346 Downcase the rel text.
9347 (eww-top-url): Choose best top URL.
9348
9349 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350
9351 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9352 relying in widget.el. Using widget.el leads to too many
9353 user interface inconsistencies.
9354 (eww-self-insert): Implement entering commands in text fields.
9355 (eww-process-text-input): New function to make text input field editing
9356 work.
9357 (eww-submit): Rewrite to use the new-style form methods.
9358 (eww-select-display): Display the correct selected item.
9359 (eww-change-select): Implement changing the select value.
9360 (eww-toggle-checkbox): Implement radio/checkboxes.
9361 (eww-update-field): Fix compilation error.
9362 (eww-tag-textarea): Implement <textarea>.
9363
9364 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9365 we don't shadow mode-specific bindings.
9366
9367 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9368 nothing to push.
9369
9370 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9371
9372 2013-06-19 Glenn Morris <rgm@gnu.org>
9373
9374 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9375
9376 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9377
9378 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9379 not needed.
9380
9381 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9382
9383 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9384
9385 * net/browse-url.el (browse-url-browser-function):
9386 `eww-browse-url' has the right calling signature, `eww' does not.
9387
9388 2013-06-19 Glenn Morris <rgm@gnu.org>
9389
9390 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9391 Only eval autoloaded macros.
9392 (byte-compile-autoload): Only give the macro warning for macros.
9393
9394 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9395 (ps-underlined-faces): Declare.
9396
9397 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9398 (speedbar-add-supported-extension): Declare.
9399
9400 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9401 Don't include a date stamp in the header of the generated file;
9402 it leads to needless differences between output files.
9403
9404 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9405
9406 * net/secrets.el (secrets-struct-secret-content-type):
9407 Replace check of introspection data by a test call of "CreateItem".
9408 Some servers do not offer introspection.
9409
9410 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * electric.el (electric-pair-mode): Improve interaction with
9413 electric-layout-mode.
9414 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9415 (electric-pair-syntax): Use text-mode-syntax-table in comments
9416 and strings.
9417 (electric-pair--insert): New function.
9418 (electric-pair-post-self-insert-function): Use it and
9419 electric--after-char-pos.
9420
9421 2013-06-19 Leo Liu <sdl.web@gmail.com>
9422
9423 * progmodes/octave.el (octave-help): Fix regexp.
9424
9425 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426
9427 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9428 (shr-table-horizontal-line): Allow nil as a value, and change the
9429 default.
9430 (shr-insert-table-ruler): Respect the nil value.
9431
9432 2013-06-18 Tom Tromey <tromey@barimba>
9433
9434 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9435 New defvars.
9436 (eww-open-file): New defun.
9437 (eww-render): Initialize new variables.
9438 (eww-display-html): Handle "link" and "a".
9439 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9440 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9441 (eww-back-url): Rename from eww-previous-url.
9442 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9443 New defuns.
9444
9445 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9446
9447 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9448 Distinguish ternary operator tokens from slash symbol and slash
9449 char literal.
9450
9451 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9452
9453 Convert symbol prettification into minor mode and global minor mode.
9454
9455 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9456 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9457 (prettify-symbols--keywords): Rename from
9458 `prog-prettify-symbols-alist' and make a local defvar.
9459 (prettify-symbols--compose-symbol): Rename from
9460 `prog--prettify-font-lock-compose-symbol'.
9461 (prettify-symbols--make-keywords): Rename from
9462 `prog-prettify-font-lock-symbols-keywords' and simplify.
9463 (prog-prettify-install): Remove.
9464 (prettify-symbols-mode): New minor mode, based on
9465 `prog-prettify-install'.
9466 (turn-on-prettify-symbols-mode): New function.
9467 (global-prettify-symbols-mode): New globalized minor mode.
9468
9469 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9470 * progmodes/cfengine.el (cfengine3-mode):
9471 * progmodes/perl-mode.el (perl-mode): Don't call
9472 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9473
9474 2013-06-18 Juri Linkov <juri@jurta.org>
9475
9476 * files-x.el (modify-file-local-variable-message): New function.
9477 (modify-file-local-variable)
9478 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9479 and call `modify-file-local-variable-message' when it's non-nil.
9480 (add-file-local-variable, delete-file-local-variable)
9481 (add-file-local-variable-prop-line)
9482 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9483 and use it. (Bug#9820)
9484
9485 2013-06-18 Juri Linkov <juri@jurta.org>
9486
9487 * emulation/vi.el (vi-shell-op):
9488 * emulation/vip.el (vip-execute-com, ex-command):
9489 * emulation/viper-cmd.el (viper-exec-bang):
9490 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9491 the call of `shell-command-on-region'. (Bug#14637)
9492
9493 * simple.el (shell-command-on-region): Doc fix.
9494
9495 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9496
9497 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9498 (bug#14633).
9499
9500 2013-06-18 Glenn Morris <rgm@gnu.org>
9501
9502 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9503
9504 * newcomment.el (comment-search-forward, comment-search-backward):
9505 Doc fix. (Bug#14376)
9506
9507 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9508
9509 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9510 (buffer-face-mode-invoke): Doc fix.
9511
9512 2013-06-18 Matthias Meulien <orontee@gmail.com>
9513
9514 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9515 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9516
9517 2013-06-18 Glenn Morris <rgm@gnu.org>
9518
9519 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9520 Replace obsolete function generic-make-keywords with its expansion.
9521
9522 * progmodes/python.el (ffap-alist): Declare.
9523
9524 * textmodes/reftex.el (bibtex-mode-map): Declare.
9525
9526 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9529 (package-unpack, package-unpack-single): Return the pkg-dir.
9530 (package-download-transaction): Use it to update package-alist.
9531
9532 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9533
9534 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9535 possible choice.
9536
9537 2013-06-17 Juri Linkov <juri@jurta.org>
9538
9539 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9540
9541 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9542
9543 * emacs-lisp/package.el (package-load-descriptor):
9544 Remove `with-syntax-table' call, `read' doesn't need it.
9545 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9546
9547 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9548
9549 * startup.el (command-line): Expand package name returned by
9550 `package--description-file' (bug#14639).
9551
9552 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9553
9554 * emacs-lisp/package.el (package-load-descriptor): Do not call
9555 `emacs-lisp-mode', just use its syntax table.
9556
9557 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9558
9559 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9560 `font-lock-extra-managed-props' if any prettifying keyword is added.
9561 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9562 (prog-mode): Use `setq-local'.
9563
9564 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * international/characters.el (standard-case-table): Set syntax of ?»
9567 and ?« to punctuation.
9568
9569 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9570
9571 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9572 Save relevant match data before calling `syntax-ppss' (bug#14595).
9573
9574 2013-06-15 Juri Linkov <juri@jurta.org>
9575
9576 * files-x.el (modify-file-local-variable-prop-line): Add local
9577 variables to the end of the existing comment on the first line.
9578 Use `file-auto-mode-skip' to skip interpreter magic line,
9579 and also skip XML declaration.
9580
9581 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * startup.el (package--builtin-versions): New var.
9584 (package-subdirectory-regexp): Remove.
9585 (package--description-file): Hard code its value instead.
9586
9587 * emacs-lisp/package.el: Don't activate packages older than builtin.
9588 (package-obsolete-list): Rename from package-obsolete-alist, and make
9589 it into a simple list of package-desc.
9590 (package-strip-version): Remove.
9591 (package-built-in-p): Use package--builtin-versions.
9592 (package-mark-obsolete): Simplify.
9593 (package-process-define-package): Mark it obsolete if older than the
9594 builtin version.
9595 (package-handle-response): Use line-end-position.
9596 (package-read-archive-contents, package--download-one-archive):
9597 Simplify.
9598 (package--add-to-archive-contents): Skip if older than the builtin or
9599 installed version.
9600 (package-menu-describe-package): Fix last change.
9601 (package-list-unversioned): New var.
9602 (package-menu--generate): Use it.
9603
9604 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9605 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9606 (autoload-builtin-package-versions): New variable.
9607 (autoload-generate-file-autoloads): Use them.
9608 Remove the list of autoloaded functions/macros from the
9609 (autoload...) comments.
9610
9611 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9612
9613 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9614
9615 * simple.el (line-move-partial): Don't jump to the next screen
9616 line as soon as it becomes visible. Instead, continue enlarging
9617 the vscroll until the portion of a tall screen line that's left on
9618 display is about the height of the frame's default font.
9619 (Bug#14567)
9620
9621 2013-06-15 Glenn Morris <rgm@gnu.org>
9622
9623 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9624 compilation-error-regexp-alist void, or local while let-bound.
9625
9626 * progmodes/make-mode.el (makefile-mode-syntax-table):
9627 Treat "=" as punctuation. (Bug#14614)
9628
9629 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9630
9631 * help-fns.el (describe-variable):
9632 Add extra line for permanent-local variables.
9633
9634 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9635
9636 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9637 Add export, import, library. (Bug#9164)
9638 (library): Set indent function.
9639
9640 2013-06-14 Glenn Morris <rgm@gnu.org>
9641
9642 * term/xterm.el (xterm--query):
9643 Stop after first matching handler. (Bug#14615)
9644
9645 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9646
9647 Add support for dired in saveplace.
9648 * dired.el (dired-initial-position-hook): New variable.
9649 (dired-initial-position): Call hook to place cursor position.
9650 * saveplace.el (save-place-to-alist): Add dired position.
9651 (save-place-dired-hook): New function.
9652
9653 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9656 through a symbol rather than letrec.
9657
9658 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9659 (package-desc): Add `dir' field.
9660 (package-desc-full-name): New function.
9661 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9662 (package-maybe-load-descriptor): Remove.
9663 (package-load-all-descriptors): Just call package-load-descriptor.
9664 (package--disabled-p): New function.
9665 (package-desc-vers, package-desc-doc): Remove aliases.
9666 (package--dir): Remove function.
9667 (package-activate): Check if a package is disabled.
9668 (package-process-define-package): New function, extracted from
9669 define-package.
9670 (define-package): Turn into a place holder.
9671 (package-unpack-single, package-tar-file-info):
9672 Use package--description-file.
9673 (package-compute-transaction): Use package--disabled-p.
9674 (package-download-transaction): Don't call
9675 package-maybe-load-descriptor since they're all loaded anyway.
9676 (package-install): Change argument to be a pkg-desc.
9677 (package-delete): Use a single pkg-desc argument.
9678 (describe-package-1): Use package-desc-dir instead of package--dir.
9679 Use package-desc property instead of package-symbol.
9680 (package-install-button-action): Adjust accordingly.
9681 (package--push): Rewrite.
9682 (package-menu--print-info): Adjust accordingly. Change the ID format
9683 to be a pkg-desc.
9684 (package-menu-describe-package, package-menu-get-status)
9685 (package-menu--find-upgrades, package-menu-mark-upgrades)
9686 (package-menu-execute, package-menu--name-predicate):
9687 Adjust accordingly.
9688 * startup.el (package--description-file): New function.
9689 (command-line): Use it.
9690 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9691 Use package-desc-version.
9692
9693 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9694 (byte-compile-preprocess): Use it.
9695 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9696 can't quite recognize.
9697 (byte-compile-add-to-list): Remove.
9698 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9699 (cconv-closure-convert): Add assertion.
9700
9701 * emacs-lisp/map-ynp.el: Use lexical-binding.
9702 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9703 Factor out some repeated code.
9704
9705 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * subr.el (with-eval-after-load): New macro.
9708 (eval-after-load): Allow form to be a function.
9709 take advantage of lexical-binding.
9710 (do-after-load-evaluation): Use dolist and adjust to new format.
9711 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9712
9713 2013-06-13 Juri Linkov <juri@jurta.org>
9714
9715 * replace.el (perform-replace): Display "symbol " and other search
9716 modes from `isearch-message-prefix' in the *Help* buffer.
9717
9718 * isearch.el (isearch-query-replace): Add " symbol" and other
9719 possible search modes from `isearch-message-prefix' to the prompt.
9720 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9721 when reading a regexp to collect.
9722
9723 2013-06-13 Juri Linkov <juri@jurta.org>
9724
9725 * isearch.el (word-search-regexp): Match whitespace if the search
9726 string begins or ends in whitespace. The LAX arg is applied to
9727 both ends of the search string. Use `regexp-quote' and explicit
9728 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9729 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9730 boundaries are replaced with symbol boundaries, and characters
9731 between symbols match non-word non-symbol syntax. (Bug#14602)
9732
9733 2013-06-13 Juri Linkov <juri@jurta.org>
9734
9735 * isearch.el (isearch-del-char): Don't exceed the length of
9736 `isearch-string' by the prefix arg. (Bug#14563)
9737
9738 2013-06-13 Juri Linkov <juri@jurta.org>
9739
9740 * isearch.el (isearch-yank-word, isearch-yank-line)
9741 (isearch-char-by-name, isearch-quote-char)
9742 (isearch-printing-char, isearch-process-search-char):
9743 Add optional count prefix arg. (Bug#14563)
9744
9745 * international/isearch-x.el
9746 (isearch-process-search-multibyte-characters):
9747 Add optional count prefix arg.
9748
9749 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9752 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9753 lexical-binding.
9754
9755 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9756
9757 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9758
9759 2013-06-13 Glenn Morris <rgm@gnu.org>
9760
9761 * startup.el (tty-handle-args):
9762 Don't just discard "--" and anything after. (Bug#14608)
9763
9764 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9765
9766 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9767
9768 Implement changes in Secret Service API. Make it backward compatible.
9769 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9770 (secrets-create-item): Use it. Prefix properties with interface.
9771
9772 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9773
9774 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9775 (term-emulate-terminal): Respect term-suppress-hard-newline.
9776
9777 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9778
9779 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9780 Only remove a `thumb-file' overlay. (Bug#14548)
9781
9782 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9783
9784 * mail/reporter.el (reporter-submit-bug-report):
9785 Handle missing package-name. (Bug#14600)
9786
9787 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9788
9789 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9790 (reftex-citation-prompt, reftex-default-bibliography)
9791 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9792 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9793 (reftex-bib-sort-author, reftex-bib-sort-year)
9794 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9795 (reftex-extract-bib-entries-from-thebibliography)
9796 (reftex-get-bibkey-default, reftex-get-bib-names)
9797 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9798 (reftex-format-bib-entry, reftex-parse-bibitem)
9799 (reftex-format-bibitem, reftex-do-citation)
9800 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9801 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9802 (reftex-insert-bib-matches, reftex-format-citation)
9803 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9804 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9805 existing comments into docstrings.
9806
9807 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9808
9809 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9810
9811 2013-06-12 Andreas Schwab <schwab@suse.de>
9812
9813 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9814 for auto-save files.
9815
9816 2013-06-12 Glenn Morris <rgm@gnu.org>
9817
9818 * ido.el (ido-delete-ignored-files): Remove.
9819 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9820 Go back to calling ido-ignore-item-p directly.
9821
9822 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9823
9824 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9825
9826 * ido.el (ido-delete-ignored-files): New function,
9827 split from ido-make-file-list-1.
9828 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9829 (ido-make-file-list-1): Use ido-delete-ignored-files.
9830
9831 2013-06-12 Leo Liu <sdl.web@gmail.com>
9832
9833 * progmodes/octave.el (inferior-octave-startup)
9834 (inferior-octave-completion-table)
9835 (inferior-octave-track-window-width-change)
9836 (octave-eldoc-function-signatures, octave-help)
9837 (octave-find-definition): Use single quoted strings.
9838 (inferior-octave-startup-args): Change default value.
9839 (inferior-octave-startup): Do not hard code "-i" and
9840 "--no-line-editing".
9841 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9842 (inferior-octave-directory-tracker): Use it.
9843 (octave-goto-function-definition): Robustify.
9844 (octave-help): Support highlighting operators in 'See also'.
9845 (octave-find-definition): Find subfunctions only in Octave mode.
9846
9847 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * help-fns.el (help-fns--compiler-macro): If the handler function is
9850 named, then put a link to it.
9851 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9852 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9853 (cl-typep): Use it.
9854 (cl-eval-when): Simplify debug spec.
9855 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9856 compiler-macro function instead of setting `compiler-macro-file'.
9857
9858 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9859
9860 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9861 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9862
9863 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9864 Daniel Hackney <dan@haxney.org>
9865
9866 First part of Daniel Hackney's patch to package.el.
9867 * emacs-lisp/package.el: Use defstruct.
9868 (package-desc): New, main struct.
9869 (package--bi-desc, package--ac-desc): New structs, used to describe the
9870 format in external files.
9871 (package-desc-vers): Replace with package-desc-version accessor.
9872 (package-desc-doc): Replace with package-desc-summary accessor.
9873 (package-activate-1): Remove `package' arg since the pkg-vec now
9874 includes the name.
9875 (define-package): Use package-desc-from-define.
9876 (package-unpack-single): Change file-name arg to be a symbol.
9877 (package--add-to-archive-contents): Use package-desc-create and new
9878 accessor functions to package--ac-desc.
9879 (package-buffer-info, package-tar-file-info): Return a package-desc.
9880 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9881 arg to be a package-desc.
9882 (package-install-file): Adjust accordingly. Use \' to match EOS.
9883 (package--from-builtin): New function.
9884 (describe-package-1, package-menu--generate): Use it.
9885 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9886 (package-generate-autoloads): Idem and return the name of the file.
9887 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9888 Change pkg-info arg to be a package-desc.
9889 Use package-make-ac-desc.
9890 (package-upload-file): Use \' to match EOS.
9891 * finder.el (finder-compile-keywords): Use package-make-builtin.
9892
9893 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * vc/vc.el (vc-deduce-fileset): Change error message.
9896 (vc-read-backend): New function.
9897 (vc-next-action): Use it.
9898
9899 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9900
9901 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9902 (prolog-font-lock-keywords): Use regexp-opt instead.
9903 Don't manually highlight strings.
9904 (prolog-mode-variables): Simplify comment-start-skip.
9905 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9906
9907 * emacs-lisp/generic.el (generic--normalise-comments)
9908 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9909 (generic-mode-set-comments): Use them.
9910 (generic-bracket-support): Use setq-local.
9911 (generic-make-keywords-list): Declare obsolete.
9912
9913 2013-06-11 Glenn Morris <rgm@gnu.org>
9914
9915 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9916 Prettify after setting font-lock-defaults. (Bug#14574)
9917
9918 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * replace.el (query-replace, occur-read-regexp-defaults-function)
9921 (replace-search):
9922 * subr.el (declare-function, number-sequence, local-set-key)
9923 (substitute-key-definition, locate-user-emacs-file)
9924 (with-silent-modifications, split-string, eval-after-load):
9925 Fix typos, remove unneeded backslashes and reflow some docstrings.
9926
9927 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9930 default for Elisp files.
9931
9932 2013-06-11 Glenn Morris <rgm@gnu.org>
9933
9934 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9935 although define-derived-mode was doing this anyway. (Bug#14583)
9936
9937 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9938
9939 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9940 Fix make-variable-buffer-local call to refer to the correct variable.
9941
9942 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9943
9944 * eshell/em-term.el (eshell-visual-commands)
9945 (eshell-visual-subcommands, eshell-visual-options):
9946 Add summary line to docstrings. Add cross-references.
9947
9948 2013-06-10 Glenn Morris <rgm@gnu.org>
9949
9950 * epa.el (epa-read-file-name): New function. (Bug#14510)
9951 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9952
9953 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9954
9955 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9956 output redirection to be ignored with visual commands.
9957
9958 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9959
9960 * eshell/em-term.el (eshell-visual-command-p): New function.
9961 (eshell-term-initialize): Move long lambda to separate function
9962 eshell-visual-command-p.
9963 * eshell/em-dirs.el (eshell-dirs-initialise):
9964 * eshell/em-script.el (eshell-script-initialize):
9965 Add missing #' to lambda.
9966
9967 2013-06-08 Leo Liu <sdl.web@gmail.com>
9968
9969 * progmodes/octave.el (octave-add-log-current-defun): New function.
9970 (octave-mode): Set add-log-current-defun-function.
9971 (octave-goto-function-definition): Do not move point if not found.
9972 (octave-find-definition): Enhance to try subfunctions first.
9973
9974 2013-06-08 Glenn Morris <rgm@gnu.org>
9975
9976 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9977 (byte-compile-backward-char, byte-compile-backward-word):
9978 Improve previous change, to handle non-explicit nil.
9979
9980 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9983 (smie--opener/closer-at-point): New function.
9984 (smie--matching-block-data): Use it. Don't match from right after an
9985 opener or right before a closer. Obey smie-blink-matching-inners.
9986 Don't signal a mismatch for repeated inners like "switch..case..case".
9987
9988 2013-06-07 Leo Liu <sdl.web@gmail.com>
9989
9990 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9991 to t. (Bug#14303)
9992 (octave-function-header-regexp): Fix. (Bug#14570)
9993 (octave-help-mode-finish-hook, octave-help-mode-finish):
9994 Remove. Just use temp-buffer-show-hook.
9995
9996 * newcomment.el (comment-search-backward): Revert last change.
9997 (Bug#14434)
9998
9999 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10000
10001 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10002
10003 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10004 through xargs, to avoid failure due to MS-Windows limitations on
10005 command-line length.
10006
10007 2013-06-06 Glenn Morris <rgm@gnu.org>
10008
10009 * font-lock.el (lisp-font-lock-keywords-2):
10010 Treat user-error like error.
10011
10012 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10013 (byte-compile-backward-char, byte-compile-backward-word):
10014 Handle explicit nil arguments. (Bug#14565)
10015
10016 2013-06-05 Alan Mackenzie <acm@muc.de>
10017
10018 * isearch.el (isearch-allow-prefix): New user option.
10019 (isearch-other-meta-char): Don't exit isearch when a prefix
10020 argument is typed whilst `isearch-allow-prefix' is non-nil.
10021 (Bug#9706)
10022
10023 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * autorevert.el (auto-revert-notify-handler): Use memq.
10026 Hide assertion failure.
10027
10028 * skeleton.el: Use cl-lib.
10029 (skeleton-further-elements): Use defvar-local.
10030 (skeleton-insert): Use cl-progv.
10031
10032 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10033
10034 * progmodes/prog-mode.el (prog-prettify-symbols)
10035 (prog-prettify-install): Update docstrings.
10036
10037 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * simple.el: Move all the prog-mode code to prog-mode.el.
10040 * progmodes/prog-mode.el: New file.
10041 * loadup.el: Add prog-mode.el.
10042
10043 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10044
10045 * simple.el (prog-prettify-symbols): Add version.
10046 (prog-prettify-install): Add convenience function to prettify symbols.
10047
10048 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10049 (perl--augmented-font-lock-keywords-1)
10050 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10051 variables and use it.
10052
10053 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10054 (cfengine3-mode): Remove unneeded variable and use it.
10055
10056 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10057 (lisp--augmented-font-lock-keywords-1)
10058 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10059 Remove unneeded variables and use it.
10060
10061 2013-06-05 João Távora <joaotavora@gmail.com>
10062
10063 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10064 to point when opening the connection. (Bug#14380)
10065
10066 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * subr.el (load-history-regexp, load-history-filename-element)
10069 (eval-after-load, after-load-functions, do-after-load-evaluation)
10070 (eval-next-after-load, display-delayed-warnings)
10071 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10072 definition of save-match-data.
10073 (overriding-local-map): Remove accidental obsolescence declaration.
10074
10075 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10076
10077 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10078
10079 Generalize symbol prettify support to prog-mode and implement it
10080 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10081 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10082 (prog--prettify-font-lock-compose-symbol)
10083 (prog-prettify-font-lock-symbols-keywords): New variables and
10084 functions to support symbol prettification.
10085 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10086 (lisp--augmented-font-lock-keywords-1)
10087 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10088 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10089 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10090 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10091 Implement prettify of -> => :: strings.
10092 * progmodes/perl-mode.el (perl-prettify-symbols)
10093 (perl--font-lock-compose-symbol)
10094 (perl--font-lock-symbols-keywords): Move to prog-mode.
10095 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10096 (perl-font-lock-keywords-1)
10097 (perl-font-lock-keywords-2): Remove explicit prettify support.
10098 (perl--augmented-font-lock-keywords)
10099 (perl--augmented-font-lock-keywords-1)
10100 (perl--augmented-font-lock-keywords-2, perl-mode):
10101 Implement prettify support.
10102
10103 2013-06-05 Leo Liu <sdl.web@gmail.com>
10104
10105 Re-implement smie matching block highlight using
10106 show-paren-data-function. (Bug#14395)
10107 * emacs-lisp/smie.el (smie-matching-block-highlight)
10108 (smie--highlight-matching-block-overlay)
10109 (smie--highlight-matching-block-lastpos)
10110 (smie-highlight-matching-block)
10111 (smie-highlight-matching-block-mode): Remove.
10112 (smie--matching-block-data-cache): New variable.
10113 (smie--matching-block-data): New function.
10114 (smie-setup): Use smie--matching-block-data for
10115 show-paren-data-function.
10116
10117 * progmodes/octave.el (octave-mode-menu): Fix.
10118 (octave-find-definition): Skip garbage lines.
10119
10120 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 Fix compilation error with simultaneous dynamic+lexical scoping.
10123 Add warning when a defvar appears after the first let-binding.
10124 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10125 (byte-compile-close-variables): Initialize it.
10126 (byte-compile--declare-var): New function.
10127 (byte-compile-file-form-defvar)
10128 (byte-compile-file-form-define-abbrev-table)
10129 (byte-compile-file-form-custom-declare-variable): Use it.
10130 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10131 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10132 (byte-compile-bind): Handle dynamic bindings that shadow
10133 lexical bindings.
10134 (byte-compile-unbind): Make arg non-optional.
10135 (byte-compile-let): Simplify.
10136 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10137 (cconv--analyse-function, cconv-analyse-form): Populate it.
10138 Protect byte-compile-bound-variables to limit the scope of defvars.
10139 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10140 Remove unneeded rule for `declare'.
10141
10142 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10143 so as to avoid depending on cl-adjoin at run-time.
10144 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10145
10146 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10147 (macroexp--warn-and-return): Use it.
10148
10149 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10150
10151 * subr.el: Convert to lexical binding.
10152 (overriding-local-map): Make obsolete.
10153 (add-to-list): Doc fix. Add compiler macro.
10154 (read-key): Swap values of local maps.
10155
10156 2013-06-05 Leo Liu <sdl.web@gmail.com>
10157
10158 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10159
10160 2013-06-04 Leo Liu <sdl.web@gmail.com>
10161
10162 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10163 (compilation-auto-jump): Suppress the "Mark set" message to give
10164 way to exit message.
10165
10166 2013-06-04 Alan Mackenzie <acm@muc.de>
10167
10168 Remove faulty optimisation from indentation calculation.
10169 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10170 search limit based on 2000 characters back from indent-point.
10171
10172 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10173
10174 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10175
10176 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * emacs-lisp/lisp.el: Use lexical-binding.
10179 (lisp--local-variables-1, lisp--local-variables): New functions.
10180 (lisp--local-variables-completion-table): New var.
10181 (lisp-completion-at-point): Use it complete let-bound vars.
10182
10183 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10184 eagerly (bug#14422).
10185
10186 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10187
10188 * autorevert.el (auto-revert-notify-enabled)
10189 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10190 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10191 (auto-revert-notify-handler): Handle also gfilenotify.
10192
10193 * subr.el (file-notify-handle-event): New defun. Replacing ...
10194 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10195 Remove.
10196
10197 2013-06-03 Juri Linkov <juri@jurta.org>
10198
10199 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10200 `M-s h .'. (Bug#14427)
10201
10202 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10203 command `hi-lock-face-symbol-at-point'.
10204 (hi-lock-face-symbol-at-point): New command.
10205 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10206 (hi-lock-menu): Add `highlight-symbol-at-point'.
10207 (hi-lock-mode): Doc fix.
10208
10209 * isearch.el (isearch-forward-symbol-at-point): New command.
10210 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10211 (isearch-highlight-regexp): Add a regexp which matches
10212 words/symbols for word/symbol mode.
10213
10214 * subr.el (find-tag-default-bounds): New function with the body
10215 mostly moved from `find-tag-default'.
10216 (find-tag-default): Move most code to `find-tag-default-bounds',
10217 call it and apply `buffer-substring-no-properties' afterwards.
10218
10219 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10220
10221 * eshell/em-term.el (eshell-term-initialize):
10222 Use `cl-intersection' rather than `intersection'.
10223
10224 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10225
10226 * vc/log-view.el: Doc fix.
10227 (log-view-mode-map): Copy keymap from `special-mode-map'.
10228
10229 2013-06-02 Eric Ludlam <zappo@gnu.org>
10230
10231 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10232 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10233 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10234 (eieio-unbound, eieio-default-superclass)
10235 (eieio--define-field-accessors, method-static, method-before)
10236 (method-primary, method-after, method-num-lists)
10237 (method-generic-before, method-generic-primary)
10238 (method-generic-after, method-num-slots)
10239 (eieio-specialized-key-to-generic-key)
10240 (eieio--check-type, class-v, class-p)
10241 (eieio-class-name, define-obsolete-function-alias)
10242 (eieio-class-parents-fast, eieio-class-children-fast)
10243 (same-class-fast-p, class-constructor, generic-p)
10244 (generic-primary-only-p, generic-primary-only-one-p)
10245 (class-option-assoc, class-option, eieio-object-p)
10246 (class-abstract-p, class-method-invocation-order)
10247 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10248 (eieio-class-un-autoload, eieio-defclass)
10249 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10250 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10251 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10252 (eieio-defgeneric-reset-generic-form)
10253 (eieio-defgeneric-form-primary-only)
10254 (eieio-defgeneric-reset-generic-form-primary-only)
10255 (eieio-defgeneric-form-primary-only-one)
10256 (eieio-defgeneric-reset-generic-form-primary-only-one)
10257 (eieio-unbind-method-implementations)
10258 (eieio--defmethod, eieio--typep)
10259 (eieio-perform-slot-validation, eieio-validate-slot-value)
10260 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10261 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10262 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10263 (eieio-slot-name-index, eieio-class-slot-name-index)
10264 (eieio-set-defaults, eieio-initarg-to-attribute)
10265 (eieio-attribute-to-initarg, eieio-c3-candidate)
10266 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10267 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10268 (eieio-class-precedence-list, eieio-generic-call-methodname)
10269 (eieio-generic-call-arglst, eieio-generic-call-key)
10270 (eieio-generic-call-next-method-list)
10271 (eieio-pre-method-execution-functions, eieio-generic-call)
10272 (eieio-generic-call-primary-only, eieiomt-method-list)
10273 (eieiomt-optimizing-obarray, eieiomt-install)
10274 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10275 (eieio-generic-form, eieio-defmethod, make-obsolete)
10276 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10277 (defclass): Remove `eval-and-compile' from macro.
10278 (call-next-method, shared-initialize): Instead of using
10279 `scoped-class' variable, use new eieio--scoped-class, and
10280 eieio--with-scoped-class.
10281 (initialize-instance): Rename local variable 'scoped-class' to
10282 'this-class' to remove ambiguitity from old global.
10283
10284 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10285 eieio.el.
10286 (eieio--scoped-class-stack): New variable.
10287 (eieio--scoped-class): New fcn.
10288 (eieio--with-scoped-class): New scoping macro.
10289 (eieio-defclass): Use pushnew instead of add-to-list.
10290 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10291 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10292 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10293 `scoped-class' variable, use new eieio--scoped-class, and
10294 eieio--with-scoped-class.
10295
10296 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10297
10298 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10299
10300 * eshell/esh-ext.el (eshell-external-command): Pass args to
10301 `eshell-find-interpreter'.
10302 (eshell-find-interpreter): Add new second parameter ARGS.
10303
10304 * eshell/em-script.el (eshell-script-initialize): Add second arg
10305 to the function added as MATCH to `eshell-interpreter-alist'.
10306
10307 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10308 the function added as MATCH to `eshell-interpreter-alist'.
10309
10310 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10311 (eshell-visual-options): New defcustom.
10312 (eshell-escape-control-x): Adapt docstring.
10313 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10314 `eshell-visual-options' in addition to `eshell-visual-commands'.
10315 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10316
10317 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10318
10319 * progmodes/python.el (python-indent-block-enders): Add break,
10320 continue and raise keywords.
10321
10322 2013-06-01 Glenn Morris <rgm@gnu.org>
10323
10324 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10325
10326 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10327 * progmodes/cc-cmds.el (delete-forward-p):
10328 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10329 * progmodes/cc-engine.el (buffer-syntactic-context):
10330 * progmodes/cc-fonts.el (face-property-instance):
10331 * progmodes/cc-mode.el (set-keymap-parents):
10332 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10333 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10334 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10335 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10336 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10337
10338 * progmodes/cc-vars.el (other): Emacs has this widget since
10339 at least 21.1, so don't (re)define it.
10340
10341 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10342 Replace the obsolete alias pcomplete-arg-quote-list.
10343
10344 2013-06-01 Leo Liu <sdl.web@gmail.com>
10345
10346 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10347 punctuation syntax.
10348 (inferior-octave-minimal-columns)
10349 (inferior-octave-last-column-width): New variables.
10350 (inferior-octave-track-window-width-change): New function.
10351 (inferior-octave-mode): Adjust column width so that Octave output,
10352 for example from 'ls', can fit into the window nicely.
10353
10354 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10355
10356 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10357 Highlight expansions inside regexp literals.
10358
10359 2013-05-31 Glenn Morris <rgm@gnu.org>
10360
10361 * obsolete/sym-comp.el (symbol-complete):
10362 Replace obsolete completion-annotate-function.
10363
10364 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10365
10366 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10367
10368 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10369 New function, checks if point is inside a literal that allows
10370 expression expansion.
10371 (ruby-syntax-propertize-expansion): Use it.
10372 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10373 around the body.
10374
10375 2013-05-30 Juri Linkov <juri@jurta.org>
10376
10377 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10378 to "\M-si".
10379 (isearch-invisible): New variable.
10380 (isearch-forward): Doc fix.
10381 (isearch-mode): Set `isearch-invisible'
10382 to the value of `search-invisible'.
10383 (isearch-toggle-case-fold): Doc fix.
10384 (isearch-toggle-invisible): New command.
10385 (isearch-query-replace): Let-bind `search-invisible'
10386 to the value of `isearch-invisible'.
10387 (isearch-search): Use `isearch-invisible' instead of
10388 `search-invisible'. Let-bind `search-invisible'
10389 to the value of `isearch-invisible'. (Bug#11378)
10390
10391 2013-05-30 Juri Linkov <juri@jurta.org>
10392
10393 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10394 call when `query-flag' is nil and `search-invisible' is non-nil.
10395 (Bug#11746)
10396
10397 2013-05-30 Glenn Morris <rgm@gnu.org>
10398
10399 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10400
10401 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10402 (cc-require): Suppress spurious "noruntime" warnings.
10403 (cc-require-when-compile): Use fboundp, for sake of compiler.
10404
10405 * progmodes/cc-mode.el: Move load of cc-vars before that of
10406 cc-langs (which in turn loads cc-vars), to quieten compiler.
10407
10408 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * paren.el: Simplify the code.
10411 (show-paren-mode): Always start the timer.
10412 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10413 (show-paren--overlay, show-paren--overlay-1): Rename from
10414 show-paren-overlay and show-paren-overlay-1, and initialize to an
10415 overlay rather than to nil.
10416 (show-paren-function): Misc cleanup and simplifications.
10417
10418 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * paren.el (show-paren-data-function): New hook.
10421 (show-paren--default): New function, extracted from show-paren-function.
10422 (show-paren-function): Use show-paren-data-function.
10423
10424 2013-05-30 Glenn Morris <rgm@gnu.org>
10425
10426 * ielm.el (ielm-map, ielm-complete-symbol):
10427 Use completion-at-point rather than obsolete functions.
10428 (inferior-emacs-lisp-mode): Doc fix.
10429 Set completion-at-point-functions, rather than
10430 comint-dynamic-complete-functions.
10431
10432 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10433 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10434 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10435
10436 * image.el (image-animated-p): Tweak definition.
10437
10438 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10439 (rlogin-process-connection-type): Tweak default. Add set-after.
10440 (rlogin-host): Doc fix.
10441 (rlogin): Tweak prompt.
10442 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10443
10444 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10445 * progmodes/tcl.el (inferior-tcl-mode-map):
10446 Use completion-at-point rather than obsolete alias.
10447
10448 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10449
10450 * minibuffer.el (read-file-name-completion-ignore-case):
10451 Move before completion--in-region, for eager macro expansion.
10452
10453 2013-05-29 Juri Linkov <juri@jurta.org>
10454
10455 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10456 for total count of matching lines. Add `global-matches' for total
10457 count of matches. Rename `matches' to `lines' for count of
10458 matching lines. Add `matches' for count of matches.
10459 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10460 to `prev-line' for line number of prev match endpt.
10461 Increment `matches' for every match. Print the number of
10462 matching lines in the header.
10463 (occur-context-lines): Rename `lines' to `curr-line'.
10464 Rename `prev-lines' to `prev-line'. (Bug#14017)
10465
10466 2013-05-29 Juri Linkov <juri@jurta.org>
10467
10468 * replace.el (perform-replace): Add `skip-read-only-count',
10469 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10470 Increment them for corresponding conditions and report the number
10471 of skipped occurrences in the final message. (Bug#11746)
10472 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10473 (replace-string, replace-regexp): Doc fix.
10474
10475 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10478
10479 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10480 prog-mode-map (bug#14504).
10481
10482 2013-05-29 Leo Liu <sdl.web@gmail.com>
10483
10484 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10485 (octave-help): Small simplification.
10486
10487 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10488 off the highlight first.
10489
10490 2013-05-29 Glenn Morris <rgm@gnu.org>
10491
10492 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10493 Handle idlwave-last-system-routine-info-cons-cell being nil.
10494
10495 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10496 (idlwave-write-paths): Simplify via with-temp-buffer.
10497
10498 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10499 * emulation/cua-rect.el: Also load cua-base at run time.
10500
10501 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10502 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10503 (cperl-imenu-on-info): Require imenu.
10504
10505 2013-05-28 Alan Mackenzie <acm@muc.de>
10506
10507 Handle "capitalised keywords" correctly.
10508 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10509
10510 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10511
10512 * eshell/em-unix.el: Add -r option to cp.
10513
10514 2013-05-28 Glenn Morris <rgm@gnu.org>
10515
10516 * vc/vc-arch.el (vc-exec-after): Declare.
10517 (vc-switches): Autoload.
10518 * vc/vc-bzr.el: No need to require vc when compiling.
10519 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10520 (vc-resynch-buffer, vc-dir-refresh): Declare.
10521 (vc-setup-buffer, vc-switches): Autoload.
10522 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10523 (vc-resynch-buffer): Declare.
10524 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10525 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10526 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10527 (grep-read-regexp, grep-read-files, grep-expand-template)
10528 (vc-dir-refresh): Declare.
10529 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10530 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10531 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10532 * vc/vc-mtn.el (vc-exec-after): Declare.
10533 (vc-switches): Autoload.
10534 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10535 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10536 (vc-file-tree-walk): Declare.
10537 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10538 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10539 (vc-tag-precondition, vc-rename-master): Autoload.
10540 * vc/vc-svn.el (vc-exec-after): Declare.
10541 (vc-switches, vc-setup-buffer): Autoload.
10542 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10543 Autoload.
10544 (vc-resynch-buffer): Declare.
10545
10546 * obsolete/fast-lock.el (byte-compile-warnings):
10547 Don't warn about obsolete features in this obsolete file.
10548
10549 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10550 Move definition before use.
10551
10552 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10553 (dun-unix-verbs): Remove dun-zippy.
10554 (dun-zippy): Remove function.
10555
10556 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10557
10558 2013-05-27 Juri Linkov <juri@jurta.org>
10559
10560 * replace.el (replace-search): New function with code moved out
10561 from `perform-replace'.
10562 (replace-highlight, replace-dehighlight): Move function definitions
10563 up closer to `replace-search'. (Bug#11746)
10564
10565 2013-05-27 Juri Linkov <juri@jurta.org>
10566
10567 * replace.el (perform-replace): Ignore invisible matches.
10568 In addition to checking `query-replace-skip-read-only', also
10569 filter out matches by calling `run-hook-with-args-until-failure'
10570 on `isearch-filter-predicates', and also check `search-invisible'
10571 for t or call `isearch-range-invisible'.
10572 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10573
10574 2013-05-27 Juri Linkov <juri@jurta.org>
10575
10576 * isearch.el (isearch-filter-predicates): Rename from
10577 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10578 (isearch-message-prefix): Display text from the property
10579 `isearch-message-prefix' of the currently active filters.
10580 (isearch-search): Don't compare `isearch-filter-predicate' with
10581 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10582 on `isearch-filter-predicates'. Also check `search-invisible' for t
10583 or call `isearch-range-invisible'.
10584 (isearch-filter-visible): Make obsolete.
10585 (isearch-lazy-highlight-search):
10586 Call `run-hook-with-args-until-failure' on
10587 `isearch-filter-predicates' and use `isearch-range-invisible'.
10588
10589 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10590 `isearch-filter-predicates' instead of `funcall'ing
10591 `isearch-filter-predicate'.
10592 (Info-mode): Set `Info-isearch-filter' to
10593 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10594
10595 * dired-aux.el (dired-isearch-filter-predicate-orig):
10596 Remove variable.
10597 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10598 (dired-isearch-filenames-end): Add and remove
10599 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10600 instead of changing the value of `isearch-filter-predicate'.
10601 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10602 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10603 Put property `isearch-message-prefix' to "filename " on
10604 `dired-isearch-filter-filenames'.
10605
10606 * wdired.el (wdired-change-to-wdired-mode):
10607 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10608 locally instead of changing `isearch-filter-predicate'.
10609 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10610
10611 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10612
10613 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10614 return the commit hash (Bug#14459). Also set the
10615 `vc-git-detached' property.
10616 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10617 (vc-git-mode-line-string): Use the same help-echo format whether
10618 in detached mode or not, because we know the actual revision now.
10619 When in detached mode, shorten the revision to 7 chars.
10620
10621 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10622
10623 * emacs-lisp/easy-mmode.el (define-minor-mode):
10624 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10625 mode hook and provide a docstring.
10626
10627 2013-05-27 Alan Mackenzie <acm@muc.de>
10628
10629 Remove spurious syntax-table text properties inserted by C-y.
10630 * progmodes/cc-mode.el (c-after-change): Also clear hard
10631 syntax-table property with value nil.
10632
10633 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10634
10635 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10636 when reading the events; the buffer layout shall not be changed.
10637
10638 2013-05-27 Leo Liu <sdl.web@gmail.com>
10639
10640 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10641 New variable.
10642 (inferior-octave-directory-tracker): Automatically re-sync
10643 default-directory.
10644 (octave-help): Improve handling of 'See also'.
10645
10646 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * doc-view.el: Minor naming convention tweaks.
10649 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10650
10651 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10652 even if there's no `display' property yet (bug#14435).
10653
10654 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10655
10656 * subr.el (unmsys--file-name): Rename from reveal-filename.
10657
10658 * Makefile.in (custom-deps, finder-data, autoloads)
10659 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10660 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10661 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10662
10663 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10666 error-completion on the first 2 args of condition-case (bug#14446).
10667 Don't burp at EOB.
10668
10669 2013-05-25 Leo Liu <sdl.web@gmail.com>
10670
10671 * comint.el (comint-previous-matching-input): Do not flood the
10672 *Messages* buffer with trivial messages.
10673
10674 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10675
10676 * progmodes/flymake.el (flymake-nop): Don't return a string.
10677 (flymake-set-at): Fix typo.
10678
10679 * simple.el (read--expression): New function, extracted from
10680 eval-expression. Set completion-at-point-functions (bug#14465).
10681 (eval-expression, eval-minibuffer): Use it.
10682
10683 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10684
10685 * progmodes/flymake.el (flymake-save-buffer-in-file)
10686 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10687 (flymake-selected-frame, flymake-log, flymake-ins-after)
10688 (flymake-set-at, flymake-get-buildfile-from-cache)
10689 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10690 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10691 Refine the doc string.
10692 (flymake-get-file-name-mode-and-masks): Reformat.
10693 (flymake-get-real-file-name-function): Fix a minor bug.
10694
10695 2013-05-24 Juri Linkov <juri@jurta.org>
10696
10697 * progmodes/grep.el (grep-mode-font-lock-keywords):
10698 Support =linenumber= format used by git-grep for lines with
10699 function names. (Bug#13549)
10700
10701 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10702
10703 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10704 0 after a semi-colon; it works better for smie-auto-fill.
10705 (octave--indent-new-comment-line): New function.
10706 (octave-indent-new-comment-line): Use it (indirectly).
10707 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10708 modify comment-line-break-function.
10709
10710 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10711 (smie-setup): Use add-function to set it.
10712
10713 2013-05-24 Sam Steingold <sds@gnu.org>
10714
10715 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10716 argument (before the `interactive' argument).
10717
10718 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * image-mode.el (image-mode-winprops): Add winprops to
10721 image-mode-winprops-alist before running
10722 image-mode-new-window-functions.
10723 * doc-view.el (doc-view-new-window-function): Don't delay
10724 doc-view-goto-page via timers (bug#14435).
10725
10726 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10727
10728 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10729 (doc-view-desktop-save-buffer): New function.
10730 (doc-view-restore-desktop-buffer): New function.
10731 (desktop-buffer-mode-handlers):
10732 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10733 handler.
10734 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10735 `desktop-save-buffer' function.
10736
10737 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10738
10739 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10740 (tramp-gvfs-file-name-handler): Raise a user error when
10741 `tramp-gvfs-enabled' is nil.
10742 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10743 Do not raise a user error when loading package. (Bug#14447)
10744
10745 * net/xesam.el: Move to obsolete/.
10746
10747 2013-05-24 Glenn Morris <rgm@gnu.org>
10748
10749 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10750
10751 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10752
10753 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10754 (Info-find-node, Man-getpage-in-background): Declare.
10755
10756 * mail/unrmail.el (unrmail):
10757 Replace obsolete detect-coding-with-priority.
10758
10759 * net/socks.el (socks-split-string): Use this rather than split-string.
10760 (socks-nslookup-host): Update for above change.
10761 (dynamic-choice, s5-dynamic-choice-match)
10762 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10763 Comment out unused code.
10764
10765 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10766 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10767 (gud-tooltip-echo-area): Make obsolete.
10768 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10769
10770 * progmodes/js.el (js--optimize-arglist): Declare.
10771
10772 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10773
10774 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10775 (ediff-window-C): Declare.
10776
10777 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10778 Tweak requires to silence compiler.
10779
10780 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10781 (he-search-string, he-tried-table, he-expand-list)
10782 (he-init-string, he-string-member, he-substitute-string)
10783 (he-reset-string): Declare.
10784
10785 * obsolete/options.el (list-options): Use custom-variable-p,
10786 rather than obsolete alias.
10787
10788 2013-05-23 Sam Steingold <sds@gnu.org>
10789
10790 * simple.el (shell-command-on-region): Pass the `replace' argument
10791 down to `call-process-region' to comply with the doc as reported on
10792 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10793
10794 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * emacs-lisp/smie.el (smie-indent-forward-token)
10797 (smie-indent-backward-token): Handle string tokens (bug#14381).
10798
10799 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10800
10801 * ielm.el (ielm-menu): New menu.
10802 (inferior-emacs-lisp-mode): Set comment-start.
10803
10804 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10805
10806 * textmodes/reftex.el (reftex-ref-style-toggle):
10807 Fix deactivate action.
10808
10809 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10810 Add cleveref macros.
10811
10812 * textmodes/reftex-parse.el
10813 (reftex-locate-bibliography-files): Accept options for
10814 bibliography commands.
10815 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10816 Add addbibresource. Basic Biblatex support.
10817
10818 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10819
10820 * net/tramp-gvfs.el (top):
10821 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10822 when loading package. (Bug#14447)
10823
10824 2013-05-23 Glenn Morris <rgm@gnu.org>
10825
10826 * progmodes/js.el: No need to load comint when compiling.
10827 (ring-insert, comint-send-string, comint-send-input)
10828 (comint-last-input-end, ido-chop): Declare.
10829
10830 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10831 * vc/ediff-mult.el: Adjust requires.
10832 (ediff-directories-internal, ediff-directory-revisions-internal)
10833 (ediff-patch-file-internal): Declare.
10834 * vc/ediff-ptch.el: Adjust requires.
10835 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10836 (ediff-find-file): Autoload.
10837 * vc/ediff-util.el: No need to load ediff when compiling.
10838 (ediff-regions-internal): Declare.
10839 * vc/ediff-wind.el: Adjust requires.
10840 (ediff-compute-toolbar-width): Define when compiling.
10841 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10842 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10843 (dired-get-filename, dired-get-marked-files)
10844 (ediff-last-dir-patch, ediff-patch-default-directory)
10845 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10846 (ediff-patch-buffer-internal): Declare.
10847
10848 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10849 (ispell-process, ispell-buffer-local-words, lm-summary)
10850 (lm-section-start, lm-section-end): Declare.
10851 (checkdoc-ispell-init): Simplify.
10852
10853 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10854 (he-string-member, he-reset-string, he-substitute-string): Declare.
10855
10856 * eshell/em-ls.el: Adjust requires.
10857 (eshell-glob-regexp): Declare.
10858 * eshell/em-tramp.el: Adjust requires.
10859 (eshell-parse-command): Autoload.
10860 * eshell/em-xtra.el: Adjust requires.
10861 (eshell-parse-command): Autoload.
10862 * eshell/esh-ext.el: Adjust requires.
10863 (eshell-parse-command, eshell-close-handles): Autoload.
10864 * eshell/esh-io.el: Adjust requires.
10865 (eshell-output-filter): Autoload.
10866 * eshell/esh-util.el: No need to load tramp when compiling.
10867 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10868 Declare.
10869 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10870 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10871 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10872 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10873 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10874 * eshell/esh-opt.el, eshell/esh-proc.el:
10875 * eshell/esh-var.el: Adjust requires.
10876 * eshell/eshell.el: Do not require esh-util twice.
10877 (eshell-add-input-to-history): Declare.
10878 (eshell-command): Check history module is active before using it.
10879
10880 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10881
10882 2013-05-22 Leo Liu <sdl.web@gmail.com>
10883
10884 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10885
10886 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10887
10888 * autorevert.el (auto-revert-notify-add-watch)
10889 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10890 it indicates changes in file modification time.
10891
10892 2013-05-22 Glenn Morris <rgm@gnu.org>
10893
10894 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10895 Always delete the autoloaded function from the noruntime and
10896 unresolved functions lists.
10897
10898 * allout.el: No need to load epa, epg, overlay when compiling.
10899 (epg-context-set-passphrase-callback, epg-list-keys)
10900 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10901 (epg-key-user-id-list): Declare.
10902
10903 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10904 (viper-set-parsing-style-toggling-macro)
10905 (viper-set-emacs-state-searchstyle-macros):
10906 Use called-interactively-p on Emacs.
10907 (viper-looking-back): Make it an obsolete alias. Update callers.
10908 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10909 Use looking-back rather than viper-looking-back.
10910 (viper-tmp-insert-at-eob, viper-enlarge-region)
10911 (viper-read-string-with-history, viper-register-to-point)
10912 (viper-append-to-register, viper-change-state-to-vi)
10913 (viper-backward-char-carefully, viper-forward-char-carefully)
10914 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10915 (viper-change-state-to-emacs): Declare.
10916 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10917 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10918 * emulation/viper-mous.el: Do not load viper-cmd.
10919 (viper-backward-char-carefully, viper-forward-char-carefully)
10920 (viper-forward-word, viper-adjust-window): Declare.
10921
10922 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10923
10924 * progmodes/idlw-help.el (idlwave-help-fontify):
10925 Use called-interactively-p.
10926
10927 * term/w32console.el (w32-get-console-codepage)
10928 (w32-get-console-output-codepage): Declare.
10929
10930 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10931 Remove unnecessary declarations.
10932 (dframe-message): Doc fix.
10933
10934 * info.el (dframe-select-attached-frame, dframe-current-frame):
10935 Declare.
10936
10937 * speedbar.el (speedbar-message): Make it an obsolete alias.
10938 Update all callers.
10939 (speedbar-with-attached-buffer)
10940 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10941 (speedbar-with-writable): Use backquote.
10942 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10943 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10944 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10945 rather than speedbar- aliases.
10946 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10947 (speedbar-make-specialized-keymap, speedbar-insert-button)
10948 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10949 (speedbar-do-function-pointer): Declare.
10950 (rmail-speedbar-button, rmail-speedbar-find-file)
10951 (rmail-speedbar-move-message):
10952 Use dframe-with-attached-buffer rather than speedbar- alias.
10953 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10954 (dframe-message, speedbar-make-specialized-keymap)
10955 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10956 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10957 (speedbar-insert-button, dframe-select-attached-frame)
10958 (dframe-maybee-jump-to-attached-frame)
10959 (speedbar-change-initial-expansion-list)
10960 (speedbar-previously-used-expansion-list-name): Declare.
10961 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10962 Use dframe-message, dframe-with-attached-buffer rather than
10963 speedbar- aliases.
10964 (gud-sentinel): Silence compiler.
10965 * progmodes/vhdl-mode.el (speedbar-refresh)
10966 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10967 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10968 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10969 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10970 (speedbar-file-lists, speedbar-make-tag-line)
10971 (speedbar-line-directory, speedbar-goto-this-file)
10972 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10973 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10974 (speedbar-make-button, speedbar-reset-scanners)
10975 (speedbar-files-item-info, speedbar-line-text)
10976 (speedbar-find-file-in-frame, speedbar-set-timer)
10977 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10978 (speedbar-with-writable): Do not (re)define it.
10979 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10980 rather than speedbar- alias.
10981
10982 2013-05-21 Leo Liu <sdl.web@gmail.com>
10983
10984 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10985 menu items.
10986 (octave-mode): Tweak fill-nobreak-predicate.
10987 (inferior-octave-startup): Check process to avoid infinite loop.
10988 (inferior-octave): Pop to buffer first to show abornmal process
10989 exit information.
10990
10991 2013-05-21 Glenn Morris <rgm@gnu.org>
10992
10993 * printing.el (pr-menu-bar): Define when compiling.
10994
10995 2013-05-21 Leo Liu <sdl.web@gmail.com>
10996
10997 * progmodes/octave.el (octave-auto-fill): Remove.
10998 (octave-indent-new-comment-line): Improve.
10999 (octave-mode): Use auto fill mode through
11000 comment-line-break-function and fill-nobreak-predicate.
11001 (octave-goto-function-definition): Support DEFUN_DLD.
11002 (octave-beginning-of-defun): Small tweak.
11003 (octave-help): Show parent directory.
11004
11005 2013-05-21 Glenn Morris <rgm@gnu.org>
11006
11007 * files.el (dired-unmark):
11008 * progmodes/gud.el (gdb-input): Update declarations.
11009
11010 * calculator.el (electric, ehelp): No need to load when compiling.
11011 (Electric-command-loop, electric-describe-mode): Declare.
11012
11013 * doc-view.el (doc-view-current-converter-processes): Move before use.
11014
11015 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11016 Move MODE-set-explicitly definition before use.
11017
11018 * international/mule-diag.el (mule-diag):
11019 Don't use obsolete window-system-version.
11020
11021 * mail/feedmail.el (smtpmail): No need to load when compiling.
11022 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11023
11024 * mail/mail-utils.el (rfc822): No need to load when compiling.
11025 (rfc822-addresses): Autoload it.
11026 (mail-strip-quoted-names): Trivial simplification.
11027
11028 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11029 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11030
11031 * net/snmp-mode.el (tempo): Don't duplicate requires.
11032
11033 * progmodes/prolog.el (info): No need to load when compiling.
11034 (comint): Require before shell requires it.
11035 (Info-goto-node): Autoload it.
11036 (Info-follow-nearest-node): Declare.
11037 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11038
11039 * textmodes/artist.el (picture-mode-exit): Declare.
11040
11041 * textmodes/reftex-parse.el (reftex-parse-from-file):
11042 Trivial rewrite so the compiler can parse it better.
11043
11044 2013-05-20 Leo Liu <sdl.web@gmail.com>
11045
11046 * progmodes/octave.el (octave-help-mode-map)
11047 (octave-help-mode-finish-hook): New variables.
11048 (octave-help-mode, octave-help-mode-finish): New functions.
11049 (octave-help): Use octave-help-mode.
11050
11051 2013-05-20 Glenn Morris <rgm@gnu.org>
11052
11053 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11054
11055 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11056
11057 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11058 start at point, so that expansion starting right after opening
11059 slash in a regexp is recognized.
11060 (ruby-syntax-before-regexp-re): New defvar, extracted from
11061 ruby-syntax-propertize-function. Since the value of this regexp
11062 is looked up at runtime now, we should be able to turn
11063 `ruby-syntax-methods-before-regexp' into a defcustom later.
11064 (ruby-syntax-propertize-function): Split regexp matching into two
11065 parts, for opening and closing slashes. That allows us to skip
11066 over string interpolations and support multiline regexps.
11067 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11068 for them, which calls `ruby-syntax-propertize-expansion'.
11069 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11070 call to `ruby-syntax-propertize-function'.
11071 (ruby-syntax-propertize-expansion): Extracted from
11072 `ruby-syntax-propertize-expansions'. Handles one expansion.
11073 (ruby-syntax-propertize-percent-literal): Leave point right after
11074 the percent symbol, so that the expression expansion rule can
11075 propertize the contents.
11076 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11077 heredoc openers.
11078 (ruby-syntax-propertize-expansions): Remove.
11079
11080 2013-05-18 Juri Linkov <juri@jurta.org>
11081
11082 * man.el (Man-default-man-entry): Remove `-' from the end
11083 of the default value. (Bug#14400)
11084
11085 2013-05-18 Glenn Morris <rgm@gnu.org>
11086
11087 * comint.el (comint-password-prompt-regexp):
11088 Allow "password for XXX" where XXX contains colons (eg https://...).
11089
11090 2013-05-18 Leo Liu <sdl.web@gmail.com>
11091
11092 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11093 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11094 (octave-source-directories): Don't check process.
11095 (octave-source-directories, octave-find-definition): Doc fix.
11096
11097 2013-05-18 Glenn Morris <rgm@gnu.org>
11098
11099 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11100 Remove backspace/delete bindings. (Bug#14392)
11101
11102 * cus-dep.el (custom-make-dependencies): Sort the output.
11103 (custom-versions-load-alist): Convert comment to doc.
11104
11105 2013-05-17 Leo Liu <sdl.web@gmail.com>
11106
11107 * newcomment.el (comment-search-backward): Stricter in finding
11108 comment start. (Bug#14303)
11109
11110 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11111 (octave-comment-start-skip): Properly anchored.
11112
11113 2013-05-17 Leo Liu <sdl.web@gmail.com>
11114
11115 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11116 Clean up when turned off. (Bug#14395)
11117 (smie--highlight-matching-block-overlay): No longer buffer-local.
11118 (smie-highlight-matching-block): Adjust.
11119
11120 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11121
11122 Doc string fix for "nanoseconds" (Bug#14406).
11123 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11124 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11125
11126 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11127
11128 * calc/calc-units.el (math-extract-units): Preserve powers
11129 of units.
11130
11131 2013-05-17 Leo Liu <sdl.web@gmail.com>
11132
11133 * subr.el (delete-consecutive-dups): New function.
11134 * ido.el (ido-set-matches-1): Use it.
11135 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11136 * ido.el (ido-remove-consecutive-dups): Remove.
11137
11138 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11141 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11142 regexp-opt's `words'.
11143
11144 2013-05-16 Leo Liu <sdl.web@gmail.com>
11145
11146 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11147 (smie--highlight-matching-block-overlay)
11148 (smie--highlight-matching-block-lastpos)
11149 (smie--highlight-matching-block-timer): New variables.
11150 (smie-highlight-matching-block): New function.
11151 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11152 (smie-setup): Conditionally enable smie-blink-matching-open.
11153
11154 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11155
11156 Sync with upstream verilog-mode r840.
11157 * progmodes/verilog-mode.el (verilog-mode-version)
11158 (verilog-mode-release-date): Update.
11159 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11160 (verilog-sig-tieoff): Fix string error on
11161 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11162 (verilog-read-decls): Fix parameters confusing
11163 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11164
11165 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11166
11167 * subr.el (reveal-filename): New function.
11168
11169 * loadup.el: Compute Emacs executable versions on MS-Windows,
11170 where executables have the .exe extension. Add a hard link
11171 emacs-XX.YY.ZZ.exe on MS-Windows.
11172
11173 * Makefile.in (XARGS_LIMIT): New variable.
11174 (custom-deps, finder-data, autoloads)
11175 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11176 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11177 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11178 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11179
11180 2013-05-16 Leo Liu <sdl.web@gmail.com>
11181
11182 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11183 (octave-mode-menu, octave-mode-map): Remove its uses.
11184
11185 2013-05-16 Reto Zimmermann <reto@gnu.org>
11186
11187 Sync with upstream vhdl mode v3.34.2.
11188 * progmodes/vhdl-mode.el: Use `push' throughout.
11189 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11190 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11191 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11192 (vhdl-actual-generic-name): New option to derive actual generic name.
11193 (vhdl-port-paste-signals): Replace formal by actual generics.
11194 (vhdl-beautify): New name for old group vhdl-align. Update users.
11195 (vhdl-beautify-options): New option.
11196 (vhdl-last-input-event): New compat alias. Use throughout.
11197 (vhdl-goto-line): Replace user level function `goto-line'.
11198 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11199 vhdl-fix-statement-buffer.
11200 (vhdl-create-mode-menu): Add some entries.
11201 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11202 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11203 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11204 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11205 to force statements on one line.
11206 (vhdl-remove-trailing-spaces-region):
11207 New, split from vhdl-remove-trailing-spaces.
11208 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11209 Respect vhdl-beautify-options.
11210 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11211 (vhdl-update-sensitivity-list): Not add with index if exists without.
11212 Not include array index with signal. Ignore keywords in comments.
11213 (vhdl-get-visible-signals): Regexp tweaks.
11214 (vhdl-template-component-inst): Handle empty library.
11215 (vhdl-template-type): Add template for 'enum' type.
11216 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11217 Use vhdl-replace-string.
11218 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11219 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11220 (vhdl-speedbar-initialize): Update for above name change.
11221 (vhdl-compose-wire-components): Fix in handling of constants.
11222 (vhdl-error-regexp-emacs-alist): New variable.
11223 (vhdl-error-regexp-add-emacs): New function;
11224 adds support for new compile.el (Emacs 22+)
11225 (vhdl-generate-makefile-1): Change target order for single lib. units.
11226 Allow use of absolute file names.
11227
11228 2013-05-16 Leo Liu <sdl.web@gmail.com>
11229
11230 * simple.el (prog-indent-sexp): Indent enclosing defun.
11231
11232 2013-05-15 Glenn Morris <rgm@gnu.org>
11233
11234 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11235 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11236 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11237 (whitespace-highlight): Move to whitespace group.
11238
11239 * comint.el (comint-source):
11240 * pcmpl-linux.el (pcmpl-linux):
11241 * shell.el (shell-faces):
11242 * eshell/esh-opt.el (eshell-opt):
11243 * international/ccl.el (ccl): Remove empty custom groups.
11244
11245 * completion.el (dynamic-completion-mode):
11246 * jit-lock.el (jit-lock-debug-mode):
11247 * minibuffer.el (completion-in-region-mode):
11248 * type-break.el (type-break-mode-line-message-mode)
11249 (type-break-query-mode):
11250 * emulation/tpu-edt.el (tpu-edt-mode):
11251 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11252 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11253 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11254
11255 * term/xterm.el (xterm): Change parent group to terminals.
11256
11257 * master.el (master): Remove empty custom group.
11258 (master-mode): Remove unused :group argument.
11259 * textmodes/refill.el (refill): Remove empty custom group.
11260 (refill-mode): Remove unused :group argument.
11261
11262 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11263
11264 * cus-dep.el: Provide a feature.
11265 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11266 Don't mistakenly ignore files whose basenames match a basename
11267 from preloaded-file-list (eg cedet/ede/simple.el).
11268 Add a fallback method for getting :group.
11269
11270 2013-05-15 Juri Linkov <juri@jurta.org>
11271
11272 * isearch.el (isearch-char-by-name): Rename from
11273 `isearch-insert-char-by-name'. Doc fix.
11274 (isearch-forward): Mention `isearch-char-by-name' in
11275 the docstring. (Bug#13348)
11276
11277 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11278 `exit-minibuffer' instead of
11279 `isearch-nonincremental-exit-minibuffer'.
11280 (isearch-edit-string): Remove mention of
11281 `isearch-nonincremental-exit-minibuffer' from docstring.
11282 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11283 (isearch-forward-exit-minibuffer)
11284 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11285
11286 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11287
11288 * loadup.el: Just use unversioned DOC.
11289
11290 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11291 literals as extending to EOB.
11292 (nxml-last-fontify-end): Remove unused variable.
11293 (nxml-after-change1): Use with-silent-modifications.
11294 (nxml-extend-after-change-region): Simplify.
11295 (nxml-extend-after-change-region1): Remove function.
11296 (nxml-after-change1): Don't adjust for dependent regions.
11297 (nxml-fontify-matcher): Simplify.
11298 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11299 (xmltok-add-dependent): Remove function.
11300 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11301 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11302 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11303 unclosed <[[, <?, comment, and other literals as extending to EOB.
11304 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11305 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11306 Remove functions.
11307 (rng-do-some-validation-1): Don't mark dependent regions.
11308 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11309 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11310 (nxml-clear-dependent-regions): Remove functions.
11311 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11312 (nxml-ensure-scan-up-to-date):
11313 Don't clear&mark dependent regions.
11314
11315 2013-05-15 Leo Liu <sdl.web@gmail.com>
11316
11317 * progmodes/octave.el (octave-goto-function-definition):
11318 Improve and fix callers.
11319
11320 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11323 the setter (bug#14387).
11324
11325 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11326 surrounding group (bug#14402).
11327
11328 2013-05-14 Juri Linkov <juri@jurta.org>
11329
11330 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11331 (Bug#14390)
11332
11333 2013-05-14 Glenn Morris <rgm@gnu.org>
11334
11335 * progmodes/f90.el (f90-imenu-generic-expression):
11336 Fix typo in 2013-05-08 change. (Bug#14402)
11337
11338 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11339
11340 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11341 Remove signals for which replies are never received.
11342
11343 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11344
11345 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11346 (gdb-handler-alist, gdb-handler-number): Remove variables.
11347 (gdb-handler-list): New variable.
11348 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11349 (gdb-pending-handler-p, gdb-handle-reply)
11350 (gdb-remove-all-pending-triggers): New functions.
11351 (gdb-discard-unordered-replies): New defcustom.
11352 (gdb-handler): New defstruct.
11353 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11354 instead of gdb-pending-triggers. Update docstring.
11355 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11356 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11357 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11358 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11359 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11360 (gdb-frame-handler): Pending triggers are now automatically managed.
11361 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11362 Remove argument.
11363 (gdb-input): Automatically handles pending triggers. Update docstring.
11364 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11365 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11366 Update comments.
11367 (gdb-done-or-error): Now use gdb-handle-reply.
11368
11369 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11370
11371 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11372 gdb-debug-log.
11373
11374 2013-05-14 Glenn Morris <rgm@gnu.org>
11375
11376 * subr.el (user-emacs-directory-warning): New option.
11377 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11378
11379 2013-05-14 Leo Liu <sdl.web@gmail.com>
11380
11381 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11382 during redisplay.
11383 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11384 (octave-font-lock-texinfo-comment): Fix invalid search bound
11385 error: wrong side of point.
11386
11387 2013-05-14 Glenn Morris <rgm@gnu.org>
11388
11389 * progmodes/flymake.el (flymake-xml-program): New option.
11390 (flymake-xml-init): Use it.
11391
11392 * term/xterm.el: Provide a feature.
11393
11394 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11395
11396 2013-05-13 Glenn Morris <rgm@gnu.org>
11397
11398 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11399 Add compat aliases as a hack workaround. (Bug#14384)
11400
11401 2013-05-13 Leo Liu <sdl.web@gmail.com>
11402
11403 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11404 ###, and %!.
11405 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11406 C-M-q.
11407 (octave-comment-start-skip): Include %!.
11408 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11409
11410 2013-05-12 Leo Liu <sdl.web@gmail.com>
11411
11412 * progmodes/octave.el (inferior-octave-startup): Store the value
11413 of __octave_srcdir__ for octave-source-directories.
11414 (inferior-octave-check-process): New function refactored out of
11415 inferior-octave-send-list-and-digest.
11416 (octave-source-directories)
11417 (octave-find-definition-filename-function): New variables.
11418 (octave-source-directories)
11419 (octave-find-definition-default-filename): New functions.
11420 (octave-find-definition): Improve to find functions implemented in C++.
11421
11422 2013-05-12 Glenn Morris <rgm@gnu.org>
11423
11424 * calendar/diary-lib.el (diary-outlook-format-1):
11425 Don't include dayname in the output. (Bug#14349)
11426
11427 2013-05-11 Glenn Morris <rgm@gnu.org>
11428
11429 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11430
11431 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11432 Treat cc-provide like provide.
11433
11434 2013-05-11 Kevin Ryde <user42@zip.com.au>
11435
11436 * cus-dep.el (custom-make-dependencies):
11437 Use generated-autoload-load-name for the sake of files such
11438 such cedet/semantic/bovine/c.el, where the base file name
11439 is not in load-path. (Bug#5277)
11440
11441 2013-05-11 Glenn Morris <rgm@gnu.org>
11442
11443 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11444 Provide features.
11445
11446 2013-05-11 Leo Liu <sdl.web@gmail.com>
11447
11448 * progmodes/octave.el (octave-indent-comment): Improve.
11449 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11450 (octave-eldoc-function-signatures, octave-eldoc-function):
11451 New functions.
11452 (octave-mode, inferior-octave-mode): Add eldoc support.
11453
11454 2013-05-11 Richard Stallman <rms@gnu.org>
11455
11456 * epa.el (epa-decrypt-file): Take output file name as argument
11457 and read it using `interactive'.
11458
11459 2013-05-11 Leo Liu <sdl.web@gmail.com>
11460
11461 * progmodes/octave.el (octave-beginning-of-line)
11462 (octave-end-of-line): Check before using up-list because it jumps
11463 out of more syntactic contructs since moving to smie.
11464 (octave-indent-comment): New function.
11465 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11466 (octave-begin-keywords, octave-end-keywords)
11467 (octave-reserved-words, octave-smie-bnf-table)
11468 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11469
11470 2013-05-11 Glenn Morris <rgm@gnu.org>
11471
11472 * faces.el (internal-face-x-get-resource):
11473 * frame.el (ns-display-monitor-attributes-list):
11474 * calc/calc-aent.el (math-to-radians-2):
11475 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11476 Fix declarations.
11477
11478 * calc/calc-menu.el: Make it loadable in isolation.
11479
11480 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11481 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11482 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11483 (eudc-bbdb-query-internal): Require 'bbdb.
11484
11485 * lpr.el (lpr-headers-switches):
11486 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11487
11488 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11489
11490 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11491
11492 * term.el (term-set-escape-char): Make it idempotent.
11493
11494 2013-05-10 Leo Liu <sdl.web@gmail.com>
11495
11496 * progmodes/octave.el (inferior-octave-completion-table):
11497 No longer a function and all uses changed. Use cache to speed up
11498 completion due to bug#11906.
11499 (octave-beginning-of-defun): Re-write to be more general.
11500
11501 2013-05-10 Glenn Morris <rgm@gnu.org>
11502
11503 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11504
11505 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * comint.el (comint-redirect-send-command-to-process): Use :around
11508 rather than :override for comint-redirect-filter.
11509 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11510 Call it instead of comint-redirect-original-filter-function (which
11511 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11512
11513 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11514
11515 * frame.el (display-monitor-attributes-list): Add NS case.
11516 (ns-display-monitor-attributes-list): Declare.
11517
11518 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11519
11520 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11521
11522 2013-05-09 Glenn Morris <rgm@gnu.org>
11523
11524 * international/fontset.el (vertical-centering-font-regexp):
11525 Set standard-value.
11526
11527 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11528
11529 * bookmark.el (bookmark-search-delay):
11530 * cus-start.el (vertical-centering-font-regexp):
11531 * ps-mule.el (ps-mule-font-info-database-default):
11532 * ps-print.el (ps-default-fg, ps-default-bg):
11533 * type-break.el (type-break-good-break-interval):
11534 * whitespace.el (whitespace-indentation-regexp)
11535 (whitespace-space-after-tab-regexp):
11536 * emacs-lisp/testcover.el (testcover-1value-functions)
11537 (testcover-noreturn-functions, testcover-progn-functions)
11538 (testcover-prog1-functions):
11539 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11540 * eshell/em-glob.el (eshell-glob-translate-alist):
11541 * play/tetris.el (tetris-tty-colors):
11542 * progmodes/cpp.el (cpp-face-default-list):
11543 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11544 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11545 (idlwave-help-browser-generic-args):
11546 * progmodes/make-mode.el (makefile-special-targets-list):
11547 * progmodes/python.el (python-shell-virtualenv-path):
11548 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11549 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11550 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11551 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11552 * textmodes/reftex-vars.el (reftex-format-label-function):
11553 * textmodes/remember.el (remember-diary-file): Fix custom types.
11554
11555 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11556 Add :version.
11557
11558 2013-05-09 Leo Liu <sdl.web@gmail.com>
11559
11560 * progmodes/octave.el (inferior-octave-completion-at-point):
11561 Restore file completion. (Bug#14300)
11562 (inferior-octave-startup): Fix incorrect highlighting for the
11563 first prompt.
11564
11565 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * progmodes/ruby-mode.el: First cut at SMIE support.
11568 (ruby-use-smie): New var.
11569 (ruby-smie-grammar): New constant.
11570 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11571 (ruby-smie--forward-token, ruby-smie--backward-token)
11572 (ruby-smie-rules): New functions.
11573 (ruby-mode-variables): Setup SMIE if applicable.
11574
11575 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11576
11577 * simple.el (line-move-visual): Signal beginning/end of buffer
11578 only if vertical-motion moved less than it was requested. Avoids
11579 silly incorrect error messages when there are display strings with
11580 multiple newlines at EOL.
11581
11582 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11583
11584 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11585 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11586 (prolog-char-quote-workaround):
11587 * progmodes/cperl-mode.el (cperl-under-as-char):
11588 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11589 Mark as obsolete.
11590 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11591 their declaration.
11592 (vhdl-mode-syntax-table-init): Remove.
11593
11594 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11595 last change.
11596
11597 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11598 syntax for "_".
11599 (ld-script-font-lock-keywords):
11600 Change regexps to use things like \_< and \_>.
11601
11602 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11603 Change all regexps to use things like \_< and \_>.
11604
11605 * progmodes/autoconf.el (autoconf-definition-regexp)
11606 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11607 Handle a _ with symbol syntax.
11608 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11609
11610 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11611 Consolidate declaration.
11612 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11613 the declaration.
11614 (ada-create-syntax-table): Remove.
11615 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11616 already has the right syntax nowadays.
11617 (ada-goto-next-word): Don't change the syntax of "_".
11618
11619 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11620 with-wrapper-hook.
11621
11622 2013-05-08 Sam Steingold <sds@gnu.org>
11623
11624 * thingatpt.el (thing-at-point): Accept optional second argument
11625 NO-PROPERTIES to strip the text properties from the return value.
11626 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11627 to `thing-at-point' instead of stripping the properties ourselves.
11628 Also, when `thing-at-point' fails to find a url, prepend "http://"
11629 to the filename at point on the assumption that the user is
11630 pointing at something like gnu.org/gnu.
11631
11632 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11633
11634 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11635 * faces.el (crm-separator):
11636 Silence byte-compiler.
11637
11638 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11639 (tool-bar-map): Remove unneeded defvars.
11640
11641 2013-05-08 Leo Liu <sdl.web@gmail.com>
11642
11643 Re-work a fix for bug#10994 based on Le Wang's patch.
11644 * ido.el (ido-remove-consecutive-dups): New helper.
11645 (ido-completing-read): Use it.
11646 (ido-chop): Revert fix for bug#10994.
11647
11648 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11649
11650 * cus-edit.el (custom-save-variables):
11651 Pretty-print long values. (Bug#14187)
11652
11653 2013-05-08 Glenn Morris <rgm@gnu.org>
11654
11655 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11656 (m4-mode-syntax-table): Init in the defvar.
11657 (m4-mode-abbrev-table): Let define-derived-mode define it.
11658
11659 2013-05-08 Tom Tromey <tromey@redhat.com>
11660
11661 * progmodes/m4-mode.el (m4-mode-syntax-table):
11662 Do not treat "_" as word constituent. (Bug#14167)
11663
11664 2013-05-07 Glenn Morris <rgm@gnu.org>
11665
11666 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11667 Remove explicit eshell-isearch-cancel-map.
11668
11669 * progmodes/f90.el (f90-smart-end-names): New option.
11670 (f90-smart-end): Doc fix.
11671 (f90-end-block-optional-name): New constant.
11672 (f90-block-match): Respect f90-smart-end-names.
11673
11674 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11675
11676 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11677 about implicit semi-colons (bug#14218).
11678
11679 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11680
11681 * frame.el (display-monitor-attributes-list)
11682 (frame-monitor-attributes): New functions.
11683
11684 2013-05-06 Leo Liu <sdl.web@gmail.com>
11685
11686 * progmodes/octave.el (octave-syntax-propertize-function): Change
11687 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11688 (octave-font-lock-keywords): Use octave-operator-regexp.
11689 (octave-completion-at-point): Rename from
11690 octave-completion-at-point-function.
11691 (inferior-octave-directory-tracker): Robustify.
11692 (octave-text-functions): Remove and fix its uses. No such things
11693 any more.
11694
11695 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emacs-lisp/trace.el (trace--display-buffer): New function.
11698 (trace-make-advice): Use it.
11699
11700 2013-05-06 Juri Linkov <juri@jurta.org>
11701
11702 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11703 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11704 Doc fix.
11705 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11706 in the help string. (Bug#12985)
11707
11708 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11709
11710 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11711
11712 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * progmodes/perl-mode.el: Add support for here documents.
11715 (perl-syntax-propertize-function): Match here-doc markers.
11716 (perl-syntax-propertize-special-constructs): Find their end.
11717 (perl-imenu-generic-expression): Use [:alnum:].
11718
11719 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11720 (advice--add-function): Refresh the advice if already present
11721 (bug#14317).
11722
11723 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11724
11725 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11726
11727 2013-05-06 Glenn Morris <rgm@gnu.org>
11728
11729 * w32-fns.el (w32-charset-info-alist): Declare.
11730
11731 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11732 of its defcustom properties.
11733 (eshell-cmpl-initialize): No need to load pcomplete.
11734
11735 * generic-x.el: No need to require comint when compiling.
11736
11737 * net/eudc-export.el: Make it loadable without bbdb.
11738 (top-level): Use require rather than load-library.
11739 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11740 (eudc-batch-export-records-to-bbdb)
11741 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11742 Require bbdb.
11743
11744 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11747 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11748 some tweaks, instead.
11749
11750 2013-05-05 Leo Liu <sdl.web@gmail.com>
11751
11752 * progmodes/octave.el (octave-font-lock-keywords)
11753 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11754 (inferior-octave-send-list-and-digest): Improve error message.
11755 (octave-mode, inferior-octave-mode): Use setq-local.
11756 (octave-help): Set info-lookup-mode.
11757
11758 2013-05-05 Richard Stallman <rms@gnu.org>
11759
11760 * vc/compare-w.el (compare-windows-whitespace):
11761 Treat no-break space as whitespace.
11762
11763 * mail/rmailsum.el (rmail-summary-rmail-update):
11764 Detect empty summary and don't change selected message.
11765 (rmail-summary-goto-msg): Likewise.
11766
11767 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11768 Doc fixes, rename args.
11769
11770 2013-05-05 Alan Mackenzie <acm@muc.de>
11771
11772 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11773
11774 2013-05-05 Juri Linkov <juri@jurta.org>
11775
11776 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11777 to not add the length of the summary segment to the return value.
11778 (Bug#14125)
11779
11780 2013-05-05 Leo Liu <sdl.web@gmail.com>
11781
11782 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11783 (inferior-octave-output-filter): Remove.
11784 (octave-send-region, inferior-octave-startup): Fix callers.
11785 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11786 (octave-binary-file-extensions): New user variable.
11787 (octave-find-definition): Confirm if opening binary files.
11788 (octave-help-file): Use octave-find-definition to get the binary
11789 confirmation.
11790 (octave-help): Adjust for octave-help-file change.
11791
11792 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11795 Merge the two entries that handle function definitions.
11796 (pascal--syntax-propertize): New const.
11797 (pascal-mode): Use it. Use setq-local.
11798
11799 2013-05-04 Glenn Morris <rgm@gnu.org>
11800
11801 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11802 (diary-from-outlook): Respect diary-from-outlook-function.
11803
11804 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11807 Move the declaration from C.
11808 (read-minibuffer, eval-minibuffer): Move from C.
11809 (completion-setup-function): Avoid minibuffer-completion-contents.
11810
11811 2013-05-03 Leo Liu <sdl.web@gmail.com>
11812
11813 * progmodes/octave.el (octave-font-lock-keywords): Do not
11814 dehighlight 'end' in comments or strings.
11815 (octave-completing-read, octave-goto-function-definition):
11816 New helpers.
11817 (octave-help-buffer): New user variable.
11818 (octave-help-file, octave-help-function): New button types.
11819 (octave-help): New command and bind it to C-h ;.
11820 (octave-find-definition): New command and bind it to M-.
11821 (user-error): Alias to error if not defined.
11822
11823 2013-05-02 Leo Liu <sdl.web@gmail.com>
11824
11825 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11826 for \. (bug#14332)
11827 (octave-font-lock-keywords): Include [ and {.
11828
11829 2013-05-02 Leo Liu <sdl.web@gmail.com>
11830
11831 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11832 (inferior-octave): Remove calling comint-mode and return the buffer.
11833 (inferior-octave-startup): Cosmetic changes.
11834
11835 2013-05-02 Leo Liu <sdl.web@gmail.com>
11836
11837 * progmodes/octave.el (octave-syntax-propertize-function):
11838 Include the case when ' is at line beginning. (Bug#14336)
11839
11840 2013-05-02 Glenn Morris <rgm@gnu.org>
11841
11842 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11843 * desktop.el (vc-dir-mode): Just autoload it here.
11844
11845 2013-05-02 Alan Mackenzie <acm@muc.de>
11846
11847 Eliminate variable c-standard-font-lock-fontify-region-function.
11848 * progmodes/cc-mode.el
11849 (c-standard-font-lock-fontify-region-function): Remove.
11850 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11851
11852 2013-05-01 Leo Liu <sdl.web@gmail.com>
11853
11854 * progmodes/octave.el: Compatible with older emacs-24 releases.
11855 (inferior-octave-has-built-in-variables): Remove. Built-in
11856 variables were removed from Octave in 2007.
11857 (inferior-octave-startup): Fix uses.
11858 (comint-line-beginning-position): Remove compatibility code for
11859 emacs 21.
11860
11861 2013-05-01 Juri Linkov <juri@jurta.org>
11862
11863 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11864
11865 2013-05-01 Juri Linkov <juri@jurta.org>
11866
11867 * comint.el (comint-previous-matching-input): Don't print message
11868 "History item: %d" when `isearch-mode' is active.
11869 (comint-history-isearch-message): Print message "History item: %d"
11870 when `comint-input-ring-index' is not empty and this function is
11871 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11872
11873 2013-05-01 Leo Liu <sdl.web@gmail.com>
11874
11875 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11876 definitions. Use completion-at-point to insert keywords.
11877 (octave-abbrev-start): Remove.
11878 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11879
11880 2013-04-30 Leo Liu <sdl.web@gmail.com>
11881
11882 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11883 change.
11884
11885 2013-04-30 Alan Mackenzie <acm@muc.de>
11886
11887 Handle arbitrarily long C++ member initialisation lists.
11888 * progmodes/cc-engine.el (c-back-over-member-initializers):
11889 new function.
11890 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11891 (most) member init lists.
11892
11893 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11894
11895 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11896 variable.
11897
11898 2013-04-30 Leo Liu <sdl.web@gmail.com>
11899
11900 * progmodes/octave.el (octave-variables): Remove. No builtin
11901 variables any more. All converted to functions.
11902 (octave-font-lock-keywords, octave-completion-at-point-function):
11903 Fix uses.
11904 (octave-font-lock-texinfo-comment): New user variable.
11905 (octave-texinfo-font-lock-keywords): New variable for texinfo
11906 comment block.
11907 (octave-function-comment-block): New face.
11908 (octave-font-lock-texinfo-comment): New function.
11909 (octave-mode): Font lock texinfo comment block.
11910
11911 2013-04-29 Leo Liu <sdl.web@gmail.com>
11912
11913 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11914 indexing expression.
11915 (octave-continuation-string): Do not use \.
11916 (inferior-octave-complete-impossible): Remove.
11917 (inferior-octave-completion-table)
11918 (inferior-octave-completion-at-point): Remove its uses.
11919 (inferior-octave-startup): completion_matches was introduced to
11920 Octave in 1996 so safe to assume it.
11921 (octave-function-file-comment): Improve to follow how Octave does it.
11922 (octave-update-function-file-comment): Tweak.
11923
11924 2013-04-29 Leo Liu <sdl.web@gmail.com>
11925
11926 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11927 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11928 (octave-function-file-comment): Fix typo.
11929 (octave-sync-function-file-names): Use read-char-choice.
11930
11931 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11932
11933 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11934 to t for the less important warnings.
11935
11936 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11937
11938 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11939
11940 2013-04-27 Glenn Morris <rgm@gnu.org>
11941
11942 * vc/log-view.el (log-view-current-entry):
11943 Treat "---" separator lines as part of the following rev. (Bug#14169)
11944
11945 2013-04-27 Juri Linkov <juri@jurta.org>
11946
11947 * subr.el (read-number): Doc fix about using it by interactive
11948 code letter `n'. (Bug#14254)
11949
11950 2013-04-27 Juri Linkov <juri@jurta.org>
11951
11952 * desktop.el (desktop-auto-save-timeout): New option.
11953 (desktop-file-checksum): New variable.
11954 (desktop-save): Add optional arg `auto-save' and don't auto-save
11955 if nothing changed.
11956 (desktop-auto-save-timer): New variable.
11957 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11958 (after-init-hook): Call `desktop-auto-save-set-timer'.
11959 Suggested by Reuben Thomas <rrt@sc3d.org> in
11960 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11961
11962 2013-04-27 Leo Liu <sdl.web@gmail.com>
11963
11964 * progmodes/octave.el (octave-function-file-p)
11965 (octave-skip-comment-forward, octave-function-file-comment)
11966 (octave-update-function-file-comment): New functions.
11967 (octave-mode-map): Bind C-c ; to
11968 octave-update-function-file-comment.
11969 (octave-mode-menu): Add octave-update-function-file-comment.
11970 (octave-mode, inferior-octave-mode): Fix doc-string.
11971 (octave-insert-defun): Conform to Octave's coding convention.
11972 (Bug#14285)
11973
11974 * files.el (basic-save-buffer): Don't let errors in
11975 before-save-hook prevent saving buffer.
11976
11977 2013-04-20 Roland Winkler <winkler@gnu.org>
11978
11979 * faces.el (read-face-name): Use completing-read if arg multiple
11980 is nil.
11981
11982 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11983
11984 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11985 displayed, move point to after the totals line.
11986 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11987 for the details.
11988
11989 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11992 Add current dir to the load-path.
11993 (package-generate-autoloads): Don't rely on
11994 autoload-ensure-default-file.
11995
11996 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11997
11998 * textmodes/remember.el (remember-store-in-files): Document that
11999 the file name format is passed to `format-time-string'.
12000
12001 2013-04-26 Leo Liu <sdl.web@gmail.com>
12002
12003 * progmodes/octave.el (octave-sync-function-file-names): New function.
12004 (octave-mode): Use it in before-save-hook.
12005
12006 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12009 (bug#14274).
12010
12011 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12012 \n and comment, even if it's not an implicit ; (bug#14218).
12013
12014 2013-04-26 Glenn Morris <rgm@gnu.org>
12015
12016 * subr.el (read-number): Once more use `read' rather than
12017 `string-to-number', to trap non-numeric input. (Bug#14254)
12018
12019 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12020
12021 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12022 Use `syntax-multiline' text property consistently instead of
12023 `font-lock-multiline'. (Bug#14237)
12024
12025 2013-04-26 Glenn Morris <rgm@gnu.org>
12026
12027 * emacs-lisp/shadow.el (list-load-path-shadows):
12028 No longer necessary to check for duplicate simple.el, since
12029 2012-07-07 change to init_lread to not include installation lisp
12030 directories in load-path when running uninstalled. (Bug#14270)
12031
12032 2013-04-26 Leo Liu <sdl.web@gmail.com>
12033
12034 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12035 (octave-mode, inferior-octave-mode): Use setq-local.
12036 (octave-not-in-string-or-comment-p): Rename to
12037 octave-in-string-or-comment-p.
12038 (octave-in-comment-p, octave-in-string-p)
12039 (octave-in-string-or-comment-p): Replace defsubst with defun.
12040
12041 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12042
12043 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12044
12045 2013-04-25 Bastien Guerry <bzg@gnu.org>
12046
12047 * textmodes/remember.el (remember-data-directory)
12048 (remember-directory-file-name-format): Fix custom types.
12049
12050 2013-04-25 Leo Liu <sdl.web@gmail.com>
12051
12052 * progmodes/octave.el (octave-completion-at-point-function):
12053 Make use of inferior octave process.
12054 (octave-initialize-completions): Remove.
12055 (inferior-octave-completion-table): New function.
12056 (inferior-octave-completion-at-point): Use it.
12057 (octave-completion-alist): Remove.
12058
12059 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12062 (opascal-mode-syntax-table): New var.
12063 (opascal-literal-kind, opascal-is-literal-end)
12064 (opascal-literal-token-at): Rewrite.
12065 (opascal--literal-start-re, opascal-font-lock-keywords)
12066 (opascal--syntax-propertize): New constants.
12067 (opascal-font-lock-defaults): Adjust.
12068 (opascal-mode): Use them. Set comment-<foo> variables as well.
12069 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12070 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12071 (delphi-other-face, opascal-other-face): Remove face variables.
12072 (opascal-save-state): Remove macro.
12073 (opascal-fontifying-progress-step): Remove constant.
12074 (opascal--ignore-changes): Remove var.
12075 (opascal-set-token-property, opascal-parse-next-literal)
12076 (opascal-is-stable-literal, opascal-complete-literal)
12077 (opascal-is-literal-start, opascal-face-of)
12078 (opascal-parse-region, opascal-parse-region-until-stable)
12079 (opascal-fontify-region, opascal-after-change)
12080 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12081 (opascal-debug-parse-region, opascal-debug-parse-window)
12082 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12083 (opascal-debug-fontify-buffer): Remove.
12084 (opascal-debug-mode-map): Adjust accordingly.
12085
12086 2013-04-25 Leo Liu <sdl.web@gmail.com>
12087
12088 Merge octave-mod.el and octave-inf.el into octave.el with some
12089 cleanups.
12090 * progmodes/octave.el: New file renamed from octave-mod.el.
12091 * progmodes/octave-inf.el: Merged into octave.el.
12092 * progmodes/octave-mod.el: Renamed to octave.el.
12093
12094 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12095
12096 * textmodes/reftex-vars.el
12097 (reftex-label-ignored-macros-and-environments): New defcustom.
12098
12099 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12100
12101 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12104 (smie-indent-keyword): Improve the check to ensure that the next
12105 comment is really on the same line.
12106 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12107
12108 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12109 semi-colons if the line is not otherwise empty (bug#14218).
12110
12111 2013-04-25 Glenn Morris <rgm@gnu.org>
12112
12113 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12114
12115 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12116
12117 * progmodes/opascal.el (opascal-set-token-property): Rename from
12118 opascal-set-text-properties and only set `token' (bug#14134).
12119 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12120 (opascal-literal-text-properties): Remove.
12121 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12122 Adjust callers.
12123
12124 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12125
12126 * textmodes/remember.el (remember-handler-functions): Add an
12127 option for a new handler `remember-store-in-files'.
12128 (remember-data-directory, remember-directory-file-name-format):
12129 New options.
12130 (remember-store-in-files): New function to store remember notes
12131 as separate files within a directory.
12132
12133 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12134
12135 * progmodes/compile.el (compilation-next-error-function):
12136 Pass "formats" to compilation-find-file (bug#11777).
12137
12138 2013-04-24 Glenn Morris <rgm@gnu.org>
12139
12140 * vc/vc-bzr.el (vc-bzr-print-log):
12141 * vc/vc-hg.el (vc-hg-print-log):
12142 * vc/vc-svn.el (vc-svn-print-log):
12143 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12144
12145 * vc/vc-bzr.el (vc-bzr-print-log):
12146 * vc/vc-cvs.el (vc-cvs-print-log):
12147 * vc/vc-git.el (vc-git-print-log):
12148 * vc/vc-hg.el (vc-hg-print-log):
12149 * vc/vc-mtn.el (vc-mtn-print-log):
12150 * vc/vc-rcs.el (vc-rcs-print-log):
12151 * vc/vc-sccs.el (vc-sccs-print-log):
12152 * vc/vc-svn.el (vc-svn-print-log):
12153 * vc/vc.el (vc-print-log-internal): Doc fixes.
12154
12155 2013-04-23 Glenn Morris <rgm@gnu.org>
12156
12157 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12158 Remove venerable code attempting to avoid substitute-command-keys.
12159
12160 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12161
12162 * textmodes/reftex-vars.el (reftex-label-regexps):
12163 Call `reftex-compile-variables' after changes to this variable.
12164
12165 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12168 Use lexical-binding.
12169 (jit-lock-force-redisplay): Use markers, check buffer's continued
12170 existence and beware narrowed buffers.
12171 (jit-lock-fontify-now): Adjust call accordingly.
12172
12173 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12176 to avoid misleading the user.
12177
12178 2013-04-22 Leo Liu <sdl.web@gmail.com>
12179
12180 * info-look.el: Prefer latex2e.info. (Bug#14240)
12181
12182 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12183
12184 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12185
12186 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12187 * net/tramp.el (tramp-call-process): ... here.
12188 (tramp-set-completion-function, tramp-parse-putty):
12189 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12190 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12191 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12192 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12193 (tramp-call-local-coding-command): Use `tramp-call-process'
12194 instead of `tramp-compat-call-process'.
12195
12196 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12197 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12198 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12199 (tramp-find-inline-compress): Improve traces.
12200 (tramp-maybe-send-script): Check for Perl binary.
12201 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12202
12203 2013-04-22 Daiki Ueno <ueno@gnu.org>
12204
12205 * epg.el (epg-context-pinentry-mode): New function.
12206 (epg-context-set-pinentry-mode): New function.
12207 (epg--start): Pass --pinentry-mode option to gpg command.
12208
12209 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12210
12211 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12212 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12213 `completion-at-point'. (Bug#13774)
12214
12215 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12216 default key binding for `describe-distribution' has been moved to
12217 `C-h C-o'. (Bug#13970)
12218
12219 2013-04-21 Glenn Morris <rgm@gnu.org>
12220
12221 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12222 Add doc strings.
12223 (vc-print-log): Clarify interactive prompt.
12224
12225 2013-04-20 Glenn Morris <rgm@gnu.org>
12226
12227 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12228 No longer include timestamp etc information.
12229
12230 2013-04-20 Roland Winkler <winkler@gnu.org>
12231
12232 * faces.el (read-face-name): Bug fix, return just one face if arg
12233 multiple is nil. (Bug#14209)
12234
12235 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12238 (remove-function): Autoload.
12239
12240 * comint.el (comint-redirect-original-filter-function): Remove.
12241 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12242 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12243 (vc-cvs-annotate-command):
12244 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12245 * progmodes/prolog.el (prolog-consult-compile):
12246 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12247 Use add/remove-function instead.
12248 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12249 (gud-tooltip-process-output, gud-tooltip-tips):
12250 Use add/remove-function instead.
12251 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12252 (scheme-interaction-mode, exit-scheme-interaction-mode):
12253 Use add/remove-function instead.
12254
12255 * vc/vc-dispatcher.el: Use lexical-binding.
12256 (vc--process-sentinel): Rename from vc-process-sentinel.
12257 Change last arg to be the code to run. Don't use vc-previous-sentinel
12258 and vc-sentinel-commands any more.
12259 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12260 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12261
12262 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12263
12264 * progmodes/sh-script.el (sh-imenu-generic-expression):
12265 Handle function names with a single character. (Bug#14111)
12266
12267 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12268
12269 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12270 for subroutines defined in an eval (bug#14182).
12271
12272 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12273
12274 * bookmark.el (bookmark-completing-read): Improve handling of empty
12275 string (bug#14176).
12276
12277 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12278
12279 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12280
12281 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12282
12283 New faster Imenu implementation (bug#14058).
12284 * progmodes/python.el:
12285 (python-imenu-prev-index-position):
12286 (python-imenu-format-item-label-function)
12287 (python-imenu-format-parent-item-label-function)
12288 (python-imenu-format-parent-item-jump-label-function):
12289 New vars.
12290 (python-imenu-format-item-label)
12291 (python-imenu-format-parent-item-label)
12292 (python-imenu-format-parent-item-jump-label)
12293 (python-imenu--put-parent, python-imenu--build-tree)
12294 (python-imenu-create-index, python-imenu-create-flat-index)
12295 (python-util-popn): New functions.
12296 (python-mode): Set imenu-create-index-function to
12297 python-imenu-create-index.
12298
12299 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * winner.el (winner-active-region): Use region-active-p, activate-mark
12302 and deactivate-mark (bug#14225).
12303
12304 * simple.el (deactivate-mark): Don't inline it.
12305
12306 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12307
12308 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12309
12310 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12311
12312 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12313 file extensions from the archive-mode entry in order to prefer
12314 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12315
12316 2013-04-18 Leo Liu <sdl.web@gmail.com>
12317
12318 * bindings.el (help-event-list): Add ?\?.
12319
12320 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * subr.el (with-wrapper-hook): Declare obsolete.
12323 * simple.el (filter-buffer-substring-function): New hook.
12324 (filter-buffer-substring): Use it.
12325 (filter-buffer-substring-functions): Mark obsolete.
12326 * minibuffer.el (completion-in-region-function): New hook.
12327 (completion-in-region): Use it.
12328 (completion-in-region-functions): Mark obsolete.
12329 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12330 * abbrev.el (abbrev-expand-function): New hook.
12331 (expand-abbrev): Use it.
12332 (abbrev-expand-functions): Mark obsolete.
12333 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12334 and :filter-return.
12335
12336 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12337
12338 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12339 and do not care about match data.
12340
12341 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12344 completion tables when completing error conditions and
12345 `declare' arguments.
12346 (lisp-complete-symbol, field-complete): Mark as obsolete.
12347 (check-parens): Unmatched parens are user errors.
12348 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12349
12350 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12351
12352 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12353 command changed buffer (ie. `flyspell-pre-buffer' is not current
12354 buffer), which prevents making decisions based on invalid value of
12355 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12356 cause an error when `flyspell-pre-point' was nil after switching
12357 buffers.
12358 (flyspell-post-command-hook): No longer needs to change buffers when
12359 checking pre-word. While at it remove unnecessary progn.
12360
12361 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12362
12363 * textmodes/ispell.el (ispell-add-per-file-word-list):
12364 Fix `flyspell-correct-word-before-point' error when accepting
12365 words and `coment-padding' is an integer by using
12366 `comment-normalize-vars' (Bug #14214).
12367
12368 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12369
12370 New defun movement commands.
12371 * progmodes/python.el (python-nav--syntactically)
12372 (python-nav--forward-defun, python-nav-backward-defun)
12373 (python-nav-forward-defun): New functions.
12374
12375 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12376
12377 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12378 (python-syntax-context): Use named compiler-macro for backwards
12379 compatibility with Emacs 24.x.
12380
12381 2013-04-17 Leo Liu <sdl.web@gmail.com>
12382
12383 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12384 octave-hide-process-buffer.
12385
12386 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12389 (bug#14216).
12390
12391 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12392
12393 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12394 Fix adjustment of offset when receiving incomplete responses from GDB
12395 (bug#14129).
12396
12397 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12398
12399 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12400 python-mode-abbrev-table.
12401 (python-skeleton-define): Adjust accordingly.
12402 (python-mode-abbrev-table): New table that inherits from it so that
12403 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12404
12405 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12406 (abbrev-symbol): Use it.
12407 (abbrev--before-point): Use it since we already handle inheritance.
12408
12409 2013-04-16 Leo Liu <sdl.web@gmail.com>
12410
12411 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12412 binding to info-lookup-symbol.
12413
12414 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12415
12416 * minibuffer.el (completion--twq-all):
12417 * term/ns-win.el (ns-initialize-window-system):
12418 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12419
12420 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12423 global bindings.
12424
12425 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12426
12427 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12428
12429 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12430 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12431 to nil.
12432 (ruby-end-of-defun): Remove the unused arg, change the docstring
12433 to reflect that this function is only used as the value of
12434 `end-of-defun-function'.
12435 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12436 to reflect an earlier change that beginning/end-of-defun functions
12437 jump between methods in a class definition, as well as top-level
12438 functions.
12439
12440 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * minibuffer.el (minibuffer-complete): Don't just scroll
12443 a *Completions* that's been iconified.
12444 (minibuffer-force-complete): Make sure repetitions do cycle when going
12445 through completion-in-region -> minibuffer-complete.
12446
12447 2013-04-15 Alan Mackenzie <acm@muc.de>
12448
12449 Correct the placement of c-cpp-delimiters when there're #s not at
12450 col 0.
12451
12452 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12453 place a submatch around the #.
12454 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12455 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12456 on the #, not BOL.
12457
12458 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12461 (advice--member-p): New arg `name'.
12462 (advice--add-function, advice-member-p): Use it (bug#14202).
12463
12464 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12465
12466 Reformulate java imenu-generic-expression.
12467 The old expression contained ill formed regexps.
12468
12469 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12470 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12471 (cc-imenu-java-method-arg-regexp): New defconsts.
12472 (cc-imenu-java-build-type-args-regex): New defun.
12473 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12474 handling of spaces in the regexp.
12475
12476 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12477
12478 * textmodes/ispell.el (ispell-command-loop): Remove
12479 flyspell highlight of a word when ispell accepts it (bug #14178).
12480
12481 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12482
12483 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12484 uses code from the previous `ange-ftp-run-real-handler'.
12485 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12486 only in case that function exist. This is needed for proper
12487 unloading of Tramp.
12488
12489 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12490
12491 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12492
12493 * textmodes/reftex.el (reftex-compile-variables): Use it.
12494
12495 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * files.el (normal-mode): Only use default major-mode if no other mode
12498 was specified.
12499
12500 * emacs-lisp/trace.el (trace-values): New function.
12501
12502 * files.el: Allow : in local variables (bug#14089).
12503 (hack-local-variable-regexp): New var.
12504 (hack-local-variables-prop-line, hack-local-variables): Use it.
12505
12506 2013-04-13 Roland Winkler <winkler@gnu.org>
12507
12508 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12509 data before it gets modified by bibtex-beginning-of-entry.
12510
12511 2013-04-13 Roland Winkler <winkler@gnu.org>
12512
12513 * textmodes/bibtex.el (bibtex-url): Doc fix.
12514
12515 2013-04-13 Roland Winkler <winkler@gnu.org>
12516
12517 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12518 does not visit a BibTeX file, exclude it from the list of buffers
12519 returned by bibtex-initialize.
12520
12521 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12522
12523 * window.el (split-window): Remove interactive form, since as a
12524 command this function is a special case of split-window-below.
12525 Correct doc string.
12526
12527 2013-04-12 Roland Winkler <winkler@gnu.org>
12528
12529 * faces.el (read-face-name): Do not override value of arg default.
12530 Allow single faces and strings as default values. Remove those
12531 elements from return value that are not faces.
12532 (describe-face): Simplify.
12533 (face-at-point): New optional args thing and multiple so that this
12534 function can provide the same functionality previously provided by
12535 read-face-name.
12536 (make-face-bold, make-face-unbold, make-face-italic)
12537 (make-face-unitalic, make-face-bold-italic, invert-face)
12538 (modify-face, read-face-and-attribute): Use face-at-point.
12539
12540 * cus-edit.el (customize-face, customize-face-other-window)
12541 * cus-theme.el (custom-theme-add-face)
12542 * face-remap.el (buffer-face-set)
12543 * facemenu.el (facemenu-set-face): Use face-at-point.
12544
12545 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12546
12547 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12548
12549 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12550
12551 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12552 off leading { and trailing } from field values.
12553
12554 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * emacs-lisp/timer.el (timer--check): New function.
12557 (timer--time, timer-set-function, timer-event-handler): Use it.
12558 (timer-set-idle-time): Simplify.
12559 (timer--activate): CSE.
12560 (timer-event-handler): Give more info in error message.
12561 (internal-timer-start-idle): New function, moved from C.
12562
12563 * mpc.el (mpc-proc): Add `restart' argument.
12564 (mpc-proc-cmd): Use it.
12565 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12566 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12567 less often.
12568
12569 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12570
12571 * progmodes/sh-script.el: Implement `sh-mode' own
12572 `add-log-current-defun-function' (bug#14112).
12573 (sh-current-defun-name): New function.
12574 (sh-mode): Use the function.
12575
12576 2013-04-09 Bastien Guerry <bzg@gnu.org>
12577
12578 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12579
12580 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12581
12582 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12583
12584 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12585 timer (bug#14156).
12586
12587 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12588
12589 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12590 declaration.
12591
12592 2013-04-07 Leo Liu <sdl.web@gmail.com>
12593
12594 * pcmpl-x.el: New file.
12595
12596 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12597
12598 Do not set x-display-name until X connection is established.
12599 This is needed to prevent from weird situation described at
12600 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12601 * frame.el (make-frame): Set x-display-name after call to
12602 window system initialization function, not before.
12603 * term/x-win.el (x-initialize-window-system): Add optional
12604 display argument and use it.
12605 * term/w32-win.el (w32-initialize-window-system):
12606 * term/ns-win.el (ns-initialize-window-system):
12607 * term/pc-win.el (msdos-initialize-window-system):
12608 Add compatible optional display argument.
12609
12610 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12611
12612 * files.el (normal-backup-enable-predicate): On MS-Windows and
12613 MS-DOS compare truenames of temporary-file-directory and of the
12614 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12615 don't fail comparison by compare-strings. Also, compare file
12616 names case-insensitively on MS-Windows and MS-DOS.
12617
12618 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12621 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12622
12623 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12624
12625 * whitespace.el (whitespace-color-on, whitespace-color-off):
12626 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12627
12628 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12629
12630 * ispell.el (ispell-set-spellchecker-params):
12631 Really set `ispell-args' for all equivs.
12632
12633 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * ido.el (ido-completions): Use extra elements of ido-decorations
12636 (bug#14143).
12637 (ido-decorations): Update docstring.
12638
12639 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12640
12641 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12642 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12643 nil during initialization, in order not to miss changes since the
12644 file was opened. (Bug#14140)
12645
12646 2013-04-05 Leo Liu <sdl.web@gmail.com>
12647
12648 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12649
12650 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12651
12652 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12653
12654 2013-04-04 Glenn Morris <rgm@gnu.org>
12655
12656 * electric.el (electric-pair-inhibit-predicate): Add :version.
12657
12658 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12661 when a package is required several times (bug#14082).
12662
12663 2013-04-04 Roland Winkler <winkler@gnu.org>
12664
12665 * faces.el (read-face-name): Behave as promised by the docstring.
12666 Assume that arg default is a list of faces.
12667 (describe-face): Call read-face-name with list of default faces.
12668
12669 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12670
12671 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12672 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12673 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12674 the header.
12675 (bookmark-exit-hook-internal): Save even if list is empty.
12676
12677 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12678
12679 * emacs-lisp/package.el (package-pinned-packages): New var.
12680 (package--add-to-archive-contents): Obey it (bug#14118).
12681
12682 2013-04-03 Alan Mackenzie <acm@muc.de>
12683
12684 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12685 Also adapt to the new values of element 7 of a parse state.
12686
12687 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12688 parameter `not-in-delimiter'. Handle being inside comment opener.
12689 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12690 character in case we're typing a '*' after a '/'.
12691 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12692 instead by passing the parameter to c-state-pp-to-literal.
12693
12694 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12695 for elt. 7 of a parse state.
12696
12697 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12698
12699 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12700 * international/latin1-disp.el, international/mule-util.el:
12701 * language/cyril-util.el, language/european.el, language/ind-util.el:
12702 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12703 * language/tibetan.el, language/viet-util.el:
12704 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12705
12706 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12709 (electric-pair-post-self-insert-function): Use it.
12710 (electric-pair-default-inhibit): New function, extracted from
12711 electric-pair-post-self-insert-function.
12712
12713 2013-03-31 Roland Winkler <winkler@gnu.org>
12714
12715 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12716
12717 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12720
12721 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12722
12723 Un-indent after "pass" and "return" statements (Bug#13888)
12724 * progmodes/python.el (python-indent-block-enders): New var.
12725 (python-indent-calculate-indentation): Use it.
12726
12727 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12728
12729 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12730 defun. Defining it as defalias could introduce too eager
12731 byte-compiler optimization. (Bug#14030)
12732
12733 2013-03-30 Chong Yidong <cyd@gnu.org>
12734
12735 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12736
12737 2013-03-30 Leo Liu <sdl.web@gmail.com>
12738
12739 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12740 (kmacro-execute-from-register): Pass the keyboard macro to
12741 kmacro-call-macro or repeating won't work correctly.
12742
12743 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12744
12745 * progmodes/subword.el: Back to using `forward-symbol'.
12746
12747 * subr.el (forward-whitespace, forward-symbol)
12748 (forward-same-syntax): Move from thingatpt.el.
12749
12750 2013-03-29 Leo Liu <sdl.web@gmail.com>
12751
12752 * kmacro.el (kmacro-to-register): New command.
12753 (kmacro-execute-from-register): New function.
12754 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12755
12756 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * mpc.el: Use defvar-local and setq-local.
12759 (mpc--proc-connect): Connection failures are not bugs.
12760 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12761 (mpc-volume-map): Bind to the up-events.
12762
12763 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12764
12765 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12766 instead of `forward-symbol'.
12767
12768 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12769
12770 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12771 (edebug--recursive-edit): Use it.
12772 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12773 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12774
12775 2013-03-28 Leo Liu <sdl.web@gmail.com>
12776
12777 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12778
12779 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12780
12781 * facemenu.el (list-colors-callback): New defvar.
12782 (list-colors-redisplay): New function.
12783 (list-colors-display): Install list-colors-redisplay as the
12784 revert-buffer-function. (Bug#14063)
12785
12786 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12789 and suffixes don't overlap (bug#14061).
12790
12791 * case-table.el: Use lexical-binding.
12792 (case-table-get-table): New function.
12793 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12794
12795 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12796
12797 * progmodes/subword.el: Add `superword-mode' to do word motion
12798 over symbol_words (parallels and leverages `subword-mode' which
12799 does word motion inside MixedCaseWords).
12800
12801 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12802
12803 * eshell/em-unix.el: Move su and sudo to...
12804 * eshell/em-tramp.el: ...Eshell tramp module.
12805
12806 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12809 Change return value to be a sexp. Delay `get-buffer' to after
12810 restoring the desktop (bug#13951).
12811
12812 2013-03-26 Leo Liu <sdl.web@gmail.com>
12813
12814 * register.el: Move semantic tag handling back to
12815 cedet/semantic/senator.el. (Bug#14052)
12816
12817 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12820 into the prompt either (bug#13963).
12821
12822 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12825 part of "(error-foo)".
12826
12827 2013-03-24 Juri Linkov <juri@jurta.org>
12828
12829 * replace.el (list-matching-lines-prefix-face): New defcustom.
12830 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12831 `occur-engine' if `face-differs-from-default-p' returns t.
12832 (occur-engine): Add `,' inside backquote construct to evaluate
12833 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12834 Pass `prefix-face' to the functions `occur-context-lines' and
12835 `occur-engine-add-prefix'.
12836 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12837 `prefix-face' and propertize the prefix with `prefix-face'.
12838 (Bug#14017)
12839
12840 2013-03-24 Leo Liu <sdl.web@gmail.com>
12841
12842 * nxml/rng-valid.el (rng-validate-while-idle)
12843 (rng-validate-quick-while-idle): Guard against deleted buffer.
12844 (Bug#13999)
12845
12846 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12847 is the last entry in kill-buffer-hook.
12848
12849 * files.el (kill-buffer-hook): Doc fix.
12850
12851 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12852
12853 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12854 Make it safe-local.
12855
12856 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12857
12858 2013-03-23 Leo Liu <sdl.web@gmail.com>
12859
12860 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12861 Remove.
12862
12863 * nxml/rng-valid.el (rng-validate-mode)
12864 (rng-after-change-function, rng-do-some-validation):
12865 * nxml/rng-maint.el (rng-validate-buffer):
12866 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12867 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12868 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12869 (nxml-extend-after-change-region): Use with-silent-modifications.
12870
12871 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12872 timer-idle-list.
12873
12874 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12875 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12876 timer-idle-list. (Bug#13999)
12877
12878 2013-03-23 Juri Linkov <juri@jurta.org>
12879
12880 * info.el (info-index-match): New face.
12881 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12882 main pattern and add text properties with the new face to matches
12883 in index entries relative to the beginning of the index entry.
12884 (Bug#14015)
12885
12886 2013-03-21 Eric Ludlam <zappo@gnu.org>
12887
12888 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12889 Inhibit read only while inserting objects.
12890
12891 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12892
12893 * progmodes/cfengine.el: Update docs to mention
12894 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12895 symbol motion. Remove "_" from the word syntax.
12896
12897 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12898
12899 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12900 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12901
12902 2013-03-20 Juri Linkov <juri@jurta.org>
12903
12904 * info.el (Info-next-reference-or-link)
12905 (Info-prev-reference-or-link): New functions.
12906 (Info-next-reference, Info-prev-reference): Use them.
12907 (Info-try-follow-nearest-node): Handle footnote navigation.
12908 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12909
12910 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12913 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12914
12915 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12916
12917 Suppress unnecessary non-ASCII chatter during build process.
12918 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12919 (batch-skkdic-convert): Suppress most of the chatter.
12920 It's not needed so much now that machines are faster,
12921 and its non-ASCII component was confusing; see Dmitry Gutov in
12922 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12923
12924 2013-03-20 Leo Liu <sdl.web@gmail.com>
12925
12926 * ido.el (ido-chop): Fix bug#10994.
12927
12928 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12929
12930 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12931 Remove vars.
12932 (whitespace-color-on, whitespace-color-off):
12933 Use `font-lock-fontify-buffer' (Bug#13817).
12934
12935 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12936
12937 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12938 remapping in mode-line.
12939 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12940
12941 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12942
12943 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12944 value for `whitespace-line' face (Bug#13875).
12945 (whitespace-font-lock-keywords): Change description.
12946 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12947 the constructed keywords instead.
12948 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12949
12950 2013-03-19 Leo Liu <sdl.web@gmail.com>
12951
12952 * progmodes/compile.el (compilation-display-error): New command.
12953 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12954 C-o. (Bug#13992)
12955
12956 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12957
12958 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12959
12960 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12961
12962 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12963
12964 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12965
12966 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12967
12968 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12969 * net/tramp-gvfs.el (top):
12970 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12971 (tramp-handle-shell-command): Use it.
12972 (tramp-dissect-file-name): Raise an error when hostname is a
12973 method name, and neither method nor user is specified.
12974
12975 * net/trampver.el: Update release number.
12976
12977 2013-03-18 Leo Liu <sdl.web@gmail.com>
12978
12979 Make sure eldoc can be turned off properly.
12980 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12981 eldoc-mode.
12982 (eldoc-display-message-p): Revert last change.
12983 (eldoc-display-message-no-interference-p)
12984 (eldoc-print-current-symbol-info): Tweak.
12985
12986 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12987
12988 * doc-view.el (doc-view-new-window-function): Check the new window
12989 overlay's display property instead the char property of the
12990 buffer's first char. Use `with-selected-window' instead of
12991 `save-window-excursion' with `select-window'.
12992 (doc-view-document->bitmap): Check the current doc-view overlay's
12993 display property instead the char property of the buffer's first char.
12994
12995 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12996
12997 Automate the build of ja-dic.el (Bug#13984).
12998 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12999 from the input, rather than assume that it's been done for us by the
13000 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13001 the current date into a ja-dic.el comment, as that complicates
13002 regression testing.
13003
13004 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13005
13006 * whitespace.el: Fix double evaluation.
13007 (whitespace-space, whitespace-hspace, whitespace-tab)
13008 (whitespace-newline, whitespace-trailing, whitespace-line)
13009 (whitespace-space-before-tab, whitespace-indentation)
13010 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13011 obsolete defvars.
13012 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13013 (whitespace-color-on): Use a single font-lock-add-keywords call.
13014 Fix double-evaluation of face variables.
13015
13016 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13017
13018 * net/tramp-adb.el (tramp-adb-parse-device-names):
13019 Use `start-process' instead of `call-process'. Otherwise, the
13020 function might be blocked under MS Windows. (Bug#13299)
13021
13022 2013-03-17 Leo Liu <sdl.web@gmail.com>
13023
13024 Extend eldoc to display info in the mode-line. (Bug#13978)
13025 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13026 (eldoc-mode-line-string): New variable.
13027 (eldoc-minibuffer-message): New function.
13028 (eldoc-message-function): New variable.
13029 (eldoc-message): Use it.
13030 (eldoc-display-message-p)
13031 (eldoc-display-message-no-interference-p):
13032 Support eldoc-post-insert-mode.
13033
13034 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13035 (eval-expression): Run it.
13036
13037 2013-03-17 Roland Winkler <winkler@gnu.org>
13038
13039 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13040 strings in the list of return values.
13041
13042 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13043
13044 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13045 radix before checking for HMS forms.
13046
13047 2013-03-16 Leo Liu <sdl.web@gmail.com>
13048
13049 * progmodes/scheme.el: Add indentation and font-locking for λ.
13050 (Bug#13975)
13051
13052 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13053
13054 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13055 token before point (bug#13942).
13056
13057 2013-03-16 Leo Liu <sdl.web@gmail.com>
13058
13059 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13060
13061 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13062
13063 * startup.el (command-line-normalize-file-name): Fix handling of
13064 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13065 <xfq.free@gmail.com> in
13066 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13067
13068 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13069
13070 Sync with Tramp 2.2.7.
13071
13072 * net/trampver.el: Update release number.
13073
13074 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13075
13076 * doc-view.el: Fix bug#13887.
13077 (doc-view-insert-image): Don't modify overlay associated to
13078 non-live windows, and implement horizontal centering of image in
13079 case it's smaller than the window.
13080 (doc-view-new-window-function): Force redisplay of new windows on
13081 doc-view buffers.
13082
13083 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13084
13085 * saveplace.el (save-place-alist-to-file): Don't sort
13086 `save-place-alist', just pretty-print it (bug#13882).
13087
13088 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13089
13090 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13091 Check whether `default-file-name-coding-system' is bound.
13092 It isn't in XEmacs.
13093
13094 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13095
13096 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13097 backquotes for `obsolete' (bug#13929).
13098
13099 * international/mule.el (find-auto-coding): Include file name in
13100 obsolescence warning (bug#13922).
13101
13102 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13103
13104 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13105 for CFEngine 3-specific indentation.
13106 (cfengine3-indent-line): Use it. Fix up category regex.
13107 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13108
13109 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13110
13111 * type-break.el (type-break-file-name):
13112 * textmodes/remember.el (remember-data-file):
13113 * strokes.el (strokes-file):
13114 * shadowfile.el (shadow-initialize):
13115 * saveplace.el (save-place-file):
13116 * ps-bdf.el (bdf-cache-file):
13117 * progmodes/idlwave.el (idlwave-config-directory):
13118 * net/quickurl.el (quickurl-url-file):
13119 * international/kkc.el (kkc-init-file-name):
13120 * ido.el (ido-save-directory-list-file):
13121 * emulation/viper.el (viper-custom-file-name):
13122 * emulation/vip.el (vip-startup-file):
13123 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13124 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13125
13126 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13127
13128 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13129 * language/thai-word.el: Switch to UTF-8.
13130
13131 See ChangeLog.16 for earlier changes.
13132
13133 ;; Local Variables:
13134 ;; coding: utf-8
13135 ;; End:
13136
13137 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13138
13139 This file is part of GNU Emacs.
13140
13141 GNU Emacs is free software: you can redistribute it and/or modify
13142 it under the terms of the GNU General Public License as published by
13143 the Free Software Foundation, either version 3 of the License, or
13144 (at your option) any later version.
13145
13146 GNU Emacs is distributed in the hope that it will be useful,
13147 but WITHOUT ANY WARRANTY; without even the implied warranty of
13148 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13149 GNU General Public License for more details.
13150
13151 You should have received a copy of the GNU General Public License
13152 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.