95d813455480e49c7f274ba078b73e8b485d4034
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2
3 * w32-common-fns.el (x-get-selection): Doc fix.
4 * select.el (x-get-selection): Doc fix. (Bug#15109)
5
6 * face-remap.el (face-remap-add-relative)
7 (face-remap-remove-relative, face-remap-reset-base)
8 (face-remap-set-base): Call force-mode-line-update to redisplay
9 the current buffer due to potential change in faces. (Bug#16709)
10
11 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12
13 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
14 script more robustly.
15
16 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17
18 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
19
20 * simple.el (choose-completion): Doc fix (bug#14160).
21
22 * subr.el (event-start): Say what a nil EVENT value means.
23
24 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
25 (bug#14197).
26
27 * progmodes/grep.el (find-program): Doc fix (bug#14289).
28
29 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
30
31 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
32
33 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
34 predicate function (bug#15455).
35
36 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
37
38 * ielm.el (inferior-emacs-lisp-mode): Instead of
39 `comment-use-global-state', set `comment-use-syntax'.
40
41 2014-02-10 Glenn Morris <rgm@gnu.org>
42
43 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
44
45 2014-02-09 Alan Mackenzie <acm@muc.de>
46
47 Fix c-invalidate-state-cache on narrowed buffers.
48 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
49 Widen when setting and clearing the CPP delimiter properties.
50
51 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
52
53 * help.el (describe-bindings): Doc fix (bug#9888).
54
55 * files.el (save-buffer): Use ARG as the parameter name for
56 consistency (bug#10346).
57 (save-buffer): Clarify the 0 argument (bug#10346).
58
59 * cus-edit.el (customize-apropos): Fix error string.
60 (custom-buffer-create): Doc fix (bug#11122).
61 (custom-sort-items): Doc fix (bug#11121).
62
63 * dired-aux.el (dired-copy-file-recursive): Remove slighly
64 misleading comment (bug#11328).
65
66 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
67
68 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
69 (icomplete-simple-completing-p): Mention the previous variable.
70
71 * font-lock.el (font-lock-value-in-major-mode): Clarify the
72 meaning of the parameter (bug#12282).
73
74 * files.el (find-file-noselect): Clarify prompt when changing
75 readedness (bug#13261).
76 (locate-file): Suffixes aren't returned, so don't say that they
77 are (bug#12674).
78 (backup-inhibited): Doc clarification (bug#12525).
79
80 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
81 before we actually start to delete things (bug#16331).
82
83 * subr.el (event-start): Doc fix (bug#14228).
84 (event-end): Ditto.
85
86 2014-02-09 Glenn Morris <rgm@gnu.org>
87
88 * emacs-lisp/warnings.el (lwarn):
89 Empower help-enable-auto-load. (Bug#15940)
90
91 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
92
93 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
94 (Bug#16690)
95
96 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
97
98 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
99 Insert output at end of buffer. (Bug#16120)
100
101 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
102
103 * simple.el (choose-completion-string-functions): Document new
104 calling convention (bug#14153).
105 (execute-extended-command): Clarify doc string (bug#13373).
106
107 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
108
109 * find-dired.el (find-name-dired): Doc fix (bug#14290).
110 (find-grep-dired): Doc fix (bug#14288).
111
112 2014-02-08 Juri Linkov <juri@jurta.org>
113
114 * isearch.el (isearch-quote-char): Check character validity
115 like in `quoted-insert' (bug#16677).
116
117 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
118
119 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
120
121 * isearch.el (isearch-hide-immediately): Doc clarification
122 (bug#14723).
123
124 * simple.el (line-move): Document utility function used many
125 places in the Emacs sources (bug#14843).
126
127 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
128 (dired-prev-marked-file): Doc fix (bug#14855).
129 (dired-up-directory): Doc fix (bug#14848).
130
131 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
132
133 * files.el (file-relative-name): Doc fix (bug#15159).
134
135 * fringe.el (fringe-styles): Doc fix (bug#15239).
136
137 * isearch.el (isearch-filter-predicate): Documentation typo fix
138 (bug#15474).
139
140 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
141
142 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
143
144 * replace.el (replace-match-maybe-edit): Doc clarification
145 (bug#15632).
146
147 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
148
149 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
150
151 2014-02-08 Glenn Morris <rgm@gnu.org>
152
153 * help-fns.el (describe-variable):
154 Check {file,dir}-local-variables-alist, and buffer-file-name,
155 in the correct buffer.
156
157 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
158
159 * help-fns.el (describe-variable): Fix the case where
160 a value is directory-local with no dir-locals file. (Bug#16635)
161
162 2014-02-08 Glenn Morris <rgm@gnu.org>
163
164 * abbrev.el (edit-abbrevs-mode):
165 Derive from fundamental-mode. (Bug#16682)
166
167 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
168
169 * simple.el (quoted-insert): Check character validity (bug#16677).
170
171 2014-02-07 Juri Linkov <juri@jurta.org>
172
173 * desktop.el (desktop-read): Claim the lock when the owner is not
174 the current process. (Bug#16157)
175
176 2014-02-07 Juri Linkov <juri@jurta.org>
177
178 * desktop.el (desktop-buffers-not-to-save): Change default from nil
179 to "\\` ". (Bug#16651)
180
181 2014-02-07 Juri Linkov <juri@jurta.org>
182
183 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
184 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
185 (desktop-auto-save-cancel-timer): New function with some code from
186 `desktop-auto-save-set-timer'.
187 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
188 Instead of setting `desktop-save-mode' to nil, call
189 `desktop-save-mode' with arg 0. (Bug#16630)
190
191 2014-02-07 Glenn Morris <rgm@gnu.org>
192
193 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
194 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
195 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
196
197 * obsolete/iswitchb.el: Move to obsolete/.
198 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
199 since obsolete/ is not scanned for autoloads.
200 * emacs-lisp/authors.el (authors-valid-file-names):
201 Add iswitchb.el.
202
203 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
204 Disable now non-functional find-file-hook.
205
206 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
207
208 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
209 instead of ";" in order to avoid additional prompts. Let heredoc
210 scripts read from tty. (Bug#16582)
211 (tramp-send-command): No special handling of heredocs, it isn't
212 necessary anymore.
213
214 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
217 with a space (bug#16664). Limit the symbols considered to the ones
218 that are bound or fbound (bug#16646).
219
220 2014-02-06 Glenn Morris <rgm@gnu.org>
221
222 * epa.el (epa-mail-aliases): Doc fix.
223
224 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
225
226 * emacs-lisp/lisp.el (lisp-completion-at-point):
227 Use `completion-table-merge' instead of `completion-table-in-turn'
228 (bug#16604).
229
230 * minibuffer.el (completion-table-merge): New function.
231
232 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
233
234 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
235 (tramp-sh-handle-set-file-acl)
236 (tramp-sh-handle-start-file-process)
237 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
238 (tramp-find-executable, tramp-send-command): Use it.
239
240 2014-02-05 Glenn Morris <rgm@gnu.org>
241
242 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
243
244 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
245
246 * progmodes/python.el (python-shell-send-string):
247 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
248
249 2014-02-04 Anders Lindgren <andlind@gmail.com>
250
251 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
252 the names (bug#16620).
253
254 2014-02-03 Martin Rudalics <rudalics@gmx.at>
255
256 * faces.el (window-divider): New default value. Rewrite doc-string.
257 (window-divider-first-pixel, window-divider-last-pixel): New faces.
258
259 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
260
261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
262 `protected' and `public' can also be called without arguments.
263
264 2014-02-03 Glenn Morris <rgm@gnu.org>
265
266 * register.el (window-configuration-to-register)
267 (frame-configuration-to-register): Unadvertise unused argument.
268 * frameset.el (frameset-to-register): Remove unused argument.
269
270 * frameset.el (frameset-to-register):
271 * kmacro.el (kmacro-to-register):
272 * register.el (increment-register):
273 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
274 (calc-append-to-register, calc-prepend-to-register):
275 * play/gametree.el (gametree-layout-to-register)
276 (gametree-apply-register-layout):
277 * textmodes/picture.el (picture-clear-rectangle-to-register)
278 (picture-yank-rectangle-from-register):
279 * vc/emerge.el (emerge-combine-versions-register):
280 Use register-read-with-preview to read registers.
281
282 2014-02-03 João Távora <joaotavora@gmail.com>
283
284 * elec-pair.el (electric-pair-backward-delete-char): Don't error
285 when at beginning of (possibly narrowed) buffer.
286
287 2014-02-02 Daniel Colascione <dancol@dancol.org>
288
289 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
290 Also try to display local help from just before point.
291
292 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
293
294 c-parse-state. Don't "append-lower-brace-pair" in certain
295 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
296 recognised as a comment.
297
298 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
299 as well as normal comment starter.
300 (c-parse-state-get-strategy): Extra return possibility
301 'back-and-forward.
302 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
303 return value list to indicate replacement of a brace-pair cons
304 with its car.
305 (c-parse-state-1): With 'back-and-forward, only call
306 c-append-lower-brace-pair-to state-cache when cons-separated.
307
308 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
309
310 * term/ns-win.el (ns-suspend-error): New function.
311 (ns-initialize-window-system): Add ns-suspend-error to
312 suspend-hook (Bug#16612).
313
314 2014-02-02 Daniel Colascione <dancol@dancol.org>
315
316 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
317
318 2014-02-02 Daniel Colascione <dancol@dancol.org>
319
320 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
321
322 2014-02-02 Glenn Morris <rgm@gnu.org>
323
324 * register.el (register-read-with-preview, point-to-register)
325 (window-configuration-to-register, frame-configuration-to-register)
326 (jump-to-register, number-to-register, view-register, insert-register)
327 (copy-to-register, append-to-register, prepend-to-register)
328 (copy-rectangle-to-register): Doc fixes.
329
330 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
333 * emacs-lisp/find-func.el (find-function-C-source): Idem.
334 * emacs-lisp/nadvice.el (advice--cd*r): New function.
335 * help-fns.el (describe-function-1): Use it.
336
337 2014-02-02 Glenn Morris <rgm@gnu.org>
338
339 * register.el (register-preview-default): New function,
340 split from register-preview.
341 (register-preview-function): Rename from register-preview-functions,
342 make it not a hook.
343 (register-preview): Use register-preview-function.
344 (register-read-with-preview): Error on non-character event. (Bug#16595)
345
346 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
347
348 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
349 `:' before binary operators (bug#16609). Don't check for `:'
350 before `[' and `(', or their syntax status. A percent literal
351 can't end with either.
352 (ruby-font-lock-keywords): For built-ins that require arguments,
353 check that they're followed by something that looks like argument
354 (bug#16610).
355
356 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
357
358 * subr.el (butlast): Document what an omitted N means (bug#13437).
359 (nbutlast): Ditto.
360
361 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
362
363 * net/shr.el (shr-generic): Make into a defsubst to make the stack
364 depth shallower (bug#16587).
365 (shr-tag-svg): Respect `shr-inhibit-images'.
366 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
367
368 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
369
370 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
371 (ruby-smie-grammar): Make "." right-associative. Make its priority
372 lower than the ternary and all binary operators.
373 (ruby-smie-rules): Indent "(" relative to the first non-"."
374 parent, or the first "." parent at indentation.
375 Use `ruby-align-chained-calls' for indentation of "." tokens.
376 (Bug#16593)
377
378 2014-01-31 Juri Linkov <juri@jurta.org>
379
380 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
381 from `make-hash-table'.
382
383 * textmodes/ispell.el (ispell-init-process): Change message format
384 to be consistent with other messages.
385
386 2014-01-31 Glenn Morris <rgm@gnu.org>
387
388 * delsel.el (delete-selection-mode): Doc fix.
389
390 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
391 (trace-function-background): Doc fixes.
392
393 * ido.el (ido-use-virtual-buffers): Doc fix.
394 Reset :version, since the default value has not changed.
395
396 * register.el (register-preview-delay, register-read-with-preview):
397 Doc fixes.
398
399 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
400 do not mess with mail-buffer position (fixes 2009-11-03 change).
401 * progmodes/cc-mode.el (c-submit-bug-report):
402 Check auto-fill-mode is bound. (Bug#16592)
403
404 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
405
406 * startup.el (fancy-splash-image-file): New function,
407 split from fancy-splash-head.
408 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
409 so that we are both using the same image. (Bug#16574)
410
411 2014-01-30 Glenn Morris <rgm@gnu.org>
412
413 * simple.el (eval-expression): Doc fix.
414
415 * hexl.el (hexl-mode-hook):
416 * ielm.el (ielm-mode-hook):
417 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
418 (lisp-interaction-mode-hook):
419 * progmodes/cfengine.e (cfengine3-documentation-function):
420 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
421
422 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
425 is a symbol (bug#16584).
426
427 2014-01-30 Glenn Morris <rgm@gnu.org>
428
429 * help.el (help-for-help-internal): Add "P" to text.
430
431 2014-01-29 Glenn Morris <rgm@gnu.org>
432
433 * simple.el (just-one-space, cycle-spacing): Doc fixes.
434
435 2014-01-28 Martin Rudalics <rudalics@gmx.at>
436
437 * window.el (fit-frame-to-buffer): Fix calculations for margins and
438 height constraints.
439
440 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
441
442 * progmodes/hideif.el: Extend to full CPP expression syntax.
443 (hif-token-alist): Add missing tokens.
444 (hif-token-regexp): Add support for float/octal/hex immediates.
445 (hif-string-literal-regexp): New const.
446 (hif-tokenize): Recognize strings and float/octal/hex immediates.
447 (hif-exprlist): New function.
448 (hif-parse-if-exp): Use it.
449 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
450 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
451 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
452 (hif-logxor, hif-comma): New functions.
453
454 2014-01-28 Glenn Morris <rgm@gnu.org>
455
456 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
457
458 * indent.el (tab-stop-list): Doc fix. Add :version.
459
460 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
461 (cvs-append-to-ignore): Add compatibility alias.
462
463 2014-01-27 Glenn Morris <rgm@gnu.org>
464
465 * dired.el (dired-hide-details-mode): Don't autoload it,
466 since it cannot be used outside Dired buffers anyway.
467
468 * emulation/cua-base.el (cua-mode): Doc fix.
469
470 * dired.el (dired-hide-details-hide-symlink-targets)
471 (dired-hide-details-hide-information-lines)
472 (dired-hide-details-mode): Doc fixes.
473
474 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
475 * strokes.el (strokes-file): Doc fix. Bump :version.
476 (strokes-help): Doc fix.
477 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
478 * emulation/viper.el (viper): Doc fix for custom group.
479 (top-level): Remove oh-so-no-longer-relevant text about vip.
480 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
481
482 * ido.el (ido-save-directory-list-file):
483 * saveplace.el (save-place-file):
484 * calendar/timeclock.el (timeclock-file):
485 * net/quickurl.el (quickurl-url-file):
486 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
487 * progmodes/idlwave.el (idlwave-config-directory):
488 * textmodes/remember.el (remember-data-file):
489 Bump :version.
490
491 2014-01-26 Glenn Morris <rgm@gnu.org>
492
493 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
494 Doc fix. Make obsolete.
495 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
496
497 * sort.el (delete-duplicate-lines): Doc fix.
498
499 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
500
501 * progmodes/ada-mode.el (ada):
502 * woman.el (woman): Link to info manual and Commentary section.
503
504 * progmodes/flymake.el (flymake):
505 * nxml/nxml-mode.el (nxml):
506 * net/eww.el (eww):
507 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
508 * htmlfontify.el (htmlfontify):
509 * ses.el (ses):
510 * epa.el (epa):
511 * ido.el (ido): Link to info manual.
512
513 2014-01-25 Leo Liu <sdl.web@gmail.com>
514
515 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
516
517 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
518
519 * net/shr.el (shr-tag-img): Prefer the title over the alt text
520 (bug#16537).
521
522 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
523
524 * net/eww.el (eww-download-callback):
525 Fix reference to eww-download-directory.
526
527 * emacs-lisp/bytecomp.el (byte-compile-file):
528 Remove unused local variable `file-name'.
529
530 2014-01-24 Glenn Morris <rgm@gnu.org>
531
532 * woman.el (woman-default-faces, woman-monochrome-faces):
533 Fix obsolescence specification.
534
535 * subr.el (with-demoted-errors): Doc fix.
536
537 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
540 (cl--macroexp-fboundp): New function.
541 (cl--make-type-test): Use it.
542
543 2014-01-23 Glenn Morris <rgm@gnu.org>
544
545 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
546 * simple.el (eval-expression): Doc fixes.
547
548 2014-01-22 Glenn Morris <rgm@gnu.org>
549
550 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
551
552 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * emacs-lisp/package.el: Write files silently.
555 (package-autoload-ensure-default-file, package--write-file-no-coding)
556 (package-generate-description-file, package--download-one-archive)
557 (package-install-from-archive): Tell `write-region' to stay quiet.
558 (package-menu-mode, package-menu--print-info): Omit the Archive column
559 if there's only one archive.
560 (package-all-keywords, package--has-keyword-p): Remove dead code.
561
562 2014-01-22 Glenn Morris <rgm@gnu.org>
563
564 * version.el (emacs-bzr-version-bzr): Fix typo.
565
566 * version.el (emacs-repository-get-version):
567 Check either .bzr or .git, but not both.
568 Make the git case actually use the DIR argument, and return nil
569 rather than the empty string.
570 Avoid error if .git exists but the git executable is not found.
571
572 2014-01-22 Martin Rudalics <rudalics@gmx.at>
573
574 Fixes in window size functions around Bug#16430 and Bug#16470.
575 * window.el (window-total-size, window-size): New argument ROUND.
576 (window--min-delta-1, window-min-delta, window--max-delta-1):
577 Be more conservative when calculating the numbers of lines or
578 columns a window can shrink (Bug#16430).
579 (fit-window-to-buffer): Simplify code.
580 * term.el (term-window-width): Call window-body-width again.
581
582 2014-01-22 Glenn Morris <rgm@gnu.org>
583
584 * image.el (image-format-suffixes): Doc fix.
585
586 * international/quail.el (quail-define-package): Doc fix.
587
588 * emacs-lisp/authors.el (authors-valid-file-names):
589 (authors-renamed-files-alist): Additions.
590
591 * vc/vc-git.el (vc-git-print-log): Remove --follow;
592 reverts 2014-01-09 change. (Bug#16422)
593
594 * calc/calc-embed.el (thing-at-point-looking-at):
595 * emacs-lisp/map-ynp.el (x-popup-dialog):
596 * obsolete/lmenu.el (x-popup-dialog):
597 * emacs-lisp/package.el (url-recreate-url):
598 * mail/mailclient.el (clipboard-kill-ring-save):
599 * subr.el (x-popup-dialog): Update declaration.
600 * mail/rmail.el (rmail-mime-message-p):
601 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
602
603 2014-01-21 Daniel Colascione <dancol@dancol.org>
604
605 * progmodes/sh-script.el (sh--inside-noncommand-expression):
606 Correctly detect when we're inside an arithmetic expansion form
607 containing nested parenthesis.
608 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
609 to detect cases where we shouldn't expand "<<" to a heredoc
610 skeleton.
611
612 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
615 (eldoc--message-command-p): New function.
616 (eldoc-display-message-p): Use it.
617 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
618 message is not automatically erased for us.
619 (eldoc-print-current-symbol-info): Erase previous message, if any.
620
621 2014-01-21 Tassilo Horn <tsdh@gnu.org>
622
623 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
624 specify it's an interactive function.
625
626 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
627 Fix regex used for scanning for citation keys which failed for
628 citations with optional arguments.
629
630 2014-01-21 Leo Liu <sdl.web@gmail.com>
631
632 * simple.el (read--expression): Don't enable eldoc-mode.
633
634 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * simple.el (move-beginning-of-line): Make sure we don't move forward
637 (bug#16497).
638
639 2014-01-20 Juri Linkov <juri@jurta.org>
640
641 * saveplace.el (toggle-save-place, save-place-to-alist)
642 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
643 'dired-mode) before checking for dired-directory. (Bug#16477)
644
645 2014-01-20 Juri Linkov <juri@jurta.org>
646
647 * indent.el (indent-line-to): Use backward-to-indentation
648 instead of back-to-indentation. (Bug#16461)
649
650 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
651
652 Revert some of the CANNOT_DUMP fix (Bug#16494).
653 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
654 but fixing this can wait until after the next release.
655 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
656
657 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
658
659 * eshell/esh-mode.el (eshell-password-prompt-regexp):
660 Use `password-word-equivalents'.
661 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
662 to t. (Bug#5664, Bug#13124)
663
664 2014-01-19 Alan Mackenzie <acm@muc.de>
665
666 Bind open-paren-in-column-0-is-defun-start to nil at some entry
667 points.
668 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
669 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
670 * progmodes/cc-mode.el (c-before-change, c-after-change)
671 (c-font-lock-fontify-region): Bind it here.
672
673 2014-01-19 Martin Rudalics <rudalics@gmx.at>
674
675 * term.el (term-window-width): Call window-text-width instead of
676 window-width (Bug#16470).
677
678 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
679
680 * simple.el (password-word-equivalents): Remove duplicates.
681 Sort, to make this easier next time.
682 Downcase. Omit ": " after "jelszó".
683
684 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
685
686 * term/common-win.el (saved-region-selection): Defvar it.
687 (x-select-text): Set saved-region-selection (Bug#16382).
688
689 2014-01-18 Glenn Morris <rgm@gnu.org>
690
691 * emacs-lisp/authors.el (authors-aliases)
692 (authors-renamed-files-alist): Add some entries.
693
694 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
695
696 * net/tramp.el (tramp-password-prompt-regexp):
697 Use `password-word-equivalents' if available.
698 (tramp-action-password, tramp-process-one-action)
699 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
700
701 2014-01-17 Chong Yidong <cyd@gnu.org>
702
703 * simple.el (password-word-equivalents): New defcustom.
704 * comint.el (comint-password-prompt-regexp): Use it. Bump version
705 to 24.4.
706 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
707 to t. (Bug#13124)
708
709 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
710
711 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
712 (ruby-align-to-stmt-keywords): Change the default value.
713 Use `ruby-alignable-keywords' to generate the possible customization
714 choices.
715 (ruby-smie-rules): Instead of using a hardcoded list of alignable
716 keywords, check against the value of `ruby-alignable-keywords'
717 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
718
719 2014-01-17 Glenn Morris <rgm@gnu.org>
720
721 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
722
723 Make M-x authors return zero *Authors Errors* from current logs.
724 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
725 (authors-ignored-files): Add some entries, remove others.
726 (authors-ambiguous-files, authors-valid-file-names):
727 Add some entries.
728 (authors-renamed-files-alist): Add, remove, and adjust entries.
729 (authors-renamed-files-regexps): Add some entries.
730 Remove some very broad ones. Make some entries `lax'.
731 (authors-lax-changelogs): New constant.
732 (authors-disambiguate-file-name): Treat top-level specially.
733 (authors-lax-changelog-p): New function.
734 (authors-canonical-file-name): Check file as written against
735 authors-valid-file-names. Do not special-case etc/.
736 Handle `lax' logs and authors-renamed-files-regexps elements.
737
738 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
739
740 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
741 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
742 callers.
743
744 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
747 Assume we're already in the proper buffer.
748 Inspired by Anders Lindgren <andlind@gmail.com>.
749 (follow-post-command-hook): Call it from the right buffer.
750 (follow-comint-scroll-to-bottom): Adjust call.
751 (follow-all-followers): Use get-buffer-window-list.
752
753 2014-01-15 Daniel Colascione <dancol@dancol.org>
754
755 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
756 `buffer-file-name' in interactive-form so that we don't leave
757 pathless file names in `file-name-history'.
758
759 2014-01-15 Juri Linkov <juri@jurta.org>
760
761 * indent.el (indent-rigidly): Set deactivate-mark to nil
762 in transient indentation mode. (Bug#16438)
763
764 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
765
766 * emacs-lisp/package.el (package-desc-keywords): New function
767 (Bug#16222).
768 (describe-package-1, package-all-keywords)
769 (package--has-keyword-p): Use it.
770
771 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
772
773 * simple.el (define-alternatives): When creating the
774 COMMAND-alternatives variable, assign COMMAND as its definition
775 name so that `describe-variable' can relocate it.
776
777 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
778
779 * font-lock.el (font-lock-keywords): Fix typo in docstring
780 (bug#16307).
781
782 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
783
784 * ispell.el (ispell-region): Reset `in-comment' for new line
785 instead of wrongly reset `add-coment' (bug#13577).
786
787 2014-01-14 Daiki Ueno <ueno@gnu.org>
788
789 * epa-file.el (epa-file-write-region): Encode the region according
790 to `buffer-file-format'. Problem reported at:
791 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
792
793 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
796 so it applies in the right buffer (bug#16410).
797
798 2014-01-13 Daniel Colascione <dancol@dancol.org>
799
800 * textmodes/rst.el (rst-define-key): Provide deprecated
801 keybindings through named functions instead of anonymous ones so
802 that "??" doesn't appear in describe-mode output.
803
804 2014-01-13 Bastien Guerry <bzg@gnu.org>
805
806 * simple.el (define-alternatives): Call the selected command
807 interactively. When setting `COMMAND--implementation' for the
808 first time, tell the user how to chose another implementation.
809 Enhance the docstring.
810
811 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
814 (log-edit--match-first-line): New function.
815 (log-edit-font-lock-keywords): Use it.
816 (log-edit-mode): Make jit-lock-defer-multiline work.
817
818 2014-01-13 Bastien Guerry <bzg@gnu.org>
819
820 * rect.el (rectangle-mark-mode): When the region is not active,
821 display a message saying that the mark as been set and that
822 rectangle mode is in use.
823 (rectangle--highlight-for-redisplay): Only put an overlay with a
824 visible vertical bar when (display-graphic-p) is non-nil.
825 This partially fixes Bug#16403.
826
827 2014-01-13 Juri Linkov <juri@jurta.org>
828
829 * info.el (Info-find-file): Go to DIR before displaying the error
830 about a nonexistent file if no previous Info file is visited.
831 Use `user-error' instead of `error' for "Info file %s does not exist".
832 (Info-find-node-2): In case of a nonexistent node in unwind forms
833 go to the Top node if there is no previous node to revert to.
834 (Bug#16405)
835
836 2014-01-13 Martin Rudalics <rudalics@gmx.at>
837
838 fit-frame/window-to-buffer code fixes including one for Bug#14096.
839 * window.el (fit-frame-to-buffer): Fix doc-string.
840 Respect window-min-height/-width. Fit pixelwise when
841 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
842 when avoiding that frame goes partially off-screen.
843 (fit-window-to-buffer): Respect window-min-height/-width
844 (Bug#14096).
845
846 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
849 after an empty line.
850
851 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * net/shr.el (shr-render-region): Autoload.
854
855 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
856
857 * net/eww.el (eww-download-directory): Rename from
858 `eww-download-path' (Bug#16419).
859
860 2014-01-12 Leo Liu <sdl.web@gmail.com>
861
862 * dired-x.el (dired-mode-map): Fix last change.
863
864 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
865
866 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
867
868 Spelling fixes.
869 * emacs-lisp/generic.el (generic--normalize-comments):
870 Rename from generic--normalise-comments. All uses changed.
871 * play/bubbles.el (bubbles--neighborhood-score):
872 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
873 (bubbles--neighborhood-available)
874 (bubbles--update-neighborhood-score):
875 Rename from names with 'neighbourhood'. All uses changed.
876
877 2014-01-12 Leo Liu <sdl.web@gmail.com>
878
879 Re-implement the feature of showing eldoc info after editing.
880 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
881 (eldoc-edit-message-commands): New function.
882 (eldoc-print-after-edit): New variable.
883 (eldoc-pre-command-refresh-echo-area): Emit message only by
884 eldoc-message-commands.
885 (eldoc-mode): Restrict eldoc-message-commands to editing commands
886 if eldoc-print-after-edit is set. (Bug#16346)
887 * simple.el (read--expression): Enable eldoc-mode.
888 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
889
890 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
891 Eric S. Raymond <esr@thyrsus.com>
892
893 * version.el (emacs-repository-get-version): Enhance so the
894 function works correctly in either a Bazaar or Git repo.
895
896 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
897
898 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
899 Goes with removal of the joke manpages from /etc.
900
901 2014-01-10 K. Handa <handa@gnu.org>
902
903 * mail/rmail.el (rmail-get-coding-system):
904 Check rmail-get-coding-function before "funcall"ing it.
905
906 2014-01-10 Glenn Morris <rgm@gnu.org>
907
908 * emacs-lisp/authors.el (authors-fixed-entries):
909 Update for files that no longer exist.
910
911 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
912
913 * version.el (emacs-bzr-get-version): Restore compatibilty with
914 24.3 (Tested).
915
916 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
917
918 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
919 and Podfile.
920
921 2014-01-10 Eli Zaretskii <eliz@gnu.org>
922
923 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
924
925 2014-01-10 Chong Yidong <cyd@gnu.org>
926
927 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
928
929 2014-01-10 Anders Lindgren <andlind@gmail.com>
930
931 * follow.el (follow-cache-command-list): Include right-char and
932 left-char.
933
934 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
935
936 Spelling fixes.
937 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
938 * woman.el (woman-mark-horizontal-position):
939 Rename from woman-mark-horizonal-position. Use changed.
940
941 2014-01-10 Glenn Morris <rgm@gnu.org>
942
943 * info.el (info-initialize): If running uninstalled, ensure our
944 own info files are always found first, even if INFOPATH is set.
945
946 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
947
948 2014-01-09 David Engster <deng@randomsample.de>
949
950 * emacs-lisp/eieio-custom.el:
951 * emacs-lisp/eieio-opt.el: Set generated autoload file to
952 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
953 * emacs-lisp/eieio.el: Regenerate autoloads.
954
955 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
956
957 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
958 following renames. (Bug#8756)
959
960 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
963 (bug#16382).
964 (activate-mark): Add `no-tmm' argument.
965 (set-mark, push-mark-command): Use it instead of running
966 activate-mark-hook by hand.
967
968 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
969
970 In preparation for the move to git, sanitize out some
971 Bazaar-specific names.
972
973 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
974
975 * version.el (emacs-bzr-version): Name changed to
976 emacs-repository-version. Obsolete-variable alias made.
977 * loadup.el: Follow through on this name change.
978 * mail/emacsbug.el (report-emacs-bug): Factor out any
979 assumption about the version control system in use.
980
981 2014-01-08 David Engster <deng@randomsample.de>
982
983 * help-fns.el (help-fns-describe-function-functions):
984 New variable to call functions for augmenting help buffers.
985 (describe-function-1): Remove explicit calls to
986 `help-fns--compiler-macro', `help-fns--parent-mode' and
987 `help-fns--obsolete'. Put them in above new variable instead, and
988 call them through `run-hook-with-args'.
989 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
990 `eieio-describe-class'. Not meant for interactive use anymore,
991 but to augment existing help buffers. Remove optional second
992 argument. Create proper button for file location.
993 Rewrite function to use `insert' instead of `princ' and `prin1' where
994 possible.
995 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
996 (eieio-method-def, eieio-class-def): Move further up.
997 (describe-method, describe-generic, eieio-describe-method):
998 Remove aliases.
999 (eieio-help-constructor, eieio-help-generic): Rename from
1000 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1001 Rewrite to use `insert' in the current buffer and use proper help
1002 buttons.
1003 (eieio-help-find-method-definition)
1004 (eieio-help-find-class-definition): Also accept symbols as
1005 arguments.
1006 (eieio-help-mode-augmentation-maybee): Remove.
1007 (eieio-describe-class-sb): Use `describe-function'.
1008 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1009 Add `eieio-help-generic' and `eieio-help-constructor'.
1010
1011 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1012
1013 Spelling fixes.
1014 * language/china-util.el (hz-ascii-designation):
1015 Rename from hz-ascii-designnation.
1016 (hz-ascii-designation): Rename from hz-ascii-designnation.
1017 All uses changed.
1018
1019 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1022 package-alist.
1023
1024 2014-01-08 Bastien Guerry <bzg@gnu.org>
1025
1026 * emacs-lisp/package.el (package-delete):
1027 Correctly delete the package from package-alist.
1028
1029 2014-01-08 Daiki Ueno <ueno@gnu.org>
1030
1031 * emacs-lisp/package.el (url-recreate-url): Declare.
1032 (url-http-target-url): Declare.
1033 (package-handle-response): Include requested URL in the error message.
1034 (package--check-signature): Don't re-signal errors from
1035 package--with-work-buffer. Suggested by Stefan Monnier.
1036
1037 2014-01-07 Bastien Guerry <bzg@gnu.org>
1038
1039 * minibuffer.el (completion--try-word-completion): When both a
1040 hyphen and a space are possible candidates for the character
1041 following a word, display both candidates. (Bug#15980)
1042
1043 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1044
1045 * window.el (balance-windows-2): While rounding don't give a
1046 window more than the remainder. Bug#16351, Bug#16383.
1047
1048 2014-01-07 Glenn Morris <rgm@gnu.org>
1049
1050 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1051 (menu-bar-help-menu): Use view-external-packages instead.
1052
1053 2014-01-07 Bastien Guerry <bzg@gnu.org>
1054
1055 * emacs-lisp/package.el (package-delete): Also delete the package
1056 name from `package-alist', not its description only.
1057
1058 2014-01-07 Glenn Morris <rgm@gnu.org>
1059
1060 * help.el (view-external-packages):
1061 * menu-bar.el (menu-bar-help-extra-packages):
1062 Visit efaq.info rather than etc/MORE.STUFF.
1063
1064 2014-01-07 Juri Linkov <juri@jurta.org>
1065
1066 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1067 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1068
1069 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1070 that shadows RET. (Bug#16342)
1071
1072 2014-01-07 Chong Yidong <cyd@gnu.org>
1073
1074 * isearch.el (isearch-yank-char, isearch-yank-word)
1075 (isearch-yank-line): Doc fix.
1076
1077 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1080 * emacs-lisp/elint.el (elint-find-builtins):
1081 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1082 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1083 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1084 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1085 * apropos.el (apropos-safe-documentation):
1086 * subr.el (symbol-file): Remove redundant fboundp.
1087 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1088
1089 2014-01-06 Bastien Guerry <bzg@gnu.org>
1090
1091 * hl-line.el (global-hl-line-overlay): Make a local variable.
1092 (global-hl-line-overlays): New variable to store all overlays.
1093 (global-hl-line-mode): Don't delete overlays from the current
1094 buffer when `global-hl-line-sticky-flag' is non-nil.
1095 (global-hl-line-highlight): Add new overlays to
1096 `global-hl-line-overlays'.
1097 (global-hl-line-unhighlight-all): New function to delete all
1098 overlays when turning off `global-hl-line-mode'.
1099 This fixes Bug#16183.
1100
1101 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * subr.el (set-transient-map): Fix nested case and docstring.
1104
1105 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1106
1107 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1108 `Texinfo' entry.
1109
1110 2014-01-06 Daniel Colascione <dancol@dancol.org>
1111
1112 Fix defun navigation in vc log view.
1113
1114 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1115 like `beginning-of-defun'.
1116 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1117 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1118 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1119 (log-view-extract-comment): Call `log-view-current-entry' directly
1120 instead of relying on broken `log-view-beginning-of-defun' behavior.
1121
1122 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1123
1124 Spelling fixes.
1125 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1126 * emacs-lisp/debug.el (cancel-debug-on-entry):
1127 * epg.el (epg-error-to-string):
1128 * files.el (recover-file):
1129 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1130 * mail/emacsbug.el (report-emacs-bug-hook):
1131 * mail/sendmail.el (mail-recover):
1132 * ses.el (ses-yank-resize):
1133 * term/ns-win.el (ns-print-buffer):
1134 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1135 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1136 All uses changed.
1137 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1138
1139 2014-01-06 Leo Liu <sdl.web@gmail.com>
1140
1141 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1142 to avoid shadowing global key. (Bug#16354)
1143
1144 2014-01-06 Daniel Colascione <dancol@dancol.org>
1145
1146 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1147 rst-mode.
1148
1149 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1150
1151 * window.el (balance-windows): Add mising t to fix Bug#16351.
1152
1153 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1154
1155 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1156 (bug#16285).
1157 (shr-insert): If we have a word that's longer than `shr-width',
1158 break after it anyway. Otherwise we'll do no breaking once we get
1159 such a long word.
1160
1161 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1162
1163 * net/eww.el (eww): Support single/double quote for search.
1164 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1165 (eww-history-quit): Delete and use quit-window.
1166 (eww-history-kill): Delete, because it doesn't work well and
1167 not necessary.
1168 (eww-history-mode-map): Delete some keys and add easy-menu.
1169
1170 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1171
1172 Fix misspelling of 'chinese' in rx (Bug#16237).
1173 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1174 chinese-two-byte.
1175
1176 Change subword regexps back to vars (Bug#16296).
1177 * progmodes/subword.el (subword-forward-regexp)
1178 (subword-backward-regexp): Change these back to variables.
1179
1180 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1183 syntax-begin-function (bug#16247).
1184
1185 2014-01-03 Chong Yidong <cyd@gnu.org>
1186
1187 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1188 (advice--docstring): Delete variable.
1189 (advice--make-1): Leave the docstring empty.
1190 (advice-add): Use function-documentation for advised docstring.
1191
1192 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1193 Ignore function-documentation property when getting documentation.
1194 (ad-activate-advised-definition): Use function-documentation
1195 generate the docstring.
1196 (ad-make-advised-definition): Don't call
1197 ad-make-advised-definition-docstring.
1198 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1199 Delete functions.
1200
1201 * progmodes/sql.el (sql-help): Use function-documentation instead
1202 of dynamic-docstring-function property. No need to autoload now.
1203 (sql--help-docstring): New variable.
1204 (sql--make-help-docstring): Use it.
1205
1206 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * ielm.el (ielm-tab): Retarget.
1209 (ielm-map): Use ielm-tab for tab.
1210 (ielm-complete-filename): Use comint-filename-completion.
1211 (ielm-complete-symbol): Remove.
1212 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1213 remove ielm-tab from completion-at-point-functions (bug#16224).
1214
1215 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1216 Beware signals raised by predicates (bug#16201).
1217
1218 2014-01-02 Richard Stallman <rms@gnu.org>
1219
1220 * dired-aux.el (dired-do-print): Handle printer-name.
1221
1222 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1223 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1224 (rmail-epa-decrypt): Turn off mime processing.
1225
1226 * mail/rmail.el (rmail-make-in-reply-to-field):
1227 Add parens in message-id.
1228
1229 * mail/rmail.el (rmail-get-coding-function): Variable.
1230 (rmail-get-coding-system): Use it.
1231
1232 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1233
1234 * international/mule-conf.el: Unify the charset indian-is13194.
1235 (indian-is13194): Specify unify-map.
1236
1237 2013-12-31 Leo Liu <sdl.web@gmail.com>
1238
1239 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1240
1241 2013-12-30 Daniel Colascione <dancol@dancol.org>
1242
1243 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1244 of printing a useless when we resume from sleep.
1245
1246 * progmodes/sh-script.el
1247 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1248 in indentation code. (Bug#16233)
1249
1250 2013-12-28 João Távora <joaotavora@gmail.com>
1251
1252 * elec-pair.el (electric-pair-post-self-insert-function):
1253 Don't open extra newlines at beginning of buffer. (Bug#16272)
1254
1255 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1256
1257 * frame.el (window-system-for-display): Don't allow to create a
1258 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1259
1260 2013-12-28 Glenn Morris <rgm@gnu.org>
1261
1262 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1263 Update callers.
1264
1265 * apropos.el (apropos-match-face):
1266 * calculator.el (calculator-displayer):
1267 * dabbrev.el (dabbrev-search-these-buffers-only):
1268 * face-remap.el (buffer-face-mode-face):
1269 * simple.el (yank-handled-properties):
1270 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1271 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1272 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1273 (hashcash-double-spend-database):
1274 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1275 (ruby-deep-indent-paren-style):
1276 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1277 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1278 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1279 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1280 Specify custom types.
1281
1282 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1283 * bookmark.el (bookmark-bmenu-use-header-line):
1284 * doc-view.el (doc-view-scale-internally):
1285 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1286 * register.el (register-preview-delay):
1287 * net/shr.el (shr-bullet):
1288 * progmodes/cfengine.el (cfengine-cf-promises)
1289 (cfengine-parameters-indent):
1290 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1291 * textmodes/reftex-vars.el (reftex-label-regexps):
1292 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1293
1294 * net/tls.el (tls-certtool-program): Fix default value.
1295
1296 * desktop.el (desktop-restore-in-current-display):
1297 * newcomment.el (comment-empty-lines):
1298 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1299 (idlwave-pad-keyword):
1300 * progmodes/tcl.el (tcl-tab-always-indent):
1301 * textmodes/reftex-vars.el (reftex-index-default-tag):
1302 * elec-pair.el (electric-pair-skip-whitespace):
1303 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1304
1305 * emacs-lisp/authors.el (authors-ignored-files)
1306 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1307
1308 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1309
1310 * shell.el (shell-dynamic-complete-command): Doc fix.
1311 (shell--command-completion-data): Shell completion now matches
1312 executable filenames from the current buffer's directory, on
1313 systems in which this behavior is the default (windows-nt, ms-dos).
1314
1315 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1316
1317 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1318
1319 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1322 (bug#16251).
1323
1324 * electric.el: Move all electric-pair-* to elec-pair.el.
1325 * elec-pair.el: New file, split from electric.el.
1326
1327 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1328
1329 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1330 indentation level is larger than the width, because that will
1331 infloop.
1332 (shr-insert): Fill repeatedly long texts, so that Japanese is
1333 formatted correctly (bug#16263).
1334 (shr-find-fill-point): Off by one error in comparison with the
1335 indentation.
1336
1337 2013-12-26 João Távora <joaotavora@gmail.com>
1338
1339 * electric.el (electric-pair-mode): More flexible engine for skip-
1340 and inhibit predicates, new options for pairing-related functionality.
1341 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1342 if that keeps or improves their balance in buffers.
1343 (electric-pair-delete-adjacent-pairs): Delete the pair when
1344 backspacing over adjacent matched delimiters.
1345 (electric-pair-open-extra-newline): Open extra newline when
1346 inserting newlines between adjacent matched delimiters.
1347 (electric--sort-post-self-insertion-hook):
1348 Sort post-self-insert-hook according to priority values when
1349 minor-modes are activated.
1350 * simple.el (newline-and-indent): Call newline with interactive
1351 set to t.
1352 (blink-paren-post-self-insert-function): Set priority to 100.
1353 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1354 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1355 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1356 electric-pair-open-newline-between-pairs to nil.
1357
1358 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1359
1360 * progmodes/python.el: Use lexical-binding.
1361 (python-nav-beginning-of-defun): Stop searching ASAP.
1362
1363 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1364
1365 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1366 Fix interactive spec. Doc fix. (Bug#15754)
1367
1368 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1369
1370 * emacs-lisp/byte-run.el (eval-when-compile):
1371 * progmodes/cc-defs.el (cc-eval-when-compile):
1372 Fix edebug spec (bug#16184).
1373
1374 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1375
1376 * net/shr.el (shr-visit-file): Remove debugging function.
1377 (shr-insert): Don't infloop if we can't find a good place to break
1378 the line (bug#16256).
1379
1380 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1381
1382 * progmodes/python.el:
1383 (python-nav--lisp-forward-sexp): New function.
1384 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1385 python-nav-lisp-forward-sexp-safe.
1386 (python-nav--forward-sexp): New argument SAFE allows switching
1387 forward sexp movement behavior for parens.
1388 (python-nav-forward-sexp): Throw errors on unterminated parens
1389 (Bug#16191).
1390 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1391 (python-nav-backward-sexp-safe): New functions.
1392 (python-shell-buffer-substring):
1393 Use `python-nav-forward-sexp-safe'.
1394
1395 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1396
1397 * net/shr.el (shr-find-fill-point): Don't break lines before a
1398 quotation mark.
1399 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1400 (shr-find-fill-point): Remove the special checks for the quotation
1401 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1402
1403 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1404
1405 * net/eww.el (eww-form-textarea): Use a different face for
1406 textareas than text input since they have different keymaps
1407 (bug#16142).
1408
1409 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1410
1411 * progmodes/python.el (python-nav-beginning-of-statement):
1412 Speed up (Bug#15295).
1413
1414 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1415
1416 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1417 the window configuration.
1418
1419 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1420
1421 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1422 we run on MS-Windows or MS-DOS.
1423
1424 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1425
1426 * window.el (balance-windows-area): Call window-size instead of
1427 window-height and window-width. Bug#16241.
1428
1429 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1430
1431 * net/eww.el (eww-bookmark-quit): Remove.
1432 (eww-bookmark-browse): Restore the window configuration when you
1433 choose a bookmark (bug#16144).
1434
1435 2013-12-24 Daniel Colascione <dancol@dancol.org>
1436
1437 * icomplete.el: Remove redundant :group arguments to `defcustom'
1438 throughout.
1439 (icomplete-show-matches-on-no-input): New customizable variable.
1440 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1441 we have something to show.
1442 (icomplete-exhibit): Compute completions even if we have no user input.
1443
1444 2013-12-23 Daniel Colascione <dancol@dancol.org>
1445
1446 * icomplete.el: Move `provide' to end of file.
1447
1448 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1449
1450 * net/gnutls.el (gnutls-verify-error): Add version tag.
1451
1452 2013-12-23 Chong Yidong <cyd@gnu.org>
1453
1454 * subr.el (set-transient-map): Rename from
1455 set-temporary-overlay-map. Doc fix.
1456
1457 * face-remap.el (text-scale-adjust):
1458 * indent.el (indent-rigidly):
1459 * kmacro.el (kmacro-call-macro):
1460 * minibuffer.el (minibuffer-force-complete):
1461 * repeat.el (repeat):
1462 * simple.el (universal-argument--mode):
1463 * calendar/todo-mode.el (todo-insert-item--next-param):
1464 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1465
1466 * indent.el (indent-rigidly): Use substitute-command-keys.
1467
1468 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1469
1470 * net/eww.el (eww-tag-select): Add text-property to jump to next
1471 select field.
1472 (eww): Add non-supported ftp error.
1473
1474 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1475
1476 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1477 comments. Handle electric indent after typing `?' and `!'.
1478
1479 2013-12-22 Chong Yidong <cyd@gnu.org>
1480
1481 * faces.el (face-spec-recalc): If the theme specs are not
1482 applicable to a frame, fall back on the defface spec.
1483 This prevents themes from obliterating faces on low-color terminals.
1484
1485 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1488 after `{'. We need it after block openers, and it doesn't seem
1489 to hurt after hash openers.
1490
1491 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1492
1493 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1494 extracted from `ruby-smie-rules'.
1495 (ruby--electric-indent-chars): New variable.
1496 (ruby--electric-indent-p): New function.
1497 (ruby-mode): Use `electric-indent-functions' instead of
1498 `electric-indent-chars'.
1499
1500 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1501
1502 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1503 docstring.
1504 (ruby-smie-rules): Indent plus one level after `=>'.
1505
1506 2013-12-21 Richard Stallman <rms@gnu.org>
1507
1508 * simple.el (newline): Doc fix.
1509
1510 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1511
1512 * net/eww.el (eww-list-histories, eww-list-histories)
1513 (eww-history-browse, eww-history-quit, eww-history-kill)
1514 (eww-history-mode-map, eww-history-mode): New command and
1515 functions to list browser histories.
1516 (eww-form-text): Support text form with disabled
1517 and readonly attributes.
1518 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1519
1520 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1521
1522 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1523 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1524 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1525 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1526 Use `user-error'.
1527 (eww-bookmark-mode-map): Add menu.
1528 (eww-render, eww-mode): Use `setq-local'.
1529 (eww-tool-bar-map): New variable.
1530 (eww-mode): Set `tool-bar-map'.
1531 (eww-view-source): Check for `html-mode' with `fboundp'.
1532
1533 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1534
1535 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1536 elements with text inside. Also remove debugging.
1537
1538 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1539
1540 * cus-start.el (all): Add ns-use-srgb-colorspace.
1541
1542 2013-12-21 Chong Yidong <cyd@gnu.org>
1543
1544 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1545 undefined. Thus, theme settings for undefined faces do not take
1546 effect until the faces are defined with defface, the same as with
1547 theme variables.
1548
1549 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1550 (face-spec-reset-face): Don't assign extra properties in temacs.
1551 (face-spec-recalc): Apply X resources too.
1552
1553 2013-12-21 Chong Yidong <cyd@gnu.org>
1554
1555 * faces.el (face-spec-set):
1556 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1557 * custom.el (defface): Doc fixes (Bug#16203).
1558
1559 * indent.el (indent-rigidly-map): Add docstring, and move commands
1560 into named functions.
1561 (indent-rigidly-left, indent-rigidly-right)
1562 (indent-rigidly-left-to-tab-stop)
1563 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1564 indentation direction based on bidi direction, and accumulate
1565 sequential commands in a single undo boundary.
1566 (indent-rigidly--pop-undo): New utility function.
1567
1568 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1569
1570 * faces.el (read-face-name): Require crm.el when using crm-separator.
1571
1572 2013-12-20 Daniel Colascione <dancol@dancol.org>
1573
1574 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1575 so that we don't reflow comments into the shebang line.
1576
1577 2013-12-20 Juri Linkov <juri@jurta.org>
1578
1579 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1580 a position when `dired-directory' is non-nil. Check integer
1581 positions with `integerp'.
1582 (toggle-save-place, save-places-to-alist): Add check for
1583 `dired-directory'.
1584 (save-place-find-file-hook): Check integer positions with
1585 `integerp'.
1586 (save-place-dired-hook): Use `dired-goto-file' when
1587 `dired-filename' is found in the assoc list. Check integer
1588 positions with `integerp'.
1589 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1590
1591 * dired.el (dired-initial-position-hook): Rename back from
1592 `dired-initial-point-hook'.
1593 (dired-initial-position): Rename `dired-initial-point-hook' to
1594 `dired-initial-position-hook'.
1595 (dired-file-name-at-point): Doc fix. (Bug#15329)
1596
1597 2013-12-20 Juri Linkov <juri@jurta.org>
1598
1599 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1600 (read-regexp-suggestions): New function.
1601 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1602 Use `read-regexp-suggestions'. Add non-empty default to history
1603 for empty input.
1604 (occur-read-regexp-defaults-function): Remove function.
1605 (occur-read-primary-args): Use `regexp-history-last' instead of
1606 `occur-read-regexp-defaults-function'.
1607
1608 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1609 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1610 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1611 `hi-lock-read-regexp-defaults-function'. Doc fix.
1612 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1613 with `find-tag-default-as-symbol-regexp'. Doc fix.
1614 (hi-lock-read-regexp-defaults): Remove function.
1615 (hi-lock-regexp-okay): Add check for null.
1616
1617 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1618 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1619
1620 * subr.el (find-tag-default-as-symbol-regexp): New function.
1621 (find-tag-default-as-regexp): Move symbol regexp formatting to
1622 `find-tag-default-as-symbol-regexp'.
1623
1624 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1625
1626 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1627 (Bug#14179)
1628
1629 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1630
1631 * calendar/todo-mode.el: New implementation of item insertion
1632 commands and key bindings.
1633 (todo-key-prompt): New face.
1634 (todo-insert-item): New command.
1635 (todo-insert-item--parameters): New defconst, replacing defvar
1636 todo-insertion-commands-args-genlist.
1637 (todo-insert-item--param-key-alist): New defconst, replacing
1638 defvar todo-insertion-commands-arg-key-list.
1639 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1640 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1641 (todo-insert-item--next-param): New functions.
1642 (todo-insert-item--args, todo-insert-item--argleft)
1643 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1644 New variables.
1645 (todo-key-bindings-t): Change binding of "i" from
1646 todo-insertion-map to todo-insert-item.
1647 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1648 (todo-insertion-command-name, todo-insertion-commands-names)
1649 (todo-define-insertion-command, todo-insertion-commands)
1650 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1651
1652 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1653
1654 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1655 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1656 eval-when-compile.
1657 (todo-move-category): Allow choosing a non-existing todo file to
1658 move the category to, and create that file.
1659 (todo-default-priority): New user option.
1660 (todo-set-item-priority): Use it.
1661 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1662 (desktop-restore-file-buffer): Declare.
1663 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1664 (todo-modes-set-2): Locally set desktop-save-buffer to
1665 todo-desktop-save-buffer.
1666 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1667 (auto-mode-alist): Add autoload cookie.
1668
1669 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1670
1671 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1672 helpers.el was a poor choice of name.
1673 (string-remove-prefix): New function.
1674 (string-remove-suffix): New function.
1675
1676 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1677
1678 Fix assignment for new window total sizes.
1679 * window.el (window--pixel-to-size): Remove function.
1680 (window--pixel-to-total-1, window--pixel-to-total):
1681 Fix calculation of new total sizes.
1682
1683 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1684
1685 * comint.el (comint-output-filter): Fix rear-nonsticky property
1686 placement (Bug#16010).
1687
1688 2013-12-20 Chong Yidong <cyd@gnu.org>
1689
1690 * faces.el (read-color): Minor fix for completion function.
1691
1692 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1693
1694 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1695 New option. (Bug#16182)
1696 (ruby-smie--indent-to-stmt-p): Use it.
1697 (ruby-smie-rules): Revert the logic in the handling of `when'.
1698 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1699 (ruby-deep-arglist, ruby-deep-indent-paren)
1700 (ruby-deep-indent-paren-style): Update docstrings to note that the
1701 vars don't have any effect with SMIE.
1702
1703 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1704
1705 * calc/calc.el (calc-enter, calc-pop): Use the variable
1706 `calc-context-sensitive-enter'.
1707
1708 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1709
1710 * net/shr.el (shr-insert): Protect against infloops in degenerate
1711 tables.
1712
1713 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1714
1715 * progmodes/octave.el (octave): Add link to manual and octave
1716 homepage.
1717 (octave-mode-menu): Link to octave-mode manual.
1718
1719 2013-12-20 Leo Liu <sdl.web@gmail.com>
1720
1721 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1722 insertion using skeleton-end-newline. (Bug#16138)
1723
1724 2013-12-20 Juri Linkov <juri@jurta.org>
1725
1726 * replace.el (occur-engine): Use `add-face-text-property'
1727 to add the face property to matches and titles. (Bug#14645)
1728
1729 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1730 the palette of other hi-lock colors.
1731 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1732
1733 2013-12-19 Juri Linkov <juri@jurta.org>
1734
1735 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1736 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1737 (minibuffer-history-symbol): Move variable declaration closer to
1738 its usage.
1739
1740 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1741 (Bug#14785)
1742
1743 2013-12-19 Juri Linkov <juri@jurta.org>
1744
1745 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1746 New function.
1747 (log-edit-hook): Add it to :options. (Bug#16170)
1748
1749 2013-12-19 Juri Linkov <juri@jurta.org>
1750
1751 * simple.el (eval-expression-print-format): Don't check for
1752 command names and the last command. Always display additional
1753 formats of the integer result in the echo area, and insert them
1754 to the current buffer only with a zero prefix arg.
1755 Display character when char-displayable-p is non-nil.
1756 (eval-expression): With a zero prefix arg, set `print-length' and
1757 `print-level' to nil, and insert the integer values from
1758 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1759
1760 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1761 `eval-last-sexp-arg-internal'. Doc fix.
1762 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1763 `eval-last-sexp-print-value'. Doc fix.
1764 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1765 Set `print-length' and `print-level' to nil when arg is zero.
1766 (eval-last-sexp): Doc fix.
1767 (eval-defun-2): Print the integer values from
1768 `eval-expression-print-format' at the end.
1769
1770 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1771 values from `eval-expression-print-format' at the end.
1772
1773 * ielm.el (ielm-eval-input): Print the integer
1774 values from `eval-expression-print-format' at the end.
1775
1776 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1777
1778 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1779 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1780
1781 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1784 (hl-line-highlight, global-hl-line-highlight): Use it.
1785 (hl-line-overlay): Use defvar-local.
1786
1787 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1788
1789 * term/ns-win.el: Require dnd.
1790 (global-map): Remove drag items.
1791 (ns-insert-text, ns-set-foreground-at-mouse)
1792 (ns-set-background-at-mouse):
1793 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1794 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1795 New functions.
1796
1797 2013-12-19 Glenn Morris <rgm@gnu.org>
1798
1799 * emacs-lisp/ert.el (ert-select-tests):
1800 Fix string/symbol mixup. (Bug#16121)
1801
1802 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1805 keywords to their parent.
1806
1807 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1808
1809 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1810 first arg to be a string (fixed dead code), or an operator symbol.
1811 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1812 operator symbols.
1813 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1814 did nothing. Don't respond to `(:after ".")', it will be called
1815 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1816 change anything. Only return indentation for binary operators
1817 when they are hanging. De-dent opening paren when its parent is
1818 `.', otherwise it looks bad when the dot is not at bol or eol
1819 (bug#16182).
1820
1821 2013-12-19 Juri Linkov <juri@jurta.org>
1822
1823 * replace.el (query-replace-read-args): Split a non-negative arg
1824 and a negative arg into separate elements.
1825 (query-replace, query-replace-regexp, replace-string)
1826 (replace-regexp): Add arg `backward'. Doc fix.
1827 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1828 move point to the beginning of the match.
1829 (replace-search, replace-highlight): Use new arg `backward'
1830 to set the value of `isearch-forward'.
1831 (perform-replace): Add arg `backward' and use it to perform
1832 replacement backward. (Bug#14979)
1833
1834 * isearch.el (isearch-query-replace): Use a negative prefix arg
1835 to call `perform-replace' with a non-nil arg `backward'.
1836
1837 2013-12-18 Juri Linkov <juri@jurta.org>
1838
1839 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1840 to the default list. Move `log-edit-show-files' to the end.
1841 Add more available functions to options.
1842 (log-edit): Move default specific settings to
1843 `log-edit-insert-message-template'. Don't move point.
1844 (log-edit-insert-message-template): New function.
1845 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1846 (Bug#16170)
1847
1848 2013-12-18 Juri Linkov <juri@jurta.org>
1849
1850 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1851 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1852
1853 2013-12-18 Leo Liu <sdl.web@gmail.com>
1854
1855 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1856 (Bug#16186)
1857
1858 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1859
1860 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1861 formats for displaying file sizes when the -s switch is given.
1862 Instead, compute a separate format for displaying the size in
1863 blocks, which is displayed in addition to the "regular" size.
1864 When -h is given in addition to -s, produce size in blocks in
1865 human-readable form as well. (Bug#16179)
1866
1867 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1868
1869 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1870 Reference tables with ~\ref{...} instead of only \ref{...}.
1871
1872 2013-12-18 Chong Yidong <cyd@gnu.org>
1873
1874 * cus-edit.el (custom-magic-alist): Fix "themed" description
1875 (Bug#14348).
1876
1877 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1878 is non-nil, do not create a new entry in the symbol's theme-value
1879 or theme-face property; update theme-settings only (Bug#14664).
1880 (custom-available-themes): Doc fix.
1881
1882 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1883 (Bug#15674).
1884
1885 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1886
1887 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1888
1889 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1890 (Bug#13914).
1891
1892 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1893
1894 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1895
1896 2013-12-18 Glenn Morris <rgm@gnu.org>
1897
1898 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1899 * cus-start.el (load-prefer-newer): New option.
1900
1901 2013-12-18 Le Wang <l26wang@gmail.com>
1902
1903 * comint.el (comint-previous-matching-input-from-input):
1904 Retain point (Bug#13404).
1905
1906 2013-12-18 Chong Yidong <cyd@gnu.org>
1907
1908 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1909
1910 2013-12-18 Glenn Morris <rgm@gnu.org>
1911
1912 * mail/emacsbug.el (report-emacs-bug):
1913 Only mention enable-multibyte-characters if non-standard.
1914
1915 2013-12-17 Juri Linkov <juri@jurta.org>
1916
1917 * arc-mode.el (archive-extract-by-file): Check if directory exists
1918 before deletion to not show irrelevant errors if it doesn't exist.
1919
1920 2013-12-17 Juri Linkov <juri@jurta.org>
1921
1922 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1923 (Bug#14751)
1924
1925 * net/eww.el (browse-web): Add alias to `eww'.
1926 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1927 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1928
1929 * net/browse-url.el (browse-url-browser-function): Move `eww'
1930 closer to similar functions.
1931
1932 * startup.el (fancy-startup-screen, fancy-about-screen):
1933 Set browse-url-browser-function to eww-browse-url locally.
1934 (Bug#14751)
1935
1936 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * window.el (window--pixel-to-total): Remove unused `mini' var.
1939 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1940 (split-window): Remove unused `new' var.
1941 (window--display-buffer): Remove unused `frame' and `delta' vars.
1942 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1943 and display-width'.
1944
1945 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1946
1947 * dired.el (dired-mark-pop-up):
1948 * register.el (register-preview): Don't bind
1949 split-height-threshold here since it's now done in
1950 display-buffer-below-selected.
1951
1952 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1953
1954 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1955 xterm-rgb-convert-to-16bit.
1956 (rxvt-register-default-colors): Standardize with
1957 xterm-register-default-colors (Bug#14078).
1958
1959 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1960
1961 * simple.el (kill-region): Pass mark first, then point, so that
1962 kill-append works right (Bug#12819).
1963 (copy-region-as-kill, kill-ring-save): Likewise.
1964
1965 2013-12-17 Leo Liu <sdl.web@gmail.com>
1966
1967 * net/rcirc.el (rcirc-add-face):
1968 * eshell/em-prompt.el (eshell-emit-prompt):
1969 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1970 (Bug#16167)
1971
1972 2013-12-17 Chong Yidong <cyd@gnu.org>
1973
1974 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1975 Suggested by Xue Fuqiao.
1976
1977 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1978
1979 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1980
1981 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * net/shr.el (shr-insert-document): Remove unused var
1984 `shr-preliminary-table-render'.
1985 (shr-rescale-image): Remove unused arg `force'.
1986 (shr-put-image): Update calls accordingly.
1987 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1988
1989 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1990
1991 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1992 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1993 :close-all, to see which indentation method to use (Bug#16116).
1994 (smie-rules-function): Document the method :close-all.
1995
1996 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1997
1998 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1999
2000 * net/eww.el (eww-display-html): If we can't find the anchor we're
2001 looking for, then go to point-min.
2002
2003 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2004
2005 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2006 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2007 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2008 Expand dir too, in case it's relative.
2009
2010 2013-12-16 Juri Linkov <juri@jurta.org>
2011
2012 * desktop.el (desktop-auto-save-timeout): Change default to
2013 `auto-save-timeout'. Doc fix.
2014 (desktop-save): Skip the timestamp in desktop-saved-frameset
2015 when checking for auto-save changes.
2016 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2017 `desktop-auto-save' is called repeatedly by the idle timer.
2018 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2019 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2020 (Bug#15331)
2021
2022 2013-12-16 Juri Linkov <juri@jurta.org>
2023
2024 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2025 (Bug#16035)
2026 (isearch-pre-command-hook): Check `this-command' for symbolp.
2027
2028 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2030 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2031
2032 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2033
2034 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2035 (cfengine3--current-function): Bring in the current-function
2036 functionality from `cfengine3--current-word'.
2037 (cfengine3-completion-function): Bring in the
2038 bounds-of-current-word functionality from
2039 `cfengine3--current-word'.
2040
2041 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2042
2043 * window.el (display-buffer-below-selected):
2044 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2045
2046 2013-12-16 Leo Liu <sdl.web@gmail.com>
2047
2048 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2049 Remove NOMSG arg and all uses changed.
2050
2051 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2054 (cua--deactivate-rectangle): Don't deactivate the mark.
2055 (cua-set-rectangle-mark): Don't set mark-active since
2056 cua--activate-rectangle already does it for us.
2057 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2058 non-rectangular region.
2059
2060 * emulation/cua-base.el (cua-repeat-replace-region):
2061 Use with-current-buffer.
2062
2063 * net/gnutls.el: Use cl-lib.
2064 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2065
2066 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2067
2068 * emacs-lisp/package.el (package-built-in-p): Support both
2069 built-in and the package.el converted package descriptions.
2070 (package-show-package-list): Allow keywords.
2071 (package-keyword-button-action): Use it instead of
2072 `finder-list-matches'.
2073 (package-menu-filter-interactive): Interactive filtering (by
2074 keyword) function.
2075 (package-menu--generate): Support keywords and change keymappings
2076 and headers when they are given.
2077 (package--has-keyword-p): Helper function.
2078 (package-menu--refresh): Use it.
2079 (package--mapc): Helper function.
2080 (package-all-keywords): Use it.
2081 (package-menu-mode-map): Set up menu items and keybindings to
2082 provide a filtering UI.
2083
2084 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2085
2086 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2087 the behavior when a certificate fails validation. Defaults to
2088 old behavior: never abort, just warn.
2089 (gnutls-negotiate): Use it.
2090
2091 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2092
2093 * window.el (display-buffer-below-selected): Never split window
2094 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2095
2096 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2097
2098 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2099 (package-buffer-info): Use it (bug#15108).
2100
2101 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * icomplete.el (icomplete-completions): Make sure the prefix is already
2104 displayed elsewhere before hiding it (bug#16219).
2105
2106 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2107
2108 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2109 open-paren tokens when preceded by a open-paren, too.
2110 (ruby-smie-rules): Handle virtual indentation after open-paren
2111 tokens specially. If there is code between it and eol, return the
2112 column where is starts (Bug#16118).
2113
2114 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2115
2116 * progmodes/cfengine.el: Fix `add-hook' doc.
2117 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2118 (cfengine3--current-word): Fix parameters.
2119 (cfengine3-make-syntax-cache): Simplify further.
2120 (cfengine3-completion-function, cfengine3--current-function):
2121 Use `assq' for symbols.
2122 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2123
2124 2013-12-13 Glenn Morris <rgm@gnu.org>
2125
2126 * loadup.el (load-path): Warn if site-load or site-init changes it.
2127 No more need to reset it when bootstrapping.
2128
2129 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2130
2131 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2132 locations for cf-promises.
2133 (cfengine-mode-syntax-functions-regex): New caching variable.
2134 (cfengine3-fallback-syntax): Fallback syntax for cases where
2135 cf-promises doesn't run.
2136 (cfengine3--current-word): Reimplement using
2137 `cfengine-mode-syntax-functions-regex'.
2138 (cfengine3-completion-function, cfengine3--current-function):
2139 Use `cfengine3-make-syntax-cache' directly.
2140 (cfengine3-clear-syntax-cache): New function.
2141 (cfengine3-make-syntax-cache): Simplify and create
2142 `cfengine-mode-syntax-functions-regex' on demand.
2143 (cfengine3-format-function-docstring): Don't call
2144 `cfengine3-make-syntax-cache' explicitly.
2145
2146 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2147
2148 Fix windmove-find-other-window broken after pixelwise resizing
2149 (Bug#16017).
2150 * windmove.el (windmove-other-window-loc): Revert change from
2151 2013-12-04.
2152 (windmove-find-other-window): Call window-in-direction.
2153 * window.el (window-in-direction): New arguments SIGN, WRAP and
2154 MINI to emulate original windmove-find-other-window behavior.
2155
2156 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2157
2158 * simple.el (blink-matching--overlay): New variable.
2159 (blink-matching-open): Instead of moving point, highlight the
2160 matching paren with an overlay
2161 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2162
2163 * faces.el (paren-showing-faces, show-paren-match)
2164 (show-paren-mismatch): Move from paren.el.
2165
2166 2013-12-13 Leo Liu <sdl.web@gmail.com>
2167
2168 * indent.el (indent-region): Disable progress reporter in
2169 minibuffer. (Bug#16108)
2170
2171 * bindings.el (visual-order-cursor-movement): Fix version.
2172
2173 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2174
2175 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2176 Also match after beginning of line.
2177 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2178 files. Thanks to Russell Sim. (Bug#15378)
2179
2180 2013-12-13 Juri Linkov <juri@jurta.org>
2181
2182 * simple.el <Keypad support>: Remove key bindings duplicated
2183 with bindings.el. (Bug#14397)
2184
2185 2013-12-13 Juri Linkov <juri@jurta.org>
2186
2187 * comint.el (comint-mode-map): Replace `delete-char' with
2188 `delete-forward-char'. (Bug#16109)
2189
2190 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2191
2192 * progmodes/python.el (python-indent-calculate-indentation):
2193 Fix de-denters cornercase. (Bug#15731)
2194
2195 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2198 (advice--make): Pay attention to `depth'.
2199 (advice--make-1): Don't autoload commands eagerly.
2200 * emacs-lisp/elp.el (elp-instrument-function):
2201 * emacs-lisp/trace.el (trace-function-internal):
2202 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2203
2204 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2205
2206 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2207
2208 * term/w32-win.el (w32-handle-dropped-file):
2209 * startup.el (normal-top-level):
2210 * net/browse-url.el (browse-url-file-url):
2211 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2212 decode file names using 'utf-8' rather than
2213 file-name-coding-system.
2214
2215 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2216
2217 * progmodes/python.el (python-indent-context)
2218 (python-indent-calculate-indentation): Fix auto-identation
2219 behavior for comment blocks. (Bug#15916)
2220
2221 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2222
2223 * progmodes/python.el (python-indent-calculate-indentation):
2224 When determining indentation, don't treat "return", "pass", etc., as
2225 operators when they are just string constituents. (Bug#15812)
2226
2227 2013-12-12 Juri Linkov <juri@jurta.org>
2228
2229 * uniquify.el (uniquify-buffer-name-style): Change default to
2230 `post-forward-angle-brackets'.
2231
2232 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2233 `uniquify'. Change default to `post-forward-angle-brackets'.
2234
2235 2013-12-11 Glenn Morris <rgm@gnu.org>
2236
2237 * emacs-lisp/package.el (finder-list-matches):
2238 Autoload rather than falsely declaring.
2239
2240 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2241
2242 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2243 (eww-mode-map): Use them.
2244
2245 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2246
2247 * window.el (display-buffer-in-side-window): Fix doc-string
2248 (Bug#16115).
2249
2250 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2251
2252 * vc/vc-git.el: Silence byte-compiler warnings.
2253 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2254 (log-edit-set-header): Declare.
2255
2256 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2257
2258 * Makefile.in (custom-deps, finder-data): Run output file names
2259 through unmsys--file-name. (Bug#16099)
2260
2261 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2264 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2265
2266 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2267 instead of deleting the selection "by hand" (bug#16098).
2268 Rely on insert-for-yank to yank rectangles.
2269 (cua-highlight-region-shift-only): Mark obsolete.
2270 (cua-mode): Don't enable/disable transient-mark-mode,
2271 shift-select-mode (cua-mode works both with and without them), and
2272 pc-selection-mode (obsolete).
2273 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2274 (cua--deactivate-rectangle): Deactivate it.
2275
2276 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2277 (delete-selection-helper): Make sure yank starts at the top of the
2278 deleted region.
2279 (minibuffer-keyboard-quit): Use region-active-p.
2280
2281 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2282
2283 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2284 to `delete' (bug#16109).
2285
2286 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2287
2288 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2289 info manual and show keybindings and set `:group' keyword.
2290
2291 2013-12-11 Juri Linkov <juri@jurta.org>
2292
2293 * delsel.el (delete-active-region): Let-bind `this-command'
2294 to prevent `kill-region' from changing its original value.
2295 (delete-selection-helper): Handle `overwrite-mode' for the type
2296 `kill' exactly the same way as for the type `t'.
2297 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2298 Support more commands. (Bug#13312)
2299
2300 2013-12-11 Juri Linkov <juri@jurta.org>
2301
2302 * bindings.el: Map kp keys to non-kp keys systematically
2303 with basic modifiers control, meta and shift. (Bug#14397)
2304
2305 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2306
2307 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2308 "Close browser" menu items. Fix wrong function of "List
2309 bookmarks".
2310
2311 2013-12-11 Juri Linkov <juri@jurta.org>
2312
2313 * misearch.el (multi-isearch-buffers): Set the value of
2314 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2315 arg of isearch-forward to t.
2316 (multi-isearch-buffers-regexp): Set the value of
2317 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2318 arg of isearch-forward-regexp to t.
2319 (multi-isearch-files): Set the value of
2320 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2321 arg of isearch-forward to t.
2322 (multi-isearch-files-regexp): Set the value of
2323 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2324 arg of isearch-forward-regexp to t. (Bug#16035)
2325
2326 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2327 arg of isearch-forward to t.
2328 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2329 arg of isearch-forward-regexp to t.
2330 (dired-isearch-filter-filenames): Remove unnecessary check for
2331 `dired-isearch-filenames'.
2332
2333 * comint.el (comint-history-isearch-backward):
2334 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2335 (comint-history-isearch-backward-regexp):
2336 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2337
2338 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2339
2340 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2341 unmsys--file-name. (Bug#16099)
2342
2343 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2344
2345 * emacs-lisp/package.el (package-keyword-button-action):
2346 Remove finder.el require dependency.
2347
2348 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2349
2350 * emacs-lisp/package.el: Require finder.el.
2351 (describe-package-1): Add keyword buttons.
2352 (package-make-button): New convenience function.
2353 (package-keyword-button-action): Keyword button action using
2354 `finder-list-matches'.
2355
2356 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2357
2358 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2359 last commit.
2360
2361 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2362
2363 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2364 symlinked files.
2365
2366 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2367
2368 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2369 after the end of a percent literal.
2370
2371 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2372
2373 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2374 Handle caret-delimited strings (Bug#16079).
2375
2376 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2377
2378 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2379 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2380 `ruby-parse-partial' (Bug#16078).
2381
2382 2013-12-09 Leo Liu <sdl.web@gmail.com>
2383
2384 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2385
2386 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2387
2388 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2389 (js-switch-indent-offset): New option.
2390 (js--proper-indentation): Use it. And handle the case when
2391 "default" is actually a key in an object literal.
2392 (js--same-line): New function.
2393 (js--multi-line-declaration-indentation): Use it.
2394 (js--indent-in-array-comp, js--array-comp-indentation):
2395 New functions.
2396 (js--proper-indentation): Use them, to handle array comprehension
2397 continuations.
2398
2399 2013-12-08 Leo Liu <sdl.web@gmail.com>
2400
2401 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2402 (flymake-make-overlay): Remove arg MOUSE-FACE.
2403 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2404
2405 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2408 New function.
2409 (redisplay-highlight-region-function): Use it.
2410
2411 * emulation/cua-base.el (cua--explicit-region-start)
2412 (cua--last-region-shifted): Remove.
2413 (cua--deactivate): Use deactivate-mark.
2414 (cua--pre-command-handler-1): Don't handle shift-selection.
2415 (cua--post-command-handler-1): Don't change transient-mark-mode.
2416 (cua--select-keymaps): Use region-active-p rather than
2417 cua--explicit-region-start or cua--last-region-shifted.
2418 (cua-mode): Enable shift-select-mode.
2419
2420 2013-12-08 Leo Liu <sdl.web@gmail.com>
2421
2422 * progmodes/flymake.el (flymake-popup-current-error-menu):
2423 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2424 (flymake-posn-at-point-as-event, flymake-popup-menu)
2425 (flymake-make-emacs-menu): Remove. (Bug#16077)
2426
2427 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * rect.el (rectangle-mark-mode): Activate mark even if
2430 transient-mark-mode is off (bug#16066).
2431 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2432 is > mark and at bolp.
2433
2434 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2435 (region-extract-function): Use it.
2436 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2437 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2438 Delete functions.
2439 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2440 kill-ring-save, kill-region, delete-char, delete-forward-char.
2441 Ignore self-insert-iso.
2442
2443 * emulation/cua-gmrk.el (cua--init-global-mark):
2444 Ignore `self-insert-iso'.
2445
2446 * emulation/cua-base.el (cua--prefix-copy-handler)
2447 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2448 checking cua--rectangle.
2449 (cua-delete-region): Use region-extract-function.
2450 (cua-replace-region): Delete function.
2451 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2452 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2453 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2454 (cua--init-keymaps): Don't remap delete-selection commands.
2455 (cua-mode): Use delete-selection-mode instead of rolling our own
2456 (bug#16085).
2457
2458 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2459 Obey region-extract-function.
2460
2461 Make registers and delete-selection-mode work on rectangles.
2462 * register.el (describe-register-1): Don't modify the register's value.
2463 (copy-to-register): Obey region-extract-function.
2464 * delsel.el (delete-active-region): Obey region-extract-function.
2465
2466 2013-12-08 Leo Liu <sdl.web@gmail.com>
2467
2468 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2469 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2470 (flymake-compilation-prevents-syntax-check)
2471 (flymake-start-syntax-check-on-newline)
2472 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2473 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2474 (flymake-xml-program, flymake-master-file-dirs)
2475 (flymake-master-file-count-limit)
2476 (flymake-allowed-file-name-masks): Relocate.
2477 (flymake-makehash, flymake-float-time)
2478 (flymake-replace-regexp-in-string, flymake-split-string)
2479 (flymake-get-temp-dir): Remove.
2480 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2481 (flymake-current-row, flymake-selected-frame)
2482 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2483 related functions. (Bug#16077)
2484
2485 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2486
2487 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2488
2489 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2490
2491 * help-fns.el (describe-function-1): Use new advice-* functions
2492 rather than old ad-* functions. Fix function type description and
2493 source links for advised functions and subrs.
2494
2495 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2496
2497 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2498
2499 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2500
2501 * progmodes/compile.el (compilation-start):
2502 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2503
2504 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2505 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2506
2507 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2508
2509 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2510 Touch up the last change.
2511
2512 2013-12-06 Leo Liu <sdl.web@gmail.com>
2513
2514 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2515 (inferior-octave-startup): Always use "octave> " for prompt.
2516 (octave-goto-function-definition)
2517 (octave-sync-function-file-names)
2518 (octave-find-definition-default-filename): Remove redundant backquotes.
2519
2520 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2521
2522 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2523 syntax for `?'.
2524 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2525 where appropriate already.
2526 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2527 end of method names (Bug#15874).
2528
2529 2013-12-06 Juri Linkov <juri@jurta.org>
2530
2531 * isearch.el (isearch--saved-overriding-local-map):
2532 New internal variable.
2533 (isearch-mode): Set it to the initial value of
2534 `overriding-terminal-local-map'.
2535 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2536 with `isearch--saved-overriding-local-map'. (Bug#16035)
2537
2538 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2539
2540 * progmodes/octave.el (inferior-octave-completion-table):
2541 Turn back into function, use `completion-table-with-cache'
2542 (Bug#11906). Update all references.
2543
2544 * minibuffer.el (completion-table-with-cache): New function.
2545
2546 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2547
2548 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2549
2550 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2551
2552 * net/eww.el (eww-current-source): New variable to store page
2553 source.
2554 (eww-display-html, eww-mode, eww-save-history)
2555 (eww-restore-history): Use it.
2556 (eww-view-source): New command to view page source.
2557 Opportunistically uses `html-mode' to highlight the buffer.
2558 (eww-mode-map): Install it.
2559
2560 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2561
2562 * net/dbus.el (dbus-unregister-service)
2563 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2564 Fix docstring.
2565 (dbus-unregister-service): Skip :serial entries in
2566 `dbus-registered-objects-table'.
2567 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2568
2569 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2570
2571 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2572 around keywords with extra `split-string' argument.
2573
2574 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2575
2576 * windmove.el (windmove-other-window-loc): Handle navigation
2577 between windows (excluding the minibuffer window - Bug#16017).
2578
2579 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2582 in D-Bus type syntax.
2583 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2584 preserve unibyte strings. (Bug#16048)
2585
2586 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2589 Call force-mode-line-update is the proper buffer (bug#16042).
2590
2591 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2592
2593 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2594 `log-edit-remember-comment', make argument optional. Adjust all
2595 callers.
2596 (log-edit-mode): Add `log-edit-remember-comment' to
2597 `kill-buffer-hook' locally.
2598 (log-edit-kill-buffer): Don't remember comment explicitly since
2599 the buffer is killed anyway.
2600
2601 2013-12-04 Juri Linkov <juri@jurta.org>
2602
2603 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2604 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2605
2606 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2607
2608 * notifications.el (notifications-close-notification): Call the
2609 D-Bus method with ID being a `:uint32'. (Bug#16030)
2610
2611 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2612
2613 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2614
2615 2013-12-03 Juri Linkov <juri@jurta.org>
2616
2617 * progmodes/compile.el (compilation-start): Rename window alist
2618 entry `no-display-ok' to `allow-no-window'.
2619
2620 * simple.el (shell-command): Add window alist entry
2621 `allow-no-window' to `display-buffer'.
2622 (async-shell-command): Doc fix.
2623
2624 * window.el (display-buffer-no-window): New action function.
2625 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2626
2627 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2628
2629 * vc/log-edit.el (log-edit-set-header): Extract from
2630 `log-edit-toggle-header'.
2631 (log-edit-extract-headers): Separate the summary, when extracted
2632 from header, from the rest of the message with an empty line.
2633
2634 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2635 line, if present, to the Summary header.
2636
2637 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2638
2639 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2640 in current-buffer (bug#16029).
2641
2642 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2643
2644 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2645 (debugger-mode-map): Bind it.
2646 (debugger--backtrace-base): New function.
2647 (debugger-eval-expression): Use it.
2648 (debugger-frame-number): Skip local vars when present.
2649 (debugger--locals-visible-p, debugger--insert-locals)
2650 (debugger--show-locals, debugger--hide-locals): New functions.
2651
2652 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2653
2654 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2655 "LC_ALL".
2656 (tramp-get-remote-locale): New defun.
2657 (tramp-open-connection-setup-interactive-shell): Use it.
2658
2659 2013-12-02 Leo Liu <sdl.web@gmail.com>
2660
2661 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2662
2663 * progmodes/sh-script.el (sh-shell-process):
2664 * progmodes/octave.el (inferior-octave-process-live-p):
2665 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2666 (gdb-inferior-io-sentinel):
2667 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2668
2669 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2670
2671 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2672 `save-selected-window' to `log-edit-hide-buf'. This makes
2673 `log-edit-show-files' idempotent.
2674 (log-edit-show-files): Mark the new window as dedicated.
2675
2676 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2677
2678 * vc/log-edit.el (log-edit-mode-map): Add binding for
2679 `log-edit-kill-biffer'.
2680 (log-edit-hide-buf): Add a FIXME comment.
2681 (log-edit-add-new-comment): New function, extracted from
2682 `log-edit-done'.
2683 (log-edit-done, log-edit-add-to-changelog): Use it.
2684 (log-edit-kill-buffer): New command.
2685
2686 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2687
2688 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2689 instead of killing the buffer.
2690
2691 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2694
2695 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2696
2697 * net/eww.el (eww-form-checkbox-selected-symbol)
2698 (eww-form-checkbox-symbol): New customizable variable.
2699 (eww-form-checkbox, eww-toggle-checkbox):
2700 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2701
2702 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2703 (shr--get-media-pref, shr--extract-best-source): New function.
2704 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2705 no :src tag was specified.
2706
2707 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2708 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2709 Use \\` to match beginning of string instead of ^.
2710 (eww-browse-with-external-browser): Provide optional URL parameter.
2711 (eww-render): Set `eww-current-title' back to "".
2712
2713 * net/shr.el (shr-tag-video): Display content for video if no
2714 poster is available.
2715 (shr-tag-audio): Add support for <audio> tag.
2716
2717 * net/eww.el (eww-text-input-types): New const.
2718 (eww-process-text-input): Treat input types in
2719 `eww-text-input-types' as text.
2720
2721 * net/shr.el (shr-tag-table): Fix comment typo.
2722
2723 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2724
2725 * net/eww.el (eww-follow-link): New command to avoid reloading
2726 pages when we follow #target links (bug#15243).
2727 (eww-quit): Special mode buffers shouldn't query before exiting.
2728
2729 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2730
2731 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2732 forms.
2733
2734 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2735
2736 * net/eww.el (eww-restore-history): Update the window title after
2737 moving in the history.
2738 (eww-current-dom): New variable used to save the current DOM.
2739
2740 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2741
2742 * vc/log-edit.el (log-edit-mode-map): Add binding for
2743 `log-edit-beginning-of-line'.
2744 (log-edit-setup-add-author): New user option.
2745 (log-edit-beginning-of-line): New command.
2746 (log-edit): Move major mode call above the contents setup so that
2747 the local variable values are already applied.
2748 (log-edit): Only insert "Author: " when
2749 `log-edit-setup-add-author' is non-nil.
2750 (log-edit): When SETUP is non-nil, position point after ": "
2751 instead of point-min.
2752
2753 2013-12-01 Glenn Morris <rgm@gnu.org>
2754
2755 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2756
2757 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2758
2759 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2760 redisplay to make sure the initial frame gets a chance to become
2761 visible. (Bug#16014)
2762
2763 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2764
2765 Support resizing frames and windows pixelwise.
2766 * cus-start.el (frame-resize-pixelwise)
2767 (window-resize-pixelwise): New entries.
2768 * emacs-lisp/debug.el (debug): Use window-total-height instead
2769 of window-total-size.
2770 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2771 * help.el (describe-bindings-internal): Call help-buffer
2772 (temp-buffer-max-width): New option.
2773 (resize-temp-buffer-window, help-window-setup)
2774 (with-help-window): Rewrite.
2775 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2776 dragging dividers.
2777 * window.el (frame-char-size, window-min-pixel-height)
2778 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2779 (window-min-pixel-width, window-safe-min-pixel-size)
2780 (window-combination-p, window-safe-min-size)
2781 (window-resizable-p, window--size-to-pixel)
2782 (window--pixel-to-size, window--resize-apply-p): New functions.
2783 (window-safe-min-height): Fix doc-string.
2784 (window-size, window-min-size, window--min-size-1)
2785 (window-sizable, window-sizable-p, window--min-delta-1)
2786 (window-min-delta, window--max-delta-1, window-max-delta)
2787 (window--resizable, window--resizable-p, window-resizable)
2788 (window-full-height-p, window-full-width-p, window-at-side-p)
2789 (window--in-direction-2, window-in-direction)
2790 (window--resize-reset-1, window--resize-mini-window)
2791 (window-resize, window-resize-no-error)
2792 (window--resize-child-windows-normal)
2793 (window--resize-child-windows, window--resize-siblings)
2794 (window--resize-this-window, window--resize-root-window)
2795 (window--resize-root-window-vertically)
2796 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2797 (maximize-window, minimize-window, delete-window)
2798 (quit-restore-window, window-split-min-size, split-window)
2799 (balance-windows-2, balance-windows)
2800 (balance-windows-area-adjust, balance-windows-area)
2801 (window--state-get-1, window-state-get, window--state-put-1)
2802 (window--state-put-2, window-state-put)
2803 (display-buffer-record-window, window--display-buffer):
2804 Make functions handle pixelwise sizing of windows.
2805 (display-buffer--action-function-custom-type)
2806 (display-buffer-fallback-action):
2807 Add display-buffer-in-previous-window.
2808 (display-buffer-use-some-window): Resize window to height it had
2809 before.
2810 (fit-window-to-buffer-horizontally): New option.
2811 (fit-frame-to-buffer): Describe new values.
2812 (fit-frame-to-buffer-bottom-margin): Replace with
2813 fit-frame-to-buffer-margins.
2814 (window--sanitize-margin): New function.
2815 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2816 using window-text-pixel-size.
2817
2818 2013-11-30 Glenn Morris <rgm@gnu.org>
2819
2820 * emacs-lisp/bytecomp.el (byte-compile-form):
2821 Make the `interactive-only' warning like the `obsolete' one.
2822 * comint.el (comint-run):
2823 * files.el (insert-file-literally, insert-file):
2824 * replace.el (replace-string, replace-regexp):
2825 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2826 (goto-line, insert-buffer, next-line, previous-line):
2827 Tweak `interactive-only' spec.
2828
2829 Stop keeping (most) generated cedet grammar files in the repository.
2830 * Makefile.in (semantic): New.
2831 (compile-main): Depend on semantic.
2832
2833 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2834
2835 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2836 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2837
2838 * uniquify.el (uniquify-buffer-name-style): Change default.
2839
2840 * loadup.el: Preload "uniquify".
2841
2842 * time.el (display-time-update): Update all mode lines (bug#15999).
2843
2844 * electric.el (electric-indent-mode): Enable by default.
2845 * loadup.el: Preload "electric".
2846
2847 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2848
2849 * emacs-lisp/helpers.el (string-empty-p): New function.
2850 (string-blank-p): New function.
2851
2852 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2853
2854 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2855 (Bug#14029).
2856
2857 2013-11-29 Andreas Politz <politza@fh-trier.de>
2858 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2859 allow non-lambda lists as functions.
2860 (imenu--in-alist): Don't recurse into non-subalists.
2861 (imenu): Don't pass function itself as an argument (Bug#14029).
2862
2863 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2864
2865 * progmodes/python.el (python-mode-map): Remove binding for ":".
2866 (python-indent-electric-colon): Remove command.
2867 (python-indent-post-self-insert-function): Integrate the previous code
2868 of python-indent-electric-colon. Make it conditional on
2869 electric-indent-mode.
2870 (python-mode): Add ?: to electric-indent-chars.
2871 Move python-indent-post-self-insert-function to the end of
2872 post-self-insert-hook.
2873
2874 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * doc-view.el (doc-view-goto-page): Update mode-line.
2877
2878 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2879
2880 2013-11-27 Glenn Morris <rgm@gnu.org>
2881
2882 * international/charprop.el, international/uni-bidi.el:
2883 * international/uni-category.el, international/uni-combining.el:
2884 * international/uni-comment.el, international/uni-decimal.el:
2885 * international/uni-decomposition.el, international/uni-digit.el:
2886 * international/uni-lowercase.el, international/uni-mirrored.el:
2887 * international/uni-name.el, international/uni-numeric.el:
2888 * international/uni-old-name.el, international/uni-titlecase.el:
2889 * international/uni-uppercase.el:
2890 Remove generated files from VCS repository.
2891
2892 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2893
2894 * filenotify.el (file-notify-add-watch): Don't special-case
2895 w32notify when computing the directory to watch.
2896
2897 2013-11-27 Glenn Morris <rgm@gnu.org>
2898
2899 Make bootstrap without generated uni-*.el files possible again.
2900 * loadup.el: Update command-line-args checking for unidata-gen.
2901 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2902 * composite.el, international/characters.el:
2903 Handle unicode tables being undefined.
2904
2905 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2906 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2907 (compile-main): Depend on leim rule.
2908 (leim): New rule.
2909 * loadup.el: Move leim-list.el to leim/ subdirectory.
2910 * startup.el (normal-top-level): No more leim directory.
2911 * international/ja-dic-cnv.el (skkdic-convert):
2912 Disable version-control and autoloads in output files.
2913 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2914 Disable version-control and autoloads in output files.
2915 * leim/quail: Move here from ../leim.
2916 * leim/quail/hangul.el (hangul-input-method-activate):
2917 Add autoload cookie.
2918 (generated-autoload-load-name): Set file-local value.
2919 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2920 (generated-autoload-load-name): Set file-local value.
2921
2922 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2923
2924 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2925 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2926 (eww-quit): Ask confirmation before quitting eww.
2927
2928 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2929
2930 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2931 reading output from Diff on MS-Windows and MS-DOS.
2932
2933 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2934
2935 * emacs-lisp/helpers.el (string-reverse): New function.
2936
2937 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2938
2939 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2940 names on MS Windows, like "/[::1]:".
2941
2942 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2943 SWITCHES.
2944
2945 2013-11-26 Glenn Morris <rgm@gnu.org>
2946
2947 * progmodes/python.el (python-indent-guess-indent-offset):
2948 Avoid corner-case error. (Bug#15975)
2949
2950 Preload leim-list.el. (Bug#4789)
2951 * loadup.el: Load leim-list.el when found.
2952 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2953
2954 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2955
2956 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2957
2958 * emacs-lisp/helpers.el (string-join): New function.
2959
2960 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2961
2962 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2963 Mark as obsolete and replace it with a symbol property.
2964 (byte-compile-form): Use new 'interactive-only property.
2965 * comint.el, files.el, replace.el, simple.el:
2966 Apply new 'interactive-only properly.
2967
2968 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2969
2970 * window.el (display-buffer-at-bottom): Make sure that
2971 split-window-sensibly creates the new window on bottom
2972 (Bug#15961).
2973
2974 2013-11-23 David Kastrup <dak@gnu.org>
2975
2976 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2977 on the conflict markers when available.
2978 (smerge--get-marker): New function.
2979 (smerge-end-re, smerge-base-re): Add subgroup.
2980
2981 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * frame.el (handle-focus-in, handle-focus-out): Add missing
2984 interactive spec.
2985
2986 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2987
2988 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2989 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2990
2991 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2994 (gomoku--last-pos): New var.
2995 (gomoku--intangible-chars): New const.
2996 (gomoku--intangible): New function.
2997 (gomoku-mode): Use it. Derive from special-mode.
2998 (gomoku-move-up): Adjust line count.
2999 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3000 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3001 Simplify accordingly.
3002
3003 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3004 Remove blink-cursor code.
3005 (blink-cursor-timer-function, blink-cursor-suspend):
3006 Don't special-case GUIs.
3007 (blink-cursor-mode): Use focus-in/out-hook.
3008
3009 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3010
3011 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3012 work when annotation is invisible (Bug#13886).
3013
3014 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3015
3016 * json.el (json-alist-p): Only return non-nil if the alist has
3017 simple keys (Bug#13518).
3018
3019 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3020
3021 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3022 when control-statement is the first statement in a buffer (Bug#15956).
3023
3024 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3025
3026 * imenu.el (imenu-generic-skip-comments-and-strings):
3027 New option (Bug#15560).
3028 (imenu--generic-function): Use it.
3029
3030 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3031
3032 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3033 (Bug#13898)
3034
3035 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3036
3037 * emacs-lisp/helpers.el: Add some string helpers.
3038 (string-trim-left): Removes leading whitespace.
3039 (string-trim-right): Removes trailing whitespace.
3040 (string-trim): Removes leading and trailing whitespace.
3041
3042 * subr.el (string-suffix-p): New function.
3043
3044 2013-11-23 Glenn Morris <rgm@gnu.org>
3045
3046 * progmodes/python.el (python-shell-send-file):
3047 Add option to delete file when done. (Bug#15647)
3048 (python-shell-send-string, python-shell-send-region): Use it.
3049
3050 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3051
3052 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3053 to set buffer-read-only to t, never to nil. (Bug#15938)
3054
3055 * textmodes/tex-mode.el (latex-noindent-environments):
3056 Add safe-local-variable property. (Bug#15936)
3057
3058 2013-11-23 Glenn Morris <rgm@gnu.org>
3059
3060 * textmodes/enriched.el (enriched-mode): Doc fix.
3061 * emacs-lisp/authors.el (authors-renamed-files-alist):
3062 Add enriched.doc -> enriched.txt.
3063
3064 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3065
3066 2013-11-22 Leo Liu <sdl.web@gmail.com>
3067
3068 * progmodes/octave.el (inferior-octave-startup): Spit out error
3069 message.
3070
3071 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3072
3073 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3074 Improve docstring.
3075 Add :version.
3076 (ruby-encoding-magic-comment-style): Add :version.
3077
3078 2013-11-22 Leo Liu <sdl.web@gmail.com>
3079
3080 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3081 (Bug#15076)
3082 (octave-help-mode): Adapt to change to help-mode-finish to use
3083 derived-mode-p on 2013-09-17.
3084 (inferior-octave-prompt): Also match octave-gui.
3085 (octave-kill-process): Don't ask twice. (Bug#10564)
3086
3087 2013-11-22 Leo Liu <sdl.web@gmail.com>
3088
3089 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3090 (inferior-octave-startup, inferior-octave-check-process)
3091 (inferior-octave-track-window-width-change)
3092 (octave-completion-at-point, octave-eldoc-function): Use it.
3093 (octave-kill-process): Provide confirmation. (Bug#10564)
3094
3095 2013-11-21 Leo Liu <sdl.web@gmail.com>
3096
3097 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3098 Fix obsolete variable comment-use-global-state.
3099
3100 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3101
3102 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3103 Add `octave-source-file'.
3104 (octave-source-file): New function. (Bug#15935)
3105
3106 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3107
3108 * net/eww.el (eww-local-regex): New variable.
3109 (eww): Use it to detect localhost and similar.
3110
3111 2013-11-21 Leo Liu <sdl.web@gmail.com>
3112
3113 Add completion for command `ag'.
3114 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3115 (pcomplete/ag): New function.
3116 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3117
3118 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3121 (bug#14646).
3122 (make-obsolete): Remove interactive spec.
3123
3124 2013-11-21 Glenn Morris <rgm@gnu.org>
3125
3126 * startup.el (command-line-1): Use path-separator with -L.
3127
3128 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3129
3130 * emacs-lisp/package.el (describe-package-1): Add package archive
3131 to shown fields.
3132
3133 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3134
3135 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3136 Change default to "# encoding: %s" to differentiate it from the
3137 default Ruby encoding comment template.
3138
3139 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3140
3141 * ses.el (ses-mode): Doc fix. (Bug#14748)
3142
3143 2013-11-20 Leo Liu <sdl.web@gmail.com>
3144
3145 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3146
3147 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3148
3149 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3150 when rebase or bisect are in progress.
3151
3152 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3153
3154 * filenotify.el (file-notify-add-watch): Doc fix.
3155
3156 2013-11-19 Leo Liu <sdl.web@gmail.com>
3157
3158 * obsolete/rcompile.el: Mark obsolete.
3159
3160 * progmodes/compile.el (compilation-start)
3161 (compilation-goto-locus, compilation-find-file):
3162 Pass no-display-ok and handle nil value from display-buffer.
3163 (Bug#13594)
3164
3165 * window.el (display-buffer-alist, display-buffer): Document the
3166 new parameter no-display-ok. Return either a window or nil
3167 but never a non-window value.
3168
3169 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * electric.el (electric-indent-mode-map): Remove.
3172 (electric-indent-mode): Change the global-map instead (bug#15915).
3173
3174 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3175 Use add-function.
3176
3177 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * emacs-lisp/nadvice.el (remove-function): Align with
3180 add-function's behavior.
3181
3182 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3183 (gdb--string-regexp): New constant.
3184 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3185 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3186 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3187 submatch 1.
3188 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3189 Adjust use accordingly.
3190 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3191
3192 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3193
3194 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3195 interpolation curlies (Bug#15914).
3196
3197 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3198
3199 * calc/calc.el (calc-context-sensitive-enter): New variable.
3200 (calc-enter): Use `calc-context-sensitive-enter'.
3201
3202 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3203
3204 * progmodes/cfengine.el: Version bump.
3205 (cfengine-cf-promises): New defcustom to locate cf-promises.
3206 (cfengine3-vartypes): Add new "data" type.
3207 (cfengine3--current-word): New function to get current name-like
3208 word or its bounds.
3209 (cfengine3--current-function): New function to look up a CFEngine
3210 function's definition.
3211 (cfengine3-format-function-docstring): New function.
3212 (cfengine3-make-syntax-cache): New function.
3213 (cfengine3-documentation-function): New function: ElDoc glue.
3214 (cfengine3-completion-function): New function: completion glue.
3215 (cfengine3-mode): Set `compile-command',
3216 `eldoc-documentation-function', and add to
3217 `completion-at-point-functions'.
3218
3219 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3220
3221 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3222 `tramp-current-connection'.
3223
3224 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3225
3226 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3227 nil/self/true/false with "end of symbol".
3228
3229 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3230
3231 * subr.el (version-regexp-alist): Fix a typo.
3232
3233 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3236 "en_US.utf8" and "LC_CTYPE" to "".
3237 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3238 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3239
3240 2013-11-15 Leo Liu <sdl.web@gmail.com>
3241
3242 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3243
3244 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * progmodes/gud.el (ctl-x-map):
3247 Remove C-x SPC binding. (Bug#12342)
3248 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3249
3250 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3251
3252 * subr.el (version-regexp-alist):
3253 Recognize hg, svn and darcs versions as snapshot versions.
3254
3255 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3256 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3257 (ruby--encoding-comment-required-p): Extract from
3258 `ruby-mode-set-encoding'.
3259 (ruby-mode-set-encoding): Add the ability to always insert an
3260 utf-8 encoding comment. Fix and simplify coding comment update
3261 logic.
3262
3263 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3264
3265 * net/tramp-gvfs.el (top): Run init code only when
3266 `tramp-gvfs-enabled' is not nil.
3267 (tramp-gvfs-enabled): Check also :system bus.
3268
3269 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 Sync with upstream verilog-mode revision 78e66ba.
3272 * progmodes/verilog-mode.el (verilog-end-of-defun)
3273 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3274 (verilog-get-end-of-defun): Remove unused argument.
3275 (verilog-comment-depth): Remove unused local `e'.
3276 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3277 Don't pass arg to verilog-get-end-of-defun.
3278
3279 2013-11-14 Glenn Morris <rgm@gnu.org>
3280
3281 * obsolete/assoc.el (aget): Prefix dynamic variable.
3282
3283 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3284
3285 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * widget.el, hfy-cmap.el: Remove bogus package version number.
3288
3289 2013-11-13 Glenn Morris <rgm@gnu.org>
3290
3291 * replace.el (replace-eval-replacement):
3292 Try to give more helpful error message. (Bug#15836)
3293
3294 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3295 (archive-7z-update): Avoid custom type mismatches.
3296
3297 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3298
3299 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3302 address can be empty.
3303
3304 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3305 Accept nil SWITCHES.
3306 (tramp-gvfs-handle-write-region): Implement APPEND.
3307
3308 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3309
3310 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3311 binary "|" operator and closing block args delimiter.
3312 Remove FIXME comment referring to Ruby 1.8-only syntax.
3313 (ruby-smie--implicit-semi-p): Not after "|" operator.
3314 (ruby-smie--closing-pipe-p): New function.
3315 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3316 (ruby-smie-rules): Indent after "|".
3317
3318 2013-11-12 Glenn Morris <rgm@gnu.org>
3319
3320 * ps-print.el (ps-face-attribute-list):
3321 Handle anonymous faces. (Bug#15827)
3322
3323 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3324
3325 * window.el (display-buffer-other-frame): Fix doc-string.
3326 (Bug#15868)
3327
3328 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3331
3332 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3333
3334 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3335 (tramp-sh-handle-file-local-copy): Don't write a message when
3336 saving temporary files.
3337
3338 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3339 both directories are remote.
3340 (tramp-smb-handle-directory-files): Do not return double entries.
3341 Do not expand full file names.
3342 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3343 (tramp-smb-handle-write-region): Implement APPEND.
3344 (tramp-smb-get-stat-capability): Fix a stupid bug.
3345
3346 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3349
3350 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3351
3352 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3353 throwing error over malformed let/let* (bug#15814).
3354
3355 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * iswitchb.el (iswitchb-mode): Mark obsolete.
3358
3359 2013-11-11 Glenn Morris <rgm@gnu.org>
3360
3361 * international/uni-bidi.el, international/uni-category.el:
3362 * international/uni-name.el, international/uni-numeric.el:
3363 Regenerate for Unicode 6.3.0.
3364
3365 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3366
3367 * net/tramp.el (tramp-methods):
3368 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3369 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3370
3371 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3374 Force highlighting text after Summary keyword in doc face for rpm.
3375
3376 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3377
3378 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3379 available and the word has no wildcards, append one to the grep pattern.
3380 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3381 (ispell-complete-word): Call `ispell-lookup-words' with the value
3382 independent of `ispell-look-p'.
3383
3384 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3385
3386 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3387 Not after "||".
3388 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3389 their parent.
3390
3391 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3394 (ruby-font-lock-keywords): Use backquote.
3395
3396 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3397
3398 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3399 (ruby-smie--backward-token): Only consider full-string matches.
3400
3401 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3402
3403 * faces.el (describe-face): Add distant-foreground.
3404
3405 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3406
3407 * progmodes/ruby-mode.el: Improve encoding comment handling.
3408 (ruby-encoding-magic-comment-style): New option.
3409 (ruby-custom-encoding-magic-comment-template): New option.
3410 (ruby--insert-coding-comment, ruby--detect-encoding):
3411 New functions extracted from `ruby-mode-set-encoding'.
3412 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3413 to control the style of the auto-inserted encoding comment.
3414
3415 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3416
3417 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3418 Use `smie-backward-sexp' with token argument.
3419
3420 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3421
3422 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3423 Remove instrumentation code.
3424
3425 2013-11-08 Glenn Morris <rgm@gnu.org>
3426
3427 * progmodes/autoconf.el (autoconf-mode):
3428 Tweak comment-start-skip. (Bug#15822)
3429
3430 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3433 at bobp (bug#15826).
3434 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3435
3436 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3437
3438 * man.el (Man-start-calling): New macro, extracted from
3439 Man-getpage-in-background.
3440 (Man-getpage-in-background): Use it.
3441 (Man-update-manpage): New command.
3442 (Man-mode-map): Bind it.
3443
3444 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3445
3446 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3447 of "and", "or", "&&" and "||".
3448 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3449 argument. Prohibit opening curly brace because it could only be a
3450 block opener in that position.
3451 (ruby-smie--forward-token, ruby-smie--backward-token):
3452 Separate "|" from "&" or "*" going after it. That can happen in block
3453 arguments.
3454 (ruby-smie--indent-to-stmt): New function, seeks the end of
3455 previous statement or beginning of buffer.
3456 (ruby-smie-rules): Use it.
3457 (ruby-smie-rules): Check if there's a ":" before a curly block
3458 opener candidate; if there is, it's a hash.
3459
3460 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3463 (cl--block-wrapper): Fix last accidental change.
3464
3465 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3468 Instrument, in order to hunt failure on hydra.
3469
3470 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3471
3472 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3473 malformed bindings form (bug#15814).
3474
3475 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3476
3477 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3478 "." compared to " @ ". This incidentally fixes some indentation
3479 examples with "do".
3480 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3481 (ruby-smie-grammar): New tokens: "and" and "or".
3482 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3483 Exclude "and" and "or". Remove "do" in order to work around token
3484 priorities.
3485 (ruby-smie-rules): Add all infix tokens. Handle the case of
3486 beginning-of-buffer.
3487
3488 2013-11-06 Glenn Morris <rgm@gnu.org>
3489
3490 * Makefile.in (setwins_almost, setwins_for_subdirs):
3491 Avoid accidental matches.
3492
3493 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * menu-bar.el (popup-menu): Use key-binding.
3496
3497 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3498
3499 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3500 menus, support also the menus produced by minor modes.
3501 (Bug#15817)
3502
3503 2013-11-06 Leo Liu <sdl.web@gmail.com>
3504
3505 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3506 DISTANCE to bound the search. All uses changed. (Bug#15808)
3507
3508 2013-11-06 Glenn Morris <rgm@gnu.org>
3509
3510 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3511 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3512 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3513
3514 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * electric.el (electric-indent-just-newline): New command.
3517 (electric-indent-mode-map): New keymap.
3518 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3519 Re-add :group which weren't redundant.
3520
3521 * electric.el (electric-indent-local-mode): New minor mode.
3522 (electric-indent-functions-without-reindent): New var.
3523 (electric-indent-post-self-insert-function): Use it.
3524 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3525
3526 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3527
3528 * international/quail.el (quail-help): Be more explicit about the
3529 meaning of the labels shown on the keys. (Bug#15800)
3530
3531 * startup.el (normal-top-level): Load the subdirs.el files before
3532 setting the locale environment. (Bug#15805)
3533
3534 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3537 via arguments so as to get the right ones (bug#15418).
3538
3539 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3540
3541 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3542
3543 Fix problems found while writing a test suite.
3544
3545 * net/tramp-compat.el (tramp-compat-load): New defun.
3546 * net/tramp.el (tramp-handle-load): Use it.
3547
3548 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3549 "(numberp ok-if-already-exists)" correctly.
3550
3551 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3552
3553 * international/characters.el (glyphless-char-display-control):
3554 Add usage note.
3555
3556 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3557
3558 * progmodes/python.el (python-mode):
3559 * progmodes/scheme.el (scheme-mode):
3560 * progmodes/prolog.el (prolog-mode):
3561 * progmodes/ruby-mode.el (ruby-mode):
3562 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3563 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3564
3565 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * rect.el (rectangle--highlight-for-redisplay):
3568 * emacs-lisp/smie.el (smie--next-indent-change):
3569 Use buffer-chars-modified-tick.
3570
3571 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3572
3573 * electric.el (electric-indent-post-self-insert-function):
3574 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3575
3576 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3577
3578 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3579
3580 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3581
3582 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3583 (bug#15786).
3584
3585 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3588
3589 * progmodes/python.el: Fix up last change.
3590 (python-shell--save-temp-file): New function.
3591 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3592 `string' comes from the current buffer.
3593 (python-shell-send-string-no-output): Remove `msg' arg.
3594 (python--use-fake-loc): New var.
3595 (python-shell-buffer-substring): Obey it. Try to compensate for the
3596 extra coding line added by python-shell--save-temp-file.
3597 (python-shell-send-region): Use python-shell--save-temp-file and
3598 python-shell-send-file directly. Add `nomain' argument.
3599 (python-shell-send-buffer): Use python-shell-send-region.
3600 (python-electric-pair-string-delimiter): New function.
3601 (python-mode): Use it.
3602
3603 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3604
3605 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3606 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3607 environment and decoding all of the default-directory's to here
3608 from command-line.
3609 (command-line): Decode also argv[0].
3610
3611 * loadup.el: Error out if default-directory is a multibyte string
3612 when we are dumping.
3613
3614 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3615
3616 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3617
3618 * emacs-lisp/package.el (package-menu-mode)
3619 (package-menu--print-info, package-menu--archive-predicate):
3620 Add Archive column to package list.
3621
3622 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3623
3624 Fix problems found while writing a test suite.
3625
3626 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3627 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3628 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3629 to nil when running original file name handler. Otherwise,
3630 there are problems with constructs like "$$FOO".
3631
3632 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3633 for `localname'.
3634
3635 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3636
3637 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3638
3639 * subr.el (version<, version<=, version=):
3640 Update docstrings with information for snapshot versions.
3641
3642 * helpers.el: New library for misc helper functions.
3643 (hash-table-keys): New function returning a list of hash keys.
3644 (hash-table-values): New function returning a list of hash values.
3645
3646 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3647
3648 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3649 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3650
3651 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3652
3653 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3654 checking whether point is after a 1-letter word.
3655
3656 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3657
3658 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3659 Don't infloop when expanding region over `multiline' syntax-type that
3660 begins a line (bug#15778).
3661
3662 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3665 Make it into a proper minor mode.
3666 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3667 (rectangle-mark-mode-map): New keymap.
3668 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3669
3670 2013-11-04 Glenn Morris <rgm@gnu.org>
3671
3672 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3673
3674 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3677 (ruby-smie-rules): Use smie-rule-parent instead.
3678
3679 * emacs-lisp/smie.el (smie-rule-parent): Always call
3680 smie-indent-virtual rather than only for hanging tokens.
3681 (smie--next-indent-change): New helper command.
3682
3683 2013-11-03 Glenn Morris <rgm@gnu.org>
3684
3685 * Makefile.in (abs_srcdir): Remove.
3686 (emacs): Unset EMACSLOADPATH.
3687
3688 2013-11-02 Glenn Morris <rgm@gnu.org>
3689
3690 * Makefile.in (EMACS): Use a relative filename.
3691 (abs_top_builddir): Remove.
3692 (custom-deps, finder-data, autoloads): Use --chdir.
3693
3694 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3695
3696 Use relative filenames in TAGS files.
3697 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3698 (lisptagsfiles4, TAGS): Use relative file names.
3699 (TAGS-LISP): Remove.
3700 (maintainer-clean): No more TAGS-LISP file.
3701
3702 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3703 (lisptagsfiles4): Use absolute filenames again.
3704 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3705 Remove all *loaddefs files, not just the first. Remove esh-groups.
3706 (maintainer-clean): Delete TAGS, TAGS-LISP.
3707
3708 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3709
3710 * emacs-lisp/package.el (package-version-join):
3711 Recognize snapshot versions.
3712
3713 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3714
3715 * subr.el (version-regexp-alist): Add support for snapshot versions.
3716
3717 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3718
3719 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3720 New function, replacement for `smie-rule-parent' for when we want to
3721 skip over our direct parent if it's an assignment token..
3722 (ruby-smie-rules): Use it.
3723
3724 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3725
3726 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3727 unconditionally. Remove now unnecessary forward declarations.
3728 Remove XEmacs-specific setup.
3729 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3730 (ruby-font-lock-syntactic-keywords)
3731 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3732 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3733 (ruby-here-doc-end-syntax): Remove.
3734 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3735 defined as function.
3736
3737 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3738
3739 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3740
3741 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3742
3743 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3744 table and abbrev table, `define-derived-mode' does that for us
3745 anyway.
3746
3747 2013-11-01 Glenn Morris <rgm@gnu.org>
3748
3749 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3750 files is atomic for some time, so no parallel compilation issues).
3751
3752 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3753
3754 * faces.el (face-x-resources): Add :distant-foreground.
3755 (region): Use :distant-foreground for gtk and ns.
3756
3757 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3758
3759 Allow multiple bibliographies when BibLaTeX is used rather than
3760 BibTeX.
3761 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3762 (reftex-locate-bibliography-files): Us it.
3763
3764 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3765
3766 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3767 allow comments in pbm files.
3768
3769 * term/w32-win.el (dynamic-library-alist): Support newer versions
3770 of libjpeg starting with v7: look only for the DLL from the
3771 version against which Emacs was built.
3772 Support versions of libpng beyond 1.4.x.
3773 Support libtiff v4.x.
3774
3775 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3776
3777 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3778 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3779 Add property :safe.
3780 (ruby-deep-arglist): Add property :type.
3781
3782 2013-10-31 Glenn Morris <rgm@gnu.org>
3783
3784 * Makefile.in (custom-deps, finder-data): No need to setq the target
3785 variables, we are in the right directory and the defaults work fine.
3786
3787 2013-10-30 Glenn Morris <rgm@gnu.org>
3788
3789 * Makefile.in (autoloads): Do not use abs_lisp.
3790
3791 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3792 `newline' does not respect `standard-output', so use `princ'.
3793
3794 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3795
3796 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3797 * buff-menu.el (Buffer-menu--unmark): New function.
3798 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3799
3800 2013-10-30 Glenn Morris <rgm@gnu.org>
3801
3802 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3803
3804 * emacs-lisp/package.el (lm-homepage): Declare.
3805
3806 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3807 Fix doc typos.
3808
3809 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3810
3811 * Makefile.in (finder-data, autoloads, update-subdirs)
3812 (compile-main, compile-clean, compile-always, bootstrap-clean):
3813 Check return value of cd.
3814 (compile-calc): Remove.
3815
3816 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3817
3818 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3819
3820 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3821 (byte-compile-and-folded): New function.
3822 (=, <, >, <=, >=): Use it.
3823
3824 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3825 (path-separator, null-device, buffer-file-coding-system)
3826 (lpr-headers-switches): Check system-type before modifying them.
3827 (find-buffer-file-type-coding-system): Mark obsolete.
3828 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3829 find-file-not-found-set-buffer-file-coding-system.
3830 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3831 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3832 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3833 (w32-direct-print-region-helper, w32-direct-print-region-function)
3834 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3835 * startup.el (normal-top-level-add-subdirs-to-load-path):
3836 * ps-print.el (ps-print-region-function):
3837 * lpr.el (print-region-function): Use new name.
3838
3839 * subr.el (custom-declare-variable-early): Remove function.
3840 (custom-declare-variable-list): Remove var.
3841 (error, user-error): Remove `while' loop.
3842 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3843 (user-emacs-directory-warning, locate-user-emacs-file):
3844 Move to files.el.
3845 * simple.el (read-quoted-char-radix, read-quoted-char):
3846 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3847 Move from subr.el.
3848 * custom.el (custom-declare-variable-list): Don't process
3849 custom-declare-variable-list.
3850
3851 * progmodes/python.el (python-shell-get-buffer): New function.
3852 (python-shell-get-process): Use it.
3853 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3854 Python which encoding was used. Don't split-string since we only care
3855 about the first line. Return the temp-file, if applicable.
3856 (python-shell-send-region): Tell compile.el how to turn locations in
3857 the temp-file into locations in the source buffer.
3858
3859 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * subr.el (undefined): Add missing behavior from the C code for
3862 unbound keys.
3863
3864 * rect.el: Use lexical-binding. Add new rectangular region support.
3865 (rectangle-mark): New command.
3866 (rectangle--region): New var.
3867 (deactivate-mark-hook): Reset rectangle--region.
3868 (rectangle--extract-region, rectangle--insert-for-yank)
3869 (rectangle--highlight-for-redisplay)
3870 (rectangle--unhighlight-for-redisplay): New functions.
3871 (region-extract-function, redisplay-unhighlight-region-function)
3872 (redisplay-highlight-region-function): Use them to handle
3873 rectangular region.
3874 * simple.el (region-extract-function): New var.
3875 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3876 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3877 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3878 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3879 (redisplay-unhighlight-region-function)
3880 (redisplay-highlight-region-function): New vars.
3881 (redisplay--update-region-highlight): New function.
3882 (pre-redisplay-function): Use it.
3883 (exchange-point-and-mark): Don't deactivate the mark before
3884 reactivate-it anyway.
3885 * comint.el (comint-kill-region): Remove yank-handler argument.
3886 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3887 (delete-char): Remove property, since it's now part of their
3888 default behavior.
3889 (self-insert-iso): Remove property since this command doesn't exist.
3890
3891 * emacs-lisp/package.el (package--download-one-archive)
3892 (describe-package-1): Don't query the user about final newline.
3893
3894 2013-10-29 Daniel Colascione <dancol@dancol.org>
3895
3896 * net/tramp.el (tramp-methods): Document new functionality.
3897 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3898 tramp-hostname-checker if method provides one instead of scanning
3899 argument list for "%h" to decide hostname acceptability.
3900
3901 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3902
3903 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3904 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3905 Handle COPY-CONTENTS. (Bug#15737)
3906
3907 2013-10-28 Daiki Ueno <ueno@gnu.org>
3908
3909 * epa-file.el
3910 (epa-file-cache-passphrase-for-symmetric-encryption):
3911 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3912
3913 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3914
3915 * image.el (defimage):
3916 (image-load-path): Doc fixes.
3917
3918 2013-10-27 Alan Mackenzie <acm@muc.de>
3919
3920 Indent statements in macros following "##" correctly.
3921 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3922 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3923
3924 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3925
3926 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3927
3928 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3929
3930 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3931 after `=' is probably a new expression.
3932
3933 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3934
3935 * man.el (man-imenu-title): New option.
3936 (Man-mode-map): Add menu. (Bug#15722)
3937 (Man-mode): Add imenu to menu.
3938
3939 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3940
3941 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3942 specific in what the first arg can be: a non-keyword word,
3943 string/regexp/percent literal opener, opening paren, or unary
3944 operator followed directly by word.
3945
3946 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3949 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3950 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3951 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3952 Remove vars, they do not apply any more.
3953 (prolog-mode-abbrev-table): Remove redundant declaration.
3954 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3955 (prolog-use-smie): Remove.
3956 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3957 supported by prolog-electric-if-then-else-flag.
3958 (prolog-mode-variables, prolog-menu): Use setq-local.
3959 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3960 Remove binding to `Backspace' since this key doesn't exist anyway.
3961 Remove bindings for electric self-inserting keys.
3962 (prog-mode): Assume it's defined.
3963 (prolog-post-self-insert): New function.
3964 (prolog-mode): Use it.
3965 (prolog-indent-line, prolog-indent-level)
3966 (prolog-find-indent-of-matching-paren)
3967 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3968 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3969 (prolog-goto-next-paren, prolog-in-string-or-comment)
3970 (prolog-tokenize, prolog-inside-mline-comment)
3971 (prolog-find-start-of-mline-comment): Remove functions.
3972 (prolog-find-unmatched-paren, prolog-clause-end)
3973 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3974 (prolog-electric--if-then-else): Rename from
3975 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3976 (prolog-tokenize-searchkey): Remove const.
3977 (prolog-clause-info): Use forward-sexp.
3978 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3979 (prolog-electric-if-then-else): Remove commands.
3980 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3981 for use in post-self-insert-hook.
3982 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3983 for use in post-self-insert-hook.
3984 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3985 for use in post-self-insert-hook.
3986 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3987 adapt it for use in post-self-insert-hook.
3988
3989 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3990
3991 * emacs-lisp/ert.el (ert-run-tests-interactively):
3992 Use `completing-read'. (Bug#9756)
3993
3994 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3995
3996 * simple.el (line-move): Call line-move-1 instead of
3997 line-move-visual when the current window hscroll is zero, but
3998 temporary-goal-column indicates we will need to hscroll as result
3999 of the movement. (Bug#15712)
4000
4001 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4002
4003 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4004 capitalization. Use :visible instead of :active.
4005 Fix `ruby-indent-exp' reference. Add menu items for the generic
4006 commands that are used with SMIE.
4007 (ruby-do-end-to-brace): Insert space after `{'.
4008
4009 2013-10-25 John Anthony <john@jo.hnanthony.com>
4010
4011 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4012
4013 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4014
4015 2013-10-25 Glenn Morris <rgm@gnu.org>
4016
4017 * vc/vc.el (vc-print-log): Don't use a working revision unless
4018 one was explicitly specified. (Bug#15322)
4019
4020 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4021
4022 * subr.el (add-to-list): Preserve return value in compiler-macro
4023 (bug#15692).
4024
4025 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4026
4027 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4028 result. Ask user to retry using '-all' flag. (Bug#15701)
4029
4030 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * emacs-lisp/smie.el: New smie-config system.
4033 (smie-config): New defcustom.
4034 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4035 (smie-config-guess, smie-config-save): New commands.
4036 (smie-config--mode-local, smie-config--buffer-local)
4037 (smie-config--trace, smie-config--modefuns): New vars.
4038 (smie-config--advice, smie-config--mode-hook)
4039 (smie-config--setter, smie-config-local, smie-config--get-trace)
4040 (smie-config--guess-value, smie-config--guess): New functions.
4041 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4042 text properties. Treat "string fence" syntax like string syntax.
4043
4044 * progmodes/sh-script.el (sh-use-smie): Change default.
4045 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4046 (sh-var-value): Simplify by CSE.
4047 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4048 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4049 is used.
4050 (sh-guess-basic-offset): Use cl-incf.
4051 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4052
4053 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4054
4055 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4056 (bug#15699).
4057
4058 2013-10-24 Glenn Morris <rgm@gnu.org>
4059
4060 * Makefile.in (abs_top_srcdir): Remove.
4061 (update-subdirs): Use relative path to update-subdirs.
4062
4063 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4064
4065 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4066 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4067 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4068 Call unmsys--file-name before expand-file-name, not after it.
4069
4070 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4071
4072 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4073 (ert-test-skipped): New error.
4074 (ert-skip, ert-stats-skipped): New defuns.
4075 (ert--skip-unless): New macro.
4076 (ert-test-skipped): New struct.
4077 (ert--run-test-debugger, ert-test-result-type-p)
4078 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4079 (ert--stats-set-test-and-result, ert-char-for-test-result)
4080 (ert-string-for-test-result, ert-run-tests-batch)
4081 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4082 Handle skipped tests. (Bug#9803)
4083
4084 2013-10-24 Glenn Morris <rgm@gnu.org>
4085
4086 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4087
4088 * Makefile.in (abs_top_srcdir): New, set by configure.
4089 (update-subdirs): Correct build-aux location.
4090
4091 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4092
4093 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4094 value, whether we could auto-deduce `backend', or not.
4095
4096 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4097 with parameters" example. Simplify the "is it block or is it
4098 hash" check, but also make it more thorough.
4099
4100 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4101
4102 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4103
4104 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4107 { if it is hanging.
4108
4109 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4110 :before ";".
4111
4112 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4113
4114 * progmodes/compile.el (compilation-directory-matcher)
4115 (compilation-page-delimiter):
4116 Support GNU Make-4.0 directory quoting. (Bug#15678)
4117
4118 2013-10-23 Leo Liu <sdl.web@gmail.com>
4119
4120 * ido.el (ido-tidy): Handle read-only text.
4121
4122 2013-10-23 Glenn Morris <rgm@gnu.org>
4123
4124 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4125 (emacs, compile, compile-always):
4126 Quote entities that might contain whitespace.
4127 (custom-deps, finder-data, autoloads): Use abs_lisp.
4128 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4129 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4130 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4131
4132 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4133
4134 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4135 Use `following-char'.
4136
4137 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4140 * progmodes/ruby-mode.el (ruby-smie-rules):
4141 Remove corresponding workaround. Fix indentation rule of ";" so it
4142 also applies when ";" is the parent.
4143
4144 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4145
4146 * frame.el (display-screens, display-pixel-height)
4147 (display-pixel-width, display-mm-width, display-backing-store)
4148 (display-save-under, display-planes, display-color-cells)
4149 (display-visual-class, display-monitor-attributes-list):
4150 Mention the optional ‘display’ argument in doc strings.
4151
4152 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4153
4154 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4155 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4156
4157 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4158
4159 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4160 TODO. Add "." after " @ ".
4161 (ruby-smie--at-dot-call): New function. Checks if point at method
4162 call with explicit target.
4163 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4164 to the method name tokens when it precedes them.
4165 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4166 (ruby-smie-rules): Add rule for indentation before and after "."
4167 token.
4168
4169 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4170
4171 * textmodes/remember.el (remember-diary-extract-entries):
4172 Avoid add-to-list.
4173
4174 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4175 an instruction.
4176
4177 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4178
4179 * progmodes/ruby-mode.el (ruby-smie-grammar):
4180 Add (almost) all infix operators.
4181 (ruby-smie--implicit-semi-p): Add new operator chars.
4182
4183 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4184 `smie-down-list'.
4185 (ruby-smie--args-separator-p): Check that there's no newline
4186 between method call and its arguments.
4187
4188 2013-10-20 Alan Mackenzie <acm@muc.de>
4189
4190 Allow comma separated lists after Java "implements".
4191
4192 * progmodes/cc-engine.el (c-backward-over-enum-header):
4193 Parse commas.
4194 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4195 from a "disallowed" list in enum fontification.
4196
4197 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4198
4199 * startup.el (default-frame-background-mode): Remove unused defvar.
4200
4201 * progmodes/verilog-mode.el (verilog-mode): Don't set
4202 comment-indent-function globally.
4203
4204 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4205
4206 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4207 Move Info menu item creation to ns-win.el.
4208
4209 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4210 in menu bar.
4211
4212 * menu-bar.el: Move GNUstep specific menus...
4213
4214 * term/ns-win.el (ns-initialize-window-system): ... to here.
4215
4216 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * simple.el (newline): Only run post-self-insert-hook when
4219 called interactively.
4220
4221 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4222
4223 * icomplete.el (icomplete-with-completion-tables): Add :version.
4224
4225 2013-10-19 Alan Mackenzie <acm@muc.de>
4226
4227 Fix fontification bugs with constructors and const.
4228
4229 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4230 CASE 2) Remove the check for the absence of a suffix construct
4231 after a function declaration with only types (no identifiers) in
4232 the parentheses. Also, accept a function declaration with just a
4233 type inside the parentheses, if this type can be positively
4234 recognised as such, or if a prefix keyword like "explicit" nails
4235 down the construct as a declaration.
4236
4237 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4238
4239 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4240 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4241 the problem whereby selecting a menu item that leads to a
4242 minibuffer prompt moves the cursor out of the minibuffer window,
4243 making it hard to type at the prompt. Suggested by Stefan Monnier
4244 <monnier@iro.umontreal.ca>.
4245
4246 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4247
4248 * menu-bar.el: Don't make Services menu.
4249
4250 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4251
4252 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4253 (ffap-alist): Use ffap-c++-mode for c++-mode.
4254 (ffap-c++-path): New variable.
4255 (ffap-c++-mode): New function.
4256
4257 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4258
4259 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4260
4261 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4262
4263 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4264 introduced on 2013-09-08, which results in an infinite loop
4265 requesting a password.
4266
4267 2013-10-18 Glenn Morris <rgm@gnu.org>
4268
4269 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4270
4271 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4272
4273 Sync with upstream verilog-mode revision 1a6ecec7.
4274 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4275 (verilog-mode-release-date): Remove.
4276 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4277 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4278 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4279 (verilog-auto-tieoff-ignore-regexp)
4280 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4281 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4282 (verilog-signals-with, verilog-dir-cache-preserving)
4283 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4284 Doc fixes.
4285 (verilog-case-fold): New option, to control case folding in
4286 regexp searches, bug597.
4287 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4288 (verilog-string-match-fold, verilog-in-paren-count)
4289 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4290 (verilog-at-close-struct-p): New functions.
4291 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4292 (verilog-forward-sexp, verilog-set-auto-endcomments):
4293 (verilog-leap-to-case-head): Handle "unique0" case.
4294 (verilog-in-constraint-re): New constant.
4295 (verilog-keywords, verilog-type-font-keywords):
4296 Add some SystemVerilog 1800-2012 keywords.
4297 (verilog-label-be): Remove unimplemented argument, bug669.
4298 (verilog-batch-execute-func): When batch expanding clear
4299 create-lockfiles to prevent spurious user locks when a file ends
4300 up not changing.
4301 (verilog-calculate-indent, verilog-calc-1)
4302 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4303 (verilog-do-indent): Fix indentation of nested constraints
4304 and structures.
4305 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4306 (verilog-auto-inst-param): Use verilog-string-match-fold.
4307 (verilog-read-inst-module-matcher):
4308 Fix AUTOINST on gate primitives with #1.
4309 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4310 Reads all user-defined typed variables.
4311 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4312 (verilog-signals-matching-regexp)
4313 (verilog-signals-not-matching-regexp, verilog-auto):
4314 Respect verilog-case-fold.
4315 (verilog-diff-report): Fix line count.
4316 (verilog-auto-assign-modport): Remove unused local `modi'.
4317 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4318 better handle multidimensional arrays.
4319 Fix packed array ports misadding bit index in AUTOINST, bug637.
4320 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4321 to not double-declare existing outputs and inputs, respectively.
4322 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4323 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4324 (verilog-sk-uvm-component): New skeleton.
4325 (verilog-submit-bug-report): Add verilog-case-fold,
4326 remove verilog-mode-release-date.
4327
4328 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4329
4330 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4331 as before.
4332
4333 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4334
4335 * textmodes/remember.el (remember): Set buffer-offer-save in
4336 remember buffers (bug#13566).
4337
4338 2013-10-18 Daniel Colascione <dancol@dancol.org>
4339
4340 When evaluating forms in ielm, direct standard output to ielm
4341 buffer. Add new ielm-return-for-effect command. Remove trailing
4342 whitespace throughout.
4343
4344 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4345 (ielm-return-for-effect): New command.
4346 (ielm-send-input): Accept optional `for-effect' parameter.
4347 (ielm-eval-input): Accept optional `for-effect' parameter.
4348 Bind `standard-output' to stream we create using
4349 `ielm-standard-output-impl'. Suppress printing result when
4350 `for-effect'.
4351 (ielm-standard-output-impl): New function.
4352 (inferior-emacs-lisp-mode): Explain new features in documentation.
4353
4354 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4355
4356 Code cleanup.
4357
4358 * net/tramp.el (tramp-debug-message): Do not check for connection
4359 buffer.
4360 (tramp-message): Use "vector" connection property.
4361
4362 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4363 (tramp-equal-remote, tramp-eshell-directory-change)
4364 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4365 (tramp-adb-handle-rename-file)
4366 * net/tramp-cmds.el (tramp-list-remote-buffers)
4367 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4368 * net/tramp-compat.el (tramp-compat-process-running-p)
4369 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4370 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4371 (tramp-gvfs-handle-rename-file)
4372 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4373 (tramp-set-file-uid-gid)
4374 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4375 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4376 of `file-remote-p'.
4377
4378 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4379 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4380 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4381 (tramp-gw-open-network-stream): Suppress unrelated traces.
4382
4383 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4384 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4385 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4386 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4387 connection property.
4388
4389 * net/tramp-cache.el (top): Suppress traces when reading
4390 persistency file.
4391
4392 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4393 Refactor common code. Improve debug message.
4394 (tramp-maybe-open-connection)
4395 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4396 connection buffer too early.
4397
4398 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4399 from `tramp-smb-actions-with-acl'.
4400 (tramp-smb-actions-set-acl): New defconst.
4401 (tramp-smb-handle-copy-directory)
4402 (tramp-smb-action-get-acl): New defun, renamed from
4403 `tramp-smb-action-with-acl'.
4404 (tramp-smb-action-set-acl): New defun.
4405 (tramp-smb-handle-set-file-acl): Rewrite.
4406
4407 2013-10-17 Glenn Morris <rgm@gnu.org>
4408
4409 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4410
4411 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * skeleton.el (skeleton-newline): Remove.
4414 (skeleton-internal-1): Use (insert "\n") instead.
4415
4416 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4417 let-bindings.
4418
4419 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4420 forward-sexp-function while we redo its job (bug#15613).
4421
4422 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4423
4424 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4425 represented by lists.
4426
4427 2013-10-16 Glenn Morris <rgm@gnu.org>
4428
4429 * tmm.el (tmm--history): New dynamic variable.
4430 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4431
4432 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4433
4434 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4435 (tramp-smb-errors): Add error messages.
4436 (tramp-smb-actions-with-acl): New defconst.
4437 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4438 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4439 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4440 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4441 (tramp-smb-get-stat-capability): Fix tests.
4442
4443 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4444
4445 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4446 (bug#15580).
4447
4448 2013-10-16 Glenn Morris <rgm@gnu.org>
4449
4450 * ansi-color.el (ansi-color-drop-regexp):
4451 Add 1J, 1K, 2K. (Bug#15617)
4452
4453 * files.el (hack-local-variables--warned-lexical): New.
4454 (hack-local-variables):
4455 Warn about misplaced lexical-binding. (Bug#15616)
4456
4457 * net/eww.el (eww-render): Always set eww-current-url,
4458 and update header line. (Bug#15622)
4459 (eww-display-html): ... Rather than just doing it here.
4460
4461 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4462
4463 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4464 menu navigations commands.
4465
4466 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4467
4468 * progmodes/subword.el (subword-capitalize): Be careful when
4469 the search for [[:alpha:]] fails (bug#15580).
4470
4471 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4472
4473 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4474 to commands that scroll the menu.
4475
4476 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4477
4478 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4479 Handle methods ending with `?' and `!'.
4480
4481 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4482
4483 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4484 `japanese-cp932' to `cp932' to fix the problem where saving a
4485 source file written in Shift_JIS twice would end up having
4486 `coding: japanese-cp932' which Ruby could not recognize.
4487 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4488 in `ruby-encoding-map'.
4489 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4490 doesn't need to be explicitly declared in magic comment.
4491 (ruby-encoding-map): Add type declaration for better customize UI.
4492
4493 2013-10-13 Glenn Morris <rgm@gnu.org>
4494
4495 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4496 Occur buffers are read-only. http://bugs.debian.org/720775
4497
4498 * emacs-lisp/authors.el (authors-fixed-entries):
4499 Comment out old alpha stuff.
4500
4501 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4502
4503 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4504 to `after-save-hook' instead of `before-save-hook'.
4505 (ruby-mode-set-encoding): Use the value of coding system used to
4506 write the file. Call `basic-save-buffer-1' after modifying the
4507 buffer.
4508
4509 2013-10-13 Alan Mackenzie <acm@muc.de>
4510
4511 Fix indentation/fontification of Java enum with
4512 "implements"/generic.
4513
4514 * progmodes/cc-engine.el (c-backward-over-enum-header):
4515 Extracted from the three other places and enhanced to handle generics.
4516 (c-inside-bracelist-p): Uses new function above.
4517 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4518 function above.
4519 (c-font-lock-enum-tail): Uses new function above.
4520
4521 2013-10-13 Kenichi Handa <handa@gnu.org>
4522
4523 * international/mule-cmds.el (select-safe-coding-system): Remove a
4524 superfluous condition in chekcing whether a coding system is safe
4525 or not.
4526
4527 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4528
4529 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4530
4531 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4532
4533 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4534
4535 2013-10-13 Glenn Morris <rgm@gnu.org>
4536
4537 * menu-bar.el (menu-bar-update-buffers):
4538 Unify Buffers menu prompt string. (Bug#15576)
4539
4540 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4541
4542 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4543 Add some entries.
4544 (authors-fixed-entries): Use accented form of name.
4545
4546 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4549 method calls (bug#15594).
4550 (ruby-smie--args-separator-p): New function.
4551 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4552 recognize paren-free method calls.
4553
4554 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4555 internals of universal-argument.
4556
4557 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4558
4559 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4560 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4561 dropped menu on second mouse click on the menu bar.
4562
4563 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4566 (explicit-shell-file-name): Declare.
4567 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4568 (sh-completion-at-point-function): New function.
4569 (sh-mode): Use it.
4570 (sh-smie--keyword-p): Remove unused argument.
4571 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4572 vars.
4573 (sh-set-shell): Always setup SMIE, even if we use the
4574 old indentation code.
4575
4576 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4577
4578 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4579 cases of ? and =.
4580 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4581 predicate would return nil are almost non-existent.
4582 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4583
4584 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4585 cache also after commands that modify the buffer but don't move
4586 point.
4587
4588 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 * env.el (substitute-env-in-file-name): New function.
4591 (substitute-env-vars): Extend the meaning of the optional arg.
4592
4593 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4594
4595 * term/w32-win.el (dynamic-library-alist): Define separate lists
4596 of GIF DLLs for versions before and after 5.0.0 of giflib.
4597 (Bug#15531)
4598
4599 2013-10-10 João Távora <joaotavora@gmail.com>
4600
4601 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4602 not locked, use last revision and current source as
4603 defaults. (Bug#15569)
4604
4605 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4606
4607 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4608 menu-bar is hidden.
4609
4610 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4611
4612 * window.el (pop-to-buffer-same-window): Fix doc-string.
4613 (Bug#15492)
4614
4615 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4618
4619 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4620
4621 * calendar/icalendar.el (icalendar-import-file):
4622 Fix interactive spec. (Bug#15482)
4623
4624 2013-10-10 Glenn Morris <rgm@gnu.org>
4625
4626 * desktop.el (desktop-save): Default to saving in .emacs.d,
4627 since PWD is no longer in desktop-path by default. (Bug#15319)
4628
4629 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4630 now that text mode has a menu with the same entry.
4631 (menu-bar-text-mode-auto-fill): Remove now unused func.
4632 * textmodes/text-mode.el (text-mode-map):
4633 Use auto-fill help text from menu-bar.el.
4634
4635 2013-10-10 John Anthony <john@jo.hnanthony.com>
4636
4637 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4638
4639 2013-10-09 Juri Linkov <juri@jurta.org>
4640
4641 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4642 instead of this-command-keys. Add universal-argument-more and
4643 universal-argument-minus to the list of prefix commands. (Bug#15568)
4644
4645 2013-10-09 Glenn Morris <rgm@gnu.org>
4646
4647 * vc/vc-svn.el (vc-svn-create-repo):
4648 Expand paths in file://... url. (Bug#15446)
4649
4650 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4651 Add some entries.
4652 (authors): Remove unused local variables.
4653
4654 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * profiler.el: Create a more coherent calltree from partial backtraces.
4657 (profiler-format): Hide the tail with `invisible' so that C-s can still
4658 find the hidden elements.
4659 (profiler-calltree-depth): Don't recurse so enthusiastically.
4660 (profiler-function-equal): New hash-table-test.
4661 (profiler-calltree-build-unified): New function.
4662 (profiler-calltree-build): Use it.
4663 (profiler-report-make-name-part): Indent the calltree less.
4664 (profiler-report-mode): Add visibility specs for profiler-format.
4665 (profiler-report-expand-entry, profiler-report-toggle-entry):
4666 Expand the whole subtree when provided with a prefix arg.
4667
4668 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4669
4670 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4671 iuwu-mod token.
4672 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4673 hanging iuwu-mod token.
4674 (ruby-smie--forward-token): Do not include a dot after a token in
4675 that token.
4676 (ruby-smie--backward-token): Likewise.
4677
4678 2013-10-08 Juri Linkov <juri@jurta.org>
4679
4680 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4681 to isearch-other-control-char.
4682 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4683 and isearch-post-command-hook to post-command-hook.
4684 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4685 and isearch-post-command-hook from post-command-hook.
4686 (isearch-unread-key-sequence)
4687 (isearch-reread-key-sequence-naturally)
4688 (isearch-lookup-scroll-key, isearch-other-control-char)
4689 (isearch-other-meta-char): Remove functions.
4690 (isearch-pre-command-hook, isearch-post-command-hook):
4691 New functions based on isearch-other-meta-char rewritten
4692 relying on the new behavior of overriding-terminal-local-map
4693 that does not replace the local keymaps any more. (Bug#15200)
4694
4695 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4696
4697 Support menus on text-mode terminals.
4698 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4699 functionality.
4700
4701 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4702
4703 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4704 Move here from mouse.el.
4705 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4706 and arrow keys.
4707 (tty-menu-navigation-map): New map for TTY menu navigation.
4708
4709 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4710
4711 * frame.el (display-mouse-p): Report text-mode mouse as available
4712 on w32.
4713 (display-popup-menus-p): Report availability if mouse is
4714 available; don't condition on window-system.
4715
4716 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4717 (tty-menu-selected-face): New faces.
4718
4719 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4722 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4723 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4724 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4725 New constants.
4726 (lisp-mode-variables): New `elisp' argument.
4727 (emacs-lisp-mode): Use it.
4728 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4729 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4730
4731 * indent.el: Use lexical-binding.
4732 (indent-region): Add progress reporter.
4733 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4734 last step.
4735 (indent--next-tab-stop): New function to implement this behavior.
4736 (tab-to-tab-stop, move-to-tab-stop): Use it.
4737
4738 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4739
4740 * indent.el (indent-rigidly--current-indentation): New function.
4741 (indent-rigidly-map): New var.
4742 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4743
4744 2013-10-08 Bastien Guerry <bzg@gnu.org>
4745
4746 * register.el (insert-register): Fix 2013-10-07 change.
4747
4748 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * progmodes/perl-mode.el: Use lexical-binding.
4751 Remove redundant :group args.
4752 (perl-nochange): Change default to be closer to other major modes's
4753 standard behavior.
4754 (perl-indent-line): Don't consider text on current line as a
4755 valid beginning of function from which to indent.
4756
4757 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4758 with more than one argument (bug#15538).
4759
4760 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4761
4762 * vc/pcvs.el: Use lexical-binding.
4763 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4764 environment of `eval'.
4765 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4766 than a list of expressions. Adjust callers.
4767 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4768
4769 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4770
4771 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4772 case of the dot in a chained method call being on the following line.
4773
4774 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4775
4776 * electric.el (electric-indent-inhibit): New var.
4777 (electric-indent-post-self-insert-function): Use it.
4778 * progmodes/python.el (python-mode): Set it.
4779
4780 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4781 open braces.
4782
4783 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4784
4785 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4786 (css-mode): Use electric-indent-chars.
4787
4788 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4789 (font-lock-beg, font-lock-end): Move before first use.
4790 (nxml-mode): Use syntax-propertize-function.
4791 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4792 (nxml-extend-after-change-region): Remove.
4793 * nxml/xmltok.el: Use lexical-binding.
4794 (xmltok-save): Use `declare'.
4795 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4796 * nxml/nxml-util.el: Use lexical-binding.
4797 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4798 Use `declare'.
4799 * nxml/nxml-ns.el: Use lexical-binding.
4800 (nxml-ns-save): Use `declare'.
4801 (nxml-ns-prefixes-for): Avoid add-to-list.
4802 * nxml/rng-match.el: Use lexical-binding.
4803 (rng--ipattern): Use cl-defstruct.
4804 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4805 (rng-cons-group-after, rng-subst-group-after)
4806 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4807 Use closures instead of `(lambda...).
4808
4809 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4810
4811 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4812 of BEG and END.
4813
4814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4815 Use `tramp-handle-insert-file-contents'.
4816 (tramp-gvfs-handle-insert-file-contents): Remove function.
4817
4818 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4819 Use `save-restriction' in order to keep markers.
4820
4821 * net/trampver.el: Update release number.
4822
4823 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * progmodes/compile.el (compilation-parse-errors):
4826 Use compilation--put-prop.
4827 (compilation--ensure-parse): Check compilation-multiline.
4828
4829 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4830
4831 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4832 lexical-binding.
4833
4834 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4835
4836 * progmodes/ruby-mode.el: Fix recently added tests.
4837 (ruby-smie-grammar): Add - and +.
4838 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4839 (ruby-smie--backward-id): New functions.
4840 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4841 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4842 any more.
4843
4844 2013-10-07 Leo Liu <sdl.web@gmail.com>
4845
4846 * register.el (register-preview-delay)
4847 (register-preview-functions): New variables.
4848 (register-read-with-preview, register-preview)
4849 (register-describe-oneline): New functions.
4850 (point-to-register, window-configuration-to-register)
4851 (frame-configuration-to-register, jump-to-register)
4852 (number-to-register, view-register, insert-register)
4853 (copy-to-register, append-to-register, prepend-to-register)
4854 (copy-rectangle-to-register): Use register-read-with-preview to
4855 read register. (Bug#15525)
4856
4857 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4858
4859 * net/network-stream.el (network-stream-open-starttls): Don't add
4860 --insecure if it's already present, because that gnutls-cli
4861 rejects getting that parameter twice.
4862
4863 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4864
4865 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4866 keyword, too.
4867
4868 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4869
4870 * newcomment.el (comment-use-global-state): Change default value
4871 to t, mark obsolete (Bug#15251).
4872 (comment-beginning): In addition to `comment-to-syntax', check the
4873 value of `comment-use-global-state'.
4874
4875 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4878 (ruby-comment-column): Follow the global default, by default.
4879 (ruby-smie-grammar): Add assignment syntax.
4880 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4881 open-paren, a comma, or a \.
4882 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4883 and line continuations.
4884 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4885 followed by implicit semi-colons. Add rule for string concatenation
4886 and for indentation at BOB.
4887 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4888
4889 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4890 calling next-sexp, since next-token may have skipped chars which
4891 next-sexp doesn't know should be skipped!
4892
4893 2013-10-05 Leo Liu <sdl.web@gmail.com>
4894
4895 * progmodes/octave.el (octave-send-region):
4896 Call compilation-forget-errors.
4897
4898 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4899
4900 * vc/vc-svn.el (vc-svn-find-admin-dir):
4901 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4902 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4903 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4904 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4905
4906 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4909
4910 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * subr.el (read-passwd): Hide chars even when called within a context
4913 where after-change-functions is disabled (bug#15501).
4914 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4915 until we removed ourself from overriding-terminal-local-map.
4916
4917 2013-10-04 Leo Liu <sdl.web@gmail.com>
4918
4919 * progmodes/octave.el (inferior-octave-mode):
4920 Call compilation-forget-errors.
4921
4922 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4923
4924 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4925
4926 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4927
4928 * net/secrets.el (secrets-create-collection): Add optional
4929 argument ALIAS. Use proper Label keyword. Append ALIAS as
4930 dbus-call-method argument. (Bug#15516)
4931
4932 2013-10-04 Leo Liu <sdl.web@gmail.com>
4933
4934 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4935 (inferior-octave-compilation-font-lock-keywords): New variables.
4936 (compilation-error-regexp-alist)
4937 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4938 (inferior-octave-mode): Use compilation-shell-minor-mode.
4939
4940 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4941
4942 * minibuffer.el (completion--replace): Be careful that `end' might be
4943 a marker.
4944
4945 2013-10-03 Daiki Ueno <ueno@gnu.org>
4946
4947 Add support for package signature checking.
4948 * emacs-lisp/package.el (url-http-file-exists-p)
4949 (epg-make-context, epg-context-set-home-directory)
4950 (epg-verify-string, epg-context-result-for)
4951 (epg-signature-status, epg-signature-to-string)
4952 (epg-check-configuration, epg-configuration)
4953 (epg-import-keys-from-file): Declare.
4954 (package-check-signature): New user option.
4955 (package-unsigned-archives): New user option.
4956 (package-desc): Add `signed' field.
4957 (package-load-descriptor): Set `signed' field if .signed file exists.
4958 (package--archive-file-exists-p): New function.
4959 (package--check-signature): New function.
4960 (package-install-from-archive): Check package signature.
4961 (package--download-one-archive): Check archive signature.
4962 (package-delete): Remove .signed file.
4963 (package-import-keyring): New command.
4964 (package-refresh-contents): Import default keyring.
4965 (package-desc-status): Add "unsigned" status.
4966 (describe-package-1, package-menu--print-info)
4967 (package-menu-mark-delete, package-menu--find-upgrades)
4968 (package-menu--status-predicate): Support "unsigned" status.
4969
4970 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4973 the new compilation scheme using the new byte-codes.
4974
4975 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4976 (byte-pophandler): New byte codes.
4977 (byte-goto-ops): Adjust accordingly.
4978 (byte-compile--use-old-handlers): New var.
4979 (byte-compile-catch): Use new byte codes depending on
4980 byte-compile--use-old-handlers.
4981 (byte-compile-condition-case--old): Rename from
4982 byte-compile-condition-case.
4983 (byte-compile-condition-case--new): New function.
4984 (byte-compile-condition-case): New function that dispatches depending
4985 on byte-compile--use-old-handlers.
4986 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4987 when we can.
4988
4989 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4990 Optimize under `condition-case' and `catch' if
4991 byte-compile--use-old-handlers is nil.
4992 (disassemble-offset): Handle new bytecodes.
4993
4994 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * subr.el (error): Use `declare'.
4997 (decode-char, encode-char): Use advertised-calling-convention instead
4998 of the docstring to discourage use of the `restriction' arg.
4999
5000 2013-10-03 Daiki Ueno <ueno@gnu.org>
5001
5002 * epg.el (epg-verify-file): Add a comment saying that it does not
5003 notify verification error as a return value nor a signal.
5004 (epg-verify-string): Ditto.
5005
5006 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5007
5008 * progmodes/compile.el (compilation-start): Try globbing the arg to
5009 `cd' (bug#15417).
5010
5011 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5012
5013 Sync with Tramp 2.2.8.
5014
5015 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5016 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5017 * net/trampver.el: Update release number.
5018
5019 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5020
5021 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5022 and default-process-coding-system for darwin only.
5023
5024 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5027
5028 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5029
5030 * vc/vc-git.el (vc-git-grep): Disable pager.
5031
5032 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5033
5034 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5035 Use :url instead of :homepage, as per
5036 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5037
5038 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5039 non-nil, use `syntax-ppss' (Bug#15251).
5040
5041 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5042
5043 * progmodes/octave.el (inferior-octave-startup-file):
5044 Prefer ~/.emacs.d/init_octave.m.
5045
5046 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5047
5048 * emacs-lisp/package.el (package-desc-from-define):
5049 Accept additional arguments as plist, convert them to an alist and store
5050 them in the `extras' slot.
5051 (package-generate-description-file): Convert extras alist back to
5052 plist and append to the `define-package' form arguments.
5053 (package--alist-to-plist): New function.
5054 (package--ac-desc): Add `extras' slot.
5055 (package--add-to-archive-contents): Check if the archive-contents
5056 vector is long enough, and if it is, pass its `extras' slot value
5057 to `package-desc-create'.
5058 (package-buffer-info): Call `lm-homepage', pass the returned value
5059 to `package-desc-from-define'.
5060 (describe-package-1): Render the homepage button (Bug#13291).
5061
5062 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5063 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5064
5065 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5066
5067 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5068 and default-process-coding-system to utf-8-unix (Bug#15402).
5069
5070 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5071
5072 * subr.el (looking-back): Do not recommend using looking-back.
5073
5074 2013-09-28 Alan Mackenzie <acm@muc.de>
5075
5076 Fix indentation/fontification of Java enum with "implements".
5077
5078 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5079 regexp which matches "implements", etc., in Java.
5080 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5081 specifier clauses coming after "enum".
5082 * progmodes/cc-fonts.el (c-font-lock-declarations)
5083 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5084 after "enum".
5085
5086 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5087
5088 * faces.el (region): Change ns_selection_color to
5089 ns_selection_fg_color, add ns_selection_bg_color.
5090
5091 2013-09-28 Leo Liu <sdl.web@gmail.com>
5092
5093 * progmodes/octave.el (inferior-octave-completion-table)
5094 (inferior-octave-completion-at-point): Minor tweaks.
5095
5096 * textmodes/ispell.el (ispell-lookup-words): Rename from
5097 lookup-words. (Bug#15460)
5098 (lookup-words): Obsolete.
5099 (ispell-complete-word, ispell-command-loop): All uses changed.
5100
5101 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5102
5103 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5104 (octave-mode-menu): Add octave-send-buffer.
5105 (octave-send-buffer): New function.
5106
5107 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5108
5109 * progmodes/octave.el (octave-mode-map): Add key binding for
5110 octave-lookfor.
5111 (octave-mode-menu): Add octave-lookfor.
5112 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5113 octave-lookfor.
5114 (octave-lookfor): New function.
5115
5116 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/cl-macs.el:
5119 (cl--loop-destr-temps): Remove.
5120 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5121 its convention.
5122 (cl--loop-set-iterator-function): New function.
5123 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5124 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5125 Bind `it' with `let' instead of substituting it with `cl-subst'.
5126 (cl--unused-var-p): New function.
5127 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5128 Eliminate some unused variable warnings (bug#15326).
5129
5130 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5131
5132 * doc-view.el (doc-view-scale-reset): Rename from
5133 `doc-view-reset-zoom-level'.
5134 (doc-view-scale-adjust): New command.
5135 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5136 `doc-view-scale-adjust'.
5137
5138 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5139
5140 * doc-view.el (doc-view-reset-zoom-level): New command.
5141 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5142 zoom commands (bug#15466).
5143
5144 2013-09-26 Kenichi Handa <handa@gnu.org>
5145
5146 * international/quail.el (quail-help): Make it not a command.
5147
5148 2013-09-26 Leo Liu <sdl.web@gmail.com>
5149
5150 * minibuffer.el (completion-all-sorted-completions): Make args
5151 optional as they are.
5152
5153 2013-09-25 Daniel Colascione <dancol@dancol.org>
5154
5155 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5156 specs are and that they're not evaluated.
5157
5158 2013-09-24 Sam Steingold <sds@gnu.org>
5159
5160 * midnight.el (clean-buffer-list-kill-regexps)
5161 (clean-buffer-list-kill-buffer-names): Update for the new Man
5162 buffer naming which includes the object name.
5163
5164 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5167 (eshell-parse-command, eshell-parse-pipeline): Use it since
5168 eshell-separate-commands requires a dynamic scoped var.
5169 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5170
5171 2013-09-23 Leo Liu <sdl.web@gmail.com>
5172
5173 * autoinsert.el (auto-insert-alist): Make the value of
5174 lexical-binding match its file setting.
5175
5176 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5177
5178 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5179
5180 * autoarg.el (autoarg-kp-digit-argument):
5181 * electric.el (Electric-command-loop):
5182 * kmacro.el (kmacro-step-edit-insert):
5183 Do not set universal-argument-num-events.
5184
5185 2013-09-22 Leo Liu <sdl.web@gmail.com>
5186
5187 * files.el (interpreter-mode-alist): Add octave.
5188
5189 2013-09-21 Alan Mackenzie <acm@muc.de>
5190
5191 C++: fontify identifier in declaration following "public:" correctly.
5192 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5193 to match "public", etc.
5194 (c-decl-prefix-re): Add ":" into the C++ value.
5195 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5196 bit. Add a check for a ":" preceded by "public", etc.
5197
5198 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5199
5200 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5201 recognized by GDB 7.5 and later.
5202
5203 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5204
5205 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5206
5207 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * subr.el (internal--call-interactively): New const.
5210 (called-interactively-p): Use it (bug#3984).
5211
5212 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5213
5214 * vc/pcvs.el (cvs-mode-ignore):
5215 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5216 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5217
5218 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5221 (eshell-ls-orig-insert-directory): Remove.
5222 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5223 (eshell-ls-use-in-dired): Use advice-add/remove.
5224 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5225 Add `orig-fun' arg for use in :around advice.
5226 Make it check (redundantly) eshell-ls-use-in-dired.
5227
5228 2013-09-19 Glenn Morris <rgm@gnu.org>
5229
5230 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5231
5232 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5233
5234 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5235
5236 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5237
5238 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5239 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5240 (tramp-get-remote-python): New defuns.
5241 (tramp-get-remote-uid-with-perl)
5242 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5243 contributed by yary <not.com@gmail.com> (tiny change).
5244 (tramp-get-remote-uid-with-python)
5245 (tramp-get-remote-gid-with-python): New defuns. Python code
5246 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5247 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5248
5249 2013-09-19 Glenn Morris <rgm@gnu.org>
5250
5251 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5252
5253 * eshell/em-unix.el (eshell-remove-entries):
5254 Rename argument to avoid name-clash with global `top-level'.
5255
5256 * eshell/esh-proc.el (eshell-kill-process-function):
5257 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5258 (eshell-reset-after-proc): Remove unused arg `proc'.
5259
5260 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5261 (directory-files-and-attributes): Mark unused arg.
5262
5263 * eshell/em-unix.el (eshell-remove-entries):
5264 Remove unused arg `path'. Update callers.
5265
5266 * eshell/em-hist.el (eshell-hist-parse-arguments):
5267 Remove unused arg `silent'. Update callers.
5268
5269 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5270 Fix (f)boundp mix-up.
5271
5272 * eshell/em-smart.el (eshell-smart-scroll-window)
5273 (eshell-disable-after-change):
5274 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5275
5276 2013-09-18 Alan Mackenzie <acm@muc.de>
5277
5278 Fix fontification of type when followed by "const".
5279 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5280 "known" types from fontification.
5281
5282 2013-09-18 Glenn Morris <rgm@gnu.org>
5283
5284 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5285 (chart-face-list): Drop Emacsen without display-color-p.
5286
5287 * net/eww.el (libxml-parse-html-region): Declare.
5288 (eww-display-html): Explicit error if no libxml2 support.
5289
5290 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5291
5292 * image.el (image-type-from-buffer, image-multi-frame-p):
5293 Remove --without-x warning/error.
5294
5295 * mouse.el (mouse-yank-primary):
5296 * term.el (term-mouse-paste):
5297 Reorder to silence --without-x compilation.
5298
5299 * mpc.el (doc-view-mode): Silence --without-x compilation.
5300
5301 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5302 Silence --without-x compilation.
5303
5304 * progmodes/gud.el (gud-find-file, gud-mode):
5305 Silence --without-x compilation.
5306 (tooltip-mode): Declare.
5307
5308 * wdired.el (dired-backup-overwrite): Remove declaration.
5309 (wdired-mode-map): Add doc string.
5310
5311 * custom.el (x-get-resource): Declare.
5312
5313 * eshell/em-glob.el (ange-cache):
5314 * eshell/em-unix.el (ange-cache): Declare.
5315
5316 * faces.el (x-display-list, x-open-connection, x-get-resource):
5317 Declare.
5318
5319 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5320 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5321 Declare.
5322
5323 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5324
5325 * net/gnutls.el (gnutls-log-level): Declare.
5326
5327 * net/shr.el (image-size, image-animate): Declare.
5328
5329 * simple.el (font-info): Declare.
5330
5331 * subr.el (x-popup-dialog): Declare.
5332
5333 * term/common-win.el (x-select-enable-primary)
5334 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5335 Declare.
5336
5337 * term/ns-win.el (x-handle-args): Declare.
5338
5339 * term/x-win.el (x-select-enable-clipboard): Declare.
5340
5341 * term/w32-win.el (create-default-fontset): Declare.
5342
5343 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5344 Declare.
5345
5346 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5347 (fit-frame-to-buffer): Explicit error if --without-x.
5348 (mouse-autoselect-window-select): Silence compiler.
5349
5350 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5351
5352 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5353 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5354 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5355 * eshell/esh-util.el (eshell-sublist):
5356 Remove unused local variables.
5357
5358 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5359
5360 * textmodes/two-column.el: Make 2C-split work for --without-x.
5361 (scroll-bar-columns): Autoload.
5362 (top-level): Require fringe when compiling.
5363
5364 2013-09-18 Leo Liu <sdl.web@gmail.com>
5365
5366 * subr.el (add-hook): Robustify to handle closure as well.
5367
5368 2013-09-17 Glenn Morris <rgm@gnu.org>
5369
5370 * simple.el (messages-buffer-mode-map): Unbind "g".
5371
5372 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * help-mode.el (help-mode-finish): Use derived-mode-p.
5375 Remove obsolete highlighting.
5376
5377 * play/life.el (life-mode): Use define-derived-mode. Derive from
5378 special-mode.
5379 (life): Let-bind inhibit-read-only.
5380 (life-setup): Avoid `setq'. Use `life-mode'.
5381
5382 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5383 which should not be needed any more.
5384 (package-menu-refresh, package-menu-describe-package): Use user-error.
5385
5386 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5387 (eshell-post-rewrite-command-hook): Make obsolete.
5388 (eshell-parse-command): Simplify.
5389 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5390 (eshell--cmd): Declare.
5391 (eshell-parse-pipeline): Remove unused var `final-p'.
5392 Pass a dynvar to eshell-post-rewrite-command-hook.
5393 Implement the new eshell-post-rewrite-command-function.
5394 (eshell-invoke-directly): Remove unused arg `input'.
5395 * eshell/esh-io.el (eshell-io-initialize):
5396 Use eshell-post-rewrite-command-function (bug#15399).
5397 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5398 adjust to new calling convention.
5399 (eshell-create-handles): Rename args to avoid clashing with dynvar
5400 `standard-output'.
5401
5402 2013-09-17 Glenn Morris <rgm@gnu.org>
5403
5404 * simple.el (messages-buffer-mode): New major mode.
5405 (messages-buffer): New function.
5406 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5407 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5408 (ert-run-test): Use `messages-buffer' function.
5409 (ert--force-message-log-buffer-truncation): Ignore read-only.
5410 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5411 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5412
5413 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5414
5415 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5416
5417 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5418
5419 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * icomplete.el (icomplete-in-buffer): New var.
5422 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5423 vars and replace them with functions.
5424 (icomplete-minibuffer-setup): Adjust accordingly.
5425 (icomplete--completion-table, icomplete--completion-predicate)
5426 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5427 New functions.
5428 (icomplete-forward-completions, icomplete-backward-completions)
5429 (icomplete-simple-completing-p, icomplete-exhibit)
5430 (icomplete-completions): Use them.
5431 (icomplete--in-region-buffer): New var.
5432 (icomplete--in-region-setup): New function.
5433 (icomplete-mode): Use it.
5434
5435 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5436 (bug#15379).
5437 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5438 return args and options.
5439 (eshell-eval-using-options): Use the new return value of
5440 eshell--do-opts to set the options's vars in their scope.
5441 (eshell--set-option): Rename from eshell-set-option.
5442 Add arg `opt-vals'.
5443 (eshell--process-option): Rename from eshell-process-option.
5444 Add arg `opt-vals'.
5445 (eshell--process-args): Use an `opt-vals' alist to store the options's
5446 values during their processing and return them additionally to the
5447 remaining args.
5448
5449 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5450
5451 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5452 continuation character an operator, as far as indentation is
5453 concerned (Bug#15369).
5454
5455 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5456
5457 * window.el (window--state-put-2): Don't process buffer state
5458 when buffer doesn't exist any more (Bug#15382).
5459
5460 2013-09-15 Glenn Morris <rgm@gnu.org>
5461
5462 * eshell/em-unix.el (eshell/rm):
5463 Make -f ignore missing files. (Bug#15373)
5464
5465 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5466 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5467 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5468
5469 2013-09-14 Glenn Morris <rgm@gnu.org>
5470
5471 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5472
5473 2013-09-13 Glenn Morris <rgm@gnu.org>
5474
5475 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5476 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5477
5478 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5479
5480 * frame.el (x-focus-frame): Mark as declared in frame.c.
5481
5482 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * ls-lisp.el: Use advice-add.
5485 (original-insert-directory): Remove.
5486 (ls-lisp--insert-directory): Rename from insert-directory; add
5487 `orig-fun' argument.
5488 (insert-directory): Advise.
5489
5490 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5491
5492 * term.el (term-emulate-terminal): Decode the command string
5493 before passing it to term-command-hook. (Bug#15337)
5494
5495 2013-09-13 Glenn Morris <rgm@gnu.org>
5496
5497 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5498
5499 * eshell/esh-ext.el (eshell-search-path): Declare.
5500
5501 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5502 Otherwise an error occurs if eshell-dirs module not loaded.
5503
5504 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5505
5506 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5507
5508 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5509 `tramp-check-proper-host'. Check for a valid method name.
5510
5511 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5513 * net/tramp-sh.el (tramp-maybe-open-connection):
5514 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5515
5516 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5517 also for hash values.
5518
5519 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * term/ns-win.el (parameters): Don't declare as dynamic.
5522 (before-make-frame-hook): Don't add ineffective function.
5523
5524 * eshell/*.el: Use lexical-binding (bug#15231).
5525
5526 2013-09-12 Kenichi Handa <handa@gnu.org>
5527
5528 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5529
5530 2013-09-12 Glenn Morris <rgm@gnu.org>
5531
5532 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5533 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5534
5535 * subr.el (do-after-load-evaluation): Also give compiler warnings
5536 when obsolete files are used (except by obsolete files).
5537
5538 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5539 in the status output, assume `filename' is the first. (Bug#15322)
5540
5541 * vc/vc.el (vc-deduce-fileset): Doc fix.
5542
5543 * calc/calc-help.el (Info-goto-node):
5544 * progmodes/cperl-mode.el (Info-find-node):
5545 * vc/ediff.el (Info-goto-node): Update declarations.
5546
5547 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5548
5549 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5550 (vc-bzr-pull): Require vc-dispatcher.
5551 * vc/vc-git.el (vc-compilation-mode): Declare.
5552 (vc-git-pull): Require vc-dispatcher.
5553
5554 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5555
5556 * progmodes/octave.el (help-button-action): Declare.
5557
5558 * shell.el (shell-directory-tracker): Output error as a message
5559 rather than just returning it as a string.
5560 (shell-process-pushd): Remove useless use of message.
5561
5562 * dframe.el (dframe-timer-fn):
5563 * files.el (dir-locals-read-from-file):
5564 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5565 (mpc-format):
5566 * reveal.el (reveal-post-command):
5567 * saveplace.el (load-save-place-alist-from-file):
5568 * shell.el (shell-resync-dirs):
5569 * w32-common-fns.el (x-get-selection-value):
5570 * emacs-lisp/copyright.el (copyright-find-copyright):
5571 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5572 * emulation/tpu-edt.el (tpu-copy-keyfile):
5573 * play/bubbles.el (bubbles--mark-neighbourhood):
5574 * progmodes/executable.el
5575 (executable-make-buffer-file-executable-if-script-p):
5576 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5577
5578 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 Cleanup Eshell to rely less on dynamic scoping.
5581 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5582 last-value, and ext-command here. Bind `args' closer to `body'.
5583 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5584 (eshell--args): Declare new dynamic var.
5585 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5586 last-value, and ext-command. Pass `args' to `body'.
5587 (eshell-process-args): Bind eshell--args.
5588 (eshell-set-option): Use eshell--args.
5589 * eshell/eshell.el (eshell): Use derived-mode-p.
5590 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5591 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5592 (eshell-glob-function): Declare.
5593 * eshell/esh-util.el: Require cl-lib.
5594 (eshell-read-hosts-file): Avoid add-to-list.
5595 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5596 `err'.
5597 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5598 Declare.
5599 (eshell/diff): Remove unused var `err'.
5600 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5601 `killflag'.
5602 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5603 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5604 first use.
5605 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5606 Move declaration before first use.
5607 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5608 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5609 rely on cl-return.
5610
5611 2013-09-12 Glenn Morris <rgm@gnu.org>
5612
5613 * term/ns-win.el (global-map): Remove binding for ispell-next,
5614 deleted 1999-05-29. (Bug#15357)
5615
5616 2013-09-11 Glenn Morris <rgm@gnu.org>
5617
5618 * echistory.el (electric-command-history): Remove call to deleted func.
5619
5620 * play/landmark.el (landmark-mode): Fix typos.
5621
5622 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5623 Check cvs-sort-ignore-file is bound.
5624
5625 * savehist.el: No need for cl when compiling on Emacs.
5626
5627 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5630 (bug#15338).
5631 (eshell-self-insert-command, eshell-send-invisible):
5632 Remove unused argument.
5633 (eshell-handle-control-codes): Remove unused var `orig'.
5634 Avoid delete-backward-char.
5635
5636 * files.el (set-auto-mode): Simplify a bit further.
5637
5638 2013-09-11 Glenn Morris <rgm@gnu.org>
5639
5640 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5641 (set-auto-mode): Don't regexp-quote elements.
5642 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5643 * progmodes/cc-mode.el (interpreter-mode-alist):
5644 * progmodes/ruby-mode.el (interpreter-mode-alist):
5645 Revert previous change.
5646
5647 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * play/snake.el (snake-mode):
5650 * play/mpuz.el (mpuz-mode):
5651 * play/landmark.el (lm-mode):
5652 * play/blackbox.el (blackbox-mode):
5653 * play/5x5.el (5x5-mode):
5654 * obsolete/options.el (Edit-options-mode):
5655 * net/quickurl.el (quickurl-list-mode):
5656 * net/newst-treeview.el (newsticker-treeview-mode):
5657 * mail/rmailsum.el (rmail-summary-mode):
5658 * mail/mspools.el (mspools-mode):
5659 * locate.el (locate-mode):
5660 * ibuffer.el (ibuffer-mode):
5661 * emulation/ws-mode.el (wordstar-mode):
5662 * emacs-lisp/debug.el (debugger-mode):
5663 * array.el (array-mode):
5664 * net/eudc.el (eudc-mode): Use define-derived-mode.
5665 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5666 Move initialization into declaration.
5667 (mairix-searches-mode): Use define-derived-mode.
5668 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5669 (eudc-edit-hotlist): Use dolist.
5670 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5671 (Man-mode): Use define-derived-mode.
5672 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5673 (Info-edit-mode): Use define-derived-mode.
5674 (Info-cease-edit): Use Info-mode.
5675 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5676 into declaration.
5677 (eshell-mode): Use define-derived-mode.
5678 * chistory.el (command-history-mode-map): Rename from
5679 command-history-map.
5680 (command-history-mode): Use define-derived-mode.
5681 (Command-history-setup): Remove function.
5682 * calc/calc.el (calc-trail-mode-map): New var.
5683 (calc-trail-mode): Use define-derived-mode.
5684 (calc-trail-buffer): Set calc-main-buffer manually.
5685 * bookmark.el (bookmark-insert-annotation): New function.
5686 (bookmark-edit-annotation): Use it.
5687 (bookmark-edit-annotation-mode): Make it a proper major mode.
5688 (bookmark-send-edited-annotation): Use derived-mode-p.
5689 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5690 closer to its ideal place. Use \' to match EOS.
5691
5692 * profiler.el (profiler-calltree-find): Use function-equal.
5693
5694 2013-09-10 Glenn Morris <rgm@gnu.org>
5695
5696 * files.el (interpreter-mode-alist): Convert to regexps.
5697 (set-auto-mode): Adapt for this. (Bug#15306)
5698 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5699 Comment out unused variable.
5700 * progmodes/cc-mode.el (interpreter-mode-alist):
5701 * progmodes/python.el (interpreter-mode-alist):
5702 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5703 * progmodes/sh-script.el (sh-set-shell):
5704 No longer use interpreter-mode-alist to get list of shells.
5705
5706 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5707
5708 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * simple.el: Use set-temporary-overlay-map for universal-argument.
5711 (universal-argument-map): Don't use default-bindings (bug#15317).
5712 Bind switch-frame explicitly. Replace universal-argument-minus with
5713 a conditional binding.
5714 (universal-argument-num-events, saved-overriding-map): Remove.
5715 (restore-overriding-map): Remove.
5716 (universal-argument--mode): Rename from save&set-overriding-map,
5717 and rewrite.
5718 (universal-argument, universal-argument-more, negative-argument)
5719 (digit-argument): Adjust accordingly.
5720 (universal-argument-minus): Remove.
5721 (universal-argument-other-key): Remove.
5722
5723 * subr.el (with-demoted-errors): Add `format' argument.
5724
5725 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5726
5727 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5728 `tramp-cleanup-connection'.
5729
5730 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5731 parameters KEEP-DEBUG and KEEP-PASSWORD.
5732
5733 * net/tramp.el (tramp-file-name-handler):
5734 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5735 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5736 (tramp-maybe-open-connection):
5737 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5738 Use `tramp-cleanup-connection'.
5739
5740 * net/tramp-sh.el (tramp-maybe-open-connection):
5741 Catch 'uname-changed inside the progress reporter.
5742
5743 2013-09-10 Glenn Morris <rgm@gnu.org>
5744
5745 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5746
5747 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5748 returns "alternate access method" in mode (eg "-rw-r--r--.").
5749
5750 2013-09-08 Glenn Morris <rgm@gnu.org>
5751
5752 * saveplace.el (load-save-place-alist-from-file):
5753 Demote errors. (Bug#15305)
5754
5755 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5756
5757 Improve compatibility with older Emacsen, and XEmacs.
5758
5759 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5760 only if it is bound. It isn't for XEmacs.
5761 (with-tramp-progress-reporter): Do not let-bind `result'.
5762 This yields to scoping errors in XEmacs.
5763 (tramp-handle-make-auto-save-file-name): New function, moved from
5764 tramp-sh.el.
5765
5766 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5767 for `make-auto-save-file-name'.
5768 (tramp-adb--gnu-switches-to-ash):
5769 Use `tramp-compat-replace-regexp-in-string'.
5770
5771 * net/tramp-cache.el (tramp-cache-print): Call
5772 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5773
5774 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5775 bound. It isn't for XEmacs.
5776
5777 * net/tramp-compat.el (tramp-compat-copy-file):
5778 Catch `wrong-number-of-arguments' error.
5779 (tramp-compat-replace-regexp-in-string): New defun.
5780
5781 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5782 for `make-auto-save-file-name'.
5783 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5784 `copy-file'.
5785 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5786 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5787 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5788
5789 * net/tramp-gw.el (tramp-gw-open-network-stream):
5790 Use `tramp-compat-replace-regexp-in-string'.
5791
5792 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5793 Call `tramp-handle-make-auto-save-file-name'.
5794 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5795 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5796 (tramp-sh-file-inotifywait-process-filter):
5797 Use `tramp-compat-replace-regexp-in-string'.
5798 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5799
5800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5801 for `make-auto-save-file-name'.
5802 (tramp-smb-handle-copy-directory):
5803 Call `tramp-compat-replace-regexp-in-string'.
5804 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5805 (tramp-smb-handle-copy-file): Improve error message.
5806 (tramp-smb-handle-rename-file): Rename directly only in case
5807 `newname' does not exist yet. This is a restriction of smbclient.
5808 (tramp-smb-maybe-open-connection): Rerun the function only when
5809 `auth-sources' is non-nil.
5810
5811 2013-09-08 Kenichi Handa <handa@gnu.org>
5812
5813 * international/characters.el: Set category "^" (Combining) for
5814 more characters.
5815
5816 2013-09-07 Alan Mackenzie <acm@muc.de>
5817
5818 Correctly fontify Java class constructors.
5819 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5820 in Java Mode.
5821 (c-recognize-typeless-decls): Set the Java value to t.
5822 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5823 While handling a "(", add a check for, effectively, Java, and handle a
5824 "typeless" declaration there.
5825
5826 2013-09-07 Roland Winkler <winkler@gnu.org>
5827
5828 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5829 field subtitle for entry type book.
5830
5831 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * minibuffer.el: Make minibuffer-complete call completion-in-region
5834 rather than other way around.
5835 (completion--some, completion-pcm--find-all-completions):
5836 Don't delay signals when debugging.
5837 (minibuffer-completion-contents): Beware fields within the
5838 minibuffer contents.
5839 (completion-all-sorted-completions): Use defvar-local.
5840 (completion--do-completion, completion--cache-all-sorted-completions)
5841 (completion-all-sorted-completions, minibuffer-force-complete):
5842 Add args `beg' and `end'.
5843 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5844 (minibuffer-complete): Use completion-in-region.
5845 (completion-complete-and-exit): New fun, extracted from
5846 minibuffer-complete-and-exit.
5847 (minibuffer-complete-and-exit): Use it.
5848 (completion--complete-and-exit): Rename from
5849 minibuffer--complete-and-exit.
5850 (completion-in-region--single-word): New function, extracted from
5851 minibuffer-complete-word.
5852 (minibuffer-complete-word): Use it.
5853 (display-completion-list): Make `common-substring' argument obsolete.
5854 (completion--in-region): Call completion--in-region-1 instead of
5855 minibuffer-complete.
5856 (completion-help-at-point): Pass boundaries to
5857 minibuffer-completion-help as args rather than via an overlay.
5858 (completion-pcm--string->pattern): Use `any-delim'.
5859 (completion-pcm--optimize-pattern): New function.
5860 (completion-pcm--pattern->regex): Handle `any-delim'.
5861 * icomplete.el (icomplete-forward-completions)
5862 (icomplete-backward-completions, icomplete-completions):
5863 Adjust calls to completion-all-sorted-completions and
5864 completion--cache-all-sorted-completions.
5865 (icomplete-with-completion-tables): Default to t.
5866 * emacs-lisp/crm.el (crm--current-element): Rename from
5867 crm--select-current-element. Don't put an overlay but return the
5868 boundaries instead.
5869 (crm--completion-command): Take two new args to bind to the boundaries.
5870 (crm-completion-help): Adjust accordingly.
5871 (crm-complete): Use completion-in-region.
5872 (crm-complete-word): Use completion-in-region--single-word.
5873 (crm-complete-and-exit): Use completion-complete-and-exit.
5874
5875 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5878 than dynamically.
5879
5880 2013-09-06 Juri Linkov <juri@jurta.org>
5881
5882 * info.el (Info-display-images-node): When image file doesn't exist
5883 display text version of the image if it's provided in the Info file.
5884 Otherwise, display the location of missing image from SRC attribute.
5885 Add help-echo text property from ALT attribute. (Bug#15279)
5886
5887 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5890 (edit-abbrevs-mode): Use define-derived-mode.
5891
5892 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5893 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5894 that it's defined.
5895 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5896 Use define-derived-mode.
5897
5898 * epg.el (epg-start-encrypt): Minor CSE simplification.
5899
5900 2013-09-06 William Xu <william.xwl@gmail.com>
5901
5902 * arc-mode.el: Add support for 7za (bug#15264).
5903 (archive-7z-program): New var.
5904 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5905 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5906 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5907
5908 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5909
5910 Remove URL syntax.
5911
5912 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5913 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5914 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5915 (tramp-postfix-host-format, tramp-file-name-regexp)
5916 (tramp-completion-file-name-regexp)
5917 (tramp-completion-dissect-file-name)
5918 (tramp-handle-substitute-in-file-name): Remove 'url case.
5919 (tramp-file-name-regexp-url)
5920 (tramp-completion-file-name-regexp-url): Remove constants.
5921
5922 2013-09-06 Glenn Morris <rgm@gnu.org>
5923
5924 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5925
5926 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5927
5928 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5929 keywords" below "here-doc beginnings" (Bug#15270).
5930
5931 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * subr.el (pop): Use `car-safe'.
5934 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5935 to detect unused `pop' return value.
5936
5937 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5938 var `block-regexp'.
5939 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5940 (python-fill-string): Remove unused var `marker'.
5941 (python-skeleton-add-menu-items): Remove unused var `items'.
5942
5943 * international/mule-cmds.el: Require CL.
5944 (find-coding-systems-for-charsets): Avoid add-to-list.
5945 (sanitize-coding-system-list): New function, extracted from
5946 select-safe-coding-system-interactively.
5947 (select-safe-coding-system-interactively): Use it.
5948 (read-input-method-name): Accept symbols for `default'.
5949
5950 * emacs-lisp/advice.el (defadvice): Add indent rule.
5951
5952 2013-09-05 Daniel Hackney <dan@haxney.org>
5953
5954 * dired-x.el:
5955 * net/ange-ftp.el:
5956 * net/browse-url.el:
5957 * net/dbus.el:
5958 * net/eudc.el:
5959 * net/eudcb-ldap.el:
5960 * net/eww.el:
5961 * net/imap.el:
5962 * printing.el:
5963 * vc/ediff-diff.el:
5964 * vc/ediff-init.el:
5965 * vc/ediff-merg.el:
5966 * vc/ediff-mult.el:
5967 * vc/ediff-util.el:
5968 * vc/ediff-wind.el:
5969 * vc/ediff.el:
5970 * vc/emerge.el:
5971 * vc/pcvs.el:
5972 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5973 byte compiler. Remove some unused let-bound variables.
5974
5975 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5978 a "ref-cell", since it gets better optimized (bug#14883).
5979
5980 2013-09-05 Glenn Morris <rgm@gnu.org>
5981
5982 * progmodes/cc-awk.el (c-forward-sws): Declare.
5983
5984 2013-09-04 Glenn Morris <rgm@gnu.org>
5985
5986 * generic-x.el [rul-generic-mode]: Require cc-mode.
5987 (c++-mode-syntax-table): Declare.
5988 (rul-generic-mode-syntax-table): Init in the defvar.
5989
5990 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5991
5992 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5993 (vc-do-command, vc-set-async-update):
5994 * vc/vc-mtn.el (vc-mtn-dir-status):
5995 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5996 (vc-hg-pull, vc-hg-merge-branch):
5997 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5998 (vc-git-merge-branch):
5999 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6000 (vc-cvs-dir-status-files):
6001 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6002 (vc-bzr-dir-status-files):
6003 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6004 * vc/vc-annotate.el: Use lexical-binding.
6005 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6006 (vc-sentinel-movepoint): Declare.
6007 (vc-annotate): Don't use `goto-line'.
6008 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6009 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6010 (vc-sentinel-movepoint): Declare.
6011 * vc/vc-svn.el: Use lexical-binding.
6012 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6013 * vc/vc-sccs.el:
6014 * vc/vc-rcs.el: Use lexical-binding.
6015
6016 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6017 `deleted'. Don't drop errors silently.
6018
6019 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6020
6021 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6022
6023 * vc/vc.el (vc-ignore): Rewrite.
6024 (vc-default-ignore): New function.
6025 (vc-default-ignore-completion-table): Use find-ignore-file.
6026
6027 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6028 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6029 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6030 Remove. Most code moved to vc.el.
6031
6032 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6035 * net/tramp-smb.el (tramp-smb-get-file-entries):
6036 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6037 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6038
6039 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6040 Update call to it.
6041 (eww-change-select): Remove unused var `properties'.
6042 (eww-make-unique-file-name): Remove unused var `base'.
6043
6044 * finder.el (finder-compile-keywords): Don't mess with windows.
6045
6046 * calculator.el (calculator-funcall): Fix typo in last change.
6047
6048 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6049
6050 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6051 <pkg>-autoloads.el file stop us.
6052
6053 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6054 warnings, and factor out common code.
6055
6056 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6057
6058 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6059 two-character operators and whether the character preceding them
6060 changes their meaning (Bug#15208).
6061
6062 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6063
6064 Format code sent to Python shell for robustness.
6065 * progmodes/python.el (python-shell-buffer-substring):
6066 New function.
6067 (python-shell-send-region, python-shell-send-buffer): Use it.
6068
6069 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6072 * net/tramp.el (tramp-user-error): ... here.
6073 (tramp-find-method, tramp-check-proper-host)
6074 (tramp-dissect-file-name, tramp-debug-message)
6075 (tramp-handle-shell-command):
6076 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6077 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6078
6079 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6080
6081 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6082
6083 * avoid.el (mouse-avoidance-point-position)
6084 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6085 returns nil.
6086
6087 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6088
6089 * progmodes/python.el (python-shell-completion-get-completions):
6090 Drop use of deleted `comint-last-prompt-overlay'.
6091 (python-nav-if-name-main): New command.
6092
6093 2013-09-01 Glenn Morris <rgm@gnu.org>
6094
6095 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6096 Avoid leading space in $wins. Otherwise the sed command used by
6097 eg compile-main ends up containing "/*.el". (Bug#15170)
6098
6099 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6100
6101 2013-08-30 Glenn Morris <rgm@gnu.org>
6102
6103 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6104 Fix is-this-a-directory logic. (Bug#15220)
6105
6106 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * textmodes/css-mode.el: Use SMIE.
6109 (css-smie-grammar): New var.
6110 (css-smie--forward-token, css-smie--backward-token)
6111 (css-smie-rules): New functions.
6112 (css-mode): Use them.
6113 (css-navigation-syntax-table): Remove var.
6114 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6115 (css-indent-calculate, css-indent-line): Remove functions.
6116
6117 Misc changes to reduce use of `(lambda...); and other cleanups.
6118 * cus-edit.el: Use lexical-binding.
6119 (customize-push-and-save, customize-apropos)
6120 (custom-buffer-create-internal): Use closures.
6121 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6122 * progmodes/ada-xref.el: Use setq.
6123 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6124 * dframe.el: Use lexical-binding.
6125 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6126 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6127 * descr-text.el: Use lexical-binding.
6128 (describe-text-widget, describe-text-sexp, describe-property-list):
6129 Use closures.
6130 * comint.el (comint-history-isearch-push-state): Use a closure.
6131 * calculator.el: Use lexical-binding.
6132 (calculator-number-to-string): Make it work with lexical-binding.
6133 (calculator-funcall): Same and use cl-letf.
6134
6135 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6136 (lisp--company-doc-string, lisp--company-location): New functions.
6137 (lisp-completion-at-point): Use them to improve Company support.
6138
6139 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6140 params of lambda expressions.
6141 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6142 (ruby-smie--opening-pipe-p): New function.
6143 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6144 symbols and matched |...| for formal params.
6145 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6146 from being treated as hanging. Handle "rescue".
6147
6148 2013-08-29 Glenn Morris <rgm@gnu.org>
6149
6150 * progmodes/cc-engine.el (c-pull-open-brace):
6151 Move definition before use.
6152
6153 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6156 are immutable. Don't use `unsafe' any more.
6157 (cl--defsubst-expand): Don't substitute at the same time as keeping
6158 a residual unused let-binding. Don't use `unsafe' any more.
6159
6160 2013-08-29 Glenn Morris <rgm@gnu.org>
6161
6162 * calendar/cal-china.el (calendar-chinese-year-cache):
6163 Recenter on 2015.
6164
6165 * nxml/nxml-util.el (nxml-debug-clear-inside):
6166 Use cl-loop rather than loop.
6167
6168 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6169
6170 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6171
6172 2013-08-28 Glenn Morris <rgm@gnu.org>
6173
6174 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6175
6176 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6177
6178 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6179
6180 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * simple.el (repeat-complex-command--called-interactively-skip):
6183 New function.
6184 (repeat-complex-command): Use it (bug#14136).
6185
6186 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6187 (c-define-abbrev-table): Add `doc' argument.
6188 (c-mode-abbrev-table, c++-mode-abbrev-table)
6189 (objc-mode-abbrev-table, java-mode-abbrev-table)
6190 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6191 (awk-mode-abbrev-table): Use it.
6192 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6193 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6194 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6195 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6196 Move initialization into the declaration; and remove any
6197 autoload cookie.
6198
6199 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6200 and dynamic let binding.
6201
6202 * vc/smerge-mode.el: Remove redundant :group args.
6203
6204 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6205 to load-path.
6206
6207 2013-08-28 Juri Linkov <juri@jurta.org>
6208
6209 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6210 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6211 (isearch-other-meta-char): Handle an undefined shifted printing
6212 character by downshifting it. (Bug#15200)
6213
6214 2013-08-28 Juri Linkov <juri@jurta.org>
6215
6216 * isearch.el (isearch-search): Change regexp error message for
6217 non-regexp searches. (Bug#15166)
6218
6219 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6220
6221 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6222 for portability to hosts where /bin/sh has problems.
6223
6224 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6227
6228 2013-08-27 Juri Linkov <juri@jurta.org>
6229
6230 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6231 in the keyboard macro. (Bug#15126)
6232
6233 2013-08-27 Juri Linkov <juri@jurta.org>
6234
6235 * isearch.el (isearch-quote-char): Comment out converting unibyte
6236 to multibyte, thus syncing with its `quoted-insert' counterpart.
6237 (Bug#15166)
6238
6239 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6240
6241 * window.el (display-buffer-use-some-window): Add missing
6242 argument in call of get-largest-window (Bug#15185).
6243 Reported by Stephen Leake.
6244
6245 2013-08-27 Glenn Morris <rgm@gnu.org>
6246
6247 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6248
6249 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6252 from a matcher-function unless there's no more matches (bug#15161).
6253
6254 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6255
6256 * minibuffer.el: Revert change from 2013-08-20.
6257
6258 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6259 with text property `tramp-default', if appropriate.
6260 (tramp-check-proper-host): New defun.
6261 (tramp-dissect-file-name): Do not check hostname. Revert change
6262 of 2013-03-18.
6263 (tramp-backtrace): Make VEC-OR-PROC optional.
6264
6265 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6266 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6267 * net/tramp-sh.el (tramp-maybe-open-connection):
6268 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6269 Apply `tramp-check-proper-host'.
6270
6271 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6272
6273 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6274 lambda expression in order to have `describe-variable' display it.
6275
6276 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6277
6278 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6279 BUF can be optional. (Bug#15186)
6280
6281 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6282
6283 * progmodes/flymake.el (flymake-get-real-file-name-function):
6284 Fix broken customization. (Bug#15184)
6285
6286 2013-08-25 Alan Mackenzie <acm@muc.de>
6287
6288 Improve indentation of bracelists defined by macros (without "=").
6289
6290 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6291 expansion begins with "{", regard it as bracelist when it doesn't
6292 contain a ";".
6293
6294 Parse C++ inher-intro when there's a template split over 2 lines.
6295
6296 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6297 rigorously the search for "class" etc. followed by ":".
6298
6299 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6300 random languages a regexp which never matches rather than nil.
6301
6302 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6303
6304 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6305 (c-awk-regexp-one-line-possibly-open-char-list-re)
6306 (c-awk-one-line-possibly-open-regexp-re)
6307 (c-awk-one-line-non-syn-ws*-re): Remove.
6308 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6309 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6310 (c-awk-space*-unclosed-regexp-/-re): New constants.
6311 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6312 aren't regexp delimiters.
6313
6314 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6315 handling for a rare situation in AWK Mode involving unterminated
6316 strings/regexps.
6317
6318 2013-08-23 Glenn Morris <rgm@gnu.org>
6319
6320 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6321
6322 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6323
6324 * files.el (create-file-buffer): If the result would begin with
6325 spaces, prepend a "|" instead of removing them. (Bug#15162)
6326
6327 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6330 text-properties (bug#15155).
6331
6332 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6333 exist any more.
6334 (calc-keypad-redraw): Remove unused var `pad'.
6335 (calc-keypad-press): Remove unused var `menu'.
6336
6337 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6338
6339 * window.el (display-buffer-pop-up-frame):
6340 Call pop-up-frame-function with BUFFER current so `make-frame' will
6341 use it as the new frame's buffer (Bug#15133).
6342
6343 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * calendar/timeclock.el: Minor cleanups.
6346 (timeclock-ask-before-exiting, timeclock-use-display-time):
6347 Use `symbol'.
6348 (timeclock-modeline-display): Define as alias before the
6349 actual definition.
6350 (timeclock-mode-line-display): Use define-minor-mode.
6351 (timeclock-day-list-template): Make it a function, add an argument.
6352 (timeclock-day-list-required, timeclock-day-list-length)
6353 (timeclock-day-list-debt, timeclock-day-list-span)
6354 (timeclock-day-list-break): Adjust calls accordingly.
6355
6356 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6357
6358 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6359 Use read--expression so that completion works again.
6360
6361 2013-08-21 Sam Steingold <sds@gnu.org>
6362
6363 Add rudimentary inferior shell interaction
6364 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6365 (sh-set-shell): Reset it.
6366 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6367 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6368
6369 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * align.el: Use lexical-binding.
6372 (align-region): Simplify accordingly.
6373
6374 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6375
6376 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6377
6378 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6379 `non-essential' up.
6380
6381 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6382
6383 * net/tramp.el:
6384 * net/tramp-adb.el:
6385 * net/tramp-cmds.el:
6386 * net/tramp-ftp.el:
6387 * net/tramp-gvfs.el:
6388 * net/tramp-gw.el:
6389 * net/tramp-sh.el: Don't wrap external variable declarations by
6390 `eval-when-compile'.
6391
6392 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6393
6394 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6395 now that Emacs supports ImageMagick animations.
6396
6397 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6398
6399 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6400 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6401
6402 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6403
6404 * window.el (mouse-autoselect-window-select): Do autoselect when
6405 mouse pointer is on margin.
6406
6407 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6408
6409 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6410
6411 2013-08-16 Glenn Morris <rgm@gnu.org>
6412
6413 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6414 Handle "Remote Directory" response of some clients. (Bug#15058)
6415
6416 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6417 Tweak warning. (Bug#14926)
6418
6419 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6420 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6421
6422 * image-mode.el (image-mode-map): Add menu items to reverse,
6423 increase, decrease, reset animation speed.
6424 (image--set-speed, image-increase-speed, image-decrease-speed)
6425 (image-reverse-speed, image-reset-speed): New functions.
6426 (image-mode-map): Add bindings for speed commands.
6427
6428 * image.el (image-animate-get-speed, image-animate-set-speed):
6429 New functions.
6430 (image-animate-timeout): Respect image :speed property.
6431
6432 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6435 previous line (bug#15101).
6436 (debugger-eval-expression, debugger-record-expression):
6437 Use read--expression (bug#15102).
6438
6439 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6440
6441 Remove byte compiler warnings, visible when compiling with
6442 `byte-compile-force-lexical-warnings' set to t.
6443
6444 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6445 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6446 (tramp-handle-unhandled-file-name-directory)
6447 (tramp-handle-file-notify-add-watch, tramp-action-login)
6448 (tramp-action-succeed, tramp-action-permission-denied)
6449 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6450 arguments with "_".
6451
6452 * net/tramp-adb.el (tramp-adb-parse-device-names)
6453 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6454 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6455 (tramp-adb-handle-file-truename): Remove unused arguments.
6456
6457 * net/tramp-cache.el (tramp-flush-directory-property)
6458 (tramp-flush-connection-property, tramp-list-connections)
6459 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6460
6461 * net/tramp-compat.el (tramp-compat-make-temp-file):
6462 Rename FILENAME to F.
6463
6464 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6465 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6466 (tramp-zeroconf-parse-workstation-device-names)
6467 (tramp-zeroconf-parse-webdav-device-names)
6468 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6469
6470 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6471 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6472
6473 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6474 arguments.
6475 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6476 (tramp-sh-handle-insert-file-contents-literally)
6477 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6478 with "_".
6479 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6480 Remove unused variables.
6481
6482 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6483 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6484 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6485
6486 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6487 Make them a defconst.
6488 (tramp-uuencode-region): Remove unused variable.
6489
6490 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6491
6492 * frameset.el (frameset--prop-setter): New function.
6493 (frameset-prop): Add gv-setter declaration.
6494 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6495 parameter was already set in FILTERED. Doc fix.
6496 (frameset--record-minibuffer-relationships): Allow saving a
6497 minibufferless frame without its corresponding minibuffer frame.
6498 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6499 frame, if the frame id matches.
6500 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6501 frames before orphaned ones.
6502 (frameset-restore): Warn about orphaned windows, instead of error out.
6503
6504 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6505
6506 * window.el (window-make-atom): Don't overwrite parameter
6507 already present.
6508 (display-buffer-in-atom-window): Handle special case where we
6509 split an already atomic window.
6510 (window--major-non-side-window, display-buffer-in-side-window)
6511 (window--side-check): Ignore minibuffer window when walking
6512 window tree.
6513 (window-deletable-p): Return 'frame only if no other frame uses
6514 our minibuffer window.
6515 (record-window-buffer): Run buffer-list-update-hook.
6516 (split-window): Make sure window--check-frame won't destroy an
6517 existing atomic window in case the new window gets nested
6518 inside.
6519 (display-buffer-at-bottom): Ignore minibuffer window when
6520 walking window tree. Don't split a side window.
6521 (pop-to-buffer): Don't set-buffer here, the select-window call
6522 should do that.
6523 (mouse-autoselect-window-select): Autoselect only if we are in the
6524 text portion of the window.
6525
6526 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6527
6528 * net/shr.el (shr-parse-image-data): New function to grab both the
6529 data itself and the Content-Type.
6530 (shr-put-image): Use it.
6531
6532 * net/eww.el (eww-display-image): Ditto.
6533
6534 * image.el (image-content-type-suffixes): New variable.
6535
6536 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6537
6538 * progmodes/python.el (python-imenu--build-tree)
6539 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6540
6541 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6542
6543 * simple.el (backward-word): Mention the optional argument.
6544
6545 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * frameset.el (frameset--make): Rename constructor from make-frameset.
6548 (frameset-p, frameset-valid-p): Don't autoload.
6549 (frameset-valid-p): Use normal accessors.
6550
6551 2013-08-13 Glenn Morris <rgm@gnu.org>
6552
6553 * progmodes/compile.el (compile-command): Tweak example in doc.
6554 * obsolete/scribe.el (scribe-mode):
6555 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6556
6557 * mail/feedmail.el (feedmail-confirm-outgoing)
6558 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6559
6560 * cus-start.el (truncate-partial-width-windows): Fix type.
6561
6562 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6563
6564 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6565
6566 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * emacs-lisp/timer.el (timer--time-setter): New function.
6569 (timer--time): Use it as gv-setter.
6570
6571 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6572 setter is not a symbol.
6573
6574 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6575
6576 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6577 if sending fails. This makes debugging easier.
6578
6579 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6580
6581 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6582 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6583 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6584
6585 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6586
6587 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6588
6589 2013-08-12 Glenn Morris <rgm@gnu.org>
6590
6591 * format.el (format-annotate-function):
6592 Handle read-only text properties in the source. (Bug#14887)
6593
6594 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6595
6596 * net/eww.el (eww-display-html): Ignore coding system errors.
6597 One web site uses "utf-8lias" as the coding system.
6598
6599 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6600
6601 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6602
6603 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6606 (tutorial--detailed-help): Remove unused local variables.
6607 (tutorial--save-tutorial-to): Use ignore-errors.
6608 (help-with-tutorial): Use looking-at-p.
6609
6610 * view.el (view-buffer-other-window, view-buffer-other-frame):
6611 Mark unused arguments.
6612
6613 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6614 (woman-select-symbol-fonts, woman, woman-find-file)
6615 (woman-insert-file-contents, woman-non-underline-faces):
6616 Use string-match-p.
6617 (woman1-unquote): Move declaration.
6618
6619 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6620 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6621 argument. Remove unused local variable.
6622 (xml-parse-elem-type): Use string-match-p.
6623 (xml-substitute-numeric-entities): Use ignore-errors.
6624
6625 * calculator.el (calculator): Mark unused argument.
6626 (calculator-paste, calculator-quit, calculator-integer-p):
6627 Use ignore-errors.
6628 (calculator-string-to-number, calculator-decimal, calculator-exp)
6629 (calculator-op-or-exp): Use string-match-p.
6630
6631 * dired.el (dired-buffer-more-recently-used-p): Declare.
6632 (dired-insert-set-properties, dired-insert-old-subdirs):
6633 Use ignore-errors.
6634
6635 * dired-aux.el (dired-compress): Use ignore-errors.
6636 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6637 (dired-do-async-shell-command, dired-do-shell-command)
6638 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6639 (dired-insert-subdir-validate): Use string-match-p.
6640 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6641 (dired-add-entry): Use string-match-p, looking-at-p.
6642 (dired-insert-subdir-newpos): Remove unused local variable.
6643
6644 * filenotify.el (file-notify-callback): Remove unused local variable.
6645
6646 * filesets.el (filesets-error): Mark unused argument.
6647 (filesets-which-command-p, filesets-filter-dir-names)
6648 (filesets-directory-files, filesets-get-external-viewer)
6649 (filesets-ingroup-get-data): Use string-match-p.
6650
6651 * find-file.el (ff-other-file-name, ff-other-file-name)
6652 (ff-find-the-other-file, ff-cc-hh-converter):
6653 Remove unused local variables.
6654 (ff-get-file-name): Use string-match-p.
6655 (ff-all-dirs-under): Use ignore-errors.
6656
6657 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6658 (follow-select-if-visible): Remove unused local variable.
6659
6660 * forms.el (read-file-filter): Move declaration.
6661 (forms--make-format, forms--make-parser, forms-insert-record):
6662 Quote function with #'.
6663 (forms--update): Use string-match-p. Quote function with #'.
6664
6665 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6666 (help-make-xrefs): Use looking-at-p.
6667 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6668
6669 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6670 (ibuffer-confirm-operation-on): Use string-match-p.
6671
6672 * msb.el (msb-item-handler, msb-dired-item-handler):
6673 Mark unused arguments.
6674
6675 * ses.el (ses-decode-cell-symbol)
6676 (ses-kill-override): Remove unused local variable.
6677 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6678 (ses-load): Use ignore-errors, looking-at-p.
6679 (ses-jump-safe): Use ignore-errors.
6680 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6681
6682 * tabify.el (untabify, tabify): Mark unused arguments.
6683
6684 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6685 Mark unused argument.
6686 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6687 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6688
6689 * emacs-lisp/timer.el (timer--time): Define setter with
6690 gv-define-setter to avoid deprecation warning.
6691
6692 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6693 (*record-cmpl-statistics-p*): Remove (was commented out).
6694 (cmpl-statistics-block): Remove (body was commented out).
6695 All callers changed.
6696 (add-completions-from-buffer, load-completions-from-file):
6697 Remove unused variables.
6698
6699 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6700
6701 * filecache.el (file-cache-delete-file-list):
6702 Print message only when told so.
6703 (file-cache-files-matching): Use #' in mapconcat argument.
6704
6705 * ffap.el (ffap-url-at-point): Fix reference to variable
6706 thing-at-point-default-mail-uri-scheme.
6707
6708 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * subr.el (define-error): New function.
6711 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6712 error-file-not-found and define with define-error.
6713 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6714 and define with define-error.
6715 * userlock.el (file-locked, file-supersession):
6716 * simple.el (mark-inactive):
6717 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6718 * progmodes/ada-mode.el (ada-mode-errors):
6719 * play/life.el (life-extinct):
6720 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6721 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6722 * nxml/rng-util.el (rng-error):
6723 * nxml/rng-uri.el (rng-uri-error):
6724 * nxml/rng-match.el (rng-compile-error):
6725 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6726 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6727 * nxml/nxml-rap.el (nxml-scan-error):
6728 * nxml/nxml-outln.el (nxml-outline-error):
6729 * net/soap-client.el (soap-error):
6730 * net/gnutls.el (gnutls-error):
6731 * net/ange-ftp.el (ftp-error):
6732 * mpc.el (mpc-proc-error):
6733 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6734 (json-number-format, json-string-escape, json-string-format)
6735 (json-key-format, json-object-format):
6736 * jka-compr.el (compression-error):
6737 * international/quail.el (quail-error):
6738 * international/kkc.el (kkc-error):
6739 * emacs-lisp/ert.el (ert-test-failed):
6740 * calc/calc.el (calc-error, inexact-result, math-overflow)
6741 (math-underflow):
6742 * bookmark.el (bookmark-error-no-filename):
6743 * epg.el (epg-error): Define with define-error.
6744
6745 * time.el (display-time-event-handler)
6746 (display-time-next-load-average): Don't call sit-for since it seems
6747 unnecessary (bug#15045).
6748
6749 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6750 Use #' instead of ' to quote functions.
6751 (checkdoc-output-mode): Use setq-local.
6752 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6753 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6754 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6755 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6756 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6757 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6758 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6759 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6760
6761 * ido.el (ido-completion-help): Fix up compiler warning.
6762
6763 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6764
6765 * frameset.el (frameset-p): Add autoload cookie.
6766 (frameset--jump-to-register): New function, based on code moved from
6767 register.el.
6768 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6769
6770 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6771 (frameset-restore, frameset-save, frameset-session-filter-alist):
6772 Remove declarations.
6773 (register-alist): Doc fix.
6774 (frameset-to-register): Move to frameset.el.
6775 (jump-to-register, describe-register-1): Remove frameset-specific code.
6776
6777 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6778
6779 * allout-widgets.el (allout-widgets-pre-command-business)
6780 (allout-widgets-post-command-business)
6781 (allout-widgets-after-change-handler)
6782 (allout-decorate-item-and-context, allout-set-boundary-marker)
6783 (allout-body-modification-handler)
6784 (allout-graphics-modification-handler): Mark ignored arguments.
6785 (allout-widgets-post-command-business)
6786 (allout-widgets-exposure-change-processor)
6787 (allout-widgets-exposure-undo-processor)
6788 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6789 (allout-parse-item-at-point, allout-decorate-item-guides)
6790 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6791 * allout.el (epa-passphrase-callback-function): Declare.
6792 (allout-overlay-insert-in-front-handler)
6793 (allout-overlay-interior-modification-handler)
6794 (allout-isearch-end-handler, allout-chart-siblings)
6795 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6796 (allout-yank-processing, allout-process-exposed)
6797 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6798 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6799 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6800 (lisp-indent-defform): Mark ignored arguments.
6801 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6802 (calculate-lisp-indent): Remove unused variables.
6803 * international/characters.el (indian-2-column, arabic-2-column)
6804 (tibetan): Mark ignored arguments.
6805 (use-cjk-char-width-table): Mark ignored arguments.
6806 Remove unused variables.
6807 * international/fontset.el (build-default-fontset-data)
6808 (x-compose-font-name, create-fontset-from-fontset-spec):
6809 Mark ignored arguments.
6810 (fontset-plain-name): Remove unused variables.
6811 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6812 (keyboard-coding-system): Mark ignored arguments.
6813 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6814 * help.el (resize-temp-buffer-window):
6815 * window.el (display-buffer-in-major-side-window)
6816 (display-buffer-in-side-window, display-buffer-in-previous-window):
6817 Remove unused variables.
6818 * isearch.el (isearch-forward-symbol):
6819 * version.el (emacs-bzr-version-bzr):
6820 * international/mule-cmds.el (current-language-environment):
6821 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6822 (x-handle-display):
6823 * term/pc-win.el (x-list-fonts, x-display-planes)
6824 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6825 (x-server-version, x-display-screens, x-display-mm-height)
6826 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6827 (x-selection-owner-p, x-own-selection-internal)
6828 (x-disown-selection-internal, x-get-selection-internal)
6829 (msdos-initialize-window-system):
6830 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6831 * term/x-win.el (x-handle-no-bitmap-icon):
6832 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6833 (vc-default-find-file-hook, vc-default-extra-menu):
6834 Mark ignored arguments.
6835
6836 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6839 break-condition in the context of the debugged code (bug#12685).
6840
6841 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6842
6843 * comint.el:
6844 Do not use an overlay to highlight the last prompt. (Bug#14744)
6845 (comint-mode): Make comint-last-prompt buffer local.
6846 (comint-last-prompt): New variable.
6847 (comint-last-prompt-overlay): Remove. Superseded by
6848 comint-last-prompt.
6849 (comint-snapshot-last-prompt, comint-output-filter):
6850 Use comint-last-prompt.
6851
6852 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6855 (frameset-save): Check validity of the resulting frameset.
6856
6857 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6858
6859 * ido.el (ido-record-command): Add doc string.
6860
6861 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6862
6863 * frameset.el (frameset): Do not disable creation of the default
6864 frameset-p predicate. Doc fix.
6865 (frameset-valid-p): New function, copied from the old predicate-p.
6866 Add additional checks.
6867 (frameset-restore): Check with frameset-valid-p.
6868 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6869 (frameset-name, frameset-description, frameset-properties)
6870 (frameset-states): Add docstring.
6871 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6872 (frameset-filter-alist): Doc fixes.
6873
6874 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6875
6876 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6877
6878 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6881 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6882 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6883 (byte-compile-normal-call): Remove obsolescence check.
6884
6885 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6886
6887 * frameset.el (frameset-restore): Doc fix.
6888
6889 * register.el (frameset-frame-id, frameset-frame-with-id)
6890 (frameset-p, frameset-restore, frameset-save): Declare.
6891 (register-alist): Document framesets.
6892 (frameset-session-filter-alist): Declare.
6893 (frameset-to-register): New function.
6894 (jump-to-register): Implement jumping to framesets. Doc fix.
6895 (describe-register-1): Describe framesets.
6896
6897 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6898
6899 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6900
6901 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6902 Use lexical-binding.
6903
6904 * frameset.el (frameset): Use type vector, not list (incompatible
6905 change). Do not declare a new constructor, use the default one.
6906 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6907 `name' and `description', respectively, and add read-only slot
6908 `timestamp'. Doc fixes.
6909 (frameset-copy, frameset-persistent-filter-alist)
6910 (frameset-filter-alist, frameset-switch-to-gui-p)
6911 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6912 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6913 (frameset-filter-iconified, frameset-keep-original-display-p):
6914 Doc fixes.
6915 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6916 Rename from frameset-filter-(save|restore)-param. All callers changed.
6917 Doc fix.
6918 (frameset-p): Adapt to change to vector and be more thorough.
6919 Change arg name to OBJECT. Doc fix.
6920 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6921 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6922 All callers changed.
6923 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6924 All callers changed.
6925 (frameset--record-minibuffer-relationships): Rename from
6926 frameset--process-minibuffer-frames. All callers changed.
6927 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6928 Use new default constructor (again). Doc fix.
6929 (frameset--find-frame-if): Rename from `frameset--find-frame.
6930 All callers changed.
6931 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6932 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6933 Doc fix.
6934 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6935 PARAMETERS and WINDOW-STATE, respectively.
6936 (frameset-restore): Add new keyword argument PREDICATE.
6937 Reset frameset--target-display to nil. Doc fix.
6938
6939 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6942 (bat-mode): Use it.
6943 (bat-mode-syntax-table): Mark \n as end-of-comment.
6944 (bat-font-lock-keywords): Remove comment rule.
6945
6946 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6947 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6948
6949 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6950 (byte-compile-callargs-warn): Use `push'.
6951 (byte-compile-arglist-warn): Ignore higher-order "calls".
6952 (byte-compile-file-form-autoload): Use `pcase'.
6953 (byte-compile-function-form): If quoting a symbol, check that it exists.
6954
6955 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6956
6957 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6958 and add a few popular commands found in batch files.
6959 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6960 (dos-mode): Doc fixes.
6961
6962 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6965 (dos-mode): Use setq-local. Add space after "rem".
6966 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6967 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6968
6969 2013-08-07 Arni Magnusson <arnima@hafro.is>
6970
6971 * progmodes/dos.el: New file.
6972 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6973 dos-mode.
6974
6975 2013-08-06 Glenn Morris <rgm@gnu.org>
6976
6977 * calendar/calendar.el: Add new faces, and day-header-array.
6978 (calendar-weekday-header, calendar-weekend-header)
6979 (calendar-month-header): New faces.
6980 (calendar-day-header-construct): New function.
6981 (calendar-day-header-width): Also :set calendar-day-header-array.
6982 (calendar-american-month-header, calendar-european-month-header)
6983 (calendar-iso-month-header): Use calendar- faces.
6984 (calendar-generate-month):
6985 Use calendar-day-header-array for day headers; apply faces to them.
6986 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6987 (calendar-abbrev-construct): Add optional maxlen argument.
6988 (calendar-day-name-array): Doc fix.
6989 (calendar-day-name-array, calendar-abbrev-length)
6990 (calendar-day-abbrev-array):
6991 Also :set calendar-day-header-array, and maybe redraw.
6992 (calendar-day-header-array): New option. (Bug#15007)
6993 (calendar-font-lock-keywords): Set to nil and make obsolete.
6994 (calendar-day-name): Add option to use header array.
6995
6996 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6997
6998 * net/shr.el (shr-render-td): Remove debugging.
6999 (shr-render-td): Make width computation consistent by defaulting
7000 all zero-width columns to 10 characters. This may not be optimal,
7001 but it's at least consistent.
7002 (shr-make-table-1): Redo last change to fix the real problem in
7003 colspan handling.
7004
7005 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7006
7007 * files.el (cache-long-line-scans):
7008 Make obsolete alias to `cache-long-scans'.
7009
7010 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * frameset.el (frameset, frameset-filter-alist)
7013 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7014 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7015 (frameset-compute-pos): Rename from frameset--compute-pos,
7016 and add docstring.
7017 (frameset-move-onscreen): Use frameset-compute-pos.
7018 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7019
7020 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7021 Fix typos in docstrings.
7022
7023 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7024
7025 * frame.el (get-other-frame): Tiny cleanup.
7026
7027 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7028
7029 * vc/vc.el (vc-default-ignore-completion-table):
7030 Silence byte-compiler warning.
7031
7032 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7033 slot, which can indeed be nil.
7034 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7035 Move entry for `left' from persistent to live filter alist.
7036 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7037 Doc fixes.
7038 (frameset-filter-params): When restoring a frame, copy items added to
7039 `filtered', to avoid unwittingly modifying the original parameters.
7040 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7041 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7042
7043 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7044 to use looking-at-p instead of looking-at. (Bug#15028)
7045
7046 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 Revert introduction of isearch-filter-predicates (bug#14714).
7049 Rely on add-function instead.
7050 * isearch.el (isearch-filter-predicates): Rename it back to
7051 isearch-filter-predicate.
7052 (isearch-message-prefix): Use advice-function-mapc and advice
7053 properties to get the isearch-message-prefix.
7054 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7055 instead of run-hook-with-args-until-failure.
7056 (isearch-filter-visible): Not obsolete any more.
7057 * loadup.el: Preload nadvice.
7058 * replace.el (perform-replace): Revert to funcall
7059 instead of run-hook-with-args-until-failure.
7060 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7061 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7062 dired-isearch-filenames-toggle; make it into a proper minor mode.
7063 Use add/remove-function.
7064 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7065 Call the minor-mode rather than add/remove-hook.
7066 (dired-isearch-filter-filenames):
7067 Remove isearch-message-prefix property.
7068 * info.el (Info--search-loop): New function, extracted from Info-search.
7069 Funcall isearch-filter-predicate instead of
7070 run-hook-with-args-until-failure isearch-filter-predicates.
7071 (Info-search): Use it.
7072 (Info-mode): Use isearch-filter-predicate instead of
7073 isearch-filter-predicates.
7074
7075 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7076
7077 Do not call to `selected-window' where it is assumed by default.
7078 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7079 `window-hscroll', `window-width', `window-height', `window-buffer',
7080 `window-frame', `window-start', `window-point', `next-window'
7081 and `window-display-table'.
7082 * abbrev.el (abbrev--default-expand):
7083 * bs.el (bs--show-with-configuration):
7084 * buff-menu.el (Buffer-menu-mouse-select):
7085 * calc/calc.el (calc):
7086 * calendar/calendar.el (calendar-generate-window):
7087 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7088 (diary-make-entry):
7089 * comint.el (send-invisible, comint-dynamic-complete-filename)
7090 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7091 * completion.el (complete):
7092 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7093 * disp-table.el (describe-current-display-table):
7094 * doc-view.el (doc-view-insert-image):
7095 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7096 * ehelp.el (with-electric-help):
7097 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7098 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7099 * emacs-lisp/helper.el (Helper-help-scroller):
7100 * emulation/cua-base.el (cua--post-command-handler-1):
7101 * eshell/esh-mode.el (eshell-output-filter):
7102 * ffap.el (ffap-gnus-wrapper):
7103 * help-macro.el (make-help-screen):
7104 * hilit-chg.el (highlight-compare-buffers):
7105 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7106 * hl-line.el (global-hl-line-highlight):
7107 * icomplete.el (icomplete-simple-completing-p):
7108 * isearch.el (isearch-done):
7109 * jit-lock.el (jit-lock-stealth-fontify):
7110 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7111 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7112 * mpc.el (mpc-tagbrowser, mpc):
7113 * net/rcirc.el (rcirc-any-buffer):
7114 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7115 * play/landmark.el (landmark-max-width, landmark-max-height):
7116 * play/zone.el (zone):
7117 * progmodes/compile.el (compilation-goto-locus):
7118 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7119 * progmodes/etags.el (find-tag-other-window):
7120 * progmodes/fortran.el (fortran-column-ruler):
7121 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7122 * progmodes/verilog-mode.el (verilog-point-text):
7123 * reposition.el (reposition-window):
7124 * rot13.el (toggle-rot13-mode):
7125 * server.el (server-switch-buffer):
7126 * shell.el (shell-dynamic-complete-command)
7127 (shell-dynamic-complete-environment-variable):
7128 * simple.el (insert-buffer, set-selective-display)
7129 (delete-completion-window):
7130 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7131 (speedbar-recenter):
7132 * startup.el (fancy-splash-head):
7133 * textmodes/ispell.el (ispell-command-loop):
7134 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7135 * tutorial.el (help-with-tutorial):
7136 * vc/add-log.el (add-change-log-entry):
7137 * vc/compare-w.el (compare-windows):
7138 * vc/ediff-help.el (ediff-indent-help-message):
7139 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7140 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7141 (ediff-setup-control-frame):
7142 * vc/emerge.el (emerge-position-region):
7143 * vc/pcvs-util.el (cvs-bury-buffer):
7144 * window.el (walk-windows, mouse-autoselect-window-select):
7145 * winner.el (winner-set-conf, winner-undo): Related users changed.
7146
7147 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7148
7149 * frameset.el (frameset--set-id): Doc fix.
7150 (frameset-frame-id, frameset-frame-id-equal-p)
7151 (frameset-locate-frame-id): New functions.
7152 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7153 (frameset-restore): Use them.
7154
7155 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7156
7157 Do not call to `selected-frame' where it is assumed by default.
7158 Affected functions are `raise-frame', `redraw-frame',
7159 `frame-first-window', `frame-terminal' and `delete-frame'.
7160 * calendar/appt.el (appt-disp-window):
7161 * epg.el (epg-wait-for-completion):
7162 * follow.el (follow-delete-other-windows-and-split)
7163 (follow-avoid-tail-recenter):
7164 * international/mule.el (set-terminal-coding-system):
7165 * mail/rmail.el (rmail-mail-return):
7166 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7167 * progmodes/f90.el (f90-add-imenu-menu):
7168 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7169 * server.el (server-switch-buffer):
7170 * simple.el (delete-completion-window):
7171 * talk.el (talk):
7172 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7173 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7174 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7175 * vc/ediff.el (ediff-documentation): Related users changed.
7176 * frame.el (selected-terminal): Remove the leftover.
7177
7178 2013-08-05 Glenn Morris <rgm@gnu.org>
7179
7180 * calendar/calendar.el (calendar-generate-month):
7181 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7182 (calendar-generate-month, calendar-font-lock-keywords):
7183 Fix for calendar-day-header-width > length of any day name.
7184
7185 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7186
7187 * desktop.el (desktop-clear): Use new name of sort predicate.
7188
7189 * frameset.el (frameset): Add docstring. Move :version property to its
7190 own `version' slot.
7191 (frameset-copy): Rename from copy-frameset.
7192 (frameset-p): Check more thoroughly.
7193 (frameset-prop): Do not check for :version, which is no longer a prop.
7194 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7195 Use new :never value instead of t.
7196 (frameset-filter-alist): Expand and clarify docstring.
7197 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7198 (frameset-filter-minibuffer, frameset-filter-save-param)
7199 (frameset-filter-restore-param, frameset-filter-iconified):
7200 Add pointer to docstring of frameset-filter-alist.
7201 (frameset-filter-params): Rename filter values to be more meaningful:
7202 :never instead of t, and reverse the meanings of :save and :restore.
7203 (frameset--process-minibuffer-frames): Clarify error message.
7204 (frameset-save): Avoid unnecessary and confusing call to framep.
7205 Use new BOA constructor for framesets.
7206 (frameset--reuse-list): Doc fix.
7207 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7208 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7209 (frameset-minibufferless-first-p): Doc fix.
7210 Rename from frameset-sort-frames-for-deletion.
7211 (frameset-restore): Doc fixes. Use new function names.
7212 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7213
7214 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7215
7216 * desktop.el (desktop-restore-forces-onscreen)
7217 (desktop-restore-reuses-frames): Document :keyword constant values.
7218 (desktop-filter-parameters-alist): Remove, now identical to
7219 frameset-filter-alist.
7220 (desktop--filter-tty*): Remove, moved to frameset.el.
7221 (desktop-save-frameset, desktop-restore-frameset):
7222 Do not pass :filters argument.
7223
7224 * frameset.el (frameset-live-filter-alist)
7225 (frameset-persistent-filter-alist): New variables.
7226 (frameset-filter-alist): Use them. Add autoload cookie.
7227 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7228 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7229 `frameset--id' (it's supposed to be internal to frameset.el).
7230 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7231 (frameset--initial-params): New function.
7232 (frameset--get-frame): Use it. Doc fix.
7233 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7234 Accept :all, not 'all.
7235 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7236 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7237 with fbound symbols. Fix frame id matching, and remove matching ids if
7238 the frame being restored is deleted. Obey :delete.
7239
7240 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * subr.el (macrop): New function.
7243 (text-clone--maintaining): New var.
7244 (text-clone--maintain): Rename from text-clone-maintain. Use it
7245 instead of inhibit-modification-hooks.
7246
7247 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7248 a proxy, so as handle autoloads and redefinitions of the target.
7249 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7250
7251 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7252 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7253 (pcase--mutually-exclusive-p): New function.
7254 (pcase--split-consp): Use it.
7255 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7256 mutually exclusive with the current predicate.
7257
7258 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7259 (edebug-macrop): Remove. Use `macrop' instead.
7260 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7261 (ad-macro-p):
7262 * eshell/esh-cmd.el (eshell-macrop):
7263 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7264
7265 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7268 (advice-mapc): New function, using it.
7269 (advice-function-member-p): New function.
7270 (advice--normalize): Store the cdr in advice--saved-rewrite since
7271 that's the part that will be changed.
7272 (advice--symbol-function): New function.
7273 (advice-remove): Handle removal before the function is defined.
7274 Adjust to new advice--saved-rewrite.
7275 (advice-member-p): Use advice-function-member-p and
7276 advice--symbol-function.
7277
7278 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7279
7280 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7281 (frameset-filter-minibuffer): Doc fix.
7282 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7283 (frameset--set-id, frameset--process-minibuffer-frames)
7284 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7285 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7286
7287 * desktop.el (desktop-clear): Only delete frames when called
7288 interactively and desktop-restore-frames is non-nil. Doc fix.
7289 (desktop-read): Set desktop-saved-frameset to nil.
7290
7291 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7292
7293 * vc/vc.el (vc-ignore): Rewrite.
7294 (vc-default-ignore-completion-table):
7295 (vc--read-lines):
7296 (vc--add-line, vc--remove-regexp): New functions.
7297
7298 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7299 (vc-svn-ignore-completion-table): New function.
7300
7301 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7302 (vc-hg-ignore-completion-table):
7303 (vc-hg-find-ignore-file): New functions.
7304
7305 * vc/vc-git.el (vc-git-ignore): Rewrite.
7306 (vc-git-ignore-completion-table):
7307 (vc-git-find-ignore-file): New functions.
7308
7309 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7310
7311 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7312 (vc-bzr-ignore-completion-table):
7313 (vc-bzr-find-ignore-file): New functions.
7314
7315 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7316
7317 * frameset.el (frameset-prop): New function and setter.
7318 (frameset-save): Do not modify frame list passed by the caller.
7319
7320 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7323
7324 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7327 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7328
7329 * custom.el (custom-initialize-default, custom-initialize-set)
7330 (custom-initialize-reset, custom-initialize-changed): Affect the
7331 toplevel-default-value (bug#6275, bug#14586).
7332 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7333 for bug#6275.
7334
7335 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7336
7337 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7338 Add cl-def* expressions.
7339
7340 * frameset.el (frameset-filter-params): Fix order of arguments.
7341
7342 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7343
7344 Move code related to saving frames to frameset.el.
7345 * desktop.el: Require frameset.
7346 (desktop-restore-frames): Doc fix.
7347 (desktop-restore-reuses-frames): Rename from
7348 desktop-restoring-reuses-frames.
7349 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7350 (desktop-clear): Clear frames too.
7351 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7352 (desktop--filter-tty*, desktop-save, desktop-read):
7353 Use frameset functions.
7354 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7355 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7356 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7357 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7358 (desktop--process-minibuffer-frames, desktop-save-frames)
7359 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7360 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7361 (desktop--sort-states, desktop-restoring-frames-p)
7362 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7363 (desktop-restoring-frameset-p, desktop-restore-frameset)
7364 (desktop--check-dont-save, desktop-save-frameset): New functions.
7365 (desktop--app-id): New constant.
7366 (desktop-first-buffer, desktop-buffer-ok-count)
7367 (desktop-buffer-fail-count): Move before first use.
7368 * frameset.el: New file.
7369
7370 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * files.el: Use lexical-binding.
7373 (dir-locals-read-from-file): Remove unused `err' variable.
7374 (hack-dir-local-variables--warned-coding): New var.
7375 (hack-dir-local-variables): Use it to avoid repeated warnings.
7376 (make-backup-file-name--default-function): New function.
7377 (make-backup-file-name-function): Use it as default.
7378 (buffer-stale--default-function): New function.
7379 (buffer-stale-function): Use it as default.
7380 (revert-buffer-insert-file-contents--default-function): New function.
7381 (revert-buffer-insert-file-contents-function): Use it as default.
7382 (insert-directory): Avoid add-to-list.
7383
7384 * autorevert.el (auto-revert-handler): Simplify.
7385 Use buffer-stale--default-function.
7386
7387 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7388
7389 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7390
7391 * whitespace.el (whitespace-ensure-local-variables): New function.
7392 (whitespace-cleanup-region): Call it.
7393 (whitespace-turn-on): Call it.
7394
7395 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7396
7397 Complete file name handlers.
7398
7399 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7400 (tramp-handle-verify-visited-file-modtime)
7401 (tramp-handle-file-notify-rm-watch): New functions.
7402 (tramp-call-process): Do not bind `default-directory'.
7403
7404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7405 Order alphabetically.
7406 [access-file, add-name-to-file, dired-call-process]:
7407 [dired-compress-file, file-acl, file-notify-rm-watch]:
7408 [file-ownership-preserved-p, file-selinux-context]:
7409 [make-directory-internal, make-symbolic-link, set-file-acl]:
7410 [set-file-selinux-context, set-visited-file-modtime]:
7411 [verify-visited-file-modtime]: Add handler.
7412 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7413
7414 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7415 [file-notify-add-watch, file-notify-rm-watch]:
7416 [set-file-times, set-visited-file-modtime]:
7417 [verify-visited-file-modtime]: Add handler.
7418 (with-tramp-gvfs-error-message)
7419 (tramp-gvfs-handle-set-visited-file-modtime)
7420 (tramp-gvfs-fuse-file-name): Remove.
7421 (tramp-gvfs-handle-file-notify-add-watch)
7422 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7423 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7424
7425 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7426 Order alphabetically.
7427 [file-notify-rm-watch ]: Use default Tramp handler.
7428 [executable-find]: Remove private handler.
7429 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7430 `default-directory'.
7431 (tramp-sh-handle-executable-find)
7432 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7433 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7434 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7435 Do not use `format' in `tramp-message'.
7436
7437 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7438 [file-notify-rm-watch, set-visited-file-modtime]:
7439 [verify-visited-file-modtime]: Add handler.
7440 (tramp-smb-call-winexe): Do not bind `default-directory'.
7441
7442 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7443
7444 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7445
7446 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7447
7448 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7449 use it.
7450 (log-view-diff-changeset): Same.
7451 (log-view-diff-common): Call backend command `previous-revision'
7452 to find out the previous revision, in both cases. Swap the
7453 variables `to' and `fr', so that `fr' usually refers to the
7454 earlier revision (Bug#14989).
7455
7456 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7457
7458 * ibuf-ext.el (ibuffer-filter-by-filename):
7459 Make it work with dired buffers too.
7460
7461 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7462
7463 * emacs-lisp/re-builder.el (reb-color-display-p):
7464 * files.el (save-buffers-kill-terminal):
7465 * net/browse-url.el (browse-url):
7466 * server.el (server-save-buffers-kill-terminal):
7467 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7468 Prefer nil to selected-frame for the first arg of frame-parameter.
7469
7470 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7471
7472 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7473
7474 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7475
7476 * minibuffer.el (completion--twq-all): Try and preserve each
7477 completion's case choice (bug#14907).
7478
7479 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7480
7481 * net/network-stream.el (open-network-stream): Mention the new
7482 :nogreeting parameter.
7483 (network-stream-open-starttls): Use the :nogreeting parameter
7484 (bug#14938).
7485
7486 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7487
7488 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7489 more natural than popping.
7490
7491 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7492 (shr-urlify): Highlight under mouse.
7493
7494 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7495
7496 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7497
7498 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7499
7500 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7501 buffer for output.
7502
7503 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7504 point-min==1. Fix search string. Fix parentheses missing.
7505
7506 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7507 assume point-min==1. Fix search string. Fix parentheses missing.
7508
7509 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7510
7511 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7512 buffer for output.
7513
7514 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7515
7516 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7517 initial frame is minibuffer-less. (Bug#14841)
7518
7519 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7520
7521 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7522 option.
7523
7524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7525 (tramp-maybe-open-connection): Use it.
7526
7527 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7528
7529 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7530 minimal set of parameters passed when creating a frame, because
7531 the minibuffer status of a frame cannot be changed later.
7532
7533 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7534
7535 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7536 replace-regexp-in-string and inadvertent omissions in previous change.
7537 (todo-filter-items): Ensure only file names are comma-separated in
7538 name of filtered items buffer.
7539
7540 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * desktop.el: Optionally force offscreen frames back onscreen.
7543 (desktop-restoring-reuses-frames): New option.
7544 (desktop--compute-pos, desktop--move-onscreen): New functions.
7545 (desktop--make-frame): Use desktop--move-onscreen.
7546
7547 2013-07-27 Alan Mackenzie <acm@muc.de>
7548
7549 Fontify a Java generic method as a function.
7550 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7551 value to t.
7552
7553 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7554
7555 * calendar/todo-mode.el: Add command to rename todo files.
7556 (todo-rename-file): New command.
7557 (todo-key-bindings-t): Add key binding for it. Change the
7558 bindings of todo-filter-regexp-items(-multifile) to use `x'
7559 instead of `r', since the latter is better suited to the new
7560 renaming command.
7561
7562 2013-07-27 Alan Mackenzie <acm@muc.de>
7563
7564 Make Java try-with-resources statement parse properly.
7565 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7566 (c-block-stmt-1-2-key): New language constants/variables.
7567 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7568 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7569 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7570 with c-block-stmt-1-2-key.
7571
7572 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7573
7574 * desktop.el (desktop--make-frame): Apply most frame parameters after
7575 creating the frame to force (partially or totally) offscreen frames to
7576 be restored as such.
7577
7578 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7579
7580 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7581 (Bug#14948)
7582
7583 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7586 `base' arg of backtrace-frame.
7587
7588 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7589
7590 * simple.el (list-processes): Doc fix.
7591
7592 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7593
7594 * desktop.el (desktop--select-frame):
7595 Try harder to reuse existing frames.
7596
7597 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7600 (edebug-eval): Use backtrace-eval.
7601 (edebug--display, edebug--recursive-edit): Don't let-bind the
7602 edebug-outer-* vars that keep track of variables we locally let-bind.
7603 (edebug-outside-excursion): Don't restore outside values of locally
7604 let-bound vars.
7605 (edebug--display): Use user-error.
7606 (cl-lexical-debug, cl-debug-env): Remove.
7607
7608 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7609
7610 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7611 are restored to be sure that they are visible before deleting any
7612 remaining ones.
7613
7614 2013-07-26 Matthias Meulien <orontee@gmail.com>
7615
7616 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7617 vc-print-root-log. (Bug#14948)
7618
7619 2013-07-26 Richard Stallman <rms@gnu.org>
7620
7621 Add aliases for encrypting mail.
7622 * epa.el (epa-mail-aliases): New option.
7623 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7624 Bind inhibit-read-only so read-only text doesn't ruin everything.
7625 (epa-mail-default-recipients): New subroutine broken out.
7626 Handle epa-mail-aliases.
7627
7628 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 Add support for lexical variables to the debugger's `e' command.
7631 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7632 vars, except for debugger-outer-match-data.
7633 (debugger-frame-number): Move check for "on a function call" from
7634 callers into it. Add `skip-base' argument.
7635 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7636 (debugger-env-macro): Only reset the state stored in non-variables,
7637 i.e. current-buffer and match-data.
7638 (debugger-eval-expression): Rewrite using backtrace-eval.
7639 * subr.el (internal--called-interactively-p--get-frame): Remove.
7640 (called-interactively-p):
7641 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7642 `base' arg of backtrace-frame instead.
7643
7644 2013-07-26 Glenn Morris <rgm@gnu.org>
7645
7646 * align.el (align-regexp): Doc fix. (Bug#14857)
7647 (align-region): Explicit error if subexpression missing/does not match.
7648
7649 * simple.el (global-visual-line-mode):
7650 Do not duplicate the mode lighter. (Bug#14858)
7651
7652 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7653
7654 * window.el (display-buffer): In display-buffer bind
7655 split-window-keep-point to t, bug#14829.
7656
7657 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7658
7659 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7660 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7661 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7662 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7663 Change accordingly.
7664 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7665 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7666
7667 2013-07-25 Glenn Morris <rgm@gnu.org>
7668
7669 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7670
7671 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7674 parameter to modify-frame-parameters if the value has not changed;
7675 this is a workaround for bug#14949.
7676 (desktop--make-frame): On cl-delete-if call, check parameter name,
7677 not full parameter.
7678
7679 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7680
7681 * vc/vc.el (vc-ignore): New function.
7682
7683 * vc/vc-svn.el (vc-svn-ignore): New function.
7684
7685 * vc/vc-hg.el (vc-hg-ignore): New function.
7686
7687 * vc/vc-git.el (vc-git-ignore): New function.
7688
7689 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7690 (vc-dir-ignore): New function.
7691
7692 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7693 (cvs-append-to-ignore): Move here from pcvs.el.
7694
7695 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7696
7697 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7698
7699 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7702 (desktop-restore-frames): Warn when deleting an existing frame failed.
7703
7704 2013-07-24 Glenn Morris <rgm@gnu.org>
7705
7706 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7707
7708 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7709
7710 * filenotify.el (file-notify-supported-p):
7711 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7712 Remove functions.
7713
7714 * autorevert.el (auto-revert-use-notify):
7715 (auto-revert-notify-add-watch):
7716 * net/tramp.el (tramp-file-name-for-operation):
7717 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7718 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7720 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7721 Remove `file-notify-supported-p' entry.
7722
7723 2013-07-24 Glenn Morris <rgm@gnu.org>
7724
7725 * printing.el: Replace all uses of deleted ps-windows-system,
7726 ps-lp-system, ps-flatten-list with lpr- versions.
7727
7728 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7731 checked with memq (bug#14935).
7732
7733 * files.el (revert-buffer-function): Use a non-nil default.
7734 (revert-buffer-preserve-modes): Declare var to
7735 provide access to the `preserve-modes' argument.
7736 (revert-buffer): Let-bind it.
7737 (revert-buffer--default): New function, extracted from revert-buffer.
7738
7739 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7740
7741 * lpr.el: Signal print errors more prominently.
7742 (print-region-function): Don't default to nil.
7743 (lpr-print-region): New function, extracted from print-region-1.
7744 Check lpr's return value and signal an error in case of problem.
7745 (print-region-1): Use it.
7746 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7747 versions instead.
7748 (ps-printer-name): Default to nil.
7749 (ps-printer-name-option): Default to lpr-printer-switch.
7750 (ps-print-region-function): Don't default to nil.
7751 (ps-postscript-code-directory): Simplify default.
7752 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7753 (ps-string-list, ps-eval-switch, ps-flatten-list)
7754 (ps-flatten-list-1): Remove.
7755 (ps-multibyte-buffer): Avoid setq.
7756 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7757 (print-region-function, ps-print-region-function): Don't set them here.
7758
7759 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7760
7761 * ido.el (ido-fractionp):
7762 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7763 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7764 (ido-max-directory-size, ido-max-dir-file-cache)
7765 (ido-decorations): Doc fix.
7766
7767 * ansi-color.el: Fix old URL.
7768
7769 2013-07-23 Michael R. Mauger <michael@mauger.com>
7770
7771 * progmodes/sql.el: Version 3.3
7772 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7773 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7774 (sql-interactive-remove-continuation-prompt): Rewrite, use
7775 functions above. Fix continuation prompt and complete output line
7776 handling.
7777 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7778 redirected output buffer.
7779 (sql-mode): Restore deleted code (Bug#13591).
7780
7781 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7782
7783 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7784
7785 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7786
7787 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7788
7789 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7790 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7791 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7792
7793 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7794
7795 * desktop.el (desktop-clear): Simplify; remove useless checks
7796 against invalid buffer names.
7797 (desktop-list*): Use cl-list*.
7798 (desktop-buffer-info, desktop-create-buffer): Simplify.
7799
7800 2013-07-23 Leo Liu <sdl.web@gmail.com>
7801
7802 * bookmark.el (bookmark-make-record): Restore NAME as a default
7803 value. (Bug#14933)
7804
7805 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7808 extracted from autoload--insert-text.
7809 (autoload--insert-text): Remove.
7810 (autoload--print-cookie-text): New function, extracted from
7811 autoload--insert-cookie-text.
7812 (autoload--insert-cookie-text): Remove.
7813 (autoload-generate-file-autoloads): Adjust calls accordingly.
7814
7815 * winner.el (winner-hook-installed-p): Remove.
7816 (winner-mode): Simplify accordingly.
7817
7818 * subr.el (add-to-list): Fix compiler-macro when `append' is
7819 not constant. Don't use `cl-member' for the base case.
7820
7821 * progmodes/subword.el: Fix boundary case (bug#13758).
7822 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7823 own group.
7824 (subword-backward-regexp): Make it a constant.
7825 (subword-forward-internal): Don't treat a trailing capital as the
7826 beginning of a word.
7827
7828 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7829
7830 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7831 global value of tabulated-list-revert-hook (bug#14930).
7832
7833 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7834
7835 * desktop.el: Require 'cl-lib.
7836 (desktop-before-saving-frames-functions): New hook.
7837 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7838 for frames being saved. Rename from desktop--save-minibuffer-frames.
7839 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7840 Do not save frames with non-nil `desktop-dont-save' parameter.
7841 Filter out deleted frames.
7842 (desktop--find-frame): Use cl-find-if.
7843 (desktop--select-frame): Use cl-(first|second|third) to access values
7844 of desktop-mini.
7845 (desktop--make-frame): Use cl-delete-if.
7846 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7847 (desktop-restore-frames): Use cl-(first|second|third) to access values
7848 of desktop-mini. Look for visible frame at the end, not while
7849 restoring frames.
7850
7851 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7852 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7853 Use string-match-p, looking-at-p (bug#14927).
7854
7855 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7856
7857 * desktop.el (desktop-saved-frame-states):
7858 Rename from desktop--saved-states; all users changed.
7859 (desktop-save-frames): Rename from desktop--save-frames.
7860 Do not save state to desktop file.
7861 (desktop-save): Save desktop-saved-frame-states to desktop file
7862 and reset to nil.
7863 (desktop-restoring-frames-p): New function.
7864 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7865 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7866 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7867
7868 * desktop.el: Correctly restore iconified frames.
7869 (desktop--filter-iconified-position): New function.
7870 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7871
7872 2013-07-20 Glenn Morris <rgm@gnu.org>
7873
7874 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7875 Let `message' do the formatting.
7876 (def-gdb-preempt-display-buffer): Add explicit format.
7877
7878 * image-dired.el (image-dired-track-original-file):
7879 Use with-current-buffer.
7880 (image-dired-track-thumbnail): Use with-current-buffer.
7881 Avoid changing point of wrong window.
7882
7883 * image-dired.el (image-dired-track-original-file):
7884 Avoid changing point of wrong window. (Bug#14909)
7885
7886 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7887
7888 * progmodes/gdb-mi.el (gdb-done-or-error):
7889 Guard against "%" in gdb output. (Bug#14127)
7890
7891 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7892
7893 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7894 (Bug#14826)
7895
7896 * international/mule.el (coding-system-iso-2022-flags): Fix last
7897 change.
7898
7899 2013-07-20 Kenichi Handa <handa@gnu.org>
7900
7901 * international/mule.el (coding-system-iso-2022-flags):
7902 Add `8-bit-level-4'. (Bug#8522)
7903
7904 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7905
7906 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7907 (bug#14815).
7908
7909 * net/eww.el (eww-process-text-input): Allow inputting when the
7910 point is at the start of the line, as the properties aren't
7911 front-sticky.
7912
7913 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7914 degenerate widths.
7915
7916 2013-07-19 Richard Stallman <rms@gnu.org>
7917
7918 * epa.el (epa-popup-info-window): Doc fix.
7919
7920 * subr.el (split-string): New arg TRIM.
7921
7922 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7923
7924 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7925 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7926
7927 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7928
7929 * filenotify.el (file-notify--library): Rename from
7930 `file-notify-support'. Do not autoload. Adapt all uses.
7931 (file-notify-supported-p): New defun.
7932
7933 * autorevert.el (auto-revert-use-notify):
7934 Use `file-notify-supported-p' instead of `file-notify-support'.
7935 Adapt docstring.
7936 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7937
7938 * net/tramp.el (tramp-file-name-for-operation):
7939 Add `file-notify-supported-p'.
7940
7941 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7942 New defun.
7943 (tramp-sh-file-name-handler-alist): Add it as handler for
7944 `file-notify-supported-p '.
7945
7946 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7948 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7949 Add `ignore' as handler for `file-notify-*' functions.
7950
7951 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7952
7953 * simple.el (line-move-partial, line-move): Don't start vscroll or
7954 scroll-up if the current line is not taller than the window.
7955 (Bug#14881)
7956
7957 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7958
7959 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7960 highlight question marks in the method names as strings.
7961 (ruby-block-beg-keywords): Inline.
7962 (ruby-font-lock-keyword-beg-re): Extract from
7963 `ruby-font-lock-keywords'.
7964
7965 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7966
7967 * frame.el (blink-cursor-blinks): New defcustom.
7968 (blink-cursor-blinks-done): New defvar.
7969 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7970 (blink-cursor-timer-function): Check if number of blinks has been
7971 done on X and NS.
7972 (blink-cursor-suspend, blink-cursor-check): New defuns.
7973
7974 2013-07-15 Glenn Morris <rgm@gnu.org>
7975
7976 * edmacro.el (edmacro-format-keys): Fix previous change.
7977
7978 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7979
7980 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7981 The hack didn't work outside English locales anyway.
7982
7983 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7984
7985 * simple.el (define-alternatives): Rename from alternatives-define,
7986 per RMS' suggestion.
7987
7988 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7989
7990 * desktop.el (desktop-restore-frames): Change default to t.
7991 (desktop-restore-in-current-display): Now offer more options.
7992 (desktop-restoring-reuses-frames): New customization option.
7993 (desktop--saved-states): Doc fix.
7994 (desktop-filter-parameters-alist): New variable, renamed and expanded
7995 from desktop--excluded-frame-parameters.
7996 (desktop--target-display): New variable.
7997 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7998 (desktop--filter-tty*, desktop--filter-*-color)
7999 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8000 (desktop--filter-save-desktop-parm)
8001 (desktop-restore-in-original-display-p): New functions.
8002 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8003 (desktop--save-minibuffer-frames): New function, inspired by a similar
8004 function from Martin Rudalics.
8005 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8006 (desktop--restore-in-this-display-p): Remove.
8007 (desktop--find-frame): Rename from desktop--find-frame-in-display
8008 and add predicate argument.
8009 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8010 (desktop--reuse-list): New variable.
8011 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8012 New functions.
8013 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8014
8015 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8016
8017 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8018
8019 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8020
8021 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8022 Highlight conversion methods on Kernel.
8023
8024 2013-07-13 Alan Mackenzie <acm@muc.de>
8025
8026 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8027 and comment it out. This out-commenting enables certain C++
8028 declarations to be parsed correctly.
8029
8030 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8031
8032 * international/mule.el (define-coding-system): Doc fix.
8033
8034 * simple.el (default-font-height): Don't call font-info if the
8035 frame's default font didn't change since the frame was created.
8036 (Bug#14838)
8037
8038 2013-07-13 Leo Liu <sdl.web@gmail.com>
8039
8040 * ido.el (ido-read-file-name): Guard against non-symbol value.
8041
8042 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8043
8044 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8045 in nested defuns.
8046
8047 2013-07-13 Leo Liu <sdl.web@gmail.com>
8048
8049 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8050 ido-set-matches call. (Bug#6852)
8051
8052 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8053
8054 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8055 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8056 Ruby 2.0.
8057 (ruby-font-lock-keywords): Distinguish calls to functions with
8058 module-like names from module references. Highlight character
8059 literals.
8060
8061 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8062
8063 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8064 (gdb-send): Handle continued commands. (Bug#14847)
8065
8066 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8067
8068 * desktop.el (desktop--v2s): Remove unused local variable.
8069 (desktop-save-buffer): Make defvar-local; adjust docstring.
8070 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8071 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8072
8073 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8074
8075 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8076
8077 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8078
8079 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8080 (Bug#14842)
8081
8082 2013-07-12 Glenn Morris <rgm@gnu.org>
8083
8084 * doc-view.el: Require cl-lib at runtime too.
8085 (doc-view-remove-if): Remove.
8086 (doc-view-search-next-match, doc-view-search-previous-match):
8087 Use cl-remove-if.
8088
8089 * edmacro.el: Require cl-lib at runtime too.
8090 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8091 (edmacro-mismatch, edmacro-subseq): Remove.
8092
8093 * shadowfile.el: Require cl-lib.
8094 (shadow-remove-if): Remove.
8095 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8096 Use cl-remove-if.
8097
8098 * wid-edit.el: Require cl-lib.
8099 (widget-choose): Use cl-remove-if.
8100 (widget-remove-if): Remove.
8101
8102 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8103 (ebrowse-delete-if-not): Remove.
8104 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8105 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8106 Use cl-delete-if-not.
8107
8108 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8109
8110 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8111 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8112
8113 2013-07-12 Leo Liu <sdl.web@gmail.com>
8114
8115 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8116
8117 2013-07-11 Glenn Morris <rgm@gnu.org>
8118
8119 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8120 (edebug-gensym-index, edebug-gensym):
8121 Remove reimplementation of cl-gensym.
8122 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8123
8124 * thumbs.el: Require cl-lib at run-time too.
8125 (thumbs-gensym-counter, thumbs-gensym):
8126 Remove reimplementation of cl-gensym.
8127 (thumbs-temp-file): Use cl-gensym.
8128
8129 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8130 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8131 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8132 (ert--union, ert--gensym-counter, ert--gensym-counter)
8133 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8134 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8135 (ert-make-test-unbound, ert--expand-should-1)
8136 (ert--expand-should, ert--should-error-handle-error)
8137 (should-error, ert--explain-equal-rec)
8138 (ert--plist-difference-explanation, ert-select-tests)
8139 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8140 Use cl-lib functions rather than reimplementations.
8141
8142 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8143
8144 * net/tramp.el (tramp-methods): Extend docstring.
8145 (tramp-connection-timeout): New defcustom.
8146 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8147 (with-tramp-progress-reporter): Simplify.
8148 (tramp-process-actions): Improve messages.
8149
8150 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8151 * net/tramp-sh.el (tramp-maybe-open-connection):
8152 Use `tramp-connection-timeout'.
8153 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8154 (Bug#14808)
8155
8156 2013-07-11 Leo Liu <sdl.web@gmail.com>
8157
8158 * ido.el (ido-read-file-name): Conform to the requirements of
8159 read-file-name. (Bug#11861)
8160 (ido-read-directory-name): Conform to the requirements of
8161 read-directory-name.
8162
8163 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8164
8165 * subr.el (delay-warning): New function.
8166
8167 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8168
8169 * simple.el (default-line-height): New function.
8170 (line-move-partial, line-move): Use it instead of computing the
8171 line height inline.
8172 (line-move-partial): Always compute ROWH. If the last line is
8173 partially-visible, but its text is completely visible, allow
8174 cursor to enter such a partially-visible line.
8175
8176 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8177
8178 Improve error messages. (Bug#14808)
8179
8180 * net/tramp.el (tramp-current-connection): New defvar, moved from
8181 tramp-sh.el.
8182 (tramp-message-show-progress-reporter-message): Remove, not
8183 needed anymore.
8184 (tramp-error-with-buffer): Show message in minibuffer.
8185 Discard input before waiting. Reset connection timestamp.
8186 (with-tramp-progress-reporter): Improve messages.
8187 (tramp-process-actions): Use progress reporter. Delete process in
8188 case of error. Improve messages.
8189
8190 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8191 Call `tramp-error-with-buffer' with vector and buffer.
8192 (tramp-current-connection): Remove.
8193 (tramp-maybe-open-connection): The car of
8194 `tramp-current-connection' are the first 3 slots of the vector.
8195
8196 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8197
8198 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8199 inside continued strings.
8200
8201 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8202
8203 Timestamp fixes for undo (Bug#14824).
8204 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8205
8206 2013-07-10 Leo Liu <sdl.web@gmail.com>
8207
8208 * files.el (require-final-newline): Allow safe local value.
8209 (Bug#14834)
8210
8211 2013-07-09 Leo Liu <sdl.web@gmail.com>
8212
8213 * ido.el (ido-read-directory-name): Handle fallback.
8214 (ido-read-file-name): Update DIR to ido-current-directory.
8215 (Bug#1516)
8216 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8217
8218 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8219
8220 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8221 "autoload". Remove "warn lower camel case" section, previously
8222 commented out. Highlight negation char. Do not highlight the
8223 target in singleton method definitions.
8224
8225 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * faces.el (tty-setup-hook): Declare the hook.
8228
8229 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8230 and detect when a guard/pred depends on local vars (bug#14773).
8231 (pcase--u1): Adjust caller.
8232
8233 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8234
8235 * simple.el (line-move-partial, line-move): Account for
8236 line-spacing.
8237 (line-move-partial): Avoid setting vscroll when the last
8238 partially-visible line in window is of default height.
8239
8240 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8241
8242 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8243 been used a while.
8244
8245 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * subr.el (read-quoted-char): Remove unused local variable `char'.
8248
8249 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8250
8251 * ediff.el (ediff-version): Version update.
8252 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8253 (ediff-merge-with-ancestor-command, ediff-directories-command)
8254 (ediff-directories3-command, ediff-merge-directories-command)
8255 (ediff-merge-directories-with-ancestor-command): New functions.
8256 All are command-line interfaces to ediff: to facilitate calling
8257 Emacs with the appropriate ediff functions invoked.
8258
8259 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8260 (viper-save-kill-buffer): Check if buffer is modified.
8261
8262 * viper.el (viper-version): Version update.
8263 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8264
8265 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8268 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8269 (viper-intercept-ESC-key): Simplify.
8270 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8271 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8272 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8273 (viper-setup-ESC-to-escape): New functions.
8274 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8275 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8276
8277 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8278
8279 * simple.el (default-font-height, window-screen-lines):
8280 New functions.
8281 (line-move, line-move-partial): Use them instead of
8282 frame-char-height and window-text-height. This makes scrolling
8283 text smoother when the buffer's default face uses a font that is
8284 different from the frame's default font.
8285
8286 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8287
8288 * files.el (write-file): Do not display confirm dialog for NS,
8289 it does its own dialog, which can't be canceled (Bug#14578).
8290
8291 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8292
8293 * simple.el (line-move-partial): Adjust the row returned by
8294 posn-at-point for the current window-vscroll. (Bug#14567)
8295
8296 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8297
8298 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8299 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8300 spaces.
8301
8302 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8303
8304 * window.el (window-state-put-stale-windows): New variable.
8305 (window--state-put-2): Save list of windows without matching buffer.
8306 (window-state-put): Remove "bufferless" windows if possible.
8307
8308 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8309
8310 * simple.el (alternatives-define): Remove leftover :group keyword.
8311 Tweak docstring.
8312
8313 2013-07-06 Leo Liu <sdl.web@gmail.com>
8314
8315 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8316 (ido-enable-virtual-buffers): New variable.
8317 (ido-buffer-internal, ido-toggle-virtual-buffers)
8318 (ido-make-buffer-list): Use it.
8319 (ido-exhibit): Support turning on and off virtual buffers
8320 automatically.
8321
8322 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8323
8324 * simple.el (alternatives-define): New macro.
8325
8326 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * subr.el (read-quoted-char): Use read-key.
8329 (sit-for): Let read-event decode tty input (bug#14782).
8330
8331 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8332
8333 * calendar/todo-mode.el: Add handling of file deletion, both by
8334 mode command and externally. Fix various related bugs.
8335 Clarify Commentary and improve some documentation strings and code.
8336 (todo-delete-file): New command.
8337 (todo-check-file): New function.
8338 (todo-show): Handle external deletion of the file we're trying to
8339 show (bug#14688). Replace called-interactively-p by an optional
8340 prefix argument to avoid problematic interaction with catch form
8341 when byte compiled (bug#14702).
8342 (todo-quit): Handle external deletion of the archive's todo file.
8343 Make sure the buffer that was visiting the archive file is still
8344 live before trying to bury it.
8345 (todo-category-completions): Handle external deletion of any
8346 category completion files.
8347 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8348 of todo files, in case of external deletion.
8349 (todo-add-file): Replace unnecessary setq by let-binding.
8350 (todo-find-archive): Check whether there are any archives.
8351 Replace unnecessary setq by let-binding.
8352 (todo-archive-done-item): Use find-file-noselect to get the
8353 archive buffer whether or not the archive already exists.
8354 Remove superfluous code. Use file size instead of buffer-file-name to
8355 check if the archive is new; if it is, update list of archives.
8356 (todo-default-todo-file): Allow nil to be a valid value for when
8357 there are no todo files.
8358 (todo-reevaluate-default-file-defcustom): Use corrected definition
8359 of todo-default-todo-file.
8360 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8361 (todo-delete-category, todo-show-categories-table)
8362 (todo-category-number): Clarify comment.
8363 (todo-filter-items): Clarify documentation string.
8364 (todo-show-current-file, todo-display-as-todo-file)
8365 (todo-reset-and-enable-done-separator): Tweak documentation string.
8366 (todo-done-separator): Make separator length window-width, since
8367 bug#2749 is now fixed.
8368
8369 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8370
8371 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8372 Support both "gvfs-monitor-dir" and "inotifywait".
8373 (tramp-sh-file-inotifywait-process-filter): Rename from
8374 `tramp-sh-file-notify-process-filter'.
8375 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8376 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8377
8378 2013-07-05 Leo Liu <sdl.web@gmail.com>
8379
8380 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8381
8382 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8383
8384 * frame.el (display-pixel-height, display-pixel-width)
8385 (display-mm-height, display-mm-width): Mention behavior on
8386 multi-monitor setups in docstrings.
8387 (w32-display-monitor-attributes-list): Declare function.
8388 (display-monitor-attributes-list): Use it.
8389
8390 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8391
8392 * filenotify.el: New package.
8393
8394 * autorevert.el (top): Require filenotify.el.
8395 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8396 instead.
8397 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8398 (auto-revert-notify-handler): Use `file-notify-*' functions.
8399
8400 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8401
8402 * net/tramp.el (tramp-file-name-for-operation):
8403 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8404
8405 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8406 for `file-notify-add-watch' and `file-notify-rm-watch'.
8407 (tramp-process-sentinel): Improve trace.
8408 (tramp-sh-handle-file-notify-add-watch)
8409 (tramp-sh-file-notify-process-filter)
8410 (tramp-sh-handle-file-notify-rm-watch)
8411 (tramp-get-remote-inotifywait): New defuns.
8412
8413 2013-07-03 Juri Linkov <juri@jurta.org>
8414
8415 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8416 call of `occur-read-primary-args' to interactive spec.
8417
8418 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8419 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8420
8421 2013-07-03 Matthias Meulien <orontee@gmail.com>
8422
8423 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8424 `Buffer-menu-multi-occur'. Add it to the menu.
8425 (Buffer-menu-mode): Document it in docstring.
8426 (Buffer-menu-multi-occur): New command. (Bug#14673)
8427
8428 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8429
8430 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8431 keywords and built-ins.
8432
8433 2013-07-03 Glenn Morris <rgm@gnu.org>
8434
8435 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8436
8437 Make info-xref checks case-sensitive by default
8438 * info.el (Info-find-node, Info-find-in-tag-table)
8439 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8440 Add option for exact case matching of nodes.
8441 * info-xref.el (info-xref): New custom group.
8442 (info-xref-case-fold): New option.
8443 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8444
8445 2013-07-03 Leo Liu <sdl.web@gmail.com>
8446
8447 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8448
8449 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8450
8451 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8452 middle of block statement initially, lower the depth. Remove
8453 FIXME comment, not longer valid. Remove middle of block statement
8454 detection, no need to do that anymore since we've been using
8455 `ruby-parse-region' here.
8456
8457 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8458
8459 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8460
8461 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8462
8463 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8464
8465 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8466
8467 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8468 (desktop-restore-in-current-display): New customization option.
8469 (desktop--excluded-frame-parameters): Add `font'.
8470 (desktop--save-frames): Rename from desktop--save-windows.
8471 (desktop--restore-in-this-display-p): New function.
8472 (desktop--make-full-frame): Remove unwanted width/height from
8473 full(width|height) frames.
8474 (desktop--restore-frames): Rename from desktop--restore-windows.
8475 Obey desktop-restore-current-display. Do not delete old frames or
8476 select a new frame unless we were able to restore at least one frame.
8477
8478 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8479
8480 * files.el (find-file-noselect): Simplify conditional expression.
8481
8482 * textmodes/remember.el (remember-append-to-file):
8483 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8484
8485 Add `remember-notes' function to store random notes across Emacs
8486 restarts.
8487 * textmodes/remember.el (remember-data-file): Add :set callback to
8488 affect notes buffer (if any).
8489 (remember-notes): New command.
8490 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8491 New defcustoms for the `remember-notes' function.
8492 (remember-notes-save-and-bury-buffer): New command.
8493 (remember-notes-mode-map): New variable.
8494 (remember-mode): New minor mode.
8495 (remember-notes--kill-buffer-query): New function.
8496 * startup.el (initial-buffer-choice): Add notes to custom type.
8497
8498 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8499
8500 * bindings.el (right-char, left-char): Don't call sit-for, this is
8501 no longer needed. Use arithmetic comparison only for numerical
8502 arguments.
8503
8504 * international/mule-cmds.el (select-safe-coding-system):
8505 Handle the case of FROM being a string correctly. (Bug#14755)
8506
8507 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8508
8509 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8510 progression on degenerate tables.
8511 (shr-rescale-image): ImageMagick animated images currently don't work.
8512
8513 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8514
8515 Some fixes and improvements for desktop frame restoration.
8516 It is still experimental and disabled by default.
8517 * desktop.el (desktop--save-windows): Put the selected frame at
8518 the head of the list.
8519 (desktop--make-full-frame): New function.
8520 (desktop--restore-windows): Try to re-select the frame that was
8521 selected upon saving. Do not abort if some frames fail to restore,
8522 just show an error message and continue. Set up maximized frames
8523 so they have default non-maximized dimensions.
8524
8525 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8526
8527 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8528 Don't start heredoc inside a string or comment.
8529
8530 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8531
8532 * bindings.el (visual-order-cursor-movement): New defcustom.
8533 (right-char, left-char): Provide visual-order cursor motion by
8534 calling move-point-visually. Update the doc strings.
8535
8536 2013-06-28 Kenichi Handa <handa@gnu.org>
8537
8538 * international/mule.el (define-coding-system): New coding system
8539 properties :inhibit-null-byte-detection,
8540 :inhibit-iso-escape-detection, and :prefer-utf-8.
8541 (set-buffer-file-coding-system): If :charset-list property of
8542 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8543 appropriate for setting.
8544
8545 * international/mule-cmds.el (select-safe-coding-system):
8546 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8547 multibyte characters, return utf-8 (or one of its siblings).
8548
8549 * international/mule-conf.el (prefer-utf-8): New coding system.
8550 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8551 files.
8552
8553 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8554
8555 * net/shr.el (shr-render-region): New function.
8556
8557 * net/eww.el: Autoload `eww-browse-url'.
8558
8559 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8560
8561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8562 Adapt to `package-desc-version' being a list.
8563 Use `package--ac-desc-version' to retrieve version from a package
8564 archive element.
8565
8566 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8567
8568 New experimental feature to save&restore window and frame setup.
8569 * desktop.el (desktop-save-windows): New defcustom.
8570 (desktop--saved-states): New var.
8571 (desktop--excluded-frame-parameters): New defconst.
8572 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8573 (desktop--restore-windows, desktop--save-windows): New functions.
8574 (desktop-save): Call `desktop--save-windows'.
8575 (desktop-read): Call `desktop--restore-windows'.
8576
8577 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8578
8579 * net/shr.el (add-face-text-property): Remove compat definition.
8580
8581 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8582
8583 * info.el (Info-try-follow-nearest-node): Move search for footnote
8584 above search for node name to prevent missing a footnote (bug#14717).
8585
8586 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8587
8588 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8589
8590 2013-06-27 Leo Liu <sdl.web@gmail.com>
8591
8592 * net/eww.el (eww-read-bookmarks): Check file size.
8593
8594 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8597 advice--pending if newdef is nil or an autoload (bug#13820).
8598 (advice-mapc): New function.
8599
8600 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601
8602 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8603 probably.
8604 (eww-mode-map): Add a menu bar.
8605 (eww-add-bookmark): New command.
8606 (eww-bookmark-mode): New mode and commands.
8607 (eww-add-bookmark): Remove newlines from the title.
8608 (eww-bookmark-browse): Don't bug out if it's the only window.
8609
8610 2013-06-26 Glenn Morris <rgm@gnu.org>
8611
8612 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8613 (hfy-size): Handle ttys. (Bug#14668)
8614
8615 * info-xref.el: Update for Texinfo 5 change in *note format.
8616 (info-xref-node-re, info-xref-note-re): New constants.
8617 (info-xref-check-buffer): Use info-xref-note-re.
8618
8619 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8622
8623 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8624 nil terminate the loop (bug#14718).
8625
8626 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8627
8628 * net/eww.el: Rework history traversal. When going forward/back,
8629 put these actions into the history, too, so that they can be
8630 replayed.
8631 (eww-render): Move the history reset to the correct buffer.
8632
8633 2013-06-25 Juri Linkov <juri@jurta.org>
8634
8635 * files-x.el (modify-dir-local-variable): Change the header comment
8636 in the file with directory local variables. (Bug#14692)
8637
8638 * files-x.el (read-file-local-variable-value): Add `default'.
8639 (Bug#14710)
8640
8641 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8642
8643 * net/eww.el (eww-make-unique-file-name): Create a unique file
8644 name before saving to entering `y' accidentally asynchronously.
8645
8646 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8647
8648 * net/eww.el (eww-download): New command and keystroke.
8649
8650 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8651
8652 * net/eww.el (eww-copy-page-url): Change name of command.
8653
8654 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8655 be more consistent with Info and dired.
8656
8657 * net/eww.el (eww-mode-map): Ditto.
8658
8659 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8662 packages from archives.
8663 (package-archive-contents): Change format; include obsolete packages.
8664 (package-desc): Use `dir' to mark builtin packages.
8665 (package--from-builtin): Set the `dir' field to `builtin'.
8666 (generated-autoload-file, version-control): Declare.
8667 (package-compute-transaction): Change first arg and return value to be
8668 lists of package-descs. Adjust to new package-archive-contents format.
8669 (package--add-to-archive-contents): Adjust to new
8670 package-archive-contents format.
8671 (package-download-transaction): Arg is now a list of package-descs.
8672 (package-install): If `pkg' is a package name, pass it as
8673 a requirement, so it is subject to the usual (e.g. disabled) checks.
8674 (describe-package): Accept package-desc as well.
8675 (describe-package-1): Describe a specific package-desc. Add links to
8676 other package-descs for the same package name.
8677 (package-menu-describe-package): Pass the actual package-desc.
8678 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8679 works correctly.
8680 (package-desc-status): New function.
8681 (package-menu--refresh): New function, extracted
8682 from package-menu--generate.
8683 (package-menu--generate): Use it.
8684 (package-delete): Update package-alist.
8685 (package-menu-execute): Don't call package-initialize.
8686
8687 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8688 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8689 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8690 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8691 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8692 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8693
8694 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8695
8696 * window.el (window--state-get-1): Workaround for bug#14527.
8697 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8698
8699 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8700
8701 * net/eww.el (eww-back-url): Implement the history by stashing all
8702 the data into a list.
8703 (eww-forward-url): Allow going forward in the history, too.
8704
8705 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8708 for values and use read--expression for expressions (bug#14710).
8709 (read-file-local-variable): Avoid setq.
8710 (read-file-local-variable-mode): Use minor-mode-list.
8711
8712 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8713
8714 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8715 for DOI URLs.
8716
8717 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8718
8719 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8720 Update imenu-support when dialect changes.
8721
8722 2013-06-25 Leo Liu <sdl.web@gmail.com>
8723
8724 * ido.el (ido-read-internal): Allow forward slash on windows.
8725
8726 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8727
8728 * net/eww.el (eww): Start of strings is \\`, not ^.
8729
8730 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8731
8732 * net/shr.el (shr-browse-url): Fix interactive spec.
8733
8734 * net/eww.el (eww): Add a trailing slash to domain names.
8735
8736 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8737
8738 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8739
8740 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8741
8742 * net/shr.el (shr-browse-url): Use an external browser if given a
8743 prefix.
8744
8745 * net/eww.el (eww-external-browser): Move to shr.
8746
8747 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8748
8749 * net/eww.el (eww): Work more correctly for file: URLs.
8750 (eww-detect-charset): Allow quoted charsets.
8751 (eww-yank-page-url): New command and keystroke.
8752
8753 2013-06-24 Daiki Ueno <ueno@gnu.org>
8754
8755 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8756 file name of gpg executable.
8757 (epg-context-program): New function.
8758 (epg-context-home-directory): New function.
8759 (epg-context-set-program): New function.
8760 (epg-context-set-home-directory): New function.
8761 (epg--start): Use `epg-context-program' instead of
8762 'epg-gpg-program'.
8763 (epg--list-keys-1): Likewise.
8764
8765 2013-06-24 Leo Liu <sdl.web@gmail.com>
8766
8767 * ido.el (ido-read-internal): Fix bug#14620.
8768
8769 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8770
8771 * faces.el (face-documentation): Simplify.
8772 (read-face-attribute, tty-find-type, x-resolve-font-name):
8773 Use `string-match-p'.
8774 (list-faces-display): Use `string-match-p'. Simplify.
8775 (face-spec-recalc): Check face to avoid face alias loops.
8776 (read-color): Use `string-match-p' and non-capturing parenthesis.
8777
8778 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8779
8780 * net/shr.el (shr-rescale-image): Use the new
8781 :max-width/:max-height functionality.
8782
8783 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8784
8785 * net/eww.el (eww-search-prefix): New variable.
8786 (eww): Use it.
8787 (eww-external-browser): New variable.
8788 (eww-mode-map): New keystroke.
8789 (eww-browse-with-external-browser): New command.
8790
8791 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8792
8793 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8796 Don't skip aligning the next header field when padding is 0;
8797 otherwise, field width is not respected unless the title is as
8798 wide as the field.
8799
8800 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * emacs-lisp/package.el (package-el-version): Remove.
8803 (package-process-define-package): Fix inf-loop.
8804 (package-install): Allow symbols as arguments again.
8805
8806 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8807
8808 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8809 add some more keyword-like methods.
8810 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8811
8812 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8813
8814 * bs.el (bs-buffer-show-mark): Make defvar-local.
8815 (bs-mode): Use setq-local.
8816
8817 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8818 (emacs-lock--try-unlocking): Make defvar-local.
8819
8820 2013-06-22 Glenn Morris <rgm@gnu.org>
8821
8822 * play/cookie1.el (cookie-apropos): Minor simplification.
8823
8824 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8825
8826 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8827
8828 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8829 `regexp-opt', it breaks the build during dumping.
8830
8831 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8832
8833 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8834 Highlight keyword-like methods on Kernel and Module with
8835 font-lock-builtin-face.
8836 (auto-mode-alist): Consolidate different entries into one regexp
8837 and add more *file-s.
8838
8839 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8840
8841 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8842
8843 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8844 (diary-entry): Use it in the action of this button type instead of
8845 diary-goto-entry.
8846
8847 * calendar/todo-mode.el: New version.
8848 (todo-add-category): Append new category to end of file and give
8849 it the highest number, instead of putting it at the beginning and
8850 giving it 0. Incorporate noninteractive functionality.
8851 (todo-forward-category): Adapt to 1-based category numbering.
8852 Allow skipping over archived categories.
8853 (todo-backward-category): Derive from todo-forward-category.
8854 (todo-backward-item, todo-forward-item): Make noninteractive and
8855 delegate interactive part to new commands. Make sensitive to done items.
8856 (todo-categories): Make value an alist of category names and
8857 vectors of item counts.
8858 (todo-category-beg): Make a defconst.
8859 (todo-category-number): Use 1 instead of 0 as initial value.
8860 (todo-category-select): Make sensitive to overlays, optional item
8861 highlighting and done items.
8862 (todo-delete-item): Make sensitive to overlays and marked and done items.
8863 (todo-edit-item): Make sensitive to overlays and editing of
8864 date/time header optional. Add format checks.
8865 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8866 no-op if point is not on an item. Advertise using todo-edit-quit.
8867 (todo-edit-mode): Make sensitive to new format, font-locking, and
8868 multiple todo files.
8869 (todo-insert-item, todo-insert-item-here): Derive from
8870 todo-basic-insert-item and extend functionality.
8871 (todo-item-end, todo-item-start): Make sensitive to done items.
8872 (todo-item-string): Don't return text properties. Restore point.
8873 (todo-jump-to-category): Make sensitive to multiple todo files and
8874 todo archives. Use extended category completion.
8875 (todo-lower-item, todo-raise-item): Rename to *-priority and
8876 derive from todo-set-item-priority.
8877 (todo-mode): Derive from special-mode. Make sensitive to new
8878 format, font-locking and multiple todo files. Make read-only.
8879 (todo-mode-map): Don't suppress digit keys, so they can supply
8880 prefix arguments. Add many new key bindings.
8881 (todo-prefix): Insert as an overlay instead of file text.
8882 Change semantics from diary date expression to purely visual mark.
8883 (todo-print): Rename to todo-print-buffer. Make buffer display
8884 features printable. Remove option to restrict number of items
8885 printed. Add option to print to file.
8886 (todo-print-function): Rename to todo-print-buffer-function.
8887 (todo-quit): Extend to handle exiting new todo modes.
8888 (todo-remove-item): Make sensitive to overlays.
8889 (todo-save): Extend to buffers of filtered items.
8890 (todo-show): Make sensitive to done items, multiple todo files and
8891 new todo modes. Offer to convert legacy todo file before creating
8892 first new todo file.
8893 (todo-show-priorities): Rename to todo-top-priorities.
8894 Change semantics of value 0.
8895 (todo-top-priorities): Rename to todo-filter-top-priorities,
8896 derive from todo-filter-items and extend functionality.
8897 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8898 and extend functionality to other types of filtered items.
8899 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8900 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8901 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8902 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8903 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8904 (todo-edit-mode-hook, todo-entry-prefix-function)
8905 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8906 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8907 (todo-initials, todo-insert-threshold, todo-item-string-start)
8908 (todo-line-string, todo-menu, todo-mode-hook)
8909 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8910 (todo-print-priorities, todo-remove-separator)
8911 (todo-save-top-priorities-too, todo-string-count-lines)
8912 (todo-string-multiline-p, todo-time-string-format)
8913 (todo-tmp-buffer-name): Remove.
8914 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8915 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8916 (todo-edit-category-diary-inclusion)
8917 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8918 (todo-edit-file, todo-edit-item-date-day)
8919 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8920 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8921 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8922 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8923 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8924 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8925 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8926 (todo-filter-top-priorities-multifile, todo-find-archive)
8927 (todo-find-filtered-items-file, todo-go-to-source-item)
8928 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8929 (todo-jump-to-archive-category, todo-lower-category)
8930 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8931 (todo-move-category, todo-move-item, todo-next-button)
8932 (todo-next-item, todo-padded-string, todo-powerset)
8933 (todo-previous-button, todo-previous-item)
8934 (todo-print-buffer-to-file, todo-raise-category)
8935 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8936 (todo-set-category-number, todo-set-item-priority)
8937 (todo-set-top-priorities-in-category)
8938 (todo-set-top-priorities-in-file, todo-show-categories-table)
8939 (todo-sort-categories-alphabetically-or-numerically)
8940 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8941 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8942 (todo-toggle-item-header, todo-toggle-item-highlighting)
8943 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8944 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8945 (todo-unarchive-items, todo-unmark-category): New commands.
8946 (todo-absolute-file-name, todo-add-to-buffer-list)
8947 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8948 (todo-basic-insert-item, todo-category-completions)
8949 (todo-category-number, todo-category-string-matcher-1)
8950 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8951 (todo-check-format, todo-clear-matches)
8952 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8953 (todo-current-category, todo-date-string-matcher)
8954 (todo-define-insertion-command, todo-diary-expired-matcher)
8955 (todo-diary-goto-entry, todo-diary-item-p)
8956 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8957 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8958 (todo-done-item-section-p, todo-done-separator)
8959 (todo-done-string-matcher, todo-files, todo-filter-items)
8960 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8961 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8962 (todo-insert-category-line, todo-insert-item-from-calendar)
8963 (todo-insert-sort-button, todo-insert-with-overlays)
8964 (todo-insertion-command-name, todo-insertion-key-bindings)
8965 (todo-label-to-key, todo-longest-category-name-length)
8966 (todo-make-categories-list, todo-mode-external-set)
8967 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8968 (todo-modes-set-3, todo-multiple-filter-files)
8969 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8970 (todo-read-category, todo-read-date, todo-read-dayname)
8971 (todo-read-file-name, todo-read-time)
8972 (todo-reevaluate-category-completions-files-defcustom)
8973 (todo-reevaluate-default-file-defcustom)
8974 (todo-reevaluate-filelist-defcustoms)
8975 (todo-reevaluate-filter-files-defcustom)
8976 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8977 (todo-reset-done-separator, todo-reset-done-separator-string)
8978 (todo-reset-done-string, todo-reset-global-current-todo-file)
8979 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8980 (todo-reset-prefix, todo-set-categories)
8981 (todo-set-date-from-calendar, todo-set-show-current-file)
8982 (todo-set-top-priorities, todo-short-file-name)
8983 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8984 (todo-total-item-counts, todo-update-buffer-list)
8985 (todo-update-categories-display, todo-update-categories-sexp)
8986 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8987 New functions.
8988 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8989 New major modes.
8990 (todo-categories, todo-display, todo-edit, todo-faces)
8991 (todo-filtered): New defgroups.
8992 (todo-archived-only, todo-button, todo-category-string, todo-date)
8993 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8994 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8995 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8996 (todo-add-item-if-new-category, todo-always-add-time-string)
8997 (todo-categories-align, todo-categories-archived-label)
8998 (todo-categories-category-label, todo-categories-diary-label)
8999 (todo-categories-done-label, todo-categories-number-separator)
9000 (todo-categories-todo-label, todo-categories-totals-label)
9001 (todo-category-completions-files, todo-completion-ignore-case)
9002 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9003 (todo-done-separator-string, todo-done-string)
9004 (todo-files-function, todo-filter-done-items, todo-filter-files)
9005 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9006 (todo-initial-category, todo-initial-file, todo-item-mark)
9007 (todo-legacy-date-time-regexp, todo-mode-line-function)
9008 (todo-nondiary-marker, todo-number-prefix)
9009 (todo-print-buffer-function, todo-show-current-file)
9010 (todo-show-done-only, todo-show-first, todo-show-with-done)
9011 (todo-skip-archived-categories, todo-top-priorities-overrides)
9012 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9013 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9014 New defcustoms.
9015 (todo-category-done, todo-date-pattern, todo-date-string-start)
9016 (todo-diary-items-buffer, todo-done-string-start)
9017 (todo-filtered-items-buffer, todo-item-start)
9018 (todo-month-abbrev-array, todo-month-name-array)
9019 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9020 (todo-top-priorities-buffer): New defconsts.
9021 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9022 (todo-categories-with-marks, todo-category-string-face)
9023 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9024 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9025 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9026 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9027 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9028 (todo-font-lock-keywords, todo-global-current-todo-file)
9029 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9030 (todo-insertion-commands-args)
9031 (todo-insertion-commands-args-genlist)
9032 (todo-insertion-commands-names, todo-insertion-map)
9033 (todo-key-bindings-t, todo-key-bindings-t+a)
9034 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9035 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9036 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9037 (todo-visited): New variables.
9038
9039 2013-06-21 Glenn Morris <rgm@gnu.org>
9040
9041 * play/cookie1.el (cookie-apropos): Add optional display argument.
9042 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9043 (psychoanalyze-pinhead): Use cookie-doctor.
9044
9045 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9046
9047 * emacs-lisp/package.el (tar-get-file-descriptor)
9048 (tar--extract): Declare.
9049
9050 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9051
9052 Extend flymake's warning predicate to be a function (bug#14217).
9053 * progmodes/flymake.el (flymake-warning-predicate): New.
9054 (flymake-parse-line): Use it.
9055 (flymake-warning-re): Make obsolete alias to
9056 `flymake-warning-predicate'.
9057
9058 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9061 (package-obsolete-list): Remove.
9062 (package-activate): Remove min-version argument. Add `force' argument.
9063 Adjust to new package-alist format.
9064 (package-mark-obsolete): Remove.
9065 (package-unpack): Force reload of the package's autoloads.
9066 (package-installed-p): Check builtins if the installed package is not
9067 recent enough.
9068 (package-initialize): Don't reset package-obsolete-list.
9069 Don't specify which package version to activate.
9070 (package-process-define-package, describe-package-1)
9071 (package-menu--generate): Adjust to new package-alist format.
9072
9073 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9074
9075 * allout-widgets.el (allout-widgets-mode-off)
9076 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9077 (allout-widgets-post-command-business)
9078 (allout-widgets-after-copy-or-kill-function)
9079 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9080 (allout-decorate-item-and-context)
9081 (allout-graphics-modification-handler): Fix typos in docstrings.
9082 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9083
9084 * cmuscheme.el (scheme-start-file): Doc fix.
9085 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9086 (scheme-input-filter): Use `string-match-p'.
9087
9088 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9089
9090 * dired-x.el: Use Dired consistently in docstrings.
9091
9092 * dired.el: Use Dired consistently in docstrings.
9093 (dired-readin, dired-mode): Use `setq-local'.
9094 (dired-switches-alist): Make defvar-local.
9095 (dired-buffers-for-dir): Use `zerop'.
9096 (dired-safe-switches-p, dired-switches-escape-p)
9097 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9098 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9099 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9100 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9101 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9102 (dired-toggle-marks, dired-mark-files-containing-regexp)
9103 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9104 (dired-flag-auto-save-files, dired-flag-backup-files):
9105 Use `looking-at-p'.
9106 (dired-mark-files-regexp, dired-build-subdir-alist):
9107 Use `string-match-p', `looking-at-p'.
9108
9109 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9110 (direct-print-region-helper): Use `string-match-p'.
9111
9112 2013-06-21 Leo Liu <sdl.web@gmail.com>
9113
9114 * comint.el (comint-redirect-results-list-from-process):
9115 Fix infinite loop.
9116
9117 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9118
9119 * net/eww.el (eww-update-header-line-format): Quote % characters.
9120
9121 2013-06-21 Glenn Morris <rgm@gnu.org>
9122
9123 * play/cookie1.el (cookie): New custom group.
9124 (cookie-file): New option.
9125 (cookie-check-file): New function.
9126 (cookie): Make it interactive. Make start and end messages optional.
9127 Interactively, display the result. Default to cookie-file.
9128 (cookie-insert): Default to cookie-file.
9129 (cookie-snarf): Make start and end messages optional.
9130 Default to cookie-file. Use with-temp-buffer.
9131 (cookie-read): Rename from read-cookie.
9132 Make start and end messages optional. Default to cookie-file.
9133 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9134 Do not autoload it.
9135 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9136 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9137
9138 2013-06-21 Leo Liu <sdl.web@gmail.com>
9139
9140 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9141
9142 2013-06-21 Glenn Morris <rgm@gnu.org>
9143
9144 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9145
9146 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9147 Daniel Hackney <dan@haxney.org>
9148
9149 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9150 Consolidate the single-file vs tarball code.
9151 (package-desc-suffix): New function.
9152 (package-desc-full-name): Don't bother inlining it.
9153 (package-load-descriptor): Return the new package-desc.
9154 (package-mark-obsolete): Remove unused arg `package'.
9155 (package-unpack): Make it work for single files as well.
9156 Make it update package-alist.
9157 (package--make-autoloads-and-stuff): Rename from
9158 package--make-autoloads-and-compile. Don't compile any more.
9159 (package--compile): New function.
9160 (package-generate-description-file): New function, extracted from
9161 package-unpack-single.
9162 (package-unpack-single): Remove.
9163 (package--with-work-buffer): Add indentation and debugging info.
9164 (package-download-single): Remove.
9165 (package-install-from-archive): Rename from package-download-tar, make
9166 it take a pkg-desc, and make it work for single files as well.
9167 (package-download-transaction): Simplify.
9168 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9169 external tar program.
9170 (package-install-from-buffer): Remove `pkg-desc' argument.
9171 Use package-tar-file-info for tar-mode buffers.
9172 (package-install-file): Simplify accordingly.
9173 (package-archive-base): Change to take a pkg-desc.
9174 * tar-mode.el (tar--check-descriptor): New function, extracted from
9175 tar-get-descriptor.
9176 (tar-get-descriptor): Use it.
9177 (tar-get-file-descriptor): New function.
9178 (tar--extract): New function, extracted from tar-extract.
9179 (tar--extract): Use it.
9180 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9181 case the summary uses non-ascii. Adjust to new calling convention of
9182 package-tar-file-info.
9183
9184 2013-06-21 Leo Liu <sdl.web@gmail.com>
9185
9186 * comint.el (comint-redirect-results-list-from-process):
9187 Fix random delay. (Bug#14681)
9188
9189 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9190
9191 * profiler.el (profiler-format-number): Use log, not log10.
9192
9193 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9194
9195 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9196
9197 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9200 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9201 yet available.
9202 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9203 (AUTOGENEL): ... here.
9204 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9205 (cl--defsubst-expand): Use it.
9206
9207 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9208
9209 * subr.el (log10): Move here from C code, and declare as obsolete.
9210 All uses of (log10 X) replaced with (log X 10).
9211
9212 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9213
9214 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9215 Declare with `defvar-local'.
9216 (tabulated-list-use-header-line, tabulated-list-entries)
9217 (tabulated-list-padding, tabulated-list-printer)
9218 (tabulated-list-sort-key): Declare with `defvar-local'.
9219 (tabulated-list-init-header, tabulated-list-print-fake-header):
9220 Use `setq-local'.
9221
9222 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9223
9224 * arc-mode.el (archive-mode): Add `archive-write-file' to
9225 `write-contents-functions' also for remote files. (Bug#14652)
9226
9227 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9228
9229 * cus-edit.el (custom-commands): Fix typos.
9230 (custom-display): Fix tooltip text.
9231 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9232 Fix typos in docstrings.
9233 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9234 (custom-unlispify-menu-entry, custom-magic-value-create)
9235 (custom-add-see-also, custom-group-value-create): Use ?\s.
9236 (custom-guess-type, customize-apropos, editable-field)
9237 (custom-face-value-create): Use `string-match-p'.
9238 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9239
9240 * custom.el (custom-load-symbol): Use `string-match-p'.
9241
9242 * ansi-color.el: Convert to lexical binding.
9243 (ansi-colors): Fix URL.
9244 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9245 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9246 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9247
9248 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9249
9250 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9251
9252 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9253
9254 2013-06-19 Tom Tromey <tromey@redhat.com>
9255
9256 * net/eww.el (eww-top-url): Remove.
9257 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9258 (eww-render): Set new variables. Don't set eww-top-url.
9259 (eww-handle-link): Handle "prev", "home", and "contents".
9260 Downcase the rel text.
9261 (eww-top-url): Choose best top URL.
9262
9263 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9264
9265 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9266 relying in widget.el. Using widget.el leads to too many
9267 user interface inconsistencies.
9268 (eww-self-insert): Implement entering commands in text fields.
9269 (eww-process-text-input): New function to make text input field editing
9270 work.
9271 (eww-submit): Rewrite to use the new-style form methods.
9272 (eww-select-display): Display the correct selected item.
9273 (eww-change-select): Implement changing the select value.
9274 (eww-toggle-checkbox): Implement radio/checkboxes.
9275 (eww-update-field): Fix compilation error.
9276 (eww-tag-textarea): Implement <textarea>.
9277
9278 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9279 we don't shadow mode-specific bindings.
9280
9281 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9282 nothing to push.
9283
9284 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9285
9286 2013-06-19 Glenn Morris <rgm@gnu.org>
9287
9288 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9289
9290 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9291
9292 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9293 not needed.
9294
9295 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9296
9297 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9298
9299 * net/browse-url.el (browse-url-browser-function):
9300 `eww-browse-url' has the right calling signature, `eww' does not.
9301
9302 2013-06-19 Glenn Morris <rgm@gnu.org>
9303
9304 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9305 Only eval autoloaded macros.
9306 (byte-compile-autoload): Only give the macro warning for macros.
9307
9308 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9309 (ps-underlined-faces): Declare.
9310
9311 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9312 (speedbar-add-supported-extension): Declare.
9313
9314 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9315 Don't include a date stamp in the header of the generated file;
9316 it leads to needless differences between output files.
9317
9318 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9319
9320 * net/secrets.el (secrets-struct-secret-content-type):
9321 Replace check of introspection data by a test call of "CreateItem".
9322 Some servers do not offer introspection.
9323
9324 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9325
9326 * electric.el (electric-pair-mode): Improve interaction with
9327 electric-layout-mode.
9328 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9329 (electric-pair-syntax): Use text-mode-syntax-table in comments
9330 and strings.
9331 (electric-pair--insert): New function.
9332 (electric-pair-post-self-insert-function): Use it and
9333 electric--after-char-pos.
9334
9335 2013-06-19 Leo Liu <sdl.web@gmail.com>
9336
9337 * progmodes/octave.el (octave-help): Fix regexp.
9338
9339 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9340
9341 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9342 (shr-table-horizontal-line): Allow nil as a value, and change the
9343 default.
9344 (shr-insert-table-ruler): Respect the nil value.
9345
9346 2013-06-18 Tom Tromey <tromey@barimba>
9347
9348 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9349 New defvars.
9350 (eww-open-file): New defun.
9351 (eww-render): Initialize new variables.
9352 (eww-display-html): Handle "link" and "a".
9353 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9354 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9355 (eww-back-url): Rename from eww-previous-url.
9356 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9357 New defuns.
9358
9359 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9360
9361 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9362 Distinguish ternary operator tokens from slash symbol and slash
9363 char literal.
9364
9365 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9366
9367 Convert symbol prettification into minor mode and global minor mode.
9368
9369 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9370 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9371 (prettify-symbols--keywords): Rename from
9372 `prog-prettify-symbols-alist' and make a local defvar.
9373 (prettify-symbols--compose-symbol): Rename from
9374 `prog--prettify-font-lock-compose-symbol'.
9375 (prettify-symbols--make-keywords): Rename from
9376 `prog-prettify-font-lock-symbols-keywords' and simplify.
9377 (prog-prettify-install): Remove.
9378 (prettify-symbols-mode): New minor mode, based on
9379 `prog-prettify-install'.
9380 (turn-on-prettify-symbols-mode): New function.
9381 (global-prettify-symbols-mode): New globalized minor mode.
9382
9383 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9384 * progmodes/cfengine.el (cfengine3-mode):
9385 * progmodes/perl-mode.el (perl-mode): Don't call
9386 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9387
9388 2013-06-18 Juri Linkov <juri@jurta.org>
9389
9390 * files-x.el (modify-file-local-variable-message): New function.
9391 (modify-file-local-variable)
9392 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9393 and call `modify-file-local-variable-message' when it's non-nil.
9394 (add-file-local-variable, delete-file-local-variable)
9395 (add-file-local-variable-prop-line)
9396 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9397 and use it. (Bug#9820)
9398
9399 2013-06-18 Juri Linkov <juri@jurta.org>
9400
9401 * emulation/vi.el (vi-shell-op):
9402 * emulation/vip.el (vip-execute-com, ex-command):
9403 * emulation/viper-cmd.el (viper-exec-bang):
9404 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9405 the call of `shell-command-on-region'. (Bug#14637)
9406
9407 * simple.el (shell-command-on-region): Doc fix.
9408
9409 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9412 (bug#14633).
9413
9414 2013-06-18 Glenn Morris <rgm@gnu.org>
9415
9416 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9417
9418 * newcomment.el (comment-search-forward, comment-search-backward):
9419 Doc fix. (Bug#14376)
9420
9421 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9422
9423 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9424 (buffer-face-mode-invoke): Doc fix.
9425
9426 2013-06-18 Matthias Meulien <orontee@gmail.com>
9427
9428 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9429 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9430
9431 2013-06-18 Glenn Morris <rgm@gnu.org>
9432
9433 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9434 Replace obsolete function generic-make-keywords with its expansion.
9435
9436 * progmodes/python.el (ffap-alist): Declare.
9437
9438 * textmodes/reftex.el (bibtex-mode-map): Declare.
9439
9440 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9441
9442 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9443 (package-unpack, package-unpack-single): Return the pkg-dir.
9444 (package-download-transaction): Use it to update package-alist.
9445
9446 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9447
9448 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9449 possible choice.
9450
9451 2013-06-17 Juri Linkov <juri@jurta.org>
9452
9453 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9454
9455 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9456
9457 * emacs-lisp/package.el (package-load-descriptor):
9458 Remove `with-syntax-table' call, `read' doesn't need it.
9459 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9460
9461 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9462
9463 * startup.el (command-line): Expand package name returned by
9464 `package--description-file' (bug#14639).
9465
9466 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9467
9468 * emacs-lisp/package.el (package-load-descriptor): Do not call
9469 `emacs-lisp-mode', just use its syntax table.
9470
9471 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9472
9473 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9474 `font-lock-extra-managed-props' if any prettifying keyword is added.
9475 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9476 (prog-mode): Use `setq-local'.
9477
9478 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * international/characters.el (standard-case-table): Set syntax of ?»
9481 and ?« to punctuation.
9482
9483 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9484
9485 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9486 Save relevant match data before calling `syntax-ppss' (bug#14595).
9487
9488 2013-06-15 Juri Linkov <juri@jurta.org>
9489
9490 * files-x.el (modify-file-local-variable-prop-line): Add local
9491 variables to the end of the existing comment on the first line.
9492 Use `file-auto-mode-skip' to skip interpreter magic line,
9493 and also skip XML declaration.
9494
9495 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9496
9497 * startup.el (package--builtin-versions): New var.
9498 (package-subdirectory-regexp): Remove.
9499 (package--description-file): Hard code its value instead.
9500
9501 * emacs-lisp/package.el: Don't activate packages older than builtin.
9502 (package-obsolete-list): Rename from package-obsolete-alist, and make
9503 it into a simple list of package-desc.
9504 (package-strip-version): Remove.
9505 (package-built-in-p): Use package--builtin-versions.
9506 (package-mark-obsolete): Simplify.
9507 (package-process-define-package): Mark it obsolete if older than the
9508 builtin version.
9509 (package-handle-response): Use line-end-position.
9510 (package-read-archive-contents, package--download-one-archive):
9511 Simplify.
9512 (package--add-to-archive-contents): Skip if older than the builtin or
9513 installed version.
9514 (package-menu-describe-package): Fix last change.
9515 (package-list-unversioned): New var.
9516 (package-menu--generate): Use it.
9517
9518 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9519 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9520 (autoload-builtin-package-versions): New variable.
9521 (autoload-generate-file-autoloads): Use them.
9522 Remove the list of autoloaded functions/macros from the
9523 (autoload...) comments.
9524
9525 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9526
9527 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9528
9529 * simple.el (line-move-partial): Don't jump to the next screen
9530 line as soon as it becomes visible. Instead, continue enlarging
9531 the vscroll until the portion of a tall screen line that's left on
9532 display is about the height of the frame's default font.
9533 (Bug#14567)
9534
9535 2013-06-15 Glenn Morris <rgm@gnu.org>
9536
9537 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9538 compilation-error-regexp-alist void, or local while let-bound.
9539
9540 * progmodes/make-mode.el (makefile-mode-syntax-table):
9541 Treat "=" as punctuation. (Bug#14614)
9542
9543 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9544
9545 * help-fns.el (describe-variable):
9546 Add extra line for permanent-local variables.
9547
9548 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9549
9550 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9551 Add export, import, library. (Bug#9164)
9552 (library): Set indent function.
9553
9554 2013-06-14 Glenn Morris <rgm@gnu.org>
9555
9556 * term/xterm.el (xterm--query):
9557 Stop after first matching handler. (Bug#14615)
9558
9559 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9560
9561 Add support for dired in saveplace.
9562 * dired.el (dired-initial-position-hook): New variable.
9563 (dired-initial-position): Call hook to place cursor position.
9564 * saveplace.el (save-place-to-alist): Add dired position.
9565 (save-place-dired-hook): New function.
9566
9567 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9568
9569 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9570 through a symbol rather than letrec.
9571
9572 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9573 (package-desc): Add `dir' field.
9574 (package-desc-full-name): New function.
9575 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9576 (package-maybe-load-descriptor): Remove.
9577 (package-load-all-descriptors): Just call package-load-descriptor.
9578 (package--disabled-p): New function.
9579 (package-desc-vers, package-desc-doc): Remove aliases.
9580 (package--dir): Remove function.
9581 (package-activate): Check if a package is disabled.
9582 (package-process-define-package): New function, extracted from
9583 define-package.
9584 (define-package): Turn into a place holder.
9585 (package-unpack-single, package-tar-file-info):
9586 Use package--description-file.
9587 (package-compute-transaction): Use package--disabled-p.
9588 (package-download-transaction): Don't call
9589 package-maybe-load-descriptor since they're all loaded anyway.
9590 (package-install): Change argument to be a pkg-desc.
9591 (package-delete): Use a single pkg-desc argument.
9592 (describe-package-1): Use package-desc-dir instead of package--dir.
9593 Use package-desc property instead of package-symbol.
9594 (package-install-button-action): Adjust accordingly.
9595 (package--push): Rewrite.
9596 (package-menu--print-info): Adjust accordingly. Change the ID format
9597 to be a pkg-desc.
9598 (package-menu-describe-package, package-menu-get-status)
9599 (package-menu--find-upgrades, package-menu-mark-upgrades)
9600 (package-menu-execute, package-menu--name-predicate):
9601 Adjust accordingly.
9602 * startup.el (package--description-file): New function.
9603 (command-line): Use it.
9604 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9605 Use package-desc-version.
9606
9607 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9608 (byte-compile-preprocess): Use it.
9609 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9610 can't quite recognize.
9611 (byte-compile-add-to-list): Remove.
9612 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9613 (cconv-closure-convert): Add assertion.
9614
9615 * emacs-lisp/map-ynp.el: Use lexical-binding.
9616 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9617 Factor out some repeated code.
9618
9619 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9620
9621 * subr.el (with-eval-after-load): New macro.
9622 (eval-after-load): Allow form to be a function.
9623 take advantage of lexical-binding.
9624 (do-after-load-evaluation): Use dolist and adjust to new format.
9625 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9626
9627 2013-06-13 Juri Linkov <juri@jurta.org>
9628
9629 * replace.el (perform-replace): Display "symbol " and other search
9630 modes from `isearch-message-prefix' in the *Help* buffer.
9631
9632 * isearch.el (isearch-query-replace): Add " symbol" and other
9633 possible search modes from `isearch-message-prefix' to the prompt.
9634 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9635 when reading a regexp to collect.
9636
9637 2013-06-13 Juri Linkov <juri@jurta.org>
9638
9639 * isearch.el (word-search-regexp): Match whitespace if the search
9640 string begins or ends in whitespace. The LAX arg is applied to
9641 both ends of the search string. Use `regexp-quote' and explicit
9642 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9643 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9644 boundaries are replaced with symbol boundaries, and characters
9645 between symbols match non-word non-symbol syntax. (Bug#14602)
9646
9647 2013-06-13 Juri Linkov <juri@jurta.org>
9648
9649 * isearch.el (isearch-del-char): Don't exceed the length of
9650 `isearch-string' by the prefix arg. (Bug#14563)
9651
9652 2013-06-13 Juri Linkov <juri@jurta.org>
9653
9654 * isearch.el (isearch-yank-word, isearch-yank-line)
9655 (isearch-char-by-name, isearch-quote-char)
9656 (isearch-printing-char, isearch-process-search-char):
9657 Add optional count prefix arg. (Bug#14563)
9658
9659 * international/isearch-x.el
9660 (isearch-process-search-multibyte-characters):
9661 Add optional count prefix arg.
9662
9663 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9666 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9667 lexical-binding.
9668
9669 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9670
9671 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9672
9673 2013-06-13 Glenn Morris <rgm@gnu.org>
9674
9675 * startup.el (tty-handle-args):
9676 Don't just discard "--" and anything after. (Bug#14608)
9677
9678 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9679
9680 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9681
9682 Implement changes in Secret Service API. Make it backward compatible.
9683 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9684 (secrets-create-item): Use it. Prefix properties with interface.
9685
9686 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9687
9688 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9689 (term-emulate-terminal): Respect term-suppress-hard-newline.
9690
9691 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9692
9693 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9694 Only remove a `thumb-file' overlay. (Bug#14548)
9695
9696 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9697
9698 * mail/reporter.el (reporter-submit-bug-report):
9699 Handle missing package-name. (Bug#14600)
9700
9701 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9702
9703 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9704 (reftex-citation-prompt, reftex-default-bibliography)
9705 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9706 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9707 (reftex-bib-sort-author, reftex-bib-sort-year)
9708 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9709 (reftex-extract-bib-entries-from-thebibliography)
9710 (reftex-get-bibkey-default, reftex-get-bib-names)
9711 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9712 (reftex-format-bib-entry, reftex-parse-bibitem)
9713 (reftex-format-bibitem, reftex-do-citation)
9714 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9715 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9716 (reftex-insert-bib-matches, reftex-format-citation)
9717 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9718 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9719 existing comments into docstrings.
9720
9721 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9722
9723 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9724
9725 2013-06-12 Andreas Schwab <schwab@suse.de>
9726
9727 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9728 for auto-save files.
9729
9730 2013-06-12 Glenn Morris <rgm@gnu.org>
9731
9732 * ido.el (ido-delete-ignored-files): Remove.
9733 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9734 Go back to calling ido-ignore-item-p directly.
9735
9736 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9737
9738 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9739
9740 * ido.el (ido-delete-ignored-files): New function,
9741 split from ido-make-file-list-1.
9742 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9743 (ido-make-file-list-1): Use ido-delete-ignored-files.
9744
9745 2013-06-12 Leo Liu <sdl.web@gmail.com>
9746
9747 * progmodes/octave.el (inferior-octave-startup)
9748 (inferior-octave-completion-table)
9749 (inferior-octave-track-window-width-change)
9750 (octave-eldoc-function-signatures, octave-help)
9751 (octave-find-definition): Use single quoted strings.
9752 (inferior-octave-startup-args): Change default value.
9753 (inferior-octave-startup): Do not hard code "-i" and
9754 "--no-line-editing".
9755 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9756 (inferior-octave-directory-tracker): Use it.
9757 (octave-goto-function-definition): Robustify.
9758 (octave-help): Support highlighting operators in 'See also'.
9759 (octave-find-definition): Find subfunctions only in Octave mode.
9760
9761 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * help-fns.el (help-fns--compiler-macro): If the handler function is
9764 named, then put a link to it.
9765 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9766 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9767 (cl-typep): Use it.
9768 (cl-eval-when): Simplify debug spec.
9769 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9770 compiler-macro function instead of setting `compiler-macro-file'.
9771
9772 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9773
9774 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9775 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9776
9777 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9778 Daniel Hackney <dan@haxney.org>
9779
9780 First part of Daniel Hackney's patch to package.el.
9781 * emacs-lisp/package.el: Use defstruct.
9782 (package-desc): New, main struct.
9783 (package--bi-desc, package--ac-desc): New structs, used to describe the
9784 format in external files.
9785 (package-desc-vers): Replace with package-desc-version accessor.
9786 (package-desc-doc): Replace with package-desc-summary accessor.
9787 (package-activate-1): Remove `package' arg since the pkg-vec now
9788 includes the name.
9789 (define-package): Use package-desc-from-define.
9790 (package-unpack-single): Change file-name arg to be a symbol.
9791 (package--add-to-archive-contents): Use package-desc-create and new
9792 accessor functions to package--ac-desc.
9793 (package-buffer-info, package-tar-file-info): Return a package-desc.
9794 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9795 arg to be a package-desc.
9796 (package-install-file): Adjust accordingly. Use \' to match EOS.
9797 (package--from-builtin): New function.
9798 (describe-package-1, package-menu--generate): Use it.
9799 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9800 (package-generate-autoloads): Idem and return the name of the file.
9801 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9802 Change pkg-info arg to be a package-desc.
9803 Use package-make-ac-desc.
9804 (package-upload-file): Use \' to match EOS.
9805 * finder.el (finder-compile-keywords): Use package-make-builtin.
9806
9807 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * vc/vc.el (vc-deduce-fileset): Change error message.
9810 (vc-read-backend): New function.
9811 (vc-next-action): Use it.
9812
9813 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9814
9815 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9816 (prolog-font-lock-keywords): Use regexp-opt instead.
9817 Don't manually highlight strings.
9818 (prolog-mode-variables): Simplify comment-start-skip.
9819 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9820
9821 * emacs-lisp/generic.el (generic--normalise-comments)
9822 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9823 (generic-mode-set-comments): Use them.
9824 (generic-bracket-support): Use setq-local.
9825 (generic-make-keywords-list): Declare obsolete.
9826
9827 2013-06-11 Glenn Morris <rgm@gnu.org>
9828
9829 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9830 Prettify after setting font-lock-defaults. (Bug#14574)
9831
9832 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9833
9834 * replace.el (query-replace, occur-read-regexp-defaults-function)
9835 (replace-search):
9836 * subr.el (declare-function, number-sequence, local-set-key)
9837 (substitute-key-definition, locate-user-emacs-file)
9838 (with-silent-modifications, split-string, eval-after-load):
9839 Fix typos, remove unneeded backslashes and reflow some docstrings.
9840
9841 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9844 default for Elisp files.
9845
9846 2013-06-11 Glenn Morris <rgm@gnu.org>
9847
9848 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9849 although define-derived-mode was doing this anyway. (Bug#14583)
9850
9851 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9852
9853 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9854 Fix make-variable-buffer-local call to refer to the correct variable.
9855
9856 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9857
9858 * eshell/em-term.el (eshell-visual-commands)
9859 (eshell-visual-subcommands, eshell-visual-options):
9860 Add summary line to docstrings. Add cross-references.
9861
9862 2013-06-10 Glenn Morris <rgm@gnu.org>
9863
9864 * epa.el (epa-read-file-name): New function. (Bug#14510)
9865 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9866
9867 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9868
9869 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9870 output redirection to be ignored with visual commands.
9871
9872 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9873
9874 * eshell/em-term.el (eshell-visual-command-p): New function.
9875 (eshell-term-initialize): Move long lambda to separate function
9876 eshell-visual-command-p.
9877 * eshell/em-dirs.el (eshell-dirs-initialise):
9878 * eshell/em-script.el (eshell-script-initialize):
9879 Add missing #' to lambda.
9880
9881 2013-06-08 Leo Liu <sdl.web@gmail.com>
9882
9883 * progmodes/octave.el (octave-add-log-current-defun): New function.
9884 (octave-mode): Set add-log-current-defun-function.
9885 (octave-goto-function-definition): Do not move point if not found.
9886 (octave-find-definition): Enhance to try subfunctions first.
9887
9888 2013-06-08 Glenn Morris <rgm@gnu.org>
9889
9890 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9891 (byte-compile-backward-char, byte-compile-backward-word):
9892 Improve previous change, to handle non-explicit nil.
9893
9894 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9897 (smie--opener/closer-at-point): New function.
9898 (smie--matching-block-data): Use it. Don't match from right after an
9899 opener or right before a closer. Obey smie-blink-matching-inners.
9900 Don't signal a mismatch for repeated inners like "switch..case..case".
9901
9902 2013-06-07 Leo Liu <sdl.web@gmail.com>
9903
9904 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9905 to t. (Bug#14303)
9906 (octave-function-header-regexp): Fix. (Bug#14570)
9907 (octave-help-mode-finish-hook, octave-help-mode-finish):
9908 Remove. Just use temp-buffer-show-hook.
9909
9910 * newcomment.el (comment-search-backward): Revert last change.
9911 (Bug#14434)
9912
9913 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9914
9915 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9916
9917 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9918 through xargs, to avoid failure due to MS-Windows limitations on
9919 command-line length.
9920
9921 2013-06-06 Glenn Morris <rgm@gnu.org>
9922
9923 * font-lock.el (lisp-font-lock-keywords-2):
9924 Treat user-error like error.
9925
9926 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9927 (byte-compile-backward-char, byte-compile-backward-word):
9928 Handle explicit nil arguments. (Bug#14565)
9929
9930 2013-06-05 Alan Mackenzie <acm@muc.de>
9931
9932 * isearch.el (isearch-allow-prefix): New user option.
9933 (isearch-other-meta-char): Don't exit isearch when a prefix
9934 argument is typed whilst `isearch-allow-prefix' is non-nil.
9935 (Bug#9706)
9936
9937 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * autorevert.el (auto-revert-notify-handler): Use memq.
9940 Hide assertion failure.
9941
9942 * skeleton.el: Use cl-lib.
9943 (skeleton-further-elements): Use defvar-local.
9944 (skeleton-insert): Use cl-progv.
9945
9946 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9947
9948 * progmodes/prog-mode.el (prog-prettify-symbols)
9949 (prog-prettify-install): Update docstrings.
9950
9951 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * simple.el: Move all the prog-mode code to prog-mode.el.
9954 * progmodes/prog-mode.el: New file.
9955 * loadup.el: Add prog-mode.el.
9956
9957 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9958
9959 * simple.el (prog-prettify-symbols): Add version.
9960 (prog-prettify-install): Add convenience function to prettify symbols.
9961
9962 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9963 (perl--augmented-font-lock-keywords-1)
9964 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9965 variables and use it.
9966
9967 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9968 (cfengine3-mode): Remove unneeded variable and use it.
9969
9970 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9971 (lisp--augmented-font-lock-keywords-1)
9972 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9973 Remove unneeded variables and use it.
9974
9975 2013-06-05 João Távora <joaotavora@gmail.com>
9976
9977 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9978 to point when opening the connection. (Bug#14380)
9979
9980 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * subr.el (load-history-regexp, load-history-filename-element)
9983 (eval-after-load, after-load-functions, do-after-load-evaluation)
9984 (eval-next-after-load, display-delayed-warnings)
9985 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9986 definition of save-match-data.
9987 (overriding-local-map): Remove accidental obsolescence declaration.
9988
9989 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9990
9991 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9992
9993 Generalize symbol prettify support to prog-mode and implement it
9994 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9995 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9996 (prog--prettify-font-lock-compose-symbol)
9997 (prog-prettify-font-lock-symbols-keywords): New variables and
9998 functions to support symbol prettification.
9999 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10000 (lisp--augmented-font-lock-keywords-1)
10001 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10002 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10003 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10004 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10005 Implement prettify of -> => :: strings.
10006 * progmodes/perl-mode.el (perl-prettify-symbols)
10007 (perl--font-lock-compose-symbol)
10008 (perl--font-lock-symbols-keywords): Move to prog-mode.
10009 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10010 (perl-font-lock-keywords-1)
10011 (perl-font-lock-keywords-2): Remove explicit prettify support.
10012 (perl--augmented-font-lock-keywords)
10013 (perl--augmented-font-lock-keywords-1)
10014 (perl--augmented-font-lock-keywords-2, perl-mode):
10015 Implement prettify support.
10016
10017 2013-06-05 Leo Liu <sdl.web@gmail.com>
10018
10019 Re-implement smie matching block highlight using
10020 show-paren-data-function. (Bug#14395)
10021 * emacs-lisp/smie.el (smie-matching-block-highlight)
10022 (smie--highlight-matching-block-overlay)
10023 (smie--highlight-matching-block-lastpos)
10024 (smie-highlight-matching-block)
10025 (smie-highlight-matching-block-mode): Remove.
10026 (smie--matching-block-data-cache): New variable.
10027 (smie--matching-block-data): New function.
10028 (smie-setup): Use smie--matching-block-data for
10029 show-paren-data-function.
10030
10031 * progmodes/octave.el (octave-mode-menu): Fix.
10032 (octave-find-definition): Skip garbage lines.
10033
10034 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 Fix compilation error with simultaneous dynamic+lexical scoping.
10037 Add warning when a defvar appears after the first let-binding.
10038 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10039 (byte-compile-close-variables): Initialize it.
10040 (byte-compile--declare-var): New function.
10041 (byte-compile-file-form-defvar)
10042 (byte-compile-file-form-define-abbrev-table)
10043 (byte-compile-file-form-custom-declare-variable): Use it.
10044 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10045 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10046 (byte-compile-bind): Handle dynamic bindings that shadow
10047 lexical bindings.
10048 (byte-compile-unbind): Make arg non-optional.
10049 (byte-compile-let): Simplify.
10050 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10051 (cconv--analyse-function, cconv-analyse-form): Populate it.
10052 Protect byte-compile-bound-variables to limit the scope of defvars.
10053 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10054 Remove unneeded rule for `declare'.
10055
10056 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10057 so as to avoid depending on cl-adjoin at run-time.
10058 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10059
10060 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10061 (macroexp--warn-and-return): Use it.
10062
10063 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * subr.el: Convert to lexical binding.
10066 (overriding-local-map): Make obsolete.
10067 (add-to-list): Doc fix. Add compiler macro.
10068 (read-key): Swap values of local maps.
10069
10070 2013-06-05 Leo Liu <sdl.web@gmail.com>
10071
10072 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10073
10074 2013-06-04 Leo Liu <sdl.web@gmail.com>
10075
10076 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10077 (compilation-auto-jump): Suppress the "Mark set" message to give
10078 way to exit message.
10079
10080 2013-06-04 Alan Mackenzie <acm@muc.de>
10081
10082 Remove faulty optimisation from indentation calculation.
10083 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10084 search limit based on 2000 characters back from indent-point.
10085
10086 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10087
10088 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10089
10090 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * emacs-lisp/lisp.el: Use lexical-binding.
10093 (lisp--local-variables-1, lisp--local-variables): New functions.
10094 (lisp--local-variables-completion-table): New var.
10095 (lisp-completion-at-point): Use it complete let-bound vars.
10096
10097 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10098 eagerly (bug#14422).
10099
10100 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10101
10102 * autorevert.el (auto-revert-notify-enabled)
10103 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10104 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10105 (auto-revert-notify-handler): Handle also gfilenotify.
10106
10107 * subr.el (file-notify-handle-event): New defun. Replacing ...
10108 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10109 Remove.
10110
10111 2013-06-03 Juri Linkov <juri@jurta.org>
10112
10113 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10114 `M-s h .'. (Bug#14427)
10115
10116 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10117 command `hi-lock-face-symbol-at-point'.
10118 (hi-lock-face-symbol-at-point): New command.
10119 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10120 (hi-lock-menu): Add `highlight-symbol-at-point'.
10121 (hi-lock-mode): Doc fix.
10122
10123 * isearch.el (isearch-forward-symbol-at-point): New command.
10124 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10125 (isearch-highlight-regexp): Add a regexp which matches
10126 words/symbols for word/symbol mode.
10127
10128 * subr.el (find-tag-default-bounds): New function with the body
10129 mostly moved from `find-tag-default'.
10130 (find-tag-default): Move most code to `find-tag-default-bounds',
10131 call it and apply `buffer-substring-no-properties' afterwards.
10132
10133 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10134
10135 * eshell/em-term.el (eshell-term-initialize):
10136 Use `cl-intersection' rather than `intersection'.
10137
10138 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10139
10140 * vc/log-view.el: Doc fix.
10141 (log-view-mode-map): Copy keymap from `special-mode-map'.
10142
10143 2013-06-02 Eric Ludlam <zappo@gnu.org>
10144
10145 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10146 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10147 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10148 (eieio-unbound, eieio-default-superclass)
10149 (eieio--define-field-accessors, method-static, method-before)
10150 (method-primary, method-after, method-num-lists)
10151 (method-generic-before, method-generic-primary)
10152 (method-generic-after, method-num-slots)
10153 (eieio-specialized-key-to-generic-key)
10154 (eieio--check-type, class-v, class-p)
10155 (eieio-class-name, define-obsolete-function-alias)
10156 (eieio-class-parents-fast, eieio-class-children-fast)
10157 (same-class-fast-p, class-constructor, generic-p)
10158 (generic-primary-only-p, generic-primary-only-one-p)
10159 (class-option-assoc, class-option, eieio-object-p)
10160 (class-abstract-p, class-method-invocation-order)
10161 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10162 (eieio-class-un-autoload, eieio-defclass)
10163 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10164 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10165 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10166 (eieio-defgeneric-reset-generic-form)
10167 (eieio-defgeneric-form-primary-only)
10168 (eieio-defgeneric-reset-generic-form-primary-only)
10169 (eieio-defgeneric-form-primary-only-one)
10170 (eieio-defgeneric-reset-generic-form-primary-only-one)
10171 (eieio-unbind-method-implementations)
10172 (eieio--defmethod, eieio--typep)
10173 (eieio-perform-slot-validation, eieio-validate-slot-value)
10174 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10175 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10176 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10177 (eieio-slot-name-index, eieio-class-slot-name-index)
10178 (eieio-set-defaults, eieio-initarg-to-attribute)
10179 (eieio-attribute-to-initarg, eieio-c3-candidate)
10180 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10181 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10182 (eieio-class-precedence-list, eieio-generic-call-methodname)
10183 (eieio-generic-call-arglst, eieio-generic-call-key)
10184 (eieio-generic-call-next-method-list)
10185 (eieio-pre-method-execution-functions, eieio-generic-call)
10186 (eieio-generic-call-primary-only, eieiomt-method-list)
10187 (eieiomt-optimizing-obarray, eieiomt-install)
10188 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10189 (eieio-generic-form, eieio-defmethod, make-obsolete)
10190 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10191 (defclass): Remove `eval-and-compile' from macro.
10192 (call-next-method, shared-initialize): Instead of using
10193 `scoped-class' variable, use new eieio--scoped-class, and
10194 eieio--with-scoped-class.
10195 (initialize-instance): Rename local variable 'scoped-class' to
10196 'this-class' to remove ambiguitity from old global.
10197
10198 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10199 eieio.el.
10200 (eieio--scoped-class-stack): New variable.
10201 (eieio--scoped-class): New fcn.
10202 (eieio--with-scoped-class): New scoping macro.
10203 (eieio-defclass): Use pushnew instead of add-to-list.
10204 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10205 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10206 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10207 `scoped-class' variable, use new eieio--scoped-class, and
10208 eieio--with-scoped-class.
10209
10210 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10211
10212 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10213
10214 * eshell/esh-ext.el (eshell-external-command): Pass args to
10215 `eshell-find-interpreter'.
10216 (eshell-find-interpreter): Add new second parameter ARGS.
10217
10218 * eshell/em-script.el (eshell-script-initialize): Add second arg
10219 to the function added as MATCH to `eshell-interpreter-alist'.
10220
10221 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10222 the function added as MATCH to `eshell-interpreter-alist'.
10223
10224 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10225 (eshell-visual-options): New defcustom.
10226 (eshell-escape-control-x): Adapt docstring.
10227 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10228 `eshell-visual-options' in addition to `eshell-visual-commands'.
10229 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10230
10231 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10232
10233 * progmodes/python.el (python-indent-block-enders): Add break,
10234 continue and raise keywords.
10235
10236 2013-06-01 Glenn Morris <rgm@gnu.org>
10237
10238 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10239
10240 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10241 * progmodes/cc-cmds.el (delete-forward-p):
10242 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10243 * progmodes/cc-engine.el (buffer-syntactic-context):
10244 * progmodes/cc-fonts.el (face-property-instance):
10245 * progmodes/cc-mode.el (set-keymap-parents):
10246 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10247 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10248 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10249 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10250 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10251
10252 * progmodes/cc-vars.el (other): Emacs has this widget since
10253 at least 21.1, so don't (re)define it.
10254
10255 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10256 Replace the obsolete alias pcomplete-arg-quote-list.
10257
10258 2013-06-01 Leo Liu <sdl.web@gmail.com>
10259
10260 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10261 punctuation syntax.
10262 (inferior-octave-minimal-columns)
10263 (inferior-octave-last-column-width): New variables.
10264 (inferior-octave-track-window-width-change): New function.
10265 (inferior-octave-mode): Adjust column width so that Octave output,
10266 for example from 'ls', can fit into the window nicely.
10267
10268 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10269
10270 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10271 Highlight expansions inside regexp literals.
10272
10273 2013-05-31 Glenn Morris <rgm@gnu.org>
10274
10275 * obsolete/sym-comp.el (symbol-complete):
10276 Replace obsolete completion-annotate-function.
10277
10278 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10279
10280 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10281
10282 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10283 New function, checks if point is inside a literal that allows
10284 expression expansion.
10285 (ruby-syntax-propertize-expansion): Use it.
10286 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10287 around the body.
10288
10289 2013-05-30 Juri Linkov <juri@jurta.org>
10290
10291 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10292 to "\M-si".
10293 (isearch-invisible): New variable.
10294 (isearch-forward): Doc fix.
10295 (isearch-mode): Set `isearch-invisible'
10296 to the value of `search-invisible'.
10297 (isearch-toggle-case-fold): Doc fix.
10298 (isearch-toggle-invisible): New command.
10299 (isearch-query-replace): Let-bind `search-invisible'
10300 to the value of `isearch-invisible'.
10301 (isearch-search): Use `isearch-invisible' instead of
10302 `search-invisible'. Let-bind `search-invisible'
10303 to the value of `isearch-invisible'. (Bug#11378)
10304
10305 2013-05-30 Juri Linkov <juri@jurta.org>
10306
10307 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10308 call when `query-flag' is nil and `search-invisible' is non-nil.
10309 (Bug#11746)
10310
10311 2013-05-30 Glenn Morris <rgm@gnu.org>
10312
10313 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10314
10315 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10316 (cc-require): Suppress spurious "noruntime" warnings.
10317 (cc-require-when-compile): Use fboundp, for sake of compiler.
10318
10319 * progmodes/cc-mode.el: Move load of cc-vars before that of
10320 cc-langs (which in turn loads cc-vars), to quieten compiler.
10321
10322 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * paren.el: Simplify the code.
10325 (show-paren-mode): Always start the timer.
10326 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10327 (show-paren--overlay, show-paren--overlay-1): Rename from
10328 show-paren-overlay and show-paren-overlay-1, and initialize to an
10329 overlay rather than to nil.
10330 (show-paren-function): Misc cleanup and simplifications.
10331
10332 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * paren.el (show-paren-data-function): New hook.
10335 (show-paren--default): New function, extracted from show-paren-function.
10336 (show-paren-function): Use show-paren-data-function.
10337
10338 2013-05-30 Glenn Morris <rgm@gnu.org>
10339
10340 * ielm.el (ielm-map, ielm-complete-symbol):
10341 Use completion-at-point rather than obsolete functions.
10342 (inferior-emacs-lisp-mode): Doc fix.
10343 Set completion-at-point-functions, rather than
10344 comint-dynamic-complete-functions.
10345
10346 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10347 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10348 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10349
10350 * image.el (image-animated-p): Tweak definition.
10351
10352 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10353 (rlogin-process-connection-type): Tweak default. Add set-after.
10354 (rlogin-host): Doc fix.
10355 (rlogin): Tweak prompt.
10356 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10357
10358 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10359 * progmodes/tcl.el (inferior-tcl-mode-map):
10360 Use completion-at-point rather than obsolete alias.
10361
10362 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10363
10364 * minibuffer.el (read-file-name-completion-ignore-case):
10365 Move before completion--in-region, for eager macro expansion.
10366
10367 2013-05-29 Juri Linkov <juri@jurta.org>
10368
10369 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10370 for total count of matching lines. Add `global-matches' for total
10371 count of matches. Rename `matches' to `lines' for count of
10372 matching lines. Add `matches' for count of matches.
10373 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10374 to `prev-line' for line number of prev match endpt.
10375 Increment `matches' for every match. Print the number of
10376 matching lines in the header.
10377 (occur-context-lines): Rename `lines' to `curr-line'.
10378 Rename `prev-lines' to `prev-line'. (Bug#14017)
10379
10380 2013-05-29 Juri Linkov <juri@jurta.org>
10381
10382 * replace.el (perform-replace): Add `skip-read-only-count',
10383 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10384 Increment them for corresponding conditions and report the number
10385 of skipped occurrences in the final message. (Bug#11746)
10386 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10387 (replace-string, replace-regexp): Doc fix.
10388
10389 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10392
10393 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10394 prog-mode-map (bug#14504).
10395
10396 2013-05-29 Leo Liu <sdl.web@gmail.com>
10397
10398 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10399 (octave-help): Small simplification.
10400
10401 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10402 off the highlight first.
10403
10404 2013-05-29 Glenn Morris <rgm@gnu.org>
10405
10406 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10407 Handle idlwave-last-system-routine-info-cons-cell being nil.
10408
10409 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10410 (idlwave-write-paths): Simplify via with-temp-buffer.
10411
10412 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10413 * emulation/cua-rect.el: Also load cua-base at run time.
10414
10415 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10416 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10417 (cperl-imenu-on-info): Require imenu.
10418
10419 2013-05-28 Alan Mackenzie <acm@muc.de>
10420
10421 Handle "capitalised keywords" correctly.
10422 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10423
10424 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10425
10426 * eshell/em-unix.el: Add -r option to cp.
10427
10428 2013-05-28 Glenn Morris <rgm@gnu.org>
10429
10430 * vc/vc-arch.el (vc-exec-after): Declare.
10431 (vc-switches): Autoload.
10432 * vc/vc-bzr.el: No need to require vc when compiling.
10433 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10434 (vc-resynch-buffer, vc-dir-refresh): Declare.
10435 (vc-setup-buffer, vc-switches): Autoload.
10436 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10437 (vc-resynch-buffer): Declare.
10438 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10439 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10440 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10441 (grep-read-regexp, grep-read-files, grep-expand-template)
10442 (vc-dir-refresh): Declare.
10443 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10444 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10445 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10446 * vc/vc-mtn.el (vc-exec-after): Declare.
10447 (vc-switches): Autoload.
10448 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10449 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10450 (vc-file-tree-walk): Declare.
10451 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10452 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10453 (vc-tag-precondition, vc-rename-master): Autoload.
10454 * vc/vc-svn.el (vc-exec-after): Declare.
10455 (vc-switches, vc-setup-buffer): Autoload.
10456 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10457 Autoload.
10458 (vc-resynch-buffer): Declare.
10459
10460 * obsolete/fast-lock.el (byte-compile-warnings):
10461 Don't warn about obsolete features in this obsolete file.
10462
10463 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10464 Move definition before use.
10465
10466 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10467 (dun-unix-verbs): Remove dun-zippy.
10468 (dun-zippy): Remove function.
10469
10470 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10471
10472 2013-05-27 Juri Linkov <juri@jurta.org>
10473
10474 * replace.el (replace-search): New function with code moved out
10475 from `perform-replace'.
10476 (replace-highlight, replace-dehighlight): Move function definitions
10477 up closer to `replace-search'. (Bug#11746)
10478
10479 2013-05-27 Juri Linkov <juri@jurta.org>
10480
10481 * replace.el (perform-replace): Ignore invisible matches.
10482 In addition to checking `query-replace-skip-read-only', also
10483 filter out matches by calling `run-hook-with-args-until-failure'
10484 on `isearch-filter-predicates', and also check `search-invisible'
10485 for t or call `isearch-range-invisible'.
10486 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10487
10488 2013-05-27 Juri Linkov <juri@jurta.org>
10489
10490 * isearch.el (isearch-filter-predicates): Rename from
10491 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10492 (isearch-message-prefix): Display text from the property
10493 `isearch-message-prefix' of the currently active filters.
10494 (isearch-search): Don't compare `isearch-filter-predicate' with
10495 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10496 on `isearch-filter-predicates'. Also check `search-invisible' for t
10497 or call `isearch-range-invisible'.
10498 (isearch-filter-visible): Make obsolete.
10499 (isearch-lazy-highlight-search):
10500 Call `run-hook-with-args-until-failure' on
10501 `isearch-filter-predicates' and use `isearch-range-invisible'.
10502
10503 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10504 `isearch-filter-predicates' instead of `funcall'ing
10505 `isearch-filter-predicate'.
10506 (Info-mode): Set `Info-isearch-filter' to
10507 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10508
10509 * dired-aux.el (dired-isearch-filter-predicate-orig):
10510 Remove variable.
10511 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10512 (dired-isearch-filenames-end): Add and remove
10513 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10514 instead of changing the value of `isearch-filter-predicate'.
10515 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10516 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10517 Put property `isearch-message-prefix' to "filename " on
10518 `dired-isearch-filter-filenames'.
10519
10520 * wdired.el (wdired-change-to-wdired-mode):
10521 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10522 locally instead of changing `isearch-filter-predicate'.
10523 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10524
10525 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10526
10527 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10528 return the commit hash (Bug#14459). Also set the
10529 `vc-git-detached' property.
10530 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10531 (vc-git-mode-line-string): Use the same help-echo format whether
10532 in detached mode or not, because we know the actual revision now.
10533 When in detached mode, shorten the revision to 7 chars.
10534
10535 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * emacs-lisp/easy-mmode.el (define-minor-mode):
10538 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10539 mode hook and provide a docstring.
10540
10541 2013-05-27 Alan Mackenzie <acm@muc.de>
10542
10543 Remove spurious syntax-table text properties inserted by C-y.
10544 * progmodes/cc-mode.el (c-after-change): Also clear hard
10545 syntax-table property with value nil.
10546
10547 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10548
10549 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10550 when reading the events; the buffer layout shall not be changed.
10551
10552 2013-05-27 Leo Liu <sdl.web@gmail.com>
10553
10554 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10555 New variable.
10556 (inferior-octave-directory-tracker): Automatically re-sync
10557 default-directory.
10558 (octave-help): Improve handling of 'See also'.
10559
10560 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10561
10562 * doc-view.el: Minor naming convention tweaks.
10563 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10564
10565 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10566 even if there's no `display' property yet (bug#14435).
10567
10568 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10569
10570 * subr.el (unmsys--file-name): Rename from reveal-filename.
10571
10572 * Makefile.in (custom-deps, finder-data, autoloads)
10573 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10574 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10575 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10576
10577 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10580 error-completion on the first 2 args of condition-case (bug#14446).
10581 Don't burp at EOB.
10582
10583 2013-05-25 Leo Liu <sdl.web@gmail.com>
10584
10585 * comint.el (comint-previous-matching-input): Do not flood the
10586 *Messages* buffer with trivial messages.
10587
10588 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * progmodes/flymake.el (flymake-nop): Don't return a string.
10591 (flymake-set-at): Fix typo.
10592
10593 * simple.el (read--expression): New function, extracted from
10594 eval-expression. Set completion-at-point-functions (bug#14465).
10595 (eval-expression, eval-minibuffer): Use it.
10596
10597 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10598
10599 * progmodes/flymake.el (flymake-save-buffer-in-file)
10600 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10601 (flymake-selected-frame, flymake-log, flymake-ins-after)
10602 (flymake-set-at, flymake-get-buildfile-from-cache)
10603 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10604 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10605 Refine the doc string.
10606 (flymake-get-file-name-mode-and-masks): Reformat.
10607 (flymake-get-real-file-name-function): Fix a minor bug.
10608
10609 2013-05-24 Juri Linkov <juri@jurta.org>
10610
10611 * progmodes/grep.el (grep-mode-font-lock-keywords):
10612 Support =linenumber= format used by git-grep for lines with
10613 function names. (Bug#13549)
10614
10615 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10616
10617 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10618 0 after a semi-colon; it works better for smie-auto-fill.
10619 (octave--indent-new-comment-line): New function.
10620 (octave-indent-new-comment-line): Use it (indirectly).
10621 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10622 modify comment-line-break-function.
10623
10624 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10625 (smie-setup): Use add-function to set it.
10626
10627 2013-05-24 Sam Steingold <sds@gnu.org>
10628
10629 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10630 argument (before the `interactive' argument).
10631
10632 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * image-mode.el (image-mode-winprops): Add winprops to
10635 image-mode-winprops-alist before running
10636 image-mode-new-window-functions.
10637 * doc-view.el (doc-view-new-window-function): Don't delay
10638 doc-view-goto-page via timers (bug#14435).
10639
10640 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10641
10642 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10643 (doc-view-desktop-save-buffer): New function.
10644 (doc-view-restore-desktop-buffer): New function.
10645 (desktop-buffer-mode-handlers):
10646 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10647 handler.
10648 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10649 `desktop-save-buffer' function.
10650
10651 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10652
10653 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10654 (tramp-gvfs-file-name-handler): Raise a user error when
10655 `tramp-gvfs-enabled' is nil.
10656 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10657 Do not raise a user error when loading package. (Bug#14447)
10658
10659 * net/xesam.el: Move to obsolete/.
10660
10661 2013-05-24 Glenn Morris <rgm@gnu.org>
10662
10663 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10664
10665 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10666
10667 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10668 (Info-find-node, Man-getpage-in-background): Declare.
10669
10670 * mail/unrmail.el (unrmail):
10671 Replace obsolete detect-coding-with-priority.
10672
10673 * net/socks.el (socks-split-string): Use this rather than split-string.
10674 (socks-nslookup-host): Update for above change.
10675 (dynamic-choice, s5-dynamic-choice-match)
10676 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10677 Comment out unused code.
10678
10679 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10680 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10681 (gud-tooltip-echo-area): Make obsolete.
10682 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10683
10684 * progmodes/js.el (js--optimize-arglist): Declare.
10685
10686 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10687
10688 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10689 (ediff-window-C): Declare.
10690
10691 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10692 Tweak requires to silence compiler.
10693
10694 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10695 (he-search-string, he-tried-table, he-expand-list)
10696 (he-init-string, he-string-member, he-substitute-string)
10697 (he-reset-string): Declare.
10698
10699 * obsolete/options.el (list-options): Use custom-variable-p,
10700 rather than obsolete alias.
10701
10702 2013-05-23 Sam Steingold <sds@gnu.org>
10703
10704 * simple.el (shell-command-on-region): Pass the `replace' argument
10705 down to `call-process-region' to comply with the doc as reported on
10706 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10707
10708 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * emacs-lisp/smie.el (smie-indent-forward-token)
10711 (smie-indent-backward-token): Handle string tokens (bug#14381).
10712
10713 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10714
10715 * ielm.el (ielm-menu): New menu.
10716 (inferior-emacs-lisp-mode): Set comment-start.
10717
10718 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10719
10720 * textmodes/reftex.el (reftex-ref-style-toggle):
10721 Fix deactivate action.
10722
10723 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10724 Add cleveref macros.
10725
10726 * textmodes/reftex-parse.el
10727 (reftex-locate-bibliography-files): Accept options for
10728 bibliography commands.
10729 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10730 Add addbibresource. Basic Biblatex support.
10731
10732 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10733
10734 * net/tramp-gvfs.el (top):
10735 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10736 when loading package. (Bug#14447)
10737
10738 2013-05-23 Glenn Morris <rgm@gnu.org>
10739
10740 * progmodes/js.el: No need to load comint when compiling.
10741 (ring-insert, comint-send-string, comint-send-input)
10742 (comint-last-input-end, ido-chop): Declare.
10743
10744 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10745 * vc/ediff-mult.el: Adjust requires.
10746 (ediff-directories-internal, ediff-directory-revisions-internal)
10747 (ediff-patch-file-internal): Declare.
10748 * vc/ediff-ptch.el: Adjust requires.
10749 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10750 (ediff-find-file): Autoload.
10751 * vc/ediff-util.el: No need to load ediff when compiling.
10752 (ediff-regions-internal): Declare.
10753 * vc/ediff-wind.el: Adjust requires.
10754 (ediff-compute-toolbar-width): Define when compiling.
10755 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10756 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10757 (dired-get-filename, dired-get-marked-files)
10758 (ediff-last-dir-patch, ediff-patch-default-directory)
10759 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10760 (ediff-patch-buffer-internal): Declare.
10761
10762 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10763 (ispell-process, ispell-buffer-local-words, lm-summary)
10764 (lm-section-start, lm-section-end): Declare.
10765 (checkdoc-ispell-init): Simplify.
10766
10767 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10768 (he-string-member, he-reset-string, he-substitute-string): Declare.
10769
10770 * eshell/em-ls.el: Adjust requires.
10771 (eshell-glob-regexp): Declare.
10772 * eshell/em-tramp.el: Adjust requires.
10773 (eshell-parse-command): Autoload.
10774 * eshell/em-xtra.el: Adjust requires.
10775 (eshell-parse-command): Autoload.
10776 * eshell/esh-ext.el: Adjust requires.
10777 (eshell-parse-command, eshell-close-handles): Autoload.
10778 * eshell/esh-io.el: Adjust requires.
10779 (eshell-output-filter): Autoload.
10780 * eshell/esh-util.el: No need to load tramp when compiling.
10781 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10782 Declare.
10783 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10784 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10785 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10786 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10787 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10788 * eshell/esh-opt.el, eshell/esh-proc.el:
10789 * eshell/esh-var.el: Adjust requires.
10790 * eshell/eshell.el: Do not require esh-util twice.
10791 (eshell-add-input-to-history): Declare.
10792 (eshell-command): Check history module is active before using it.
10793
10794 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10795
10796 2013-05-22 Leo Liu <sdl.web@gmail.com>
10797
10798 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10799
10800 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10801
10802 * autorevert.el (auto-revert-notify-add-watch)
10803 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10804 it indicates changes in file modification time.
10805
10806 2013-05-22 Glenn Morris <rgm@gnu.org>
10807
10808 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10809 Always delete the autoloaded function from the noruntime and
10810 unresolved functions lists.
10811
10812 * allout.el: No need to load epa, epg, overlay when compiling.
10813 (epg-context-set-passphrase-callback, epg-list-keys)
10814 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10815 (epg-key-user-id-list): Declare.
10816
10817 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10818 (viper-set-parsing-style-toggling-macro)
10819 (viper-set-emacs-state-searchstyle-macros):
10820 Use called-interactively-p on Emacs.
10821 (viper-looking-back): Make it an obsolete alias. Update callers.
10822 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10823 Use looking-back rather than viper-looking-back.
10824 (viper-tmp-insert-at-eob, viper-enlarge-region)
10825 (viper-read-string-with-history, viper-register-to-point)
10826 (viper-append-to-register, viper-change-state-to-vi)
10827 (viper-backward-char-carefully, viper-forward-char-carefully)
10828 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10829 (viper-change-state-to-emacs): Declare.
10830 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10831 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10832 * emulation/viper-mous.el: Do not load viper-cmd.
10833 (viper-backward-char-carefully, viper-forward-char-carefully)
10834 (viper-forward-word, viper-adjust-window): Declare.
10835
10836 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10837
10838 * progmodes/idlw-help.el (idlwave-help-fontify):
10839 Use called-interactively-p.
10840
10841 * term/w32console.el (w32-get-console-codepage)
10842 (w32-get-console-output-codepage): Declare.
10843
10844 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10845 Remove unnecessary declarations.
10846 (dframe-message): Doc fix.
10847
10848 * info.el (dframe-select-attached-frame, dframe-current-frame):
10849 Declare.
10850
10851 * speedbar.el (speedbar-message): Make it an obsolete alias.
10852 Update all callers.
10853 (speedbar-with-attached-buffer)
10854 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10855 (speedbar-with-writable): Use backquote.
10856 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10857 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10858 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10859 rather than speedbar- aliases.
10860 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10861 (speedbar-make-specialized-keymap, speedbar-insert-button)
10862 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10863 (speedbar-do-function-pointer): Declare.
10864 (rmail-speedbar-button, rmail-speedbar-find-file)
10865 (rmail-speedbar-move-message):
10866 Use dframe-with-attached-buffer rather than speedbar- alias.
10867 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10868 (dframe-message, speedbar-make-specialized-keymap)
10869 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10870 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10871 (speedbar-insert-button, dframe-select-attached-frame)
10872 (dframe-maybee-jump-to-attached-frame)
10873 (speedbar-change-initial-expansion-list)
10874 (speedbar-previously-used-expansion-list-name): Declare.
10875 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10876 Use dframe-message, dframe-with-attached-buffer rather than
10877 speedbar- aliases.
10878 (gud-sentinel): Silence compiler.
10879 * progmodes/vhdl-mode.el (speedbar-refresh)
10880 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10881 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10882 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10883 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10884 (speedbar-file-lists, speedbar-make-tag-line)
10885 (speedbar-line-directory, speedbar-goto-this-file)
10886 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10887 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10888 (speedbar-make-button, speedbar-reset-scanners)
10889 (speedbar-files-item-info, speedbar-line-text)
10890 (speedbar-find-file-in-frame, speedbar-set-timer)
10891 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10892 (speedbar-with-writable): Do not (re)define it.
10893 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10894 rather than speedbar- alias.
10895
10896 2013-05-21 Leo Liu <sdl.web@gmail.com>
10897
10898 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10899 menu items.
10900 (octave-mode): Tweak fill-nobreak-predicate.
10901 (inferior-octave-startup): Check process to avoid infinite loop.
10902 (inferior-octave): Pop to buffer first to show abornmal process
10903 exit information.
10904
10905 2013-05-21 Glenn Morris <rgm@gnu.org>
10906
10907 * printing.el (pr-menu-bar): Define when compiling.
10908
10909 2013-05-21 Leo Liu <sdl.web@gmail.com>
10910
10911 * progmodes/octave.el (octave-auto-fill): Remove.
10912 (octave-indent-new-comment-line): Improve.
10913 (octave-mode): Use auto fill mode through
10914 comment-line-break-function and fill-nobreak-predicate.
10915 (octave-goto-function-definition): Support DEFUN_DLD.
10916 (octave-beginning-of-defun): Small tweak.
10917 (octave-help): Show parent directory.
10918
10919 2013-05-21 Glenn Morris <rgm@gnu.org>
10920
10921 * files.el (dired-unmark):
10922 * progmodes/gud.el (gdb-input): Update declarations.
10923
10924 * calculator.el (electric, ehelp): No need to load when compiling.
10925 (Electric-command-loop, electric-describe-mode): Declare.
10926
10927 * doc-view.el (doc-view-current-converter-processes): Move before use.
10928
10929 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10930 Move MODE-set-explicitly definition before use.
10931
10932 * international/mule-diag.el (mule-diag):
10933 Don't use obsolete window-system-version.
10934
10935 * mail/feedmail.el (smtpmail): No need to load when compiling.
10936 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10937
10938 * mail/mail-utils.el (rfc822): No need to load when compiling.
10939 (rfc822-addresses): Autoload it.
10940 (mail-strip-quoted-names): Trivial simplification.
10941
10942 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10943 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10944
10945 * net/snmp-mode.el (tempo): Don't duplicate requires.
10946
10947 * progmodes/prolog.el (info): No need to load when compiling.
10948 (comint): Require before shell requires it.
10949 (Info-goto-node): Autoload it.
10950 (Info-follow-nearest-node): Declare.
10951 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10952
10953 * textmodes/artist.el (picture-mode-exit): Declare.
10954
10955 * textmodes/reftex-parse.el (reftex-parse-from-file):
10956 Trivial rewrite so the compiler can parse it better.
10957
10958 2013-05-20 Leo Liu <sdl.web@gmail.com>
10959
10960 * progmodes/octave.el (octave-help-mode-map)
10961 (octave-help-mode-finish-hook): New variables.
10962 (octave-help-mode, octave-help-mode-finish): New functions.
10963 (octave-help): Use octave-help-mode.
10964
10965 2013-05-20 Glenn Morris <rgm@gnu.org>
10966
10967 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10968
10969 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10970
10971 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10972 start at point, so that expansion starting right after opening
10973 slash in a regexp is recognized.
10974 (ruby-syntax-before-regexp-re): New defvar, extracted from
10975 ruby-syntax-propertize-function. Since the value of this regexp
10976 is looked up at runtime now, we should be able to turn
10977 `ruby-syntax-methods-before-regexp' into a defcustom later.
10978 (ruby-syntax-propertize-function): Split regexp matching into two
10979 parts, for opening and closing slashes. That allows us to skip
10980 over string interpolations and support multiline regexps.
10981 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10982 for them, which calls `ruby-syntax-propertize-expansion'.
10983 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10984 call to `ruby-syntax-propertize-function'.
10985 (ruby-syntax-propertize-expansion): Extracted from
10986 `ruby-syntax-propertize-expansions'. Handles one expansion.
10987 (ruby-syntax-propertize-percent-literal): Leave point right after
10988 the percent symbol, so that the expression expansion rule can
10989 propertize the contents.
10990 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10991 heredoc openers.
10992 (ruby-syntax-propertize-expansions): Remove.
10993
10994 2013-05-18 Juri Linkov <juri@jurta.org>
10995
10996 * man.el (Man-default-man-entry): Remove `-' from the end
10997 of the default value. (Bug#14400)
10998
10999 2013-05-18 Glenn Morris <rgm@gnu.org>
11000
11001 * comint.el (comint-password-prompt-regexp):
11002 Allow "password for XXX" where XXX contains colons (eg https://...).
11003
11004 2013-05-18 Leo Liu <sdl.web@gmail.com>
11005
11006 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11007 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11008 (octave-source-directories): Don't check process.
11009 (octave-source-directories, octave-find-definition): Doc fix.
11010
11011 2013-05-18 Glenn Morris <rgm@gnu.org>
11012
11013 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11014 Remove backspace/delete bindings. (Bug#14392)
11015
11016 * cus-dep.el (custom-make-dependencies): Sort the output.
11017 (custom-versions-load-alist): Convert comment to doc.
11018
11019 2013-05-17 Leo Liu <sdl.web@gmail.com>
11020
11021 * newcomment.el (comment-search-backward): Stricter in finding
11022 comment start. (Bug#14303)
11023
11024 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11025 (octave-comment-start-skip): Properly anchored.
11026
11027 2013-05-17 Leo Liu <sdl.web@gmail.com>
11028
11029 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11030 Clean up when turned off. (Bug#14395)
11031 (smie--highlight-matching-block-overlay): No longer buffer-local.
11032 (smie-highlight-matching-block): Adjust.
11033
11034 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11035
11036 Doc string fix for "nanoseconds" (Bug#14406).
11037 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11038 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11039
11040 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11041
11042 * calc/calc-units.el (math-extract-units): Preserve powers
11043 of units.
11044
11045 2013-05-17 Leo Liu <sdl.web@gmail.com>
11046
11047 * subr.el (delete-consecutive-dups): New function.
11048 * ido.el (ido-set-matches-1): Use it.
11049 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11050 * ido.el (ido-remove-consecutive-dups): Remove.
11051
11052 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11055 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11056 regexp-opt's `words'.
11057
11058 2013-05-16 Leo Liu <sdl.web@gmail.com>
11059
11060 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11061 (smie--highlight-matching-block-overlay)
11062 (smie--highlight-matching-block-lastpos)
11063 (smie--highlight-matching-block-timer): New variables.
11064 (smie-highlight-matching-block): New function.
11065 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11066 (smie-setup): Conditionally enable smie-blink-matching-open.
11067
11068 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11069
11070 Sync with upstream verilog-mode r840.
11071 * progmodes/verilog-mode.el (verilog-mode-version)
11072 (verilog-mode-release-date): Update.
11073 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11074 (verilog-sig-tieoff): Fix string error on
11075 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11076 (verilog-read-decls): Fix parameters confusing
11077 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11078
11079 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11080
11081 * subr.el (reveal-filename): New function.
11082
11083 * loadup.el: Compute Emacs executable versions on MS-Windows,
11084 where executables have the .exe extension. Add a hard link
11085 emacs-XX.YY.ZZ.exe on MS-Windows.
11086
11087 * Makefile.in (XARGS_LIMIT): New variable.
11088 (custom-deps, finder-data, autoloads)
11089 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11090 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11091 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11092 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11093
11094 2013-05-16 Leo Liu <sdl.web@gmail.com>
11095
11096 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11097 (octave-mode-menu, octave-mode-map): Remove its uses.
11098
11099 2013-05-16 Reto Zimmermann <reto@gnu.org>
11100
11101 Sync with upstream vhdl mode v3.34.2.
11102 * progmodes/vhdl-mode.el: Use `push' throughout.
11103 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11104 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11105 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11106 (vhdl-actual-generic-name): New option to derive actual generic name.
11107 (vhdl-port-paste-signals): Replace formal by actual generics.
11108 (vhdl-beautify): New name for old group vhdl-align. Update users.
11109 (vhdl-beautify-options): New option.
11110 (vhdl-last-input-event): New compat alias. Use throughout.
11111 (vhdl-goto-line): Replace user level function `goto-line'.
11112 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11113 vhdl-fix-statement-buffer.
11114 (vhdl-create-mode-menu): Add some entries.
11115 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11116 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11117 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11118 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11119 to force statements on one line.
11120 (vhdl-remove-trailing-spaces-region):
11121 New, split from vhdl-remove-trailing-spaces.
11122 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11123 Respect vhdl-beautify-options.
11124 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11125 (vhdl-update-sensitivity-list): Not add with index if exists without.
11126 Not include array index with signal. Ignore keywords in comments.
11127 (vhdl-get-visible-signals): Regexp tweaks.
11128 (vhdl-template-component-inst): Handle empty library.
11129 (vhdl-template-type): Add template for 'enum' type.
11130 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11131 Use vhdl-replace-string.
11132 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11133 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11134 (vhdl-speedbar-initialize): Update for above name change.
11135 (vhdl-compose-wire-components): Fix in handling of constants.
11136 (vhdl-error-regexp-emacs-alist): New variable.
11137 (vhdl-error-regexp-add-emacs): New function;
11138 adds support for new compile.el (Emacs 22+)
11139 (vhdl-generate-makefile-1): Change target order for single lib. units.
11140 Allow use of absolute file names.
11141
11142 2013-05-16 Leo Liu <sdl.web@gmail.com>
11143
11144 * simple.el (prog-indent-sexp): Indent enclosing defun.
11145
11146 2013-05-15 Glenn Morris <rgm@gnu.org>
11147
11148 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11149 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11150 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11151 (whitespace-highlight): Move to whitespace group.
11152
11153 * comint.el (comint-source):
11154 * pcmpl-linux.el (pcmpl-linux):
11155 * shell.el (shell-faces):
11156 * eshell/esh-opt.el (eshell-opt):
11157 * international/ccl.el (ccl): Remove empty custom groups.
11158
11159 * completion.el (dynamic-completion-mode):
11160 * jit-lock.el (jit-lock-debug-mode):
11161 * minibuffer.el (completion-in-region-mode):
11162 * type-break.el (type-break-mode-line-message-mode)
11163 (type-break-query-mode):
11164 * emulation/tpu-edt.el (tpu-edt-mode):
11165 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11166 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11167 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11168
11169 * term/xterm.el (xterm): Change parent group to terminals.
11170
11171 * master.el (master): Remove empty custom group.
11172 (master-mode): Remove unused :group argument.
11173 * textmodes/refill.el (refill): Remove empty custom group.
11174 (refill-mode): Remove unused :group argument.
11175
11176 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11177
11178 * cus-dep.el: Provide a feature.
11179 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11180 Don't mistakenly ignore files whose basenames match a basename
11181 from preloaded-file-list (eg cedet/ede/simple.el).
11182 Add a fallback method for getting :group.
11183
11184 2013-05-15 Juri Linkov <juri@jurta.org>
11185
11186 * isearch.el (isearch-char-by-name): Rename from
11187 `isearch-insert-char-by-name'. Doc fix.
11188 (isearch-forward): Mention `isearch-char-by-name' in
11189 the docstring. (Bug#13348)
11190
11191 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11192 `exit-minibuffer' instead of
11193 `isearch-nonincremental-exit-minibuffer'.
11194 (isearch-edit-string): Remove mention of
11195 `isearch-nonincremental-exit-minibuffer' from docstring.
11196 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11197 (isearch-forward-exit-minibuffer)
11198 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11199
11200 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * loadup.el: Just use unversioned DOC.
11203
11204 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11205 literals as extending to EOB.
11206 (nxml-last-fontify-end): Remove unused variable.
11207 (nxml-after-change1): Use with-silent-modifications.
11208 (nxml-extend-after-change-region): Simplify.
11209 (nxml-extend-after-change-region1): Remove function.
11210 (nxml-after-change1): Don't adjust for dependent regions.
11211 (nxml-fontify-matcher): Simplify.
11212 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11213 (xmltok-add-dependent): Remove function.
11214 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11215 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11216 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11217 unclosed <[[, <?, comment, and other literals as extending to EOB.
11218 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11219 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11220 Remove functions.
11221 (rng-do-some-validation-1): Don't mark dependent regions.
11222 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11223 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11224 (nxml-clear-dependent-regions): Remove functions.
11225 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11226 (nxml-ensure-scan-up-to-date):
11227 Don't clear&mark dependent regions.
11228
11229 2013-05-15 Leo Liu <sdl.web@gmail.com>
11230
11231 * progmodes/octave.el (octave-goto-function-definition):
11232 Improve and fix callers.
11233
11234 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11235
11236 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11237 the setter (bug#14387).
11238
11239 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11240 surrounding group (bug#14402).
11241
11242 2013-05-14 Juri Linkov <juri@jurta.org>
11243
11244 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11245 (Bug#14390)
11246
11247 2013-05-14 Glenn Morris <rgm@gnu.org>
11248
11249 * progmodes/f90.el (f90-imenu-generic-expression):
11250 Fix typo in 2013-05-08 change. (Bug#14402)
11251
11252 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11253
11254 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11255 Remove signals for which replies are never received.
11256
11257 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11258
11259 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11260 (gdb-handler-alist, gdb-handler-number): Remove variables.
11261 (gdb-handler-list): New variable.
11262 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11263 (gdb-pending-handler-p, gdb-handle-reply)
11264 (gdb-remove-all-pending-triggers): New functions.
11265 (gdb-discard-unordered-replies): New defcustom.
11266 (gdb-handler): New defstruct.
11267 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11268 instead of gdb-pending-triggers. Update docstring.
11269 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11270 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11271 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11272 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11273 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11274 (gdb-frame-handler): Pending triggers are now automatically managed.
11275 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11276 Remove argument.
11277 (gdb-input): Automatically handles pending triggers. Update docstring.
11278 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11279 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11280 Update comments.
11281 (gdb-done-or-error): Now use gdb-handle-reply.
11282
11283 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11284
11285 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11286 gdb-debug-log.
11287
11288 2013-05-14 Glenn Morris <rgm@gnu.org>
11289
11290 * subr.el (user-emacs-directory-warning): New option.
11291 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11292
11293 2013-05-14 Leo Liu <sdl.web@gmail.com>
11294
11295 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11296 during redisplay.
11297 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11298 (octave-font-lock-texinfo-comment): Fix invalid search bound
11299 error: wrong side of point.
11300
11301 2013-05-14 Glenn Morris <rgm@gnu.org>
11302
11303 * progmodes/flymake.el (flymake-xml-program): New option.
11304 (flymake-xml-init): Use it.
11305
11306 * term/xterm.el: Provide a feature.
11307
11308 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11309
11310 2013-05-13 Glenn Morris <rgm@gnu.org>
11311
11312 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11313 Add compat aliases as a hack workaround. (Bug#14384)
11314
11315 2013-05-13 Leo Liu <sdl.web@gmail.com>
11316
11317 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11318 ###, and %!.
11319 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11320 C-M-q.
11321 (octave-comment-start-skip): Include %!.
11322 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11323
11324 2013-05-12 Leo Liu <sdl.web@gmail.com>
11325
11326 * progmodes/octave.el (inferior-octave-startup): Store the value
11327 of __octave_srcdir__ for octave-source-directories.
11328 (inferior-octave-check-process): New function refactored out of
11329 inferior-octave-send-list-and-digest.
11330 (octave-source-directories)
11331 (octave-find-definition-filename-function): New variables.
11332 (octave-source-directories)
11333 (octave-find-definition-default-filename): New functions.
11334 (octave-find-definition): Improve to find functions implemented in C++.
11335
11336 2013-05-12 Glenn Morris <rgm@gnu.org>
11337
11338 * calendar/diary-lib.el (diary-outlook-format-1):
11339 Don't include dayname in the output. (Bug#14349)
11340
11341 2013-05-11 Glenn Morris <rgm@gnu.org>
11342
11343 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11344
11345 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11346 Treat cc-provide like provide.
11347
11348 2013-05-11 Kevin Ryde <user42@zip.com.au>
11349
11350 * cus-dep.el (custom-make-dependencies):
11351 Use generated-autoload-load-name for the sake of files such
11352 such cedet/semantic/bovine/c.el, where the base file name
11353 is not in load-path. (Bug#5277)
11354
11355 2013-05-11 Glenn Morris <rgm@gnu.org>
11356
11357 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11358 Provide features.
11359
11360 2013-05-11 Leo Liu <sdl.web@gmail.com>
11361
11362 * progmodes/octave.el (octave-indent-comment): Improve.
11363 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11364 (octave-eldoc-function-signatures, octave-eldoc-function):
11365 New functions.
11366 (octave-mode, inferior-octave-mode): Add eldoc support.
11367
11368 2013-05-11 Richard Stallman <rms@gnu.org>
11369
11370 * epa.el (epa-decrypt-file): Take output file name as argument
11371 and read it using `interactive'.
11372
11373 2013-05-11 Leo Liu <sdl.web@gmail.com>
11374
11375 * progmodes/octave.el (octave-beginning-of-line)
11376 (octave-end-of-line): Check before using up-list because it jumps
11377 out of more syntactic contructs since moving to smie.
11378 (octave-indent-comment): New function.
11379 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11380 (octave-begin-keywords, octave-end-keywords)
11381 (octave-reserved-words, octave-smie-bnf-table)
11382 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11383
11384 2013-05-11 Glenn Morris <rgm@gnu.org>
11385
11386 * faces.el (internal-face-x-get-resource):
11387 * frame.el (ns-display-monitor-attributes-list):
11388 * calc/calc-aent.el (math-to-radians-2):
11389 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11390 Fix declarations.
11391
11392 * calc/calc-menu.el: Make it loadable in isolation.
11393
11394 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11395 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11396 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11397 (eudc-bbdb-query-internal): Require 'bbdb.
11398
11399 * lpr.el (lpr-headers-switches):
11400 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11401
11402 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11403
11404 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11405
11406 * term.el (term-set-escape-char): Make it idempotent.
11407
11408 2013-05-10 Leo Liu <sdl.web@gmail.com>
11409
11410 * progmodes/octave.el (inferior-octave-completion-table):
11411 No longer a function and all uses changed. Use cache to speed up
11412 completion due to bug#11906.
11413 (octave-beginning-of-defun): Re-write to be more general.
11414
11415 2013-05-10 Glenn Morris <rgm@gnu.org>
11416
11417 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11418
11419 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * comint.el (comint-redirect-send-command-to-process): Use :around
11422 rather than :override for comint-redirect-filter.
11423 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11424 Call it instead of comint-redirect-original-filter-function (which
11425 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11426
11427 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11428
11429 * frame.el (display-monitor-attributes-list): Add NS case.
11430 (ns-display-monitor-attributes-list): Declare.
11431
11432 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11433
11434 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11435
11436 2013-05-09 Glenn Morris <rgm@gnu.org>
11437
11438 * international/fontset.el (vertical-centering-font-regexp):
11439 Set standard-value.
11440
11441 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11442
11443 * bookmark.el (bookmark-search-delay):
11444 * cus-start.el (vertical-centering-font-regexp):
11445 * ps-mule.el (ps-mule-font-info-database-default):
11446 * ps-print.el (ps-default-fg, ps-default-bg):
11447 * type-break.el (type-break-good-break-interval):
11448 * whitespace.el (whitespace-indentation-regexp)
11449 (whitespace-space-after-tab-regexp):
11450 * emacs-lisp/testcover.el (testcover-1value-functions)
11451 (testcover-noreturn-functions, testcover-progn-functions)
11452 (testcover-prog1-functions):
11453 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11454 * eshell/em-glob.el (eshell-glob-translate-alist):
11455 * play/tetris.el (tetris-tty-colors):
11456 * progmodes/cpp.el (cpp-face-default-list):
11457 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11458 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11459 (idlwave-help-browser-generic-args):
11460 * progmodes/make-mode.el (makefile-special-targets-list):
11461 * progmodes/python.el (python-shell-virtualenv-path):
11462 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11463 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11464 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11465 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11466 * textmodes/reftex-vars.el (reftex-format-label-function):
11467 * textmodes/remember.el (remember-diary-file): Fix custom types.
11468
11469 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11470 Add :version.
11471
11472 2013-05-09 Leo Liu <sdl.web@gmail.com>
11473
11474 * progmodes/octave.el (inferior-octave-completion-at-point):
11475 Restore file completion. (Bug#14300)
11476 (inferior-octave-startup): Fix incorrect highlighting for the
11477 first prompt.
11478
11479 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * progmodes/ruby-mode.el: First cut at SMIE support.
11482 (ruby-use-smie): New var.
11483 (ruby-smie-grammar): New constant.
11484 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11485 (ruby-smie--forward-token, ruby-smie--backward-token)
11486 (ruby-smie-rules): New functions.
11487 (ruby-mode-variables): Setup SMIE if applicable.
11488
11489 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11490
11491 * simple.el (line-move-visual): Signal beginning/end of buffer
11492 only if vertical-motion moved less than it was requested. Avoids
11493 silly incorrect error messages when there are display strings with
11494 multiple newlines at EOL.
11495
11496 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11497
11498 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11499 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11500 (prolog-char-quote-workaround):
11501 * progmodes/cperl-mode.el (cperl-under-as-char):
11502 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11503 Mark as obsolete.
11504 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11505 their declaration.
11506 (vhdl-mode-syntax-table-init): Remove.
11507
11508 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11509 last change.
11510
11511 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11512 syntax for "_".
11513 (ld-script-font-lock-keywords):
11514 Change regexps to use things like \_< and \_>.
11515
11516 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11517 Change all regexps to use things like \_< and \_>.
11518
11519 * progmodes/autoconf.el (autoconf-definition-regexp)
11520 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11521 Handle a _ with symbol syntax.
11522 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11523
11524 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11525 Consolidate declaration.
11526 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11527 the declaration.
11528 (ada-create-syntax-table): Remove.
11529 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11530 already has the right syntax nowadays.
11531 (ada-goto-next-word): Don't change the syntax of "_".
11532
11533 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11534 with-wrapper-hook.
11535
11536 2013-05-08 Sam Steingold <sds@gnu.org>
11537
11538 * thingatpt.el (thing-at-point): Accept optional second argument
11539 NO-PROPERTIES to strip the text properties from the return value.
11540 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11541 to `thing-at-point' instead of stripping the properties ourselves.
11542 Also, when `thing-at-point' fails to find a url, prepend "http://"
11543 to the filename at point on the assumption that the user is
11544 pointing at something like gnu.org/gnu.
11545
11546 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11547
11548 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11549 * faces.el (crm-separator):
11550 Silence byte-compiler.
11551
11552 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11553 (tool-bar-map): Remove unneeded defvars.
11554
11555 2013-05-08 Leo Liu <sdl.web@gmail.com>
11556
11557 Re-work a fix for bug#10994 based on Le Wang's patch.
11558 * ido.el (ido-remove-consecutive-dups): New helper.
11559 (ido-completing-read): Use it.
11560 (ido-chop): Revert fix for bug#10994.
11561
11562 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11563
11564 * cus-edit.el (custom-save-variables):
11565 Pretty-print long values. (Bug#14187)
11566
11567 2013-05-08 Glenn Morris <rgm@gnu.org>
11568
11569 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11570 (m4-mode-syntax-table): Init in the defvar.
11571 (m4-mode-abbrev-table): Let define-derived-mode define it.
11572
11573 2013-05-08 Tom Tromey <tromey@redhat.com>
11574
11575 * progmodes/m4-mode.el (m4-mode-syntax-table):
11576 Do not treat "_" as word constituent. (Bug#14167)
11577
11578 2013-05-07 Glenn Morris <rgm@gnu.org>
11579
11580 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11581 Remove explicit eshell-isearch-cancel-map.
11582
11583 * progmodes/f90.el (f90-smart-end-names): New option.
11584 (f90-smart-end): Doc fix.
11585 (f90-end-block-optional-name): New constant.
11586 (f90-block-match): Respect f90-smart-end-names.
11587
11588 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11591 about implicit semi-colons (bug#14218).
11592
11593 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11594
11595 * frame.el (display-monitor-attributes-list)
11596 (frame-monitor-attributes): New functions.
11597
11598 2013-05-06 Leo Liu <sdl.web@gmail.com>
11599
11600 * progmodes/octave.el (octave-syntax-propertize-function): Change
11601 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11602 (octave-font-lock-keywords): Use octave-operator-regexp.
11603 (octave-completion-at-point): Rename from
11604 octave-completion-at-point-function.
11605 (inferior-octave-directory-tracker): Robustify.
11606 (octave-text-functions): Remove and fix its uses. No such things
11607 any more.
11608
11609 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * emacs-lisp/trace.el (trace--display-buffer): New function.
11612 (trace-make-advice): Use it.
11613
11614 2013-05-06 Juri Linkov <juri@jurta.org>
11615
11616 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11617 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11618 Doc fix.
11619 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11620 in the help string. (Bug#12985)
11621
11622 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11623
11624 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11625
11626 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11627
11628 * progmodes/perl-mode.el: Add support for here documents.
11629 (perl-syntax-propertize-function): Match here-doc markers.
11630 (perl-syntax-propertize-special-constructs): Find their end.
11631 (perl-imenu-generic-expression): Use [:alnum:].
11632
11633 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11634 (advice--add-function): Refresh the advice if already present
11635 (bug#14317).
11636
11637 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11638
11639 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11640
11641 2013-05-06 Glenn Morris <rgm@gnu.org>
11642
11643 * w32-fns.el (w32-charset-info-alist): Declare.
11644
11645 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11646 of its defcustom properties.
11647 (eshell-cmpl-initialize): No need to load pcomplete.
11648
11649 * generic-x.el: No need to require comint when compiling.
11650
11651 * net/eudc-export.el: Make it loadable without bbdb.
11652 (top-level): Use require rather than load-library.
11653 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11654 (eudc-batch-export-records-to-bbdb)
11655 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11656 Require bbdb.
11657
11658 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11659
11660 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11661 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11662 some tweaks, instead.
11663
11664 2013-05-05 Leo Liu <sdl.web@gmail.com>
11665
11666 * progmodes/octave.el (octave-font-lock-keywords)
11667 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11668 (inferior-octave-send-list-and-digest): Improve error message.
11669 (octave-mode, inferior-octave-mode): Use setq-local.
11670 (octave-help): Set info-lookup-mode.
11671
11672 2013-05-05 Richard Stallman <rms@gnu.org>
11673
11674 * vc/compare-w.el (compare-windows-whitespace):
11675 Treat no-break space as whitespace.
11676
11677 * mail/rmailsum.el (rmail-summary-rmail-update):
11678 Detect empty summary and don't change selected message.
11679 (rmail-summary-goto-msg): Likewise.
11680
11681 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11682 Doc fixes, rename args.
11683
11684 2013-05-05 Alan Mackenzie <acm@muc.de>
11685
11686 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11687
11688 2013-05-05 Juri Linkov <juri@jurta.org>
11689
11690 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11691 to not add the length of the summary segment to the return value.
11692 (Bug#14125)
11693
11694 2013-05-05 Leo Liu <sdl.web@gmail.com>
11695
11696 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11697 (inferior-octave-output-filter): Remove.
11698 (octave-send-region, inferior-octave-startup): Fix callers.
11699 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11700 (octave-binary-file-extensions): New user variable.
11701 (octave-find-definition): Confirm if opening binary files.
11702 (octave-help-file): Use octave-find-definition to get the binary
11703 confirmation.
11704 (octave-help): Adjust for octave-help-file change.
11705
11706 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11709 Merge the two entries that handle function definitions.
11710 (pascal--syntax-propertize): New const.
11711 (pascal-mode): Use it. Use setq-local.
11712
11713 2013-05-04 Glenn Morris <rgm@gnu.org>
11714
11715 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11716 (diary-from-outlook): Respect diary-from-outlook-function.
11717
11718 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11721 Move the declaration from C.
11722 (read-minibuffer, eval-minibuffer): Move from C.
11723 (completion-setup-function): Avoid minibuffer-completion-contents.
11724
11725 2013-05-03 Leo Liu <sdl.web@gmail.com>
11726
11727 * progmodes/octave.el (octave-font-lock-keywords): Do not
11728 dehighlight 'end' in comments or strings.
11729 (octave-completing-read, octave-goto-function-definition):
11730 New helpers.
11731 (octave-help-buffer): New user variable.
11732 (octave-help-file, octave-help-function): New button types.
11733 (octave-help): New command and bind it to C-h ;.
11734 (octave-find-definition): New command and bind it to M-.
11735 (user-error): Alias to error if not defined.
11736
11737 2013-05-02 Leo Liu <sdl.web@gmail.com>
11738
11739 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11740 for \. (bug#14332)
11741 (octave-font-lock-keywords): Include [ and {.
11742
11743 2013-05-02 Leo Liu <sdl.web@gmail.com>
11744
11745 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11746 (inferior-octave): Remove calling comint-mode and return the buffer.
11747 (inferior-octave-startup): Cosmetic changes.
11748
11749 2013-05-02 Leo Liu <sdl.web@gmail.com>
11750
11751 * progmodes/octave.el (octave-syntax-propertize-function):
11752 Include the case when ' is at line beginning. (Bug#14336)
11753
11754 2013-05-02 Glenn Morris <rgm@gnu.org>
11755
11756 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11757 * desktop.el (vc-dir-mode): Just autoload it here.
11758
11759 2013-05-02 Alan Mackenzie <acm@muc.de>
11760
11761 Eliminate variable c-standard-font-lock-fontify-region-function.
11762 * progmodes/cc-mode.el
11763 (c-standard-font-lock-fontify-region-function): Remove.
11764 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11765
11766 2013-05-01 Leo Liu <sdl.web@gmail.com>
11767
11768 * progmodes/octave.el: Compatible with older emacs-24 releases.
11769 (inferior-octave-has-built-in-variables): Remove. Built-in
11770 variables were removed from Octave in 2007.
11771 (inferior-octave-startup): Fix uses.
11772 (comint-line-beginning-position): Remove compatibility code for
11773 emacs 21.
11774
11775 2013-05-01 Juri Linkov <juri@jurta.org>
11776
11777 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11778
11779 2013-05-01 Juri Linkov <juri@jurta.org>
11780
11781 * comint.el (comint-previous-matching-input): Don't print message
11782 "History item: %d" when `isearch-mode' is active.
11783 (comint-history-isearch-message): Print message "History item: %d"
11784 when `comint-input-ring-index' is not empty and this function is
11785 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11786
11787 2013-05-01 Leo Liu <sdl.web@gmail.com>
11788
11789 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11790 definitions. Use completion-at-point to insert keywords.
11791 (octave-abbrev-start): Remove.
11792 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11793
11794 2013-04-30 Leo Liu <sdl.web@gmail.com>
11795
11796 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11797 change.
11798
11799 2013-04-30 Alan Mackenzie <acm@muc.de>
11800
11801 Handle arbitrarily long C++ member initialisation lists.
11802 * progmodes/cc-engine.el (c-back-over-member-initializers):
11803 new function.
11804 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11805 (most) member init lists.
11806
11807 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11808
11809 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11810 variable.
11811
11812 2013-04-30 Leo Liu <sdl.web@gmail.com>
11813
11814 * progmodes/octave.el (octave-variables): Remove. No builtin
11815 variables any more. All converted to functions.
11816 (octave-font-lock-keywords, octave-completion-at-point-function):
11817 Fix uses.
11818 (octave-font-lock-texinfo-comment): New user variable.
11819 (octave-texinfo-font-lock-keywords): New variable for texinfo
11820 comment block.
11821 (octave-function-comment-block): New face.
11822 (octave-font-lock-texinfo-comment): New function.
11823 (octave-mode): Font lock texinfo comment block.
11824
11825 2013-04-29 Leo Liu <sdl.web@gmail.com>
11826
11827 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11828 indexing expression.
11829 (octave-continuation-string): Do not use \.
11830 (inferior-octave-complete-impossible): Remove.
11831 (inferior-octave-completion-table)
11832 (inferior-octave-completion-at-point): Remove its uses.
11833 (inferior-octave-startup): completion_matches was introduced to
11834 Octave in 1996 so safe to assume it.
11835 (octave-function-file-comment): Improve to follow how Octave does it.
11836 (octave-update-function-file-comment): Tweak.
11837
11838 2013-04-29 Leo Liu <sdl.web@gmail.com>
11839
11840 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11841 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11842 (octave-function-file-comment): Fix typo.
11843 (octave-sync-function-file-names): Use read-char-choice.
11844
11845 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11846
11847 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11848 to t for the less important warnings.
11849
11850 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11851
11852 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11853
11854 2013-04-27 Glenn Morris <rgm@gnu.org>
11855
11856 * vc/log-view.el (log-view-current-entry):
11857 Treat "---" separator lines as part of the following rev. (Bug#14169)
11858
11859 2013-04-27 Juri Linkov <juri@jurta.org>
11860
11861 * subr.el (read-number): Doc fix about using it by interactive
11862 code letter `n'. (Bug#14254)
11863
11864 2013-04-27 Juri Linkov <juri@jurta.org>
11865
11866 * desktop.el (desktop-auto-save-timeout): New option.
11867 (desktop-file-checksum): New variable.
11868 (desktop-save): Add optional arg `auto-save' and don't auto-save
11869 if nothing changed.
11870 (desktop-auto-save-timer): New variable.
11871 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11872 (after-init-hook): Call `desktop-auto-save-set-timer'.
11873 Suggested by Reuben Thomas <rrt@sc3d.org> in
11874 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11875
11876 2013-04-27 Leo Liu <sdl.web@gmail.com>
11877
11878 * progmodes/octave.el (octave-function-file-p)
11879 (octave-skip-comment-forward, octave-function-file-comment)
11880 (octave-update-function-file-comment): New functions.
11881 (octave-mode-map): Bind C-c ; to
11882 octave-update-function-file-comment.
11883 (octave-mode-menu): Add octave-update-function-file-comment.
11884 (octave-mode, inferior-octave-mode): Fix doc-string.
11885 (octave-insert-defun): Conform to Octave's coding convention.
11886 (Bug#14285)
11887
11888 * files.el (basic-save-buffer): Don't let errors in
11889 before-save-hook prevent saving buffer.
11890
11891 2013-04-20 Roland Winkler <winkler@gnu.org>
11892
11893 * faces.el (read-face-name): Use completing-read if arg multiple
11894 is nil.
11895
11896 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11897
11898 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11899 displayed, move point to after the totals line.
11900 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11901 for the details.
11902
11903 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11904
11905 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11906 Add current dir to the load-path.
11907 (package-generate-autoloads): Don't rely on
11908 autoload-ensure-default-file.
11909
11910 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11911
11912 * textmodes/remember.el (remember-store-in-files): Document that
11913 the file name format is passed to `format-time-string'.
11914
11915 2013-04-26 Leo Liu <sdl.web@gmail.com>
11916
11917 * progmodes/octave.el (octave-sync-function-file-names): New function.
11918 (octave-mode): Use it in before-save-hook.
11919
11920 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11923 (bug#14274).
11924
11925 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11926 \n and comment, even if it's not an implicit ; (bug#14218).
11927
11928 2013-04-26 Glenn Morris <rgm@gnu.org>
11929
11930 * subr.el (read-number): Once more use `read' rather than
11931 `string-to-number', to trap non-numeric input. (Bug#14254)
11932
11933 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11934
11935 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11936 Use `syntax-multiline' text property consistently instead of
11937 `font-lock-multiline'. (Bug#14237)
11938
11939 2013-04-26 Glenn Morris <rgm@gnu.org>
11940
11941 * emacs-lisp/shadow.el (list-load-path-shadows):
11942 No longer necessary to check for duplicate simple.el, since
11943 2012-07-07 change to init_lread to not include installation lisp
11944 directories in load-path when running uninstalled. (Bug#14270)
11945
11946 2013-04-26 Leo Liu <sdl.web@gmail.com>
11947
11948 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11949 (octave-mode, inferior-octave-mode): Use setq-local.
11950 (octave-not-in-string-or-comment-p): Rename to
11951 octave-in-string-or-comment-p.
11952 (octave-in-comment-p, octave-in-string-p)
11953 (octave-in-string-or-comment-p): Replace defsubst with defun.
11954
11955 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11956
11957 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11958
11959 2013-04-25 Bastien Guerry <bzg@gnu.org>
11960
11961 * textmodes/remember.el (remember-data-directory)
11962 (remember-directory-file-name-format): Fix custom types.
11963
11964 2013-04-25 Leo Liu <sdl.web@gmail.com>
11965
11966 * progmodes/octave.el (octave-completion-at-point-function):
11967 Make use of inferior octave process.
11968 (octave-initialize-completions): Remove.
11969 (inferior-octave-completion-table): New function.
11970 (inferior-octave-completion-at-point): Use it.
11971 (octave-completion-alist): Remove.
11972
11973 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11976 (opascal-mode-syntax-table): New var.
11977 (opascal-literal-kind, opascal-is-literal-end)
11978 (opascal-literal-token-at): Rewrite.
11979 (opascal--literal-start-re, opascal-font-lock-keywords)
11980 (opascal--syntax-propertize): New constants.
11981 (opascal-font-lock-defaults): Adjust.
11982 (opascal-mode): Use them. Set comment-<foo> variables as well.
11983 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11984 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11985 (delphi-other-face, opascal-other-face): Remove face variables.
11986 (opascal-save-state): Remove macro.
11987 (opascal-fontifying-progress-step): Remove constant.
11988 (opascal--ignore-changes): Remove var.
11989 (opascal-set-token-property, opascal-parse-next-literal)
11990 (opascal-is-stable-literal, opascal-complete-literal)
11991 (opascal-is-literal-start, opascal-face-of)
11992 (opascal-parse-region, opascal-parse-region-until-stable)
11993 (opascal-fontify-region, opascal-after-change)
11994 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11995 (opascal-debug-parse-region, opascal-debug-parse-window)
11996 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11997 (opascal-debug-fontify-buffer): Remove.
11998 (opascal-debug-mode-map): Adjust accordingly.
11999
12000 2013-04-25 Leo Liu <sdl.web@gmail.com>
12001
12002 Merge octave-mod.el and octave-inf.el into octave.el with some
12003 cleanups.
12004 * progmodes/octave.el: New file renamed from octave-mod.el.
12005 * progmodes/octave-inf.el: Merged into octave.el.
12006 * progmodes/octave-mod.el: Renamed to octave.el.
12007
12008 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12009
12010 * textmodes/reftex-vars.el
12011 (reftex-label-ignored-macros-and-environments): New defcustom.
12012
12013 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12014
12015 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12016
12017 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12018 (smie-indent-keyword): Improve the check to ensure that the next
12019 comment is really on the same line.
12020 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12021
12022 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12023 semi-colons if the line is not otherwise empty (bug#14218).
12024
12025 2013-04-25 Glenn Morris <rgm@gnu.org>
12026
12027 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12028
12029 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * progmodes/opascal.el (opascal-set-token-property): Rename from
12032 opascal-set-text-properties and only set `token' (bug#14134).
12033 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12034 (opascal-literal-text-properties): Remove.
12035 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12036 Adjust callers.
12037
12038 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12039
12040 * textmodes/remember.el (remember-handler-functions): Add an
12041 option for a new handler `remember-store-in-files'.
12042 (remember-data-directory, remember-directory-file-name-format):
12043 New options.
12044 (remember-store-in-files): New function to store remember notes
12045 as separate files within a directory.
12046
12047 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12048
12049 * progmodes/compile.el (compilation-next-error-function):
12050 Pass "formats" to compilation-find-file (bug#11777).
12051
12052 2013-04-24 Glenn Morris <rgm@gnu.org>
12053
12054 * vc/vc-bzr.el (vc-bzr-print-log):
12055 * vc/vc-hg.el (vc-hg-print-log):
12056 * vc/vc-svn.el (vc-svn-print-log):
12057 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12058
12059 * vc/vc-bzr.el (vc-bzr-print-log):
12060 * vc/vc-cvs.el (vc-cvs-print-log):
12061 * vc/vc-git.el (vc-git-print-log):
12062 * vc/vc-hg.el (vc-hg-print-log):
12063 * vc/vc-mtn.el (vc-mtn-print-log):
12064 * vc/vc-rcs.el (vc-rcs-print-log):
12065 * vc/vc-sccs.el (vc-sccs-print-log):
12066 * vc/vc-svn.el (vc-svn-print-log):
12067 * vc/vc.el (vc-print-log-internal): Doc fixes.
12068
12069 2013-04-23 Glenn Morris <rgm@gnu.org>
12070
12071 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12072 Remove venerable code attempting to avoid substitute-command-keys.
12073
12074 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12075
12076 * textmodes/reftex-vars.el (reftex-label-regexps):
12077 Call `reftex-compile-variables' after changes to this variable.
12078
12079 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12082 Use lexical-binding.
12083 (jit-lock-force-redisplay): Use markers, check buffer's continued
12084 existence and beware narrowed buffers.
12085 (jit-lock-fontify-now): Adjust call accordingly.
12086
12087 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12090 to avoid misleading the user.
12091
12092 2013-04-22 Leo Liu <sdl.web@gmail.com>
12093
12094 * info-look.el: Prefer latex2e.info. (Bug#14240)
12095
12096 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12097
12098 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12099
12100 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12101 * net/tramp.el (tramp-call-process): ... here.
12102 (tramp-set-completion-function, tramp-parse-putty):
12103 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12104 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12105 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12106 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12107 (tramp-call-local-coding-command): Use `tramp-call-process'
12108 instead of `tramp-compat-call-process'.
12109
12110 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12111 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12112 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12113 (tramp-find-inline-compress): Improve traces.
12114 (tramp-maybe-send-script): Check for Perl binary.
12115 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12116
12117 2013-04-22 Daiki Ueno <ueno@gnu.org>
12118
12119 * epg.el (epg-context-pinentry-mode): New function.
12120 (epg-context-set-pinentry-mode): New function.
12121 (epg--start): Pass --pinentry-mode option to gpg command.
12122
12123 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12124
12125 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12126 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12127 `completion-at-point'. (Bug#13774)
12128
12129 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12130 default key binding for `describe-distribution' has been moved to
12131 `C-h C-o'. (Bug#13970)
12132
12133 2013-04-21 Glenn Morris <rgm@gnu.org>
12134
12135 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12136 Add doc strings.
12137 (vc-print-log): Clarify interactive prompt.
12138
12139 2013-04-20 Glenn Morris <rgm@gnu.org>
12140
12141 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12142 No longer include timestamp etc information.
12143
12144 2013-04-20 Roland Winkler <winkler@gnu.org>
12145
12146 * faces.el (read-face-name): Bug fix, return just one face if arg
12147 multiple is nil. (Bug#14209)
12148
12149 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12152 (remove-function): Autoload.
12153
12154 * comint.el (comint-redirect-original-filter-function): Remove.
12155 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12156 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12157 (vc-cvs-annotate-command):
12158 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12159 * progmodes/prolog.el (prolog-consult-compile):
12160 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12161 Use add/remove-function instead.
12162 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12163 (gud-tooltip-process-output, gud-tooltip-tips):
12164 Use add/remove-function instead.
12165 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12166 (scheme-interaction-mode, exit-scheme-interaction-mode):
12167 Use add/remove-function instead.
12168
12169 * vc/vc-dispatcher.el: Use lexical-binding.
12170 (vc--process-sentinel): Rename from vc-process-sentinel.
12171 Change last arg to be the code to run. Don't use vc-previous-sentinel
12172 and vc-sentinel-commands any more.
12173 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12174 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12175
12176 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12177
12178 * progmodes/sh-script.el (sh-imenu-generic-expression):
12179 Handle function names with a single character. (Bug#14111)
12180
12181 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12182
12183 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12184 for subroutines defined in an eval (bug#14182).
12185
12186 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12187
12188 * bookmark.el (bookmark-completing-read): Improve handling of empty
12189 string (bug#14176).
12190
12191 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12192
12193 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12194
12195 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12196
12197 New faster Imenu implementation (bug#14058).
12198 * progmodes/python.el:
12199 (python-imenu-prev-index-position):
12200 (python-imenu-format-item-label-function)
12201 (python-imenu-format-parent-item-label-function)
12202 (python-imenu-format-parent-item-jump-label-function):
12203 New vars.
12204 (python-imenu-format-item-label)
12205 (python-imenu-format-parent-item-label)
12206 (python-imenu-format-parent-item-jump-label)
12207 (python-imenu--put-parent, python-imenu--build-tree)
12208 (python-imenu-create-index, python-imenu-create-flat-index)
12209 (python-util-popn): New functions.
12210 (python-mode): Set imenu-create-index-function to
12211 python-imenu-create-index.
12212
12213 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * winner.el (winner-active-region): Use region-active-p, activate-mark
12216 and deactivate-mark (bug#14225).
12217
12218 * simple.el (deactivate-mark): Don't inline it.
12219
12220 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12221
12222 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12223
12224 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12225
12226 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12227 file extensions from the archive-mode entry in order to prefer
12228 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12229
12230 2013-04-18 Leo Liu <sdl.web@gmail.com>
12231
12232 * bindings.el (help-event-list): Add ?\?.
12233
12234 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * subr.el (with-wrapper-hook): Declare obsolete.
12237 * simple.el (filter-buffer-substring-function): New hook.
12238 (filter-buffer-substring): Use it.
12239 (filter-buffer-substring-functions): Mark obsolete.
12240 * minibuffer.el (completion-in-region-function): New hook.
12241 (completion-in-region): Use it.
12242 (completion-in-region-functions): Mark obsolete.
12243 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12244 * abbrev.el (abbrev-expand-function): New hook.
12245 (expand-abbrev): Use it.
12246 (abbrev-expand-functions): Mark obsolete.
12247 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12248 and :filter-return.
12249
12250 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12251
12252 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12253 and do not care about match data.
12254
12255 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12258 completion tables when completing error conditions and
12259 `declare' arguments.
12260 (lisp-complete-symbol, field-complete): Mark as obsolete.
12261 (check-parens): Unmatched parens are user errors.
12262 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12263
12264 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12265
12266 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12267 command changed buffer (ie. `flyspell-pre-buffer' is not current
12268 buffer), which prevents making decisions based on invalid value of
12269 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12270 cause an error when `flyspell-pre-point' was nil after switching
12271 buffers.
12272 (flyspell-post-command-hook): No longer needs to change buffers when
12273 checking pre-word. While at it remove unnecessary progn.
12274
12275 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12276
12277 * textmodes/ispell.el (ispell-add-per-file-word-list):
12278 Fix `flyspell-correct-word-before-point' error when accepting
12279 words and `coment-padding' is an integer by using
12280 `comment-normalize-vars' (Bug #14214).
12281
12282 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12283
12284 New defun movement commands.
12285 * progmodes/python.el (python-nav--syntactically)
12286 (python-nav--forward-defun, python-nav-backward-defun)
12287 (python-nav-forward-defun): New functions.
12288
12289 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12290
12291 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12292 (python-syntax-context): Use named compiler-macro for backwards
12293 compatibility with Emacs 24.x.
12294
12295 2013-04-17 Leo Liu <sdl.web@gmail.com>
12296
12297 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12298 octave-hide-process-buffer.
12299
12300 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12303 (bug#14216).
12304
12305 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12306
12307 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12308 Fix adjustment of offset when receiving incomplete responses from GDB
12309 (bug#14129).
12310
12311 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12314 python-mode-abbrev-table.
12315 (python-skeleton-define): Adjust accordingly.
12316 (python-mode-abbrev-table): New table that inherits from it so that
12317 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12318
12319 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12320 (abbrev-symbol): Use it.
12321 (abbrev--before-point): Use it since we already handle inheritance.
12322
12323 2013-04-16 Leo Liu <sdl.web@gmail.com>
12324
12325 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12326 binding to info-lookup-symbol.
12327
12328 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12329
12330 * minibuffer.el (completion--twq-all):
12331 * term/ns-win.el (ns-initialize-window-system):
12332 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12333
12334 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12337 global bindings.
12338
12339 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12340
12341 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12342
12343 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12344 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12345 to nil.
12346 (ruby-end-of-defun): Remove the unused arg, change the docstring
12347 to reflect that this function is only used as the value of
12348 `end-of-defun-function'.
12349 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12350 to reflect an earlier change that beginning/end-of-defun functions
12351 jump between methods in a class definition, as well as top-level
12352 functions.
12353
12354 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * minibuffer.el (minibuffer-complete): Don't just scroll
12357 a *Completions* that's been iconified.
12358 (minibuffer-force-complete): Make sure repetitions do cycle when going
12359 through completion-in-region -> minibuffer-complete.
12360
12361 2013-04-15 Alan Mackenzie <acm@muc.de>
12362
12363 Correct the placement of c-cpp-delimiters when there're #s not at
12364 col 0.
12365
12366 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12367 place a submatch around the #.
12368 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12369 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12370 on the #, not BOL.
12371
12372 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12375 (advice--member-p): New arg `name'.
12376 (advice--add-function, advice-member-p): Use it (bug#14202).
12377
12378 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12379
12380 Reformulate java imenu-generic-expression.
12381 The old expression contained ill formed regexps.
12382
12383 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12384 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12385 (cc-imenu-java-method-arg-regexp): New defconsts.
12386 (cc-imenu-java-build-type-args-regex): New defun.
12387 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12388 handling of spaces in the regexp.
12389
12390 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12391
12392 * textmodes/ispell.el (ispell-command-loop): Remove
12393 flyspell highlight of a word when ispell accepts it (bug #14178).
12394
12395 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12396
12397 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12398 uses code from the previous `ange-ftp-run-real-handler'.
12399 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12400 only in case that function exist. This is needed for proper
12401 unloading of Tramp.
12402
12403 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12404
12405 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12406
12407 * textmodes/reftex.el (reftex-compile-variables): Use it.
12408
12409 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * files.el (normal-mode): Only use default major-mode if no other mode
12412 was specified.
12413
12414 * emacs-lisp/trace.el (trace-values): New function.
12415
12416 * files.el: Allow : in local variables (bug#14089).
12417 (hack-local-variable-regexp): New var.
12418 (hack-local-variables-prop-line, hack-local-variables): Use it.
12419
12420 2013-04-13 Roland Winkler <winkler@gnu.org>
12421
12422 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12423 data before it gets modified by bibtex-beginning-of-entry.
12424
12425 2013-04-13 Roland Winkler <winkler@gnu.org>
12426
12427 * textmodes/bibtex.el (bibtex-url): Doc fix.
12428
12429 2013-04-13 Roland Winkler <winkler@gnu.org>
12430
12431 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12432 does not visit a BibTeX file, exclude it from the list of buffers
12433 returned by bibtex-initialize.
12434
12435 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12436
12437 * window.el (split-window): Remove interactive form, since as a
12438 command this function is a special case of split-window-below.
12439 Correct doc string.
12440
12441 2013-04-12 Roland Winkler <winkler@gnu.org>
12442
12443 * faces.el (read-face-name): Do not override value of arg default.
12444 Allow single faces and strings as default values. Remove those
12445 elements from return value that are not faces.
12446 (describe-face): Simplify.
12447 (face-at-point): New optional args thing and multiple so that this
12448 function can provide the same functionality previously provided by
12449 read-face-name.
12450 (make-face-bold, make-face-unbold, make-face-italic)
12451 (make-face-unitalic, make-face-bold-italic, invert-face)
12452 (modify-face, read-face-and-attribute): Use face-at-point.
12453
12454 * cus-edit.el (customize-face, customize-face-other-window)
12455 * cus-theme.el (custom-theme-add-face)
12456 * face-remap.el (buffer-face-set)
12457 * facemenu.el (facemenu-set-face): Use face-at-point.
12458
12459 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12460
12461 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12462
12463 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12464
12465 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12466 off leading { and trailing } from field values.
12467
12468 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * emacs-lisp/timer.el (timer--check): New function.
12471 (timer--time, timer-set-function, timer-event-handler): Use it.
12472 (timer-set-idle-time): Simplify.
12473 (timer--activate): CSE.
12474 (timer-event-handler): Give more info in error message.
12475 (internal-timer-start-idle): New function, moved from C.
12476
12477 * mpc.el (mpc-proc): Add `restart' argument.
12478 (mpc-proc-cmd): Use it.
12479 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12480 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12481 less often.
12482
12483 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12484
12485 * progmodes/sh-script.el: Implement `sh-mode' own
12486 `add-log-current-defun-function' (bug#14112).
12487 (sh-current-defun-name): New function.
12488 (sh-mode): Use the function.
12489
12490 2013-04-09 Bastien Guerry <bzg@gnu.org>
12491
12492 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12493
12494 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12497
12498 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12499 timer (bug#14156).
12500
12501 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12502
12503 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12504 declaration.
12505
12506 2013-04-07 Leo Liu <sdl.web@gmail.com>
12507
12508 * pcmpl-x.el: New file.
12509
12510 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12511
12512 Do not set x-display-name until X connection is established.
12513 This is needed to prevent from weird situation described at
12514 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12515 * frame.el (make-frame): Set x-display-name after call to
12516 window system initialization function, not before.
12517 * term/x-win.el (x-initialize-window-system): Add optional
12518 display argument and use it.
12519 * term/w32-win.el (w32-initialize-window-system):
12520 * term/ns-win.el (ns-initialize-window-system):
12521 * term/pc-win.el (msdos-initialize-window-system):
12522 Add compatible optional display argument.
12523
12524 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12525
12526 * files.el (normal-backup-enable-predicate): On MS-Windows and
12527 MS-DOS compare truenames of temporary-file-directory and of the
12528 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12529 don't fail comparison by compare-strings. Also, compare file
12530 names case-insensitively on MS-Windows and MS-DOS.
12531
12532 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12535 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12536
12537 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12538
12539 * whitespace.el (whitespace-color-on, whitespace-color-off):
12540 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12541
12542 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12543
12544 * ispell.el (ispell-set-spellchecker-params):
12545 Really set `ispell-args' for all equivs.
12546
12547 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12548
12549 * ido.el (ido-completions): Use extra elements of ido-decorations
12550 (bug#14143).
12551 (ido-decorations): Update docstring.
12552
12553 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12554
12555 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12556 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12557 nil during initialization, in order not to miss changes since the
12558 file was opened. (Bug#14140)
12559
12560 2013-04-05 Leo Liu <sdl.web@gmail.com>
12561
12562 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12563
12564 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12565
12566 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12567
12568 2013-04-04 Glenn Morris <rgm@gnu.org>
12569
12570 * electric.el (electric-pair-inhibit-predicate): Add :version.
12571
12572 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12575 when a package is required several times (bug#14082).
12576
12577 2013-04-04 Roland Winkler <winkler@gnu.org>
12578
12579 * faces.el (read-face-name): Behave as promised by the docstring.
12580 Assume that arg default is a list of faces.
12581 (describe-face): Call read-face-name with list of default faces.
12582
12583 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12584
12585 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12586 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12587 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12588 the header.
12589 (bookmark-exit-hook-internal): Save even if list is empty.
12590
12591 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12592
12593 * emacs-lisp/package.el (package-pinned-packages): New var.
12594 (package--add-to-archive-contents): Obey it (bug#14118).
12595
12596 2013-04-03 Alan Mackenzie <acm@muc.de>
12597
12598 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12599 Also adapt to the new values of element 7 of a parse state.
12600
12601 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12602 parameter `not-in-delimiter'. Handle being inside comment opener.
12603 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12604 character in case we're typing a '*' after a '/'.
12605 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12606 instead by passing the parameter to c-state-pp-to-literal.
12607
12608 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12609 for elt. 7 of a parse state.
12610
12611 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12612
12613 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12614 * international/latin1-disp.el, international/mule-util.el:
12615 * language/cyril-util.el, language/european.el, language/ind-util.el:
12616 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12617 * language/tibetan.el, language/viet-util.el:
12618 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12619
12620 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12623 (electric-pair-post-self-insert-function): Use it.
12624 (electric-pair-default-inhibit): New function, extracted from
12625 electric-pair-post-self-insert-function.
12626
12627 2013-03-31 Roland Winkler <winkler@gnu.org>
12628
12629 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12630
12631 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12634
12635 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12636
12637 Un-indent after "pass" and "return" statements (Bug#13888)
12638 * progmodes/python.el (python-indent-block-enders): New var.
12639 (python-indent-calculate-indentation): Use it.
12640
12641 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12642
12643 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12644 defun. Defining it as defalias could introduce too eager
12645 byte-compiler optimization. (Bug#14030)
12646
12647 2013-03-30 Chong Yidong <cyd@gnu.org>
12648
12649 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12650
12651 2013-03-30 Leo Liu <sdl.web@gmail.com>
12652
12653 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12654 (kmacro-execute-from-register): Pass the keyboard macro to
12655 kmacro-call-macro or repeating won't work correctly.
12656
12657 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12658
12659 * progmodes/subword.el: Back to using `forward-symbol'.
12660
12661 * subr.el (forward-whitespace, forward-symbol)
12662 (forward-same-syntax): Move from thingatpt.el.
12663
12664 2013-03-29 Leo Liu <sdl.web@gmail.com>
12665
12666 * kmacro.el (kmacro-to-register): New command.
12667 (kmacro-execute-from-register): New function.
12668 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12669
12670 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * mpc.el: Use defvar-local and setq-local.
12673 (mpc--proc-connect): Connection failures are not bugs.
12674 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12675 (mpc-volume-map): Bind to the up-events.
12676
12677 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12678
12679 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12680 instead of `forward-symbol'.
12681
12682 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12683
12684 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12685 (edebug--recursive-edit): Use it.
12686 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12687 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12688
12689 2013-03-28 Leo Liu <sdl.web@gmail.com>
12690
12691 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12692
12693 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12694
12695 * facemenu.el (list-colors-callback): New defvar.
12696 (list-colors-redisplay): New function.
12697 (list-colors-display): Install list-colors-redisplay as the
12698 revert-buffer-function. (Bug#14063)
12699
12700 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12703 and suffixes don't overlap (bug#14061).
12704
12705 * case-table.el: Use lexical-binding.
12706 (case-table-get-table): New function.
12707 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12708
12709 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12710
12711 * progmodes/subword.el: Add `superword-mode' to do word motion
12712 over symbol_words (parallels and leverages `subword-mode' which
12713 does word motion inside MixedCaseWords).
12714
12715 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12716
12717 * eshell/em-unix.el: Move su and sudo to...
12718 * eshell/em-tramp.el: ...Eshell tramp module.
12719
12720 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12723 Change return value to be a sexp. Delay `get-buffer' to after
12724 restoring the desktop (bug#13951).
12725
12726 2013-03-26 Leo Liu <sdl.web@gmail.com>
12727
12728 * register.el: Move semantic tag handling back to
12729 cedet/semantic/senator.el. (Bug#14052)
12730
12731 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12734 into the prompt either (bug#13963).
12735
12736 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12737
12738 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12739 part of "(error-foo)".
12740
12741 2013-03-24 Juri Linkov <juri@jurta.org>
12742
12743 * replace.el (list-matching-lines-prefix-face): New defcustom.
12744 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12745 `occur-engine' if `face-differs-from-default-p' returns t.
12746 (occur-engine): Add `,' inside backquote construct to evaluate
12747 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12748 Pass `prefix-face' to the functions `occur-context-lines' and
12749 `occur-engine-add-prefix'.
12750 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12751 `prefix-face' and propertize the prefix with `prefix-face'.
12752 (Bug#14017)
12753
12754 2013-03-24 Leo Liu <sdl.web@gmail.com>
12755
12756 * nxml/rng-valid.el (rng-validate-while-idle)
12757 (rng-validate-quick-while-idle): Guard against deleted buffer.
12758 (Bug#13999)
12759
12760 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12761 is the last entry in kill-buffer-hook.
12762
12763 * files.el (kill-buffer-hook): Doc fix.
12764
12765 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12766
12767 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12768 Make it safe-local.
12769
12770 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12771
12772 2013-03-23 Leo Liu <sdl.web@gmail.com>
12773
12774 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12775 Remove.
12776
12777 * nxml/rng-valid.el (rng-validate-mode)
12778 (rng-after-change-function, rng-do-some-validation):
12779 * nxml/rng-maint.el (rng-validate-buffer):
12780 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12781 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12782 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12783 (nxml-extend-after-change-region): Use with-silent-modifications.
12784
12785 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12786 timer-idle-list.
12787
12788 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12789 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12790 timer-idle-list. (Bug#13999)
12791
12792 2013-03-23 Juri Linkov <juri@jurta.org>
12793
12794 * info.el (info-index-match): New face.
12795 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12796 main pattern and add text properties with the new face to matches
12797 in index entries relative to the beginning of the index entry.
12798 (Bug#14015)
12799
12800 2013-03-21 Eric Ludlam <zappo@gnu.org>
12801
12802 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12803 Inhibit read only while inserting objects.
12804
12805 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12806
12807 * progmodes/cfengine.el: Update docs to mention
12808 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12809 symbol motion. Remove "_" from the word syntax.
12810
12811 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12812
12813 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12814 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12815
12816 2013-03-20 Juri Linkov <juri@jurta.org>
12817
12818 * info.el (Info-next-reference-or-link)
12819 (Info-prev-reference-or-link): New functions.
12820 (Info-next-reference, Info-prev-reference): Use them.
12821 (Info-try-follow-nearest-node): Handle footnote navigation.
12822 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12823
12824 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12827 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12828
12829 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12830
12831 Suppress unnecessary non-ASCII chatter during build process.
12832 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12833 (batch-skkdic-convert): Suppress most of the chatter.
12834 It's not needed so much now that machines are faster,
12835 and its non-ASCII component was confusing; see Dmitry Gutov in
12836 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12837
12838 2013-03-20 Leo Liu <sdl.web@gmail.com>
12839
12840 * ido.el (ido-chop): Fix bug#10994.
12841
12842 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12843
12844 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12845 Remove vars.
12846 (whitespace-color-on, whitespace-color-off):
12847 Use `font-lock-fontify-buffer' (Bug#13817).
12848
12849 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12852 remapping in mode-line.
12853 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12854
12855 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12856
12857 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12858 value for `whitespace-line' face (Bug#13875).
12859 (whitespace-font-lock-keywords): Change description.
12860 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12861 the constructed keywords instead.
12862 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12863
12864 2013-03-19 Leo Liu <sdl.web@gmail.com>
12865
12866 * progmodes/compile.el (compilation-display-error): New command.
12867 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12868 C-o. (Bug#13992)
12869
12870 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12871
12872 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12873
12874 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12875
12876 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12877
12878 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12879
12880 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12881
12882 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12883 * net/tramp-gvfs.el (top):
12884 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12885 (tramp-handle-shell-command): Use it.
12886 (tramp-dissect-file-name): Raise an error when hostname is a
12887 method name, and neither method nor user is specified.
12888
12889 * net/trampver.el: Update release number.
12890
12891 2013-03-18 Leo Liu <sdl.web@gmail.com>
12892
12893 Make sure eldoc can be turned off properly.
12894 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12895 eldoc-mode.
12896 (eldoc-display-message-p): Revert last change.
12897 (eldoc-display-message-no-interference-p)
12898 (eldoc-print-current-symbol-info): Tweak.
12899
12900 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12901
12902 * doc-view.el (doc-view-new-window-function): Check the new window
12903 overlay's display property instead the char property of the
12904 buffer's first char. Use `with-selected-window' instead of
12905 `save-window-excursion' with `select-window'.
12906 (doc-view-document->bitmap): Check the current doc-view overlay's
12907 display property instead the char property of the buffer's first char.
12908
12909 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12910
12911 Automate the build of ja-dic.el (Bug#13984).
12912 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12913 from the input, rather than assume that it's been done for us by the
12914 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12915 the current date into a ja-dic.el comment, as that complicates
12916 regression testing.
12917
12918 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * whitespace.el: Fix double evaluation.
12921 (whitespace-space, whitespace-hspace, whitespace-tab)
12922 (whitespace-newline, whitespace-trailing, whitespace-line)
12923 (whitespace-space-before-tab, whitespace-indentation)
12924 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12925 obsolete defvars.
12926 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12927 (whitespace-color-on): Use a single font-lock-add-keywords call.
12928 Fix double-evaluation of face variables.
12929
12930 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12931
12932 * net/tramp-adb.el (tramp-adb-parse-device-names):
12933 Use `start-process' instead of `call-process'. Otherwise, the
12934 function might be blocked under MS Windows. (Bug#13299)
12935
12936 2013-03-17 Leo Liu <sdl.web@gmail.com>
12937
12938 Extend eldoc to display info in the mode-line. (Bug#13978)
12939 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12940 (eldoc-mode-line-string): New variable.
12941 (eldoc-minibuffer-message): New function.
12942 (eldoc-message-function): New variable.
12943 (eldoc-message): Use it.
12944 (eldoc-display-message-p)
12945 (eldoc-display-message-no-interference-p):
12946 Support eldoc-post-insert-mode.
12947
12948 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12949 (eval-expression): Run it.
12950
12951 2013-03-17 Roland Winkler <winkler@gnu.org>
12952
12953 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12954 strings in the list of return values.
12955
12956 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12957
12958 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12959 radix before checking for HMS forms.
12960
12961 2013-03-16 Leo Liu <sdl.web@gmail.com>
12962
12963 * progmodes/scheme.el: Add indentation and font-locking for λ.
12964 (Bug#13975)
12965
12966 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12969 token before point (bug#13942).
12970
12971 2013-03-16 Leo Liu <sdl.web@gmail.com>
12972
12973 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12974
12975 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12976
12977 * startup.el (command-line-normalize-file-name): Fix handling of
12978 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12979 <xfq.free@gmail.com> in
12980 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12981
12982 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12983
12984 Sync with Tramp 2.2.7.
12985
12986 * net/trampver.el: Update release number.
12987
12988 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12989
12990 * doc-view.el: Fix bug#13887.
12991 (doc-view-insert-image): Don't modify overlay associated to
12992 non-live windows, and implement horizontal centering of image in
12993 case it's smaller than the window.
12994 (doc-view-new-window-function): Force redisplay of new windows on
12995 doc-view buffers.
12996
12997 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12998
12999 * saveplace.el (save-place-alist-to-file): Don't sort
13000 `save-place-alist', just pretty-print it (bug#13882).
13001
13002 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13003
13004 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13005 Check whether `default-file-name-coding-system' is bound.
13006 It isn't in XEmacs.
13007
13008 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13009
13010 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13011 backquotes for `obsolete' (bug#13929).
13012
13013 * international/mule.el (find-auto-coding): Include file name in
13014 obsolescence warning (bug#13922).
13015
13016 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13017
13018 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13019 for CFEngine 3-specific indentation.
13020 (cfengine3-indent-line): Use it. Fix up category regex.
13021 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13022
13023 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * type-break.el (type-break-file-name):
13026 * textmodes/remember.el (remember-data-file):
13027 * strokes.el (strokes-file):
13028 * shadowfile.el (shadow-initialize):
13029 * saveplace.el (save-place-file):
13030 * ps-bdf.el (bdf-cache-file):
13031 * progmodes/idlwave.el (idlwave-config-directory):
13032 * net/quickurl.el (quickurl-url-file):
13033 * international/kkc.el (kkc-init-file-name):
13034 * ido.el (ido-save-directory-list-file):
13035 * emulation/viper.el (viper-custom-file-name):
13036 * emulation/vip.el (vip-startup-file):
13037 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13038 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13039
13040 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13041
13042 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13043 * language/thai-word.el: Switch to UTF-8.
13044
13045 See ChangeLog.16 for earlier changes.
13046
13047 ;; Local Variables:
13048 ;; coding: utf-8
13049 ;; End:
13050
13051 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13052
13053 This file is part of GNU Emacs.
13054
13055 GNU Emacs is free software: you can redistribute it and/or modify
13056 it under the terms of the GNU General Public License as published by
13057 the Free Software Foundation, either version 3 of the License, or
13058 (at your option) any later version.
13059
13060 GNU Emacs is distributed in the hope that it will be useful,
13061 but WITHOUT ANY WARRANTY; without even the implied warranty of
13062 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13063 GNU General Public License for more details.
13064
13065 You should have received a copy of the GNU General Public License
13066 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.