42af81b22178d915086e484a967e6c777f65d913
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4 predicate function (bug#15455).
5
6 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
7
8 * ielm.el (inferior-emacs-lisp-mode): Instead of
9 `comment-use-global-state', set `comment-use-syntax'.
10
11 2014-02-10 Glenn Morris <rgm@gnu.org>
12
13 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
14
15 2014-02-09 Alan Mackenzie <acm@muc.de>
16
17 Fix c-invalidate-state-cache on narrowed buffers.
18 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
19 Widen when setting and clearing the CPP delimiter properties.
20
21 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
22
23 * help.el (describe-bindings): Doc fix (bug#9888).
24
25 * files.el (save-buffer): Use ARG as the parameter name for
26 consistency (bug#10346).
27 (save-buffer): Clarify the 0 argument (bug#10346).
28
29 * cus-edit.el (customize-apropos): Fix error string.
30 (custom-buffer-create): Doc fix (bug#11122).
31 (custom-sort-items): Doc fix (bug#11121).
32
33 * dired-aux.el (dired-copy-file-recursive): Remove slighly
34 misleading comment (bug#11328).
35
36 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
37
38 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
39 (icomplete-simple-completing-p): Mention the previous variable.
40
41 * font-lock.el (font-lock-value-in-major-mode): Clarify the
42 meaning of the parameter (bug#12282).
43
44 * files.el (find-file-noselect): Clarify prompt when changing
45 readedness (bug#13261).
46 (locate-file): Suffixes aren't returned, so don't say that they
47 are (bug#12674).
48 (backup-inhibited): Doc clarification (bug#12525).
49
50 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
51 before we actually start to delete things (bug#16331).
52
53 * subr.el (event-start): Doc fix (bug#14228).
54 (event-end): Ditto.
55
56 2014-02-09 Glenn Morris <rgm@gnu.org>
57
58 * emacs-lisp/warnings.el (lwarn):
59 Empower help-enable-auto-load. (Bug#15940)
60
61 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
62
63 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
64 (Bug#16690)
65
66 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
67
68 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
69 Insert output at end of buffer. (Bug#16120)
70
71 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
72
73 * simple.el (choose-completion-string-functions): Document new
74 calling convention (bug#14153).
75 (execute-extended-command): Clarify doc string (bug#13373).
76
77 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
78
79 * find-dired.el (find-name-dired): Doc fix (bug#14290).
80 (find-grep-dired): Doc fix (bug#14288).
81
82 2014-02-08 Juri Linkov <juri@jurta.org>
83
84 * isearch.el (isearch-quote-char): Check character validity
85 like in `quoted-insert' (bug#16677).
86
87 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
88
89 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
90
91 * isearch.el (isearch-hide-immediately): Doc clarification
92 (bug#14723).
93
94 * simple.el (line-move): Document utility function used many
95 places in the Emacs sources (bug#14843).
96
97 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
98 (dired-prev-marked-file): Doc fix (bug#14855).
99 (dired-up-directory): Doc fix (bug#14848).
100
101 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
102
103 * files.el (file-relative-name): Doc fix (bug#15159).
104
105 * fringe.el (fringe-styles): Doc fix (bug#15239).
106
107 * isearch.el (isearch-filter-predicate): Documentation typo fix
108 (bug#15474).
109
110 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
111
112 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
113
114 * replace.el (replace-match-maybe-edit): Doc clarification
115 (bug#15632).
116
117 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
118
119 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
120
121 2014-02-08 Glenn Morris <rgm@gnu.org>
122
123 * help-fns.el (describe-variable):
124 Check {file,dir}-local-variables-alist, and buffer-file-name,
125 in the correct buffer.
126
127 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
128
129 * help-fns.el (describe-variable): Fix the case where
130 a value is directory-local with no dir-locals file. (Bug#16635)
131
132 2014-02-08 Glenn Morris <rgm@gnu.org>
133
134 * abbrev.el (edit-abbrevs-mode):
135 Derive from fundamental-mode. (Bug#16682)
136
137 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
138
139 * simple.el (quoted-insert): Check character validity (bug#16677).
140
141 2014-02-07 Juri Linkov <juri@jurta.org>
142
143 * desktop.el (desktop-read): Claim the lock when the owner is not
144 the current process. (Bug#16157)
145
146 2014-02-07 Juri Linkov <juri@jurta.org>
147
148 * desktop.el (desktop-buffers-not-to-save): Change default from nil
149 to "\\` ". (Bug#16651)
150
151 2014-02-07 Juri Linkov <juri@jurta.org>
152
153 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
154 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
155 (desktop-auto-save-cancel-timer): New function with some code from
156 `desktop-auto-save-set-timer'.
157 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
158 Instead of setting `desktop-save-mode' to nil, call
159 `desktop-save-mode' with arg 0. (Bug#16630)
160
161 2014-02-07 Glenn Morris <rgm@gnu.org>
162
163 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
164 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
165 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
166
167 * obsolete/iswitchb.el: Move to obsolete/.
168 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
169 since obsolete/ is not scanned for autoloads.
170 * emacs-lisp/authors.el (authors-valid-file-names):
171 Add iswitchb.el.
172
173 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
174 Disable now non-functional find-file-hook.
175
176 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
177
178 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
179 instead of ";" in order to avoid additional prompts. Let heredoc
180 scripts read from tty. (Bug#16582)
181 (tramp-send-command): No special handling of heredocs, it isn't
182 necessary anymore.
183
184 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
187 with a space (bug#16664). Limit the symbols considered to the ones
188 that are bound or fbound (bug#16646).
189
190 2014-02-06 Glenn Morris <rgm@gnu.org>
191
192 * epa.el (epa-mail-aliases): Doc fix.
193
194 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
195
196 * emacs-lisp/lisp.el (lisp-completion-at-point):
197 Use `completion-table-merge' instead of `completion-table-in-turn'
198 (bug#16604).
199
200 * minibuffer.el (completion-table-merge): New function.
201
202 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
203
204 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
205 (tramp-sh-handle-set-file-acl)
206 (tramp-sh-handle-start-file-process)
207 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
208 (tramp-find-executable, tramp-send-command): Use it.
209
210 2014-02-05 Glenn Morris <rgm@gnu.org>
211
212 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
213
214 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
215
216 * progmodes/python.el (python-shell-send-string):
217 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
218
219 2014-02-04 Anders Lindgren <andlind@gmail.com>
220
221 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
222 the names (bug#16620).
223
224 2014-02-03 Martin Rudalics <rudalics@gmx.at>
225
226 * faces.el (window-divider): New default value. Rewrite doc-string.
227 (window-divider-first-pixel, window-divider-last-pixel): New faces.
228
229 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
230
231 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
232 `protected' and `public' can also be called without arguments.
233
234 2014-02-03 Glenn Morris <rgm@gnu.org>
235
236 * register.el (window-configuration-to-register)
237 (frame-configuration-to-register): Unadvertise unused argument.
238 * frameset.el (frameset-to-register): Remove unused argument.
239
240 * frameset.el (frameset-to-register):
241 * kmacro.el (kmacro-to-register):
242 * register.el (increment-register):
243 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
244 (calc-append-to-register, calc-prepend-to-register):
245 * play/gametree.el (gametree-layout-to-register)
246 (gametree-apply-register-layout):
247 * textmodes/picture.el (picture-clear-rectangle-to-register)
248 (picture-yank-rectangle-from-register):
249 * vc/emerge.el (emerge-combine-versions-register):
250 Use register-read-with-preview to read registers.
251
252 2014-02-03 João Távora <joaotavora@gmail.com>
253
254 * elec-pair.el (electric-pair-backward-delete-char): Don't error
255 when at beginning of (possibly narrowed) buffer.
256
257 2014-02-02 Daniel Colascione <dancol@dancol.org>
258
259 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
260 Also try to display local help from just before point.
261
262 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
263
264 c-parse-state. Don't "append-lower-brace-pair" in certain
265 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
266 recognised as a comment.
267
268 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
269 as well as normal comment starter.
270 (c-parse-state-get-strategy): Extra return possibility
271 'back-and-forward.
272 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
273 return value list to indicate replacement of a brace-pair cons
274 with its car.
275 (c-parse-state-1): With 'back-and-forward, only call
276 c-append-lower-brace-pair-to state-cache when cons-separated.
277
278 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
279
280 * term/ns-win.el (ns-suspend-error): New function.
281 (ns-initialize-window-system): Add ns-suspend-error to
282 suspend-hook (Bug#16612).
283
284 2014-02-02 Daniel Colascione <dancol@dancol.org>
285
286 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
287
288 2014-02-02 Daniel Colascione <dancol@dancol.org>
289
290 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
291
292 2014-02-02 Glenn Morris <rgm@gnu.org>
293
294 * register.el (register-read-with-preview, point-to-register)
295 (window-configuration-to-register, frame-configuration-to-register)
296 (jump-to-register, number-to-register, view-register, insert-register)
297 (copy-to-register, append-to-register, prepend-to-register)
298 (copy-rectangle-to-register): Doc fixes.
299
300 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
303 * emacs-lisp/find-func.el (find-function-C-source): Idem.
304 * emacs-lisp/nadvice.el (advice--cd*r): New function.
305 * help-fns.el (describe-function-1): Use it.
306
307 2014-02-02 Glenn Morris <rgm@gnu.org>
308
309 * register.el (register-preview-default): New function,
310 split from register-preview.
311 (register-preview-function): Rename from register-preview-functions,
312 make it not a hook.
313 (register-preview): Use register-preview-function.
314 (register-read-with-preview): Error on non-character event. (Bug#16595)
315
316 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
317
318 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
319 `:' before binary operators (bug#16609). Don't check for `:'
320 before `[' and `(', or their syntax status. A percent literal
321 can't end with either.
322 (ruby-font-lock-keywords): For built-ins that require arguments,
323 check that they're followed by something that looks like argument
324 (bug#16610).
325
326 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
327
328 * subr.el (butlast): Document what an omitted N means (bug#13437).
329 (nbutlast): Ditto.
330
331 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
332
333 * net/shr.el (shr-generic): Make into a defsubst to make the stack
334 depth shallower (bug#16587).
335 (shr-tag-svg): Respect `shr-inhibit-images'.
336 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
337
338 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
339
340 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
341 (ruby-smie-grammar): Make "." right-associative. Make its priority
342 lower than the ternary and all binary operators.
343 (ruby-smie-rules): Indent "(" relative to the first non-"."
344 parent, or the first "." parent at indentation.
345 Use `ruby-align-chained-calls' for indentation of "." tokens.
346 (Bug#16593)
347
348 2014-01-31 Juri Linkov <juri@jurta.org>
349
350 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
351 from `make-hash-table'.
352
353 * textmodes/ispell.el (ispell-init-process): Change message format
354 to be consistent with other messages.
355
356 2014-01-31 Glenn Morris <rgm@gnu.org>
357
358 * delsel.el (delete-selection-mode): Doc fix.
359
360 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
361 (trace-function-background): Doc fixes.
362
363 * ido.el (ido-use-virtual-buffers): Doc fix.
364 Reset :version, since the default value has not changed.
365
366 * register.el (register-preview-delay, register-read-with-preview):
367 Doc fixes.
368
369 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
370 do not mess with mail-buffer position (fixes 2009-11-03 change).
371 * progmodes/cc-mode.el (c-submit-bug-report):
372 Check auto-fill-mode is bound. (Bug#16592)
373
374 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
375
376 * startup.el (fancy-splash-image-file): New function,
377 split from fancy-splash-head.
378 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
379 so that we are both using the same image. (Bug#16574)
380
381 2014-01-30 Glenn Morris <rgm@gnu.org>
382
383 * simple.el (eval-expression): Doc fix.
384
385 * hexl.el (hexl-mode-hook):
386 * ielm.el (ielm-mode-hook):
387 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
388 (lisp-interaction-mode-hook):
389 * progmodes/cfengine.e (cfengine3-documentation-function):
390 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
391
392 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
395 is a symbol (bug#16584).
396
397 2014-01-30 Glenn Morris <rgm@gnu.org>
398
399 * help.el (help-for-help-internal): Add "P" to text.
400
401 2014-01-29 Glenn Morris <rgm@gnu.org>
402
403 * simple.el (just-one-space, cycle-spacing): Doc fixes.
404
405 2014-01-28 Martin Rudalics <rudalics@gmx.at>
406
407 * window.el (fit-frame-to-buffer): Fix calculations for margins and
408 height constraints.
409
410 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
411
412 * progmodes/hideif.el: Extend to full CPP expression syntax.
413 (hif-token-alist): Add missing tokens.
414 (hif-token-regexp): Add support for float/octal/hex immediates.
415 (hif-string-literal-regexp): New const.
416 (hif-tokenize): Recognize strings and float/octal/hex immediates.
417 (hif-exprlist): New function.
418 (hif-parse-if-exp): Use it.
419 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
420 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
421 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
422 (hif-logxor, hif-comma): New functions.
423
424 2014-01-28 Glenn Morris <rgm@gnu.org>
425
426 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
427
428 * indent.el (tab-stop-list): Doc fix. Add :version.
429
430 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
431 (cvs-append-to-ignore): Add compatibility alias.
432
433 2014-01-27 Glenn Morris <rgm@gnu.org>
434
435 * dired.el (dired-hide-details-mode): Don't autoload it,
436 since it cannot be used outside Dired buffers anyway.
437
438 * emulation/cua-base.el (cua-mode): Doc fix.
439
440 * dired.el (dired-hide-details-hide-symlink-targets)
441 (dired-hide-details-hide-information-lines)
442 (dired-hide-details-mode): Doc fixes.
443
444 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
445 * strokes.el (strokes-file): Doc fix. Bump :version.
446 (strokes-help): Doc fix.
447 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
448 * emulation/viper.el (viper): Doc fix for custom group.
449 (top-level): Remove oh-so-no-longer-relevant text about vip.
450 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
451
452 * ido.el (ido-save-directory-list-file):
453 * saveplace.el (save-place-file):
454 * calendar/timeclock.el (timeclock-file):
455 * net/quickurl.el (quickurl-url-file):
456 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
457 * progmodes/idlwave.el (idlwave-config-directory):
458 * textmodes/remember.el (remember-data-file):
459 Bump :version.
460
461 2014-01-26 Glenn Morris <rgm@gnu.org>
462
463 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
464 Doc fix. Make obsolete.
465 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
466
467 * sort.el (delete-duplicate-lines): Doc fix.
468
469 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
470
471 * progmodes/ada-mode.el (ada):
472 * woman.el (woman): Link to info manual and Commentary section.
473
474 * progmodes/flymake.el (flymake):
475 * nxml/nxml-mode.el (nxml):
476 * net/eww.el (eww):
477 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
478 * htmlfontify.el (htmlfontify):
479 * ses.el (ses):
480 * epa.el (epa):
481 * ido.el (ido): Link to info manual.
482
483 2014-01-25 Leo Liu <sdl.web@gmail.com>
484
485 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
486
487 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
488
489 * net/shr.el (shr-tag-img): Prefer the title over the alt text
490 (bug#16537).
491
492 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
493
494 * net/eww.el (eww-download-callback):
495 Fix reference to eww-download-directory.
496
497 * emacs-lisp/bytecomp.el (byte-compile-file):
498 Remove unused local variable `file-name'.
499
500 2014-01-24 Glenn Morris <rgm@gnu.org>
501
502 * woman.el (woman-default-faces, woman-monochrome-faces):
503 Fix obsolescence specification.
504
505 * subr.el (with-demoted-errors): Doc fix.
506
507 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
510 (cl--macroexp-fboundp): New function.
511 (cl--make-type-test): Use it.
512
513 2014-01-23 Glenn Morris <rgm@gnu.org>
514
515 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
516 * simple.el (eval-expression): Doc fixes.
517
518 2014-01-22 Glenn Morris <rgm@gnu.org>
519
520 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
521
522 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * emacs-lisp/package.el: Write files silently.
525 (package-autoload-ensure-default-file, package--write-file-no-coding)
526 (package-generate-description-file, package--download-one-archive)
527 (package-install-from-archive): Tell `write-region' to stay quiet.
528 (package-menu-mode, package-menu--print-info): Omit the Archive column
529 if there's only one archive.
530 (package-all-keywords, package--has-keyword-p): Remove dead code.
531
532 2014-01-22 Glenn Morris <rgm@gnu.org>
533
534 * version.el (emacs-bzr-version-bzr): Fix typo.
535
536 * version.el (emacs-repository-get-version):
537 Check either .bzr or .git, but not both.
538 Make the git case actually use the DIR argument, and return nil
539 rather than the empty string.
540 Avoid error if .git exists but the git executable is not found.
541
542 2014-01-22 Martin Rudalics <rudalics@gmx.at>
543
544 Fixes in window size functions around Bug#16430 and Bug#16470.
545 * window.el (window-total-size, window-size): New argument ROUND.
546 (window--min-delta-1, window-min-delta, window--max-delta-1):
547 Be more conservative when calculating the numbers of lines or
548 columns a window can shrink (Bug#16430).
549 (fit-window-to-buffer): Simplify code.
550 * term.el (term-window-width): Call window-body-width again.
551
552 2014-01-22 Glenn Morris <rgm@gnu.org>
553
554 * image.el (image-format-suffixes): Doc fix.
555
556 * international/quail.el (quail-define-package): Doc fix.
557
558 * emacs-lisp/authors.el (authors-valid-file-names):
559 (authors-renamed-files-alist): Additions.
560
561 * vc/vc-git.el (vc-git-print-log): Remove --follow;
562 reverts 2014-01-09 change. (Bug#16422)
563
564 * calc/calc-embed.el (thing-at-point-looking-at):
565 * emacs-lisp/map-ynp.el (x-popup-dialog):
566 * obsolete/lmenu.el (x-popup-dialog):
567 * emacs-lisp/package.el (url-recreate-url):
568 * mail/mailclient.el (clipboard-kill-ring-save):
569 * subr.el (x-popup-dialog): Update declaration.
570 * mail/rmail.el (rmail-mime-message-p):
571 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
572
573 2014-01-21 Daniel Colascione <dancol@dancol.org>
574
575 * progmodes/sh-script.el (sh--inside-noncommand-expression):
576 Correctly detect when we're inside an arithmetic expansion form
577 containing nested parenthesis.
578 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
579 to detect cases where we shouldn't expand "<<" to a heredoc
580 skeleton.
581
582 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
585 (eldoc--message-command-p): New function.
586 (eldoc-display-message-p): Use it.
587 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
588 message is not automatically erased for us.
589 (eldoc-print-current-symbol-info): Erase previous message, if any.
590
591 2014-01-21 Tassilo Horn <tsdh@gnu.org>
592
593 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
594 specify it's an interactive function.
595
596 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
597 Fix regex used for scanning for citation keys which failed for
598 citations with optional arguments.
599
600 2014-01-21 Leo Liu <sdl.web@gmail.com>
601
602 * simple.el (read--expression): Don't enable eldoc-mode.
603
604 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * simple.el (move-beginning-of-line): Make sure we don't move forward
607 (bug#16497).
608
609 2014-01-20 Juri Linkov <juri@jurta.org>
610
611 * saveplace.el (toggle-save-place, save-place-to-alist)
612 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
613 'dired-mode) before checking for dired-directory. (Bug#16477)
614
615 2014-01-20 Juri Linkov <juri@jurta.org>
616
617 * indent.el (indent-line-to): Use backward-to-indentation
618 instead of back-to-indentation. (Bug#16461)
619
620 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
621
622 Revert some of the CANNOT_DUMP fix (Bug#16494).
623 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
624 but fixing this can wait until after the next release.
625 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
626
627 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
628
629 * eshell/esh-mode.el (eshell-password-prompt-regexp):
630 Use `password-word-equivalents'.
631 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
632 to t. (Bug#5664, Bug#13124)
633
634 2014-01-19 Alan Mackenzie <acm@muc.de>
635
636 Bind open-paren-in-column-0-is-defun-start to nil at some entry
637 points.
638 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
639 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
640 * progmodes/cc-mode.el (c-before-change, c-after-change)
641 (c-font-lock-fontify-region): Bind it here.
642
643 2014-01-19 Martin Rudalics <rudalics@gmx.at>
644
645 * term.el (term-window-width): Call window-text-width instead of
646 window-width (Bug#16470).
647
648 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
649
650 * simple.el (password-word-equivalents): Remove duplicates.
651 Sort, to make this easier next time.
652 Downcase. Omit ": " after "jelszó".
653
654 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
655
656 * term/common-win.el (saved-region-selection): Defvar it.
657 (x-select-text): Set saved-region-selection (Bug#16382).
658
659 2014-01-18 Glenn Morris <rgm@gnu.org>
660
661 * emacs-lisp/authors.el (authors-aliases)
662 (authors-renamed-files-alist): Add some entries.
663
664 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
665
666 * net/tramp.el (tramp-password-prompt-regexp):
667 Use `password-word-equivalents' if available.
668 (tramp-action-password, tramp-process-one-action)
669 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
670
671 2014-01-17 Chong Yidong <cyd@gnu.org>
672
673 * simple.el (password-word-equivalents): New defcustom.
674 * comint.el (comint-password-prompt-regexp): Use it. Bump version
675 to 24.4.
676 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
677 to t. (Bug#13124)
678
679 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
680
681 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
682 (ruby-align-to-stmt-keywords): Change the default value.
683 Use `ruby-alignable-keywords' to generate the possible customization
684 choices.
685 (ruby-smie-rules): Instead of using a hardcoded list of alignable
686 keywords, check against the value of `ruby-alignable-keywords'
687 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
688
689 2014-01-17 Glenn Morris <rgm@gnu.org>
690
691 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
692
693 Make M-x authors return zero *Authors Errors* from current logs.
694 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
695 (authors-ignored-files): Add some entries, remove others.
696 (authors-ambiguous-files, authors-valid-file-names):
697 Add some entries.
698 (authors-renamed-files-alist): Add, remove, and adjust entries.
699 (authors-renamed-files-regexps): Add some entries.
700 Remove some very broad ones. Make some entries `lax'.
701 (authors-lax-changelogs): New constant.
702 (authors-disambiguate-file-name): Treat top-level specially.
703 (authors-lax-changelog-p): New function.
704 (authors-canonical-file-name): Check file as written against
705 authors-valid-file-names. Do not special-case etc/.
706 Handle `lax' logs and authors-renamed-files-regexps elements.
707
708 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
709
710 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
711 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
712 callers.
713
714 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
717 Assume we're already in the proper buffer.
718 Inspired by Anders Lindgren <andlind@gmail.com>.
719 (follow-post-command-hook): Call it from the right buffer.
720 (follow-comint-scroll-to-bottom): Adjust call.
721 (follow-all-followers): Use get-buffer-window-list.
722
723 2014-01-15 Daniel Colascione <dancol@dancol.org>
724
725 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
726 `buffer-file-name' in interactive-form so that we don't leave
727 pathless file names in `file-name-history'.
728
729 2014-01-15 Juri Linkov <juri@jurta.org>
730
731 * indent.el (indent-rigidly): Set deactivate-mark to nil
732 in transient indentation mode. (Bug#16438)
733
734 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
735
736 * emacs-lisp/package.el (package-desc-keywords): New function
737 (Bug#16222).
738 (describe-package-1, package-all-keywords)
739 (package--has-keyword-p): Use it.
740
741 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
742
743 * simple.el (define-alternatives): When creating the
744 COMMAND-alternatives variable, assign COMMAND as its definition
745 name so that `describe-variable' can relocate it.
746
747 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
748
749 * font-lock.el (font-lock-keywords): Fix typo in docstring
750 (bug#16307).
751
752 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
753
754 * ispell.el (ispell-region): Reset `in-comment' for new line
755 instead of wrongly reset `add-coment' (bug#13577).
756
757 2014-01-14 Daiki Ueno <ueno@gnu.org>
758
759 * epa-file.el (epa-file-write-region): Encode the region according
760 to `buffer-file-format'. Problem reported at:
761 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
762
763 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
766 so it applies in the right buffer (bug#16410).
767
768 2014-01-13 Daniel Colascione <dancol@dancol.org>
769
770 * textmodes/rst.el (rst-define-key): Provide deprecated
771 keybindings through named functions instead of anonymous ones so
772 that "??" doesn't appear in describe-mode output.
773
774 2014-01-13 Bastien Guerry <bzg@gnu.org>
775
776 * simple.el (define-alternatives): Call the selected command
777 interactively. When setting `COMMAND--implementation' for the
778 first time, tell the user how to chose another implementation.
779 Enhance the docstring.
780
781 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
784 (log-edit--match-first-line): New function.
785 (log-edit-font-lock-keywords): Use it.
786 (log-edit-mode): Make jit-lock-defer-multiline work.
787
788 2014-01-13 Bastien Guerry <bzg@gnu.org>
789
790 * rect.el (rectangle-mark-mode): When the region is not active,
791 display a message saying that the mark as been set and that
792 rectangle mode is in use.
793 (rectangle--highlight-for-redisplay): Only put an overlay with a
794 visible vertical bar when (display-graphic-p) is non-nil.
795 This partially fixes Bug#16403.
796
797 2014-01-13 Juri Linkov <juri@jurta.org>
798
799 * info.el (Info-find-file): Go to DIR before displaying the error
800 about a nonexistent file if no previous Info file is visited.
801 Use `user-error' instead of `error' for "Info file %s does not exist".
802 (Info-find-node-2): In case of a nonexistent node in unwind forms
803 go to the Top node if there is no previous node to revert to.
804 (Bug#16405)
805
806 2014-01-13 Martin Rudalics <rudalics@gmx.at>
807
808 fit-frame/window-to-buffer code fixes including one for Bug#14096.
809 * window.el (fit-frame-to-buffer): Fix doc-string.
810 Respect window-min-height/-width. Fit pixelwise when
811 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
812 when avoiding that frame goes partially off-screen.
813 (fit-window-to-buffer): Respect window-min-height/-width
814 (Bug#14096).
815
816 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
819 after an empty line.
820
821 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * net/shr.el (shr-render-region): Autoload.
824
825 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
826
827 * net/eww.el (eww-download-directory): Rename from
828 `eww-download-path' (Bug#16419).
829
830 2014-01-12 Leo Liu <sdl.web@gmail.com>
831
832 * dired-x.el (dired-mode-map): Fix last change.
833
834 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
835
836 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
837
838 Spelling fixes.
839 * emacs-lisp/generic.el (generic--normalize-comments):
840 Rename from generic--normalise-comments. All uses changed.
841 * play/bubbles.el (bubbles--neighborhood-score):
842 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
843 (bubbles--neighborhood-available)
844 (bubbles--update-neighborhood-score):
845 Rename from names with 'neighbourhood'. All uses changed.
846
847 2014-01-12 Leo Liu <sdl.web@gmail.com>
848
849 Re-implement the feature of showing eldoc info after editing.
850 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
851 (eldoc-edit-message-commands): New function.
852 (eldoc-print-after-edit): New variable.
853 (eldoc-pre-command-refresh-echo-area): Emit message only by
854 eldoc-message-commands.
855 (eldoc-mode): Restrict eldoc-message-commands to editing commands
856 if eldoc-print-after-edit is set. (Bug#16346)
857 * simple.el (read--expression): Enable eldoc-mode.
858 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
859
860 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
861 Eric S. Raymond <esr@thyrsus.com>
862
863 * version.el (emacs-repository-get-version): Enhance so the
864 function works correctly in either a Bazaar or Git repo.
865
866 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
867
868 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
869 Goes with removal of the joke manpages from /etc.
870
871 2014-01-10 K. Handa <handa@gnu.org>
872
873 * mail/rmail.el (rmail-get-coding-system):
874 Check rmail-get-coding-function before "funcall"ing it.
875
876 2014-01-10 Glenn Morris <rgm@gnu.org>
877
878 * emacs-lisp/authors.el (authors-fixed-entries):
879 Update for files that no longer exist.
880
881 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
882
883 * version.el (emacs-bzr-get-version): Restore compatibilty with
884 24.3 (Tested).
885
886 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
887
888 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
889 and Podfile.
890
891 2014-01-10 Eli Zaretskii <eliz@gnu.org>
892
893 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
894
895 2014-01-10 Chong Yidong <cyd@gnu.org>
896
897 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
898
899 2014-01-10 Anders Lindgren <andlind@gmail.com>
900
901 * follow.el (follow-cache-command-list): Include right-char and
902 left-char.
903
904 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
905
906 Spelling fixes.
907 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
908 * woman.el (woman-mark-horizontal-position):
909 Rename from woman-mark-horizonal-position. Use changed.
910
911 2014-01-10 Glenn Morris <rgm@gnu.org>
912
913 * info.el (info-initialize): If running uninstalled, ensure our
914 own info files are always found first, even if INFOPATH is set.
915
916 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
917
918 2014-01-09 David Engster <deng@randomsample.de>
919
920 * emacs-lisp/eieio-custom.el:
921 * emacs-lisp/eieio-opt.el: Set generated autoload file to
922 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
923 * emacs-lisp/eieio.el: Regenerate autoloads.
924
925 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
926
927 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
928 following renames. (Bug#8756)
929
930 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
933 (bug#16382).
934 (activate-mark): Add `no-tmm' argument.
935 (set-mark, push-mark-command): Use it instead of running
936 activate-mark-hook by hand.
937
938 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
939
940 In preparation for the move to git, sanitize out some
941 Bazaar-specific names.
942
943 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
944
945 * version.el (emacs-bzr-version): Name changed to
946 emacs-repository-version. Obsolete-variable alias made.
947 * loadup.el: Follow through on this name change.
948 * mail/emacsbug.el (report-emacs-bug): Factor out any
949 assumption about the version control system in use.
950
951 2014-01-08 David Engster <deng@randomsample.de>
952
953 * help-fns.el (help-fns-describe-function-functions):
954 New variable to call functions for augmenting help buffers.
955 (describe-function-1): Remove explicit calls to
956 `help-fns--compiler-macro', `help-fns--parent-mode' and
957 `help-fns--obsolete'. Put them in above new variable instead, and
958 call them through `run-hook-with-args'.
959 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
960 `eieio-describe-class'. Not meant for interactive use anymore,
961 but to augment existing help buffers. Remove optional second
962 argument. Create proper button for file location.
963 Rewrite function to use `insert' instead of `princ' and `prin1' where
964 possible.
965 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
966 (eieio-method-def, eieio-class-def): Move further up.
967 (describe-method, describe-generic, eieio-describe-method):
968 Remove aliases.
969 (eieio-help-constructor, eieio-help-generic): Rename from
970 `eieio-describe-constructor' and `eieio-describe-generic', resp.
971 Rewrite to use `insert' in the current buffer and use proper help
972 buttons.
973 (eieio-help-find-method-definition)
974 (eieio-help-find-class-definition): Also accept symbols as
975 arguments.
976 (eieio-help-mode-augmentation-maybee): Remove.
977 (eieio-describe-class-sb): Use `describe-function'.
978 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
979 Add `eieio-help-generic' and `eieio-help-constructor'.
980
981 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
982
983 Spelling fixes.
984 * language/china-util.el (hz-ascii-designation):
985 Rename from hz-ascii-designnation.
986 (hz-ascii-designation): Rename from hz-ascii-designnation.
987 All uses changed.
988
989 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
992 package-alist.
993
994 2014-01-08 Bastien Guerry <bzg@gnu.org>
995
996 * emacs-lisp/package.el (package-delete):
997 Correctly delete the package from package-alist.
998
999 2014-01-08 Daiki Ueno <ueno@gnu.org>
1000
1001 * emacs-lisp/package.el (url-recreate-url): Declare.
1002 (url-http-target-url): Declare.
1003 (package-handle-response): Include requested URL in the error message.
1004 (package--check-signature): Don't re-signal errors from
1005 package--with-work-buffer. Suggested by Stefan Monnier.
1006
1007 2014-01-07 Bastien Guerry <bzg@gnu.org>
1008
1009 * minibuffer.el (completion--try-word-completion): When both a
1010 hyphen and a space are possible candidates for the character
1011 following a word, display both candidates. (Bug#15980)
1012
1013 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1014
1015 * window.el (balance-windows-2): While rounding don't give a
1016 window more than the remainder. Bug#16351, Bug#16383.
1017
1018 2014-01-07 Glenn Morris <rgm@gnu.org>
1019
1020 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1021 (menu-bar-help-menu): Use view-external-packages instead.
1022
1023 2014-01-07 Bastien Guerry <bzg@gnu.org>
1024
1025 * emacs-lisp/package.el (package-delete): Also delete the package
1026 name from `package-alist', not its description only.
1027
1028 2014-01-07 Glenn Morris <rgm@gnu.org>
1029
1030 * help.el (view-external-packages):
1031 * menu-bar.el (menu-bar-help-extra-packages):
1032 Visit efaq.info rather than etc/MORE.STUFF.
1033
1034 2014-01-07 Juri Linkov <juri@jurta.org>
1035
1036 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1037 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1038
1039 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1040 that shadows RET. (Bug#16342)
1041
1042 2014-01-07 Chong Yidong <cyd@gnu.org>
1043
1044 * isearch.el (isearch-yank-char, isearch-yank-word)
1045 (isearch-yank-line): Doc fix.
1046
1047 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1050 * emacs-lisp/elint.el (elint-find-builtins):
1051 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1052 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1053 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1054 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1055 * apropos.el (apropos-safe-documentation):
1056 * subr.el (symbol-file): Remove redundant fboundp.
1057 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1058
1059 2014-01-06 Bastien Guerry <bzg@gnu.org>
1060
1061 * hl-line.el (global-hl-line-overlay): Make a local variable.
1062 (global-hl-line-overlays): New variable to store all overlays.
1063 (global-hl-line-mode): Don't delete overlays from the current
1064 buffer when `global-hl-line-sticky-flag' is non-nil.
1065 (global-hl-line-highlight): Add new overlays to
1066 `global-hl-line-overlays'.
1067 (global-hl-line-unhighlight-all): New function to delete all
1068 overlays when turning off `global-hl-line-mode'.
1069 This fixes Bug#16183.
1070
1071 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * subr.el (set-transient-map): Fix nested case and docstring.
1074
1075 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1076
1077 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1078 `Texinfo' entry.
1079
1080 2014-01-06 Daniel Colascione <dancol@dancol.org>
1081
1082 Fix defun navigation in vc log view.
1083
1084 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1085 like `beginning-of-defun'.
1086 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1087 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1088 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1089 (log-view-extract-comment): Call `log-view-current-entry' directly
1090 instead of relying on broken `log-view-beginning-of-defun' behavior.
1091
1092 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1093
1094 Spelling fixes.
1095 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1096 * emacs-lisp/debug.el (cancel-debug-on-entry):
1097 * epg.el (epg-error-to-string):
1098 * files.el (recover-file):
1099 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1100 * mail/emacsbug.el (report-emacs-bug-hook):
1101 * mail/sendmail.el (mail-recover):
1102 * ses.el (ses-yank-resize):
1103 * term/ns-win.el (ns-print-buffer):
1104 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1105 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1106 All uses changed.
1107 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1108
1109 2014-01-06 Leo Liu <sdl.web@gmail.com>
1110
1111 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1112 to avoid shadowing global key. (Bug#16354)
1113
1114 2014-01-06 Daniel Colascione <dancol@dancol.org>
1115
1116 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1117 rst-mode.
1118
1119 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1120
1121 * window.el (balance-windows): Add mising t to fix Bug#16351.
1122
1123 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1124
1125 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1126 (bug#16285).
1127 (shr-insert): If we have a word that's longer than `shr-width',
1128 break after it anyway. Otherwise we'll do no breaking once we get
1129 such a long word.
1130
1131 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1132
1133 * net/eww.el (eww): Support single/double quote for search.
1134 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1135 (eww-history-quit): Delete and use quit-window.
1136 (eww-history-kill): Delete, because it doesn't work well and
1137 not necessary.
1138 (eww-history-mode-map): Delete some keys and add easy-menu.
1139
1140 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1141
1142 Fix misspelling of 'chinese' in rx (Bug#16237).
1143 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1144 chinese-two-byte.
1145
1146 Change subword regexps back to vars (Bug#16296).
1147 * progmodes/subword.el (subword-forward-regexp)
1148 (subword-backward-regexp): Change these back to variables.
1149
1150 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1153 syntax-begin-function (bug#16247).
1154
1155 2014-01-03 Chong Yidong <cyd@gnu.org>
1156
1157 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1158 (advice--docstring): Delete variable.
1159 (advice--make-1): Leave the docstring empty.
1160 (advice-add): Use function-documentation for advised docstring.
1161
1162 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1163 Ignore function-documentation property when getting documentation.
1164 (ad-activate-advised-definition): Use function-documentation
1165 generate the docstring.
1166 (ad-make-advised-definition): Don't call
1167 ad-make-advised-definition-docstring.
1168 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1169 Delete functions.
1170
1171 * progmodes/sql.el (sql-help): Use function-documentation instead
1172 of dynamic-docstring-function property. No need to autoload now.
1173 (sql--help-docstring): New variable.
1174 (sql--make-help-docstring): Use it.
1175
1176 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * ielm.el (ielm-tab): Retarget.
1179 (ielm-map): Use ielm-tab for tab.
1180 (ielm-complete-filename): Use comint-filename-completion.
1181 (ielm-complete-symbol): Remove.
1182 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1183 remove ielm-tab from completion-at-point-functions (bug#16224).
1184
1185 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1186 Beware signals raised by predicates (bug#16201).
1187
1188 2014-01-02 Richard Stallman <rms@gnu.org>
1189
1190 * dired-aux.el (dired-do-print): Handle printer-name.
1191
1192 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1193 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1194 (rmail-epa-decrypt): Turn off mime processing.
1195
1196 * mail/rmail.el (rmail-make-in-reply-to-field):
1197 Add parens in message-id.
1198
1199 * mail/rmail.el (rmail-get-coding-function): Variable.
1200 (rmail-get-coding-system): Use it.
1201
1202 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1203
1204 * international/mule-conf.el: Unify the charset indian-is13194.
1205 (indian-is13194): Specify unify-map.
1206
1207 2013-12-31 Leo Liu <sdl.web@gmail.com>
1208
1209 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1210
1211 2013-12-30 Daniel Colascione <dancol@dancol.org>
1212
1213 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1214 of printing a useless when we resume from sleep.
1215
1216 * progmodes/sh-script.el
1217 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1218 in indentation code. (Bug#16233)
1219
1220 2013-12-28 João Távora <joaotavora@gmail.com>
1221
1222 * elec-pair.el (electric-pair-post-self-insert-function):
1223 Don't open extra newlines at beginning of buffer. (Bug#16272)
1224
1225 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1226
1227 * frame.el (window-system-for-display): Don't allow to create a
1228 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1229
1230 2013-12-28 Glenn Morris <rgm@gnu.org>
1231
1232 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1233 Update callers.
1234
1235 * apropos.el (apropos-match-face):
1236 * calculator.el (calculator-displayer):
1237 * dabbrev.el (dabbrev-search-these-buffers-only):
1238 * face-remap.el (buffer-face-mode-face):
1239 * simple.el (yank-handled-properties):
1240 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1241 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1242 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1243 (hashcash-double-spend-database):
1244 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1245 (ruby-deep-indent-paren-style):
1246 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1247 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1248 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1249 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1250 Specify custom types.
1251
1252 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1253 * bookmark.el (bookmark-bmenu-use-header-line):
1254 * doc-view.el (doc-view-scale-internally):
1255 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1256 * register.el (register-preview-delay):
1257 * net/shr.el (shr-bullet):
1258 * progmodes/cfengine.el (cfengine-cf-promises)
1259 (cfengine-parameters-indent):
1260 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1261 * textmodes/reftex-vars.el (reftex-label-regexps):
1262 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1263
1264 * net/tls.el (tls-certtool-program): Fix default value.
1265
1266 * desktop.el (desktop-restore-in-current-display):
1267 * newcomment.el (comment-empty-lines):
1268 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1269 (idlwave-pad-keyword):
1270 * progmodes/tcl.el (tcl-tab-always-indent):
1271 * textmodes/reftex-vars.el (reftex-index-default-tag):
1272 * elec-pair.el (electric-pair-skip-whitespace):
1273 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1274
1275 * emacs-lisp/authors.el (authors-ignored-files)
1276 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1277
1278 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1279
1280 * shell.el (shell-dynamic-complete-command): Doc fix.
1281 (shell--command-completion-data): Shell completion now matches
1282 executable filenames from the current buffer's directory, on
1283 systems in which this behavior is the default (windows-nt, ms-dos).
1284
1285 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1286
1287 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1288
1289 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1292 (bug#16251).
1293
1294 * electric.el: Move all electric-pair-* to elec-pair.el.
1295 * elec-pair.el: New file, split from electric.el.
1296
1297 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1298
1299 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1300 indentation level is larger than the width, because that will
1301 infloop.
1302 (shr-insert): Fill repeatedly long texts, so that Japanese is
1303 formatted correctly (bug#16263).
1304 (shr-find-fill-point): Off by one error in comparison with the
1305 indentation.
1306
1307 2013-12-26 João Távora <joaotavora@gmail.com>
1308
1309 * electric.el (electric-pair-mode): More flexible engine for skip-
1310 and inhibit predicates, new options for pairing-related functionality.
1311 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1312 if that keeps or improves their balance in buffers.
1313 (electric-pair-delete-adjacent-pairs): Delete the pair when
1314 backspacing over adjacent matched delimiters.
1315 (electric-pair-open-extra-newline): Open extra newline when
1316 inserting newlines between adjacent matched delimiters.
1317 (electric--sort-post-self-insertion-hook):
1318 Sort post-self-insert-hook according to priority values when
1319 minor-modes are activated.
1320 * simple.el (newline-and-indent): Call newline with interactive
1321 set to t.
1322 (blink-paren-post-self-insert-function): Set priority to 100.
1323 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1324 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1325 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1326 electric-pair-open-newline-between-pairs to nil.
1327
1328 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1329
1330 * progmodes/python.el: Use lexical-binding.
1331 (python-nav-beginning-of-defun): Stop searching ASAP.
1332
1333 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1334
1335 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1336 Fix interactive spec. Doc fix. (Bug#15754)
1337
1338 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1339
1340 * emacs-lisp/byte-run.el (eval-when-compile):
1341 * progmodes/cc-defs.el (cc-eval-when-compile):
1342 Fix edebug spec (bug#16184).
1343
1344 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1345
1346 * net/shr.el (shr-visit-file): Remove debugging function.
1347 (shr-insert): Don't infloop if we can't find a good place to break
1348 the line (bug#16256).
1349
1350 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1351
1352 * progmodes/python.el:
1353 (python-nav--lisp-forward-sexp): New function.
1354 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1355 python-nav-lisp-forward-sexp-safe.
1356 (python-nav--forward-sexp): New argument SAFE allows switching
1357 forward sexp movement behavior for parens.
1358 (python-nav-forward-sexp): Throw errors on unterminated parens
1359 (Bug#16191).
1360 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1361 (python-nav-backward-sexp-safe): New functions.
1362 (python-shell-buffer-substring):
1363 Use `python-nav-forward-sexp-safe'.
1364
1365 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1366
1367 * net/shr.el (shr-find-fill-point): Don't break lines before a
1368 quotation mark.
1369 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1370 (shr-find-fill-point): Remove the special checks for the quotation
1371 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1372
1373 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1374
1375 * net/eww.el (eww-form-textarea): Use a different face for
1376 textareas than text input since they have different keymaps
1377 (bug#16142).
1378
1379 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1380
1381 * progmodes/python.el (python-nav-beginning-of-statement):
1382 Speed up (Bug#15295).
1383
1384 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1385
1386 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1387 the window configuration.
1388
1389 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1390
1391 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1392 we run on MS-Windows or MS-DOS.
1393
1394 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1395
1396 * window.el (balance-windows-area): Call window-size instead of
1397 window-height and window-width. Bug#16241.
1398
1399 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1400
1401 * net/eww.el (eww-bookmark-quit): Remove.
1402 (eww-bookmark-browse): Restore the window configuration when you
1403 choose a bookmark (bug#16144).
1404
1405 2013-12-24 Daniel Colascione <dancol@dancol.org>
1406
1407 * icomplete.el: Remove redundant :group arguments to `defcustom'
1408 throughout.
1409 (icomplete-show-matches-on-no-input): New customizable variable.
1410 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1411 we have something to show.
1412 (icomplete-exhibit): Compute completions even if we have no user input.
1413
1414 2013-12-23 Daniel Colascione <dancol@dancol.org>
1415
1416 * icomplete.el: Move `provide' to end of file.
1417
1418 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1419
1420 * net/gnutls.el (gnutls-verify-error): Add version tag.
1421
1422 2013-12-23 Chong Yidong <cyd@gnu.org>
1423
1424 * subr.el (set-transient-map): Rename from
1425 set-temporary-overlay-map. Doc fix.
1426
1427 * face-remap.el (text-scale-adjust):
1428 * indent.el (indent-rigidly):
1429 * kmacro.el (kmacro-call-macro):
1430 * minibuffer.el (minibuffer-force-complete):
1431 * repeat.el (repeat):
1432 * simple.el (universal-argument--mode):
1433 * calendar/todo-mode.el (todo-insert-item--next-param):
1434 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1435
1436 * indent.el (indent-rigidly): Use substitute-command-keys.
1437
1438 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1439
1440 * net/eww.el (eww-tag-select): Add text-property to jump to next
1441 select field.
1442 (eww): Add non-supported ftp error.
1443
1444 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1445
1446 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1447 comments. Handle electric indent after typing `?' and `!'.
1448
1449 2013-12-22 Chong Yidong <cyd@gnu.org>
1450
1451 * faces.el (face-spec-recalc): If the theme specs are not
1452 applicable to a frame, fall back on the defface spec.
1453 This prevents themes from obliterating faces on low-color terminals.
1454
1455 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1456
1457 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1458 after `{'. We need it after block openers, and it doesn't seem
1459 to hurt after hash openers.
1460
1461 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1462
1463 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1464 extracted from `ruby-smie-rules'.
1465 (ruby--electric-indent-chars): New variable.
1466 (ruby--electric-indent-p): New function.
1467 (ruby-mode): Use `electric-indent-functions' instead of
1468 `electric-indent-chars'.
1469
1470 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1471
1472 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1473 docstring.
1474 (ruby-smie-rules): Indent plus one level after `=>'.
1475
1476 2013-12-21 Richard Stallman <rms@gnu.org>
1477
1478 * simple.el (newline): Doc fix.
1479
1480 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1481
1482 * net/eww.el (eww-list-histories, eww-list-histories)
1483 (eww-history-browse, eww-history-quit, eww-history-kill)
1484 (eww-history-mode-map, eww-history-mode): New command and
1485 functions to list browser histories.
1486 (eww-form-text): Support text form with disabled
1487 and readonly attributes.
1488 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1489
1490 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1491
1492 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1493 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1494 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1495 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1496 Use `user-error'.
1497 (eww-bookmark-mode-map): Add menu.
1498 (eww-render, eww-mode): Use `setq-local'.
1499 (eww-tool-bar-map): New variable.
1500 (eww-mode): Set `tool-bar-map'.
1501 (eww-view-source): Check for `html-mode' with `fboundp'.
1502
1503 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1504
1505 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1506 elements with text inside. Also remove debugging.
1507
1508 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1509
1510 * cus-start.el (all): Add ns-use-srgb-colorspace.
1511
1512 2013-12-21 Chong Yidong <cyd@gnu.org>
1513
1514 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1515 undefined. Thus, theme settings for undefined faces do not take
1516 effect until the faces are defined with defface, the same as with
1517 theme variables.
1518
1519 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1520 (face-spec-reset-face): Don't assign extra properties in temacs.
1521 (face-spec-recalc): Apply X resources too.
1522
1523 2013-12-21 Chong Yidong <cyd@gnu.org>
1524
1525 * faces.el (face-spec-set):
1526 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1527 * custom.el (defface): Doc fixes (Bug#16203).
1528
1529 * indent.el (indent-rigidly-map): Add docstring, and move commands
1530 into named functions.
1531 (indent-rigidly-left, indent-rigidly-right)
1532 (indent-rigidly-left-to-tab-stop)
1533 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1534 indentation direction based on bidi direction, and accumulate
1535 sequential commands in a single undo boundary.
1536 (indent-rigidly--pop-undo): New utility function.
1537
1538 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1539
1540 * faces.el (read-face-name): Require crm.el when using crm-separator.
1541
1542 2013-12-20 Daniel Colascione <dancol@dancol.org>
1543
1544 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1545 so that we don't reflow comments into the shebang line.
1546
1547 2013-12-20 Juri Linkov <juri@jurta.org>
1548
1549 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1550 a position when `dired-directory' is non-nil. Check integer
1551 positions with `integerp'.
1552 (toggle-save-place, save-places-to-alist): Add check for
1553 `dired-directory'.
1554 (save-place-find-file-hook): Check integer positions with
1555 `integerp'.
1556 (save-place-dired-hook): Use `dired-goto-file' when
1557 `dired-filename' is found in the assoc list. Check integer
1558 positions with `integerp'.
1559 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1560
1561 * dired.el (dired-initial-position-hook): Rename back from
1562 `dired-initial-point-hook'.
1563 (dired-initial-position): Rename `dired-initial-point-hook' to
1564 `dired-initial-position-hook'.
1565 (dired-file-name-at-point): Doc fix. (Bug#15329)
1566
1567 2013-12-20 Juri Linkov <juri@jurta.org>
1568
1569 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1570 (read-regexp-suggestions): New function.
1571 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1572 Use `read-regexp-suggestions'. Add non-empty default to history
1573 for empty input.
1574 (occur-read-regexp-defaults-function): Remove function.
1575 (occur-read-primary-args): Use `regexp-history-last' instead of
1576 `occur-read-regexp-defaults-function'.
1577
1578 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1579 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1580 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1581 `hi-lock-read-regexp-defaults-function'. Doc fix.
1582 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1583 with `find-tag-default-as-symbol-regexp'. Doc fix.
1584 (hi-lock-read-regexp-defaults): Remove function.
1585 (hi-lock-regexp-okay): Add check for null.
1586
1587 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1588 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1589
1590 * subr.el (find-tag-default-as-symbol-regexp): New function.
1591 (find-tag-default-as-regexp): Move symbol regexp formatting to
1592 `find-tag-default-as-symbol-regexp'.
1593
1594 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1595
1596 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1597 (Bug#14179)
1598
1599 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1600
1601 * calendar/todo-mode.el: New implementation of item insertion
1602 commands and key bindings.
1603 (todo-key-prompt): New face.
1604 (todo-insert-item): New command.
1605 (todo-insert-item--parameters): New defconst, replacing defvar
1606 todo-insertion-commands-args-genlist.
1607 (todo-insert-item--param-key-alist): New defconst, replacing
1608 defvar todo-insertion-commands-arg-key-list.
1609 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1610 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1611 (todo-insert-item--next-param): New functions.
1612 (todo-insert-item--args, todo-insert-item--argleft)
1613 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1614 New variables.
1615 (todo-key-bindings-t): Change binding of "i" from
1616 todo-insertion-map to todo-insert-item.
1617 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1618 (todo-insertion-command-name, todo-insertion-commands-names)
1619 (todo-define-insertion-command, todo-insertion-commands)
1620 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1621
1622 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1623
1624 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1625 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1626 eval-when-compile.
1627 (todo-move-category): Allow choosing a non-existing todo file to
1628 move the category to, and create that file.
1629 (todo-default-priority): New user option.
1630 (todo-set-item-priority): Use it.
1631 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1632 (desktop-restore-file-buffer): Declare.
1633 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1634 (todo-modes-set-2): Locally set desktop-save-buffer to
1635 todo-desktop-save-buffer.
1636 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1637 (auto-mode-alist): Add autoload cookie.
1638
1639 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1640
1641 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1642 helpers.el was a poor choice of name.
1643 (string-remove-prefix): New function.
1644 (string-remove-suffix): New function.
1645
1646 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1647
1648 Fix assignment for new window total sizes.
1649 * window.el (window--pixel-to-size): Remove function.
1650 (window--pixel-to-total-1, window--pixel-to-total):
1651 Fix calculation of new total sizes.
1652
1653 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1654
1655 * comint.el (comint-output-filter): Fix rear-nonsticky property
1656 placement (Bug#16010).
1657
1658 2013-12-20 Chong Yidong <cyd@gnu.org>
1659
1660 * faces.el (read-color): Minor fix for completion function.
1661
1662 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1663
1664 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1665 New option. (Bug#16182)
1666 (ruby-smie--indent-to-stmt-p): Use it.
1667 (ruby-smie-rules): Revert the logic in the handling of `when'.
1668 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1669 (ruby-deep-arglist, ruby-deep-indent-paren)
1670 (ruby-deep-indent-paren-style): Update docstrings to note that the
1671 vars don't have any effect with SMIE.
1672
1673 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1674
1675 * calc/calc.el (calc-enter, calc-pop): Use the variable
1676 `calc-context-sensitive-enter'.
1677
1678 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1679
1680 * net/shr.el (shr-insert): Protect against infloops in degenerate
1681 tables.
1682
1683 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1684
1685 * progmodes/octave.el (octave): Add link to manual and octave
1686 homepage.
1687 (octave-mode-menu): Link to octave-mode manual.
1688
1689 2013-12-20 Leo Liu <sdl.web@gmail.com>
1690
1691 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1692 insertion using skeleton-end-newline. (Bug#16138)
1693
1694 2013-12-20 Juri Linkov <juri@jurta.org>
1695
1696 * replace.el (occur-engine): Use `add-face-text-property'
1697 to add the face property to matches and titles. (Bug#14645)
1698
1699 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1700 the palette of other hi-lock colors.
1701 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1702
1703 2013-12-19 Juri Linkov <juri@jurta.org>
1704
1705 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1706 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1707 (minibuffer-history-symbol): Move variable declaration closer to
1708 its usage.
1709
1710 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1711 (Bug#14785)
1712
1713 2013-12-19 Juri Linkov <juri@jurta.org>
1714
1715 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1716 New function.
1717 (log-edit-hook): Add it to :options. (Bug#16170)
1718
1719 2013-12-19 Juri Linkov <juri@jurta.org>
1720
1721 * simple.el (eval-expression-print-format): Don't check for
1722 command names and the last command. Always display additional
1723 formats of the integer result in the echo area, and insert them
1724 to the current buffer only with a zero prefix arg.
1725 Display character when char-displayable-p is non-nil.
1726 (eval-expression): With a zero prefix arg, set `print-length' and
1727 `print-level' to nil, and insert the integer values from
1728 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1729
1730 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1731 `eval-last-sexp-arg-internal'. Doc fix.
1732 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1733 `eval-last-sexp-print-value'. Doc fix.
1734 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1735 Set `print-length' and `print-level' to nil when arg is zero.
1736 (eval-last-sexp): Doc fix.
1737 (eval-defun-2): Print the integer values from
1738 `eval-expression-print-format' at the end.
1739
1740 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1741 values from `eval-expression-print-format' at the end.
1742
1743 * ielm.el (ielm-eval-input): Print the integer
1744 values from `eval-expression-print-format' at the end.
1745
1746 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1747
1748 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1749 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1750
1751 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1754 (hl-line-highlight, global-hl-line-highlight): Use it.
1755 (hl-line-overlay): Use defvar-local.
1756
1757 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1758
1759 * term/ns-win.el: Require dnd.
1760 (global-map): Remove drag items.
1761 (ns-insert-text, ns-set-foreground-at-mouse)
1762 (ns-set-background-at-mouse):
1763 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1764 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1765 New functions.
1766
1767 2013-12-19 Glenn Morris <rgm@gnu.org>
1768
1769 * emacs-lisp/ert.el (ert-select-tests):
1770 Fix string/symbol mixup. (Bug#16121)
1771
1772 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1773
1774 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1775 keywords to their parent.
1776
1777 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1780 first arg to be a string (fixed dead code), or an operator symbol.
1781 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1782 operator symbols.
1783 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1784 did nothing. Don't respond to `(:after ".")', it will be called
1785 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1786 change anything. Only return indentation for binary operators
1787 when they are hanging. De-dent opening paren when its parent is
1788 `.', otherwise it looks bad when the dot is not at bol or eol
1789 (bug#16182).
1790
1791 2013-12-19 Juri Linkov <juri@jurta.org>
1792
1793 * replace.el (query-replace-read-args): Split a non-negative arg
1794 and a negative arg into separate elements.
1795 (query-replace, query-replace-regexp, replace-string)
1796 (replace-regexp): Add arg `backward'. Doc fix.
1797 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1798 move point to the beginning of the match.
1799 (replace-search, replace-highlight): Use new arg `backward'
1800 to set the value of `isearch-forward'.
1801 (perform-replace): Add arg `backward' and use it to perform
1802 replacement backward. (Bug#14979)
1803
1804 * isearch.el (isearch-query-replace): Use a negative prefix arg
1805 to call `perform-replace' with a non-nil arg `backward'.
1806
1807 2013-12-18 Juri Linkov <juri@jurta.org>
1808
1809 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1810 to the default list. Move `log-edit-show-files' to the end.
1811 Add more available functions to options.
1812 (log-edit): Move default specific settings to
1813 `log-edit-insert-message-template'. Don't move point.
1814 (log-edit-insert-message-template): New function.
1815 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1816 (Bug#16170)
1817
1818 2013-12-18 Juri Linkov <juri@jurta.org>
1819
1820 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1821 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1822
1823 2013-12-18 Leo Liu <sdl.web@gmail.com>
1824
1825 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1826 (Bug#16186)
1827
1828 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1829
1830 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1831 formats for displaying file sizes when the -s switch is given.
1832 Instead, compute a separate format for displaying the size in
1833 blocks, which is displayed in addition to the "regular" size.
1834 When -h is given in addition to -s, produce size in blocks in
1835 human-readable form as well. (Bug#16179)
1836
1837 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1838
1839 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1840 Reference tables with ~\ref{...} instead of only \ref{...}.
1841
1842 2013-12-18 Chong Yidong <cyd@gnu.org>
1843
1844 * cus-edit.el (custom-magic-alist): Fix "themed" description
1845 (Bug#14348).
1846
1847 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1848 is non-nil, do not create a new entry in the symbol's theme-value
1849 or theme-face property; update theme-settings only (Bug#14664).
1850 (custom-available-themes): Doc fix.
1851
1852 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1853 (Bug#15674).
1854
1855 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1856
1857 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1858
1859 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1860 (Bug#13914).
1861
1862 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1863
1864 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1865
1866 2013-12-18 Glenn Morris <rgm@gnu.org>
1867
1868 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1869 * cus-start.el (load-prefer-newer): New option.
1870
1871 2013-12-18 Le Wang <l26wang@gmail.com>
1872
1873 * comint.el (comint-previous-matching-input-from-input):
1874 Retain point (Bug#13404).
1875
1876 2013-12-18 Chong Yidong <cyd@gnu.org>
1877
1878 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1879
1880 2013-12-18 Glenn Morris <rgm@gnu.org>
1881
1882 * mail/emacsbug.el (report-emacs-bug):
1883 Only mention enable-multibyte-characters if non-standard.
1884
1885 2013-12-17 Juri Linkov <juri@jurta.org>
1886
1887 * arc-mode.el (archive-extract-by-file): Check if directory exists
1888 before deletion to not show irrelevant errors if it doesn't exist.
1889
1890 2013-12-17 Juri Linkov <juri@jurta.org>
1891
1892 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1893 (Bug#14751)
1894
1895 * net/eww.el (browse-web): Add alias to `eww'.
1896 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1897 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1898
1899 * net/browse-url.el (browse-url-browser-function): Move `eww'
1900 closer to similar functions.
1901
1902 * startup.el (fancy-startup-screen, fancy-about-screen):
1903 Set browse-url-browser-function to eww-browse-url locally.
1904 (Bug#14751)
1905
1906 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * window.el (window--pixel-to-total): Remove unused `mini' var.
1909 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1910 (split-window): Remove unused `new' var.
1911 (window--display-buffer): Remove unused `frame' and `delta' vars.
1912 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1913 and display-width'.
1914
1915 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1916
1917 * dired.el (dired-mark-pop-up):
1918 * register.el (register-preview): Don't bind
1919 split-height-threshold here since it's now done in
1920 display-buffer-below-selected.
1921
1922 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1923
1924 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1925 xterm-rgb-convert-to-16bit.
1926 (rxvt-register-default-colors): Standardize with
1927 xterm-register-default-colors (Bug#14078).
1928
1929 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1930
1931 * simple.el (kill-region): Pass mark first, then point, so that
1932 kill-append works right (Bug#12819).
1933 (copy-region-as-kill, kill-ring-save): Likewise.
1934
1935 2013-12-17 Leo Liu <sdl.web@gmail.com>
1936
1937 * net/rcirc.el (rcirc-add-face):
1938 * eshell/em-prompt.el (eshell-emit-prompt):
1939 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1940 (Bug#16167)
1941
1942 2013-12-17 Chong Yidong <cyd@gnu.org>
1943
1944 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1945 Suggested by Xue Fuqiao.
1946
1947 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1948
1949 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1950
1951 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * net/shr.el (shr-insert-document): Remove unused var
1954 `shr-preliminary-table-render'.
1955 (shr-rescale-image): Remove unused arg `force'.
1956 (shr-put-image): Update calls accordingly.
1957 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1958
1959 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1960
1961 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1962 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1963 :close-all, to see which indentation method to use (Bug#16116).
1964 (smie-rules-function): Document the method :close-all.
1965
1966 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1967
1968 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1969
1970 * net/eww.el (eww-display-html): If we can't find the anchor we're
1971 looking for, then go to point-min.
1972
1973 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1974
1975 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1976 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1977 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1978 Expand dir too, in case it's relative.
1979
1980 2013-12-16 Juri Linkov <juri@jurta.org>
1981
1982 * desktop.el (desktop-auto-save-timeout): Change default to
1983 `auto-save-timeout'. Doc fix.
1984 (desktop-save): Skip the timestamp in desktop-saved-frameset
1985 when checking for auto-save changes.
1986 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1987 `desktop-auto-save' is called repeatedly by the idle timer.
1988 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1989 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1990 (Bug#15331)
1991
1992 2013-12-16 Juri Linkov <juri@jurta.org>
1993
1994 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1995 (Bug#16035)
1996 (isearch-pre-command-hook): Check `this-command' for symbolp.
1997
1998 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2001
2002 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2003
2004 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2005 (cfengine3--current-function): Bring in the current-function
2006 functionality from `cfengine3--current-word'.
2007 (cfengine3-completion-function): Bring in the
2008 bounds-of-current-word functionality from
2009 `cfengine3--current-word'.
2010
2011 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2012
2013 * window.el (display-buffer-below-selected):
2014 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2015
2016 2013-12-16 Leo Liu <sdl.web@gmail.com>
2017
2018 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2019 Remove NOMSG arg and all uses changed.
2020
2021 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2024 (cua--deactivate-rectangle): Don't deactivate the mark.
2025 (cua-set-rectangle-mark): Don't set mark-active since
2026 cua--activate-rectangle already does it for us.
2027 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2028 non-rectangular region.
2029
2030 * emulation/cua-base.el (cua-repeat-replace-region):
2031 Use with-current-buffer.
2032
2033 * net/gnutls.el: Use cl-lib.
2034 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2035
2036 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2037
2038 * emacs-lisp/package.el (package-built-in-p): Support both
2039 built-in and the package.el converted package descriptions.
2040 (package-show-package-list): Allow keywords.
2041 (package-keyword-button-action): Use it instead of
2042 `finder-list-matches'.
2043 (package-menu-filter-interactive): Interactive filtering (by
2044 keyword) function.
2045 (package-menu--generate): Support keywords and change keymappings
2046 and headers when they are given.
2047 (package--has-keyword-p): Helper function.
2048 (package-menu--refresh): Use it.
2049 (package--mapc): Helper function.
2050 (package-all-keywords): Use it.
2051 (package-menu-mode-map): Set up menu items and keybindings to
2052 provide a filtering UI.
2053
2054 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2055
2056 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2057 the behavior when a certificate fails validation. Defaults to
2058 old behavior: never abort, just warn.
2059 (gnutls-negotiate): Use it.
2060
2061 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2062
2063 * window.el (display-buffer-below-selected): Never split window
2064 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2065
2066 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2067
2068 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2069 (package-buffer-info): Use it (bug#15108).
2070
2071 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * icomplete.el (icomplete-completions): Make sure the prefix is already
2074 displayed elsewhere before hiding it (bug#16219).
2075
2076 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2079 open-paren tokens when preceded by a open-paren, too.
2080 (ruby-smie-rules): Handle virtual indentation after open-paren
2081 tokens specially. If there is code between it and eol, return the
2082 column where is starts (Bug#16118).
2083
2084 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2085
2086 * progmodes/cfengine.el: Fix `add-hook' doc.
2087 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2088 (cfengine3--current-word): Fix parameters.
2089 (cfengine3-make-syntax-cache): Simplify further.
2090 (cfengine3-completion-function, cfengine3--current-function):
2091 Use `assq' for symbols.
2092 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2093
2094 2013-12-13 Glenn Morris <rgm@gnu.org>
2095
2096 * loadup.el (load-path): Warn if site-load or site-init changes it.
2097 No more need to reset it when bootstrapping.
2098
2099 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2100
2101 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2102 locations for cf-promises.
2103 (cfengine-mode-syntax-functions-regex): New caching variable.
2104 (cfengine3-fallback-syntax): Fallback syntax for cases where
2105 cf-promises doesn't run.
2106 (cfengine3--current-word): Reimplement using
2107 `cfengine-mode-syntax-functions-regex'.
2108 (cfengine3-completion-function, cfengine3--current-function):
2109 Use `cfengine3-make-syntax-cache' directly.
2110 (cfengine3-clear-syntax-cache): New function.
2111 (cfengine3-make-syntax-cache): Simplify and create
2112 `cfengine-mode-syntax-functions-regex' on demand.
2113 (cfengine3-format-function-docstring): Don't call
2114 `cfengine3-make-syntax-cache' explicitly.
2115
2116 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2117
2118 Fix windmove-find-other-window broken after pixelwise resizing
2119 (Bug#16017).
2120 * windmove.el (windmove-other-window-loc): Revert change from
2121 2013-12-04.
2122 (windmove-find-other-window): Call window-in-direction.
2123 * window.el (window-in-direction): New arguments SIGN, WRAP and
2124 MINI to emulate original windmove-find-other-window behavior.
2125
2126 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2127
2128 * simple.el (blink-matching--overlay): New variable.
2129 (blink-matching-open): Instead of moving point, highlight the
2130 matching paren with an overlay
2131 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2132
2133 * faces.el (paren-showing-faces, show-paren-match)
2134 (show-paren-mismatch): Move from paren.el.
2135
2136 2013-12-13 Leo Liu <sdl.web@gmail.com>
2137
2138 * indent.el (indent-region): Disable progress reporter in
2139 minibuffer. (Bug#16108)
2140
2141 * bindings.el (visual-order-cursor-movement): Fix version.
2142
2143 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2144
2145 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2146 Also match after beginning of line.
2147 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2148 files. Thanks to Russell Sim. (Bug#15378)
2149
2150 2013-12-13 Juri Linkov <juri@jurta.org>
2151
2152 * simple.el <Keypad support>: Remove key bindings duplicated
2153 with bindings.el. (Bug#14397)
2154
2155 2013-12-13 Juri Linkov <juri@jurta.org>
2156
2157 * comint.el (comint-mode-map): Replace `delete-char' with
2158 `delete-forward-char'. (Bug#16109)
2159
2160 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2161
2162 * progmodes/python.el (python-indent-calculate-indentation):
2163 Fix de-denters cornercase. (Bug#15731)
2164
2165 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2168 (advice--make): Pay attention to `depth'.
2169 (advice--make-1): Don't autoload commands eagerly.
2170 * emacs-lisp/elp.el (elp-instrument-function):
2171 * emacs-lisp/trace.el (trace-function-internal):
2172 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2173
2174 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2175
2176 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2177
2178 * term/w32-win.el (w32-handle-dropped-file):
2179 * startup.el (normal-top-level):
2180 * net/browse-url.el (browse-url-file-url):
2181 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2182 decode file names using 'utf-8' rather than
2183 file-name-coding-system.
2184
2185 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2186
2187 * progmodes/python.el (python-indent-context)
2188 (python-indent-calculate-indentation): Fix auto-identation
2189 behavior for comment blocks. (Bug#15916)
2190
2191 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2192
2193 * progmodes/python.el (python-indent-calculate-indentation):
2194 When determining indentation, don't treat "return", "pass", etc., as
2195 operators when they are just string constituents. (Bug#15812)
2196
2197 2013-12-12 Juri Linkov <juri@jurta.org>
2198
2199 * uniquify.el (uniquify-buffer-name-style): Change default to
2200 `post-forward-angle-brackets'.
2201
2202 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2203 `uniquify'. Change default to `post-forward-angle-brackets'.
2204
2205 2013-12-11 Glenn Morris <rgm@gnu.org>
2206
2207 * emacs-lisp/package.el (finder-list-matches):
2208 Autoload rather than falsely declaring.
2209
2210 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2211
2212 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2213 (eww-mode-map): Use them.
2214
2215 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2216
2217 * window.el (display-buffer-in-side-window): Fix doc-string
2218 (Bug#16115).
2219
2220 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2221
2222 * vc/vc-git.el: Silence byte-compiler warnings.
2223 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2224 (log-edit-set-header): Declare.
2225
2226 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2227
2228 * Makefile.in (custom-deps, finder-data): Run output file names
2229 through unmsys--file-name. (Bug#16099)
2230
2231 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2234 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2235
2236 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2237 instead of deleting the selection "by hand" (bug#16098).
2238 Rely on insert-for-yank to yank rectangles.
2239 (cua-highlight-region-shift-only): Mark obsolete.
2240 (cua-mode): Don't enable/disable transient-mark-mode,
2241 shift-select-mode (cua-mode works both with and without them), and
2242 pc-selection-mode (obsolete).
2243 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2244 (cua--deactivate-rectangle): Deactivate it.
2245
2246 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2247 (delete-selection-helper): Make sure yank starts at the top of the
2248 deleted region.
2249 (minibuffer-keyboard-quit): Use region-active-p.
2250
2251 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2252
2253 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2254 to `delete' (bug#16109).
2255
2256 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2257
2258 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2259 info manual and show keybindings and set `:group' keyword.
2260
2261 2013-12-11 Juri Linkov <juri@jurta.org>
2262
2263 * delsel.el (delete-active-region): Let-bind `this-command'
2264 to prevent `kill-region' from changing its original value.
2265 (delete-selection-helper): Handle `overwrite-mode' for the type
2266 `kill' exactly the same way as for the type `t'.
2267 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2268 Support more commands. (Bug#13312)
2269
2270 2013-12-11 Juri Linkov <juri@jurta.org>
2271
2272 * bindings.el: Map kp keys to non-kp keys systematically
2273 with basic modifiers control, meta and shift. (Bug#14397)
2274
2275 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2276
2277 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2278 "Close browser" menu items. Fix wrong function of "List
2279 bookmarks".
2280
2281 2013-12-11 Juri Linkov <juri@jurta.org>
2282
2283 * misearch.el (multi-isearch-buffers): Set the value of
2284 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2285 arg of isearch-forward to t.
2286 (multi-isearch-buffers-regexp): Set the value of
2287 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2288 arg of isearch-forward-regexp to t.
2289 (multi-isearch-files): Set the value of
2290 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2291 arg of isearch-forward to t.
2292 (multi-isearch-files-regexp): Set the value of
2293 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2294 arg of isearch-forward-regexp to t. (Bug#16035)
2295
2296 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2297 arg of isearch-forward to t.
2298 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2299 arg of isearch-forward-regexp to t.
2300 (dired-isearch-filter-filenames): Remove unnecessary check for
2301 `dired-isearch-filenames'.
2302
2303 * comint.el (comint-history-isearch-backward):
2304 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2305 (comint-history-isearch-backward-regexp):
2306 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2307
2308 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2309
2310 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2311 unmsys--file-name. (Bug#16099)
2312
2313 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2314
2315 * emacs-lisp/package.el (package-keyword-button-action):
2316 Remove finder.el require dependency.
2317
2318 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2319
2320 * emacs-lisp/package.el: Require finder.el.
2321 (describe-package-1): Add keyword buttons.
2322 (package-make-button): New convenience function.
2323 (package-keyword-button-action): Keyword button action using
2324 `finder-list-matches'.
2325
2326 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2327
2328 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2329 last commit.
2330
2331 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2332
2333 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2334 symlinked files.
2335
2336 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2337
2338 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2339 after the end of a percent literal.
2340
2341 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2342
2343 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2344 Handle caret-delimited strings (Bug#16079).
2345
2346 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2347
2348 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2349 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2350 `ruby-parse-partial' (Bug#16078).
2351
2352 2013-12-09 Leo Liu <sdl.web@gmail.com>
2353
2354 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2355
2356 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2357
2358 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2359 (js-switch-indent-offset): New option.
2360 (js--proper-indentation): Use it. And handle the case when
2361 "default" is actually a key in an object literal.
2362 (js--same-line): New function.
2363 (js--multi-line-declaration-indentation): Use it.
2364 (js--indent-in-array-comp, js--array-comp-indentation):
2365 New functions.
2366 (js--proper-indentation): Use them, to handle array comprehension
2367 continuations.
2368
2369 2013-12-08 Leo Liu <sdl.web@gmail.com>
2370
2371 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2372 (flymake-make-overlay): Remove arg MOUSE-FACE.
2373 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2374
2375 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2378 New function.
2379 (redisplay-highlight-region-function): Use it.
2380
2381 * emulation/cua-base.el (cua--explicit-region-start)
2382 (cua--last-region-shifted): Remove.
2383 (cua--deactivate): Use deactivate-mark.
2384 (cua--pre-command-handler-1): Don't handle shift-selection.
2385 (cua--post-command-handler-1): Don't change transient-mark-mode.
2386 (cua--select-keymaps): Use region-active-p rather than
2387 cua--explicit-region-start or cua--last-region-shifted.
2388 (cua-mode): Enable shift-select-mode.
2389
2390 2013-12-08 Leo Liu <sdl.web@gmail.com>
2391
2392 * progmodes/flymake.el (flymake-popup-current-error-menu):
2393 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2394 (flymake-posn-at-point-as-event, flymake-popup-menu)
2395 (flymake-make-emacs-menu): Remove. (Bug#16077)
2396
2397 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * rect.el (rectangle-mark-mode): Activate mark even if
2400 transient-mark-mode is off (bug#16066).
2401 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2402 is > mark and at bolp.
2403
2404 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2405 (region-extract-function): Use it.
2406 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2407 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2408 Delete functions.
2409 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2410 kill-ring-save, kill-region, delete-char, delete-forward-char.
2411 Ignore self-insert-iso.
2412
2413 * emulation/cua-gmrk.el (cua--init-global-mark):
2414 Ignore `self-insert-iso'.
2415
2416 * emulation/cua-base.el (cua--prefix-copy-handler)
2417 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2418 checking cua--rectangle.
2419 (cua-delete-region): Use region-extract-function.
2420 (cua-replace-region): Delete function.
2421 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2422 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2423 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2424 (cua--init-keymaps): Don't remap delete-selection commands.
2425 (cua-mode): Use delete-selection-mode instead of rolling our own
2426 (bug#16085).
2427
2428 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2429 Obey region-extract-function.
2430
2431 Make registers and delete-selection-mode work on rectangles.
2432 * register.el (describe-register-1): Don't modify the register's value.
2433 (copy-to-register): Obey region-extract-function.
2434 * delsel.el (delete-active-region): Obey region-extract-function.
2435
2436 2013-12-08 Leo Liu <sdl.web@gmail.com>
2437
2438 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2439 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2440 (flymake-compilation-prevents-syntax-check)
2441 (flymake-start-syntax-check-on-newline)
2442 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2443 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2444 (flymake-xml-program, flymake-master-file-dirs)
2445 (flymake-master-file-count-limit)
2446 (flymake-allowed-file-name-masks): Relocate.
2447 (flymake-makehash, flymake-float-time)
2448 (flymake-replace-regexp-in-string, flymake-split-string)
2449 (flymake-get-temp-dir): Remove.
2450 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2451 (flymake-current-row, flymake-selected-frame)
2452 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2453 related functions. (Bug#16077)
2454
2455 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2456
2457 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2458
2459 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2460
2461 * help-fns.el (describe-function-1): Use new advice-* functions
2462 rather than old ad-* functions. Fix function type description and
2463 source links for advised functions and subrs.
2464
2465 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2466
2467 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2468
2469 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * progmodes/compile.el (compilation-start):
2472 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2473
2474 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2475 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2476
2477 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2478
2479 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2480 Touch up the last change.
2481
2482 2013-12-06 Leo Liu <sdl.web@gmail.com>
2483
2484 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2485 (inferior-octave-startup): Always use "octave> " for prompt.
2486 (octave-goto-function-definition)
2487 (octave-sync-function-file-names)
2488 (octave-find-definition-default-filename): Remove redundant backquotes.
2489
2490 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2493 syntax for `?'.
2494 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2495 where appropriate already.
2496 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2497 end of method names (Bug#15874).
2498
2499 2013-12-06 Juri Linkov <juri@jurta.org>
2500
2501 * isearch.el (isearch--saved-overriding-local-map):
2502 New internal variable.
2503 (isearch-mode): Set it to the initial value of
2504 `overriding-terminal-local-map'.
2505 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2506 with `isearch--saved-overriding-local-map'. (Bug#16035)
2507
2508 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2509
2510 * progmodes/octave.el (inferior-octave-completion-table):
2511 Turn back into function, use `completion-table-with-cache'
2512 (Bug#11906). Update all references.
2513
2514 * minibuffer.el (completion-table-with-cache): New function.
2515
2516 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2517
2518 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2519
2520 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2521
2522 * net/eww.el (eww-current-source): New variable to store page
2523 source.
2524 (eww-display-html, eww-mode, eww-save-history)
2525 (eww-restore-history): Use it.
2526 (eww-view-source): New command to view page source.
2527 Opportunistically uses `html-mode' to highlight the buffer.
2528 (eww-mode-map): Install it.
2529
2530 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * net/dbus.el (dbus-unregister-service)
2533 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2534 Fix docstring.
2535 (dbus-unregister-service): Skip :serial entries in
2536 `dbus-registered-objects-table'.
2537 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2538
2539 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2540
2541 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2542 around keywords with extra `split-string' argument.
2543
2544 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2545
2546 * windmove.el (windmove-other-window-loc): Handle navigation
2547 between windows (excluding the minibuffer window - Bug#16017).
2548
2549 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2552 in D-Bus type syntax.
2553 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2554 preserve unibyte strings. (Bug#16048)
2555
2556 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2559 Call force-mode-line-update is the proper buffer (bug#16042).
2560
2561 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2562
2563 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2564 `log-edit-remember-comment', make argument optional. Adjust all
2565 callers.
2566 (log-edit-mode): Add `log-edit-remember-comment' to
2567 `kill-buffer-hook' locally.
2568 (log-edit-kill-buffer): Don't remember comment explicitly since
2569 the buffer is killed anyway.
2570
2571 2013-12-04 Juri Linkov <juri@jurta.org>
2572
2573 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2574 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2575
2576 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2577
2578 * notifications.el (notifications-close-notification): Call the
2579 D-Bus method with ID being a `:uint32'. (Bug#16030)
2580
2581 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2582
2583 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2584
2585 2013-12-03 Juri Linkov <juri@jurta.org>
2586
2587 * progmodes/compile.el (compilation-start): Rename window alist
2588 entry `no-display-ok' to `allow-no-window'.
2589
2590 * simple.el (shell-command): Add window alist entry
2591 `allow-no-window' to `display-buffer'.
2592 (async-shell-command): Doc fix.
2593
2594 * window.el (display-buffer-no-window): New action function.
2595 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2596
2597 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2598
2599 * vc/log-edit.el (log-edit-set-header): Extract from
2600 `log-edit-toggle-header'.
2601 (log-edit-extract-headers): Separate the summary, when extracted
2602 from header, from the rest of the message with an empty line.
2603
2604 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2605 line, if present, to the Summary header.
2606
2607 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2610 in current-buffer (bug#16029).
2611
2612 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2613
2614 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2615 (debugger-mode-map): Bind it.
2616 (debugger--backtrace-base): New function.
2617 (debugger-eval-expression): Use it.
2618 (debugger-frame-number): Skip local vars when present.
2619 (debugger--locals-visible-p, debugger--insert-locals)
2620 (debugger--show-locals, debugger--hide-locals): New functions.
2621
2622 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2623
2624 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2625 "LC_ALL".
2626 (tramp-get-remote-locale): New defun.
2627 (tramp-open-connection-setup-interactive-shell): Use it.
2628
2629 2013-12-02 Leo Liu <sdl.web@gmail.com>
2630
2631 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2632
2633 * progmodes/sh-script.el (sh-shell-process):
2634 * progmodes/octave.el (inferior-octave-process-live-p):
2635 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2636 (gdb-inferior-io-sentinel):
2637 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2638
2639 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2640
2641 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2642 `save-selected-window' to `log-edit-hide-buf'. This makes
2643 `log-edit-show-files' idempotent.
2644 (log-edit-show-files): Mark the new window as dedicated.
2645
2646 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2647
2648 * vc/log-edit.el (log-edit-mode-map): Add binding for
2649 `log-edit-kill-biffer'.
2650 (log-edit-hide-buf): Add a FIXME comment.
2651 (log-edit-add-new-comment): New function, extracted from
2652 `log-edit-done'.
2653 (log-edit-done, log-edit-add-to-changelog): Use it.
2654 (log-edit-kill-buffer): New command.
2655
2656 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2657
2658 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2659 instead of killing the buffer.
2660
2661 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2664
2665 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2666
2667 * net/eww.el (eww-form-checkbox-selected-symbol)
2668 (eww-form-checkbox-symbol): New customizable variable.
2669 (eww-form-checkbox, eww-toggle-checkbox):
2670 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2671
2672 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2673 (shr--get-media-pref, shr--extract-best-source): New function.
2674 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2675 no :src tag was specified.
2676
2677 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2678 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2679 Use \\` to match beginning of string instead of ^.
2680 (eww-browse-with-external-browser): Provide optional URL parameter.
2681 (eww-render): Set `eww-current-title' back to "".
2682
2683 * net/shr.el (shr-tag-video): Display content for video if no
2684 poster is available.
2685 (shr-tag-audio): Add support for <audio> tag.
2686
2687 * net/eww.el (eww-text-input-types): New const.
2688 (eww-process-text-input): Treat input types in
2689 `eww-text-input-types' as text.
2690
2691 * net/shr.el (shr-tag-table): Fix comment typo.
2692
2693 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2694
2695 * net/eww.el (eww-follow-link): New command to avoid reloading
2696 pages when we follow #target links (bug#15243).
2697 (eww-quit): Special mode buffers shouldn't query before exiting.
2698
2699 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2700
2701 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2702 forms.
2703
2704 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2705
2706 * net/eww.el (eww-restore-history): Update the window title after
2707 moving in the history.
2708 (eww-current-dom): New variable used to save the current DOM.
2709
2710 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2711
2712 * vc/log-edit.el (log-edit-mode-map): Add binding for
2713 `log-edit-beginning-of-line'.
2714 (log-edit-setup-add-author): New user option.
2715 (log-edit-beginning-of-line): New command.
2716 (log-edit): Move major mode call above the contents setup so that
2717 the local variable values are already applied.
2718 (log-edit): Only insert "Author: " when
2719 `log-edit-setup-add-author' is non-nil.
2720 (log-edit): When SETUP is non-nil, position point after ": "
2721 instead of point-min.
2722
2723 2013-12-01 Glenn Morris <rgm@gnu.org>
2724
2725 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2726
2727 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2728
2729 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2730 redisplay to make sure the initial frame gets a chance to become
2731 visible. (Bug#16014)
2732
2733 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2734
2735 Support resizing frames and windows pixelwise.
2736 * cus-start.el (frame-resize-pixelwise)
2737 (window-resize-pixelwise): New entries.
2738 * emacs-lisp/debug.el (debug): Use window-total-height instead
2739 of window-total-size.
2740 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2741 * help.el (describe-bindings-internal): Call help-buffer
2742 (temp-buffer-max-width): New option.
2743 (resize-temp-buffer-window, help-window-setup)
2744 (with-help-window): Rewrite.
2745 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2746 dragging dividers.
2747 * window.el (frame-char-size, window-min-pixel-height)
2748 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2749 (window-min-pixel-width, window-safe-min-pixel-size)
2750 (window-combination-p, window-safe-min-size)
2751 (window-resizable-p, window--size-to-pixel)
2752 (window--pixel-to-size, window--resize-apply-p): New functions.
2753 (window-safe-min-height): Fix doc-string.
2754 (window-size, window-min-size, window--min-size-1)
2755 (window-sizable, window-sizable-p, window--min-delta-1)
2756 (window-min-delta, window--max-delta-1, window-max-delta)
2757 (window--resizable, window--resizable-p, window-resizable)
2758 (window-full-height-p, window-full-width-p, window-at-side-p)
2759 (window--in-direction-2, window-in-direction)
2760 (window--resize-reset-1, window--resize-mini-window)
2761 (window-resize, window-resize-no-error)
2762 (window--resize-child-windows-normal)
2763 (window--resize-child-windows, window--resize-siblings)
2764 (window--resize-this-window, window--resize-root-window)
2765 (window--resize-root-window-vertically)
2766 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2767 (maximize-window, minimize-window, delete-window)
2768 (quit-restore-window, window-split-min-size, split-window)
2769 (balance-windows-2, balance-windows)
2770 (balance-windows-area-adjust, balance-windows-area)
2771 (window--state-get-1, window-state-get, window--state-put-1)
2772 (window--state-put-2, window-state-put)
2773 (display-buffer-record-window, window--display-buffer):
2774 Make functions handle pixelwise sizing of windows.
2775 (display-buffer--action-function-custom-type)
2776 (display-buffer-fallback-action):
2777 Add display-buffer-in-previous-window.
2778 (display-buffer-use-some-window): Resize window to height it had
2779 before.
2780 (fit-window-to-buffer-horizontally): New option.
2781 (fit-frame-to-buffer): Describe new values.
2782 (fit-frame-to-buffer-bottom-margin): Replace with
2783 fit-frame-to-buffer-margins.
2784 (window--sanitize-margin): New function.
2785 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2786 using window-text-pixel-size.
2787
2788 2013-11-30 Glenn Morris <rgm@gnu.org>
2789
2790 * emacs-lisp/bytecomp.el (byte-compile-form):
2791 Make the `interactive-only' warning like the `obsolete' one.
2792 * comint.el (comint-run):
2793 * files.el (insert-file-literally, insert-file):
2794 * replace.el (replace-string, replace-regexp):
2795 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2796 (goto-line, insert-buffer, next-line, previous-line):
2797 Tweak `interactive-only' spec.
2798
2799 Stop keeping (most) generated cedet grammar files in the repository.
2800 * Makefile.in (semantic): New.
2801 (compile-main): Depend on semantic.
2802
2803 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2806 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2807
2808 * uniquify.el (uniquify-buffer-name-style): Change default.
2809
2810 * loadup.el: Preload "uniquify".
2811
2812 * time.el (display-time-update): Update all mode lines (bug#15999).
2813
2814 * electric.el (electric-indent-mode): Enable by default.
2815 * loadup.el: Preload "electric".
2816
2817 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2818
2819 * emacs-lisp/helpers.el (string-empty-p): New function.
2820 (string-blank-p): New function.
2821
2822 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2823
2824 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2825 (Bug#14029).
2826
2827 2013-11-29 Andreas Politz <politza@fh-trier.de>
2828 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2829 allow non-lambda lists as functions.
2830 (imenu--in-alist): Don't recurse into non-subalists.
2831 (imenu): Don't pass function itself as an argument (Bug#14029).
2832
2833 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2834
2835 * progmodes/python.el (python-mode-map): Remove binding for ":".
2836 (python-indent-electric-colon): Remove command.
2837 (python-indent-post-self-insert-function): Integrate the previous code
2838 of python-indent-electric-colon. Make it conditional on
2839 electric-indent-mode.
2840 (python-mode): Add ?: to electric-indent-chars.
2841 Move python-indent-post-self-insert-function to the end of
2842 post-self-insert-hook.
2843
2844 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * doc-view.el (doc-view-goto-page): Update mode-line.
2847
2848 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2849
2850 2013-11-27 Glenn Morris <rgm@gnu.org>
2851
2852 * international/charprop.el, international/uni-bidi.el:
2853 * international/uni-category.el, international/uni-combining.el:
2854 * international/uni-comment.el, international/uni-decimal.el:
2855 * international/uni-decomposition.el, international/uni-digit.el:
2856 * international/uni-lowercase.el, international/uni-mirrored.el:
2857 * international/uni-name.el, international/uni-numeric.el:
2858 * international/uni-old-name.el, international/uni-titlecase.el:
2859 * international/uni-uppercase.el:
2860 Remove generated files from VCS repository.
2861
2862 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2863
2864 * filenotify.el (file-notify-add-watch): Don't special-case
2865 w32notify when computing the directory to watch.
2866
2867 2013-11-27 Glenn Morris <rgm@gnu.org>
2868
2869 Make bootstrap without generated uni-*.el files possible again.
2870 * loadup.el: Update command-line-args checking for unidata-gen.
2871 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2872 * composite.el, international/characters.el:
2873 Handle unicode tables being undefined.
2874
2875 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2876 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2877 (compile-main): Depend on leim rule.
2878 (leim): New rule.
2879 * loadup.el: Move leim-list.el to leim/ subdirectory.
2880 * startup.el (normal-top-level): No more leim directory.
2881 * international/ja-dic-cnv.el (skkdic-convert):
2882 Disable version-control and autoloads in output files.
2883 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2884 Disable version-control and autoloads in output files.
2885 * leim/quail: Move here from ../leim.
2886 * leim/quail/hangul.el (hangul-input-method-activate):
2887 Add autoload cookie.
2888 (generated-autoload-load-name): Set file-local value.
2889 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2890 (generated-autoload-load-name): Set file-local value.
2891
2892 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2893
2894 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2895 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2896 (eww-quit): Ask confirmation before quitting eww.
2897
2898 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2899
2900 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2901 reading output from Diff on MS-Windows and MS-DOS.
2902
2903 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2904
2905 * emacs-lisp/helpers.el (string-reverse): New function.
2906
2907 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2908
2909 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2910 names on MS Windows, like "/[::1]:".
2911
2912 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2913 SWITCHES.
2914
2915 2013-11-26 Glenn Morris <rgm@gnu.org>
2916
2917 * progmodes/python.el (python-indent-guess-indent-offset):
2918 Avoid corner-case error. (Bug#15975)
2919
2920 Preload leim-list.el. (Bug#4789)
2921 * loadup.el: Load leim-list.el when found.
2922 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2923
2924 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2925
2926 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2927
2928 * emacs-lisp/helpers.el (string-join): New function.
2929
2930 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2931
2932 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2933 Mark as obsolete and replace it with a symbol property.
2934 (byte-compile-form): Use new 'interactive-only property.
2935 * comint.el, files.el, replace.el, simple.el:
2936 Apply new 'interactive-only properly.
2937
2938 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2939
2940 * window.el (display-buffer-at-bottom): Make sure that
2941 split-window-sensibly creates the new window on bottom
2942 (Bug#15961).
2943
2944 2013-11-23 David Kastrup <dak@gnu.org>
2945
2946 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2947 on the conflict markers when available.
2948 (smerge--get-marker): New function.
2949 (smerge-end-re, smerge-base-re): Add subgroup.
2950
2951 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * frame.el (handle-focus-in, handle-focus-out): Add missing
2954 interactive spec.
2955
2956 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2957
2958 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2959 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2960
2961 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2964 (gomoku--last-pos): New var.
2965 (gomoku--intangible-chars): New const.
2966 (gomoku--intangible): New function.
2967 (gomoku-mode): Use it. Derive from special-mode.
2968 (gomoku-move-up): Adjust line count.
2969 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2970 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2971 Simplify accordingly.
2972
2973 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2974 Remove blink-cursor code.
2975 (blink-cursor-timer-function, blink-cursor-suspend):
2976 Don't special-case GUIs.
2977 (blink-cursor-mode): Use focus-in/out-hook.
2978
2979 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2982 work when annotation is invisible (Bug#13886).
2983
2984 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2985
2986 * json.el (json-alist-p): Only return non-nil if the alist has
2987 simple keys (Bug#13518).
2988
2989 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2990
2991 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2992 when control-statement is the first statement in a buffer (Bug#15956).
2993
2994 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2995
2996 * imenu.el (imenu-generic-skip-comments-and-strings):
2997 New option (Bug#15560).
2998 (imenu--generic-function): Use it.
2999
3000 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3001
3002 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3003 (Bug#13898)
3004
3005 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3006
3007 * emacs-lisp/helpers.el: Add some string helpers.
3008 (string-trim-left): Removes leading whitespace.
3009 (string-trim-right): Removes trailing whitespace.
3010 (string-trim): Removes leading and trailing whitespace.
3011
3012 * subr.el (string-suffix-p): New function.
3013
3014 2013-11-23 Glenn Morris <rgm@gnu.org>
3015
3016 * progmodes/python.el (python-shell-send-file):
3017 Add option to delete file when done. (Bug#15647)
3018 (python-shell-send-string, python-shell-send-region): Use it.
3019
3020 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3021
3022 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3023 to set buffer-read-only to t, never to nil. (Bug#15938)
3024
3025 * textmodes/tex-mode.el (latex-noindent-environments):
3026 Add safe-local-variable property. (Bug#15936)
3027
3028 2013-11-23 Glenn Morris <rgm@gnu.org>
3029
3030 * textmodes/enriched.el (enriched-mode): Doc fix.
3031 * emacs-lisp/authors.el (authors-renamed-files-alist):
3032 Add enriched.doc -> enriched.txt.
3033
3034 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3035
3036 2013-11-22 Leo Liu <sdl.web@gmail.com>
3037
3038 * progmodes/octave.el (inferior-octave-startup): Spit out error
3039 message.
3040
3041 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3042
3043 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3044 Improve docstring.
3045 Add :version.
3046 (ruby-encoding-magic-comment-style): Add :version.
3047
3048 2013-11-22 Leo Liu <sdl.web@gmail.com>
3049
3050 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3051 (Bug#15076)
3052 (octave-help-mode): Adapt to change to help-mode-finish to use
3053 derived-mode-p on 2013-09-17.
3054 (inferior-octave-prompt): Also match octave-gui.
3055 (octave-kill-process): Don't ask twice. (Bug#10564)
3056
3057 2013-11-22 Leo Liu <sdl.web@gmail.com>
3058
3059 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3060 (inferior-octave-startup, inferior-octave-check-process)
3061 (inferior-octave-track-window-width-change)
3062 (octave-completion-at-point, octave-eldoc-function): Use it.
3063 (octave-kill-process): Provide confirmation. (Bug#10564)
3064
3065 2013-11-21 Leo Liu <sdl.web@gmail.com>
3066
3067 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3068 Fix obsolete variable comment-use-global-state.
3069
3070 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3071
3072 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3073 Add `octave-source-file'.
3074 (octave-source-file): New function. (Bug#15935)
3075
3076 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3077
3078 * net/eww.el (eww-local-regex): New variable.
3079 (eww): Use it to detect localhost and similar.
3080
3081 2013-11-21 Leo Liu <sdl.web@gmail.com>
3082
3083 Add completion for command `ag'.
3084 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3085 (pcomplete/ag): New function.
3086 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3087
3088 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3091 (bug#14646).
3092 (make-obsolete): Remove interactive spec.
3093
3094 2013-11-21 Glenn Morris <rgm@gnu.org>
3095
3096 * startup.el (command-line-1): Use path-separator with -L.
3097
3098 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3099
3100 * emacs-lisp/package.el (describe-package-1): Add package archive
3101 to shown fields.
3102
3103 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3104
3105 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3106 Change default to "# encoding: %s" to differentiate it from the
3107 default Ruby encoding comment template.
3108
3109 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3110
3111 * ses.el (ses-mode): Doc fix. (Bug#14748)
3112
3113 2013-11-20 Leo Liu <sdl.web@gmail.com>
3114
3115 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3116
3117 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3118
3119 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3120 when rebase or bisect are in progress.
3121
3122 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3123
3124 * filenotify.el (file-notify-add-watch): Doc fix.
3125
3126 2013-11-19 Leo Liu <sdl.web@gmail.com>
3127
3128 * obsolete/rcompile.el: Mark obsolete.
3129
3130 * progmodes/compile.el (compilation-start)
3131 (compilation-goto-locus, compilation-find-file):
3132 Pass no-display-ok and handle nil value from display-buffer.
3133 (Bug#13594)
3134
3135 * window.el (display-buffer-alist, display-buffer): Document the
3136 new parameter no-display-ok. Return either a window or nil
3137 but never a non-window value.
3138
3139 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * electric.el (electric-indent-mode-map): Remove.
3142 (electric-indent-mode): Change the global-map instead (bug#15915).
3143
3144 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3145 Use add-function.
3146
3147 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * emacs-lisp/nadvice.el (remove-function): Align with
3150 add-function's behavior.
3151
3152 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3153 (gdb--string-regexp): New constant.
3154 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3155 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3156 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3157 submatch 1.
3158 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3159 Adjust use accordingly.
3160 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3161
3162 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3163
3164 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3165 interpolation curlies (Bug#15914).
3166
3167 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3168
3169 * calc/calc.el (calc-context-sensitive-enter): New variable.
3170 (calc-enter): Use `calc-context-sensitive-enter'.
3171
3172 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3173
3174 * progmodes/cfengine.el: Version bump.
3175 (cfengine-cf-promises): New defcustom to locate cf-promises.
3176 (cfengine3-vartypes): Add new "data" type.
3177 (cfengine3--current-word): New function to get current name-like
3178 word or its bounds.
3179 (cfengine3--current-function): New function to look up a CFEngine
3180 function's definition.
3181 (cfengine3-format-function-docstring): New function.
3182 (cfengine3-make-syntax-cache): New function.
3183 (cfengine3-documentation-function): New function: ElDoc glue.
3184 (cfengine3-completion-function): New function: completion glue.
3185 (cfengine3-mode): Set `compile-command',
3186 `eldoc-documentation-function', and add to
3187 `completion-at-point-functions'.
3188
3189 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3192 `tramp-current-connection'.
3193
3194 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3195
3196 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3197 nil/self/true/false with "end of symbol".
3198
3199 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3200
3201 * subr.el (version-regexp-alist): Fix a typo.
3202
3203 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3204
3205 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3206 "en_US.utf8" and "LC_CTYPE" to "".
3207 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3208 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3209
3210 2013-11-15 Leo Liu <sdl.web@gmail.com>
3211
3212 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3213
3214 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * progmodes/gud.el (ctl-x-map):
3217 Remove C-x SPC binding. (Bug#12342)
3218 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3219
3220 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3221
3222 * subr.el (version-regexp-alist):
3223 Recognize hg, svn and darcs versions as snapshot versions.
3224
3225 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3226 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3227 (ruby--encoding-comment-required-p): Extract from
3228 `ruby-mode-set-encoding'.
3229 (ruby-mode-set-encoding): Add the ability to always insert an
3230 utf-8 encoding comment. Fix and simplify coding comment update
3231 logic.
3232
3233 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * net/tramp-gvfs.el (top): Run init code only when
3236 `tramp-gvfs-enabled' is not nil.
3237 (tramp-gvfs-enabled): Check also :system bus.
3238
3239 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 Sync with upstream verilog-mode revision 78e66ba.
3242 * progmodes/verilog-mode.el (verilog-end-of-defun)
3243 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3244 (verilog-get-end-of-defun): Remove unused argument.
3245 (verilog-comment-depth): Remove unused local `e'.
3246 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3247 Don't pass arg to verilog-get-end-of-defun.
3248
3249 2013-11-14 Glenn Morris <rgm@gnu.org>
3250
3251 * obsolete/assoc.el (aget): Prefix dynamic variable.
3252
3253 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3254
3255 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * widget.el, hfy-cmap.el: Remove bogus package version number.
3258
3259 2013-11-13 Glenn Morris <rgm@gnu.org>
3260
3261 * replace.el (replace-eval-replacement):
3262 Try to give more helpful error message. (Bug#15836)
3263
3264 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3265 (archive-7z-update): Avoid custom type mismatches.
3266
3267 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3268
3269 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3270
3271 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3272 address can be empty.
3273
3274 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3275 Accept nil SWITCHES.
3276 (tramp-gvfs-handle-write-region): Implement APPEND.
3277
3278 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3279
3280 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3281 binary "|" operator and closing block args delimiter.
3282 Remove FIXME comment referring to Ruby 1.8-only syntax.
3283 (ruby-smie--implicit-semi-p): Not after "|" operator.
3284 (ruby-smie--closing-pipe-p): New function.
3285 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3286 (ruby-smie-rules): Indent after "|".
3287
3288 2013-11-12 Glenn Morris <rgm@gnu.org>
3289
3290 * ps-print.el (ps-face-attribute-list):
3291 Handle anonymous faces. (Bug#15827)
3292
3293 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3294
3295 * window.el (display-buffer-other-frame): Fix doc-string.
3296 (Bug#15868)
3297
3298 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3301
3302 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3303
3304 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3305 (tramp-sh-handle-file-local-copy): Don't write a message when
3306 saving temporary files.
3307
3308 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3309 both directories are remote.
3310 (tramp-smb-handle-directory-files): Do not return double entries.
3311 Do not expand full file names.
3312 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3313 (tramp-smb-handle-write-region): Implement APPEND.
3314 (tramp-smb-get-stat-capability): Fix a stupid bug.
3315
3316 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3319
3320 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3321
3322 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3323 throwing error over malformed let/let* (bug#15814).
3324
3325 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * iswitchb.el (iswitchb-mode): Mark obsolete.
3328
3329 2013-11-11 Glenn Morris <rgm@gnu.org>
3330
3331 * international/uni-bidi.el, international/uni-category.el:
3332 * international/uni-name.el, international/uni-numeric.el:
3333 Regenerate for Unicode 6.3.0.
3334
3335 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp.el (tramp-methods):
3338 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3339 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3340
3341 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3342
3343 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3344 Force highlighting text after Summary keyword in doc face for rpm.
3345
3346 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3347
3348 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3349 available and the word has no wildcards, append one to the grep pattern.
3350 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3351 (ispell-complete-word): Call `ispell-lookup-words' with the value
3352 independent of `ispell-look-p'.
3353
3354 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3355
3356 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3357 Not after "||".
3358 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3359 their parent.
3360
3361 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3364 (ruby-font-lock-keywords): Use backquote.
3365
3366 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3367
3368 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3369 (ruby-smie--backward-token): Only consider full-string matches.
3370
3371 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3372
3373 * faces.el (describe-face): Add distant-foreground.
3374
3375 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3376
3377 * progmodes/ruby-mode.el: Improve encoding comment handling.
3378 (ruby-encoding-magic-comment-style): New option.
3379 (ruby-custom-encoding-magic-comment-template): New option.
3380 (ruby--insert-coding-comment, ruby--detect-encoding):
3381 New functions extracted from `ruby-mode-set-encoding'.
3382 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3383 to control the style of the auto-inserted encoding comment.
3384
3385 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3386
3387 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3388 Use `smie-backward-sexp' with token argument.
3389
3390 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3391
3392 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3393 Remove instrumentation code.
3394
3395 2013-11-08 Glenn Morris <rgm@gnu.org>
3396
3397 * progmodes/autoconf.el (autoconf-mode):
3398 Tweak comment-start-skip. (Bug#15822)
3399
3400 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3403 at bobp (bug#15826).
3404 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3405
3406 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3407
3408 * man.el (Man-start-calling): New macro, extracted from
3409 Man-getpage-in-background.
3410 (Man-getpage-in-background): Use it.
3411 (Man-update-manpage): New command.
3412 (Man-mode-map): Bind it.
3413
3414 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3415
3416 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3417 of "and", "or", "&&" and "||".
3418 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3419 argument. Prohibit opening curly brace because it could only be a
3420 block opener in that position.
3421 (ruby-smie--forward-token, ruby-smie--backward-token):
3422 Separate "|" from "&" or "*" going after it. That can happen in block
3423 arguments.
3424 (ruby-smie--indent-to-stmt): New function, seeks the end of
3425 previous statement or beginning of buffer.
3426 (ruby-smie-rules): Use it.
3427 (ruby-smie-rules): Check if there's a ":" before a curly block
3428 opener candidate; if there is, it's a hash.
3429
3430 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3433 (cl--block-wrapper): Fix last accidental change.
3434
3435 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3436
3437 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3438 Instrument, in order to hunt failure on hydra.
3439
3440 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3441
3442 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3443 malformed bindings form (bug#15814).
3444
3445 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3446
3447 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3448 "." compared to " @ ". This incidentally fixes some indentation
3449 examples with "do".
3450 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3451 (ruby-smie-grammar): New tokens: "and" and "or".
3452 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3453 Exclude "and" and "or". Remove "do" in order to work around token
3454 priorities.
3455 (ruby-smie-rules): Add all infix tokens. Handle the case of
3456 beginning-of-buffer.
3457
3458 2013-11-06 Glenn Morris <rgm@gnu.org>
3459
3460 * Makefile.in (setwins_almost, setwins_for_subdirs):
3461 Avoid accidental matches.
3462
3463 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * menu-bar.el (popup-menu): Use key-binding.
3466
3467 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3468
3469 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3470 menus, support also the menus produced by minor modes.
3471 (Bug#15817)
3472
3473 2013-11-06 Leo Liu <sdl.web@gmail.com>
3474
3475 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3476 DISTANCE to bound the search. All uses changed. (Bug#15808)
3477
3478 2013-11-06 Glenn Morris <rgm@gnu.org>
3479
3480 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3481 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3482 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3483
3484 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * electric.el (electric-indent-just-newline): New command.
3487 (electric-indent-mode-map): New keymap.
3488 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3489 Re-add :group which weren't redundant.
3490
3491 * electric.el (electric-indent-local-mode): New minor mode.
3492 (electric-indent-functions-without-reindent): New var.
3493 (electric-indent-post-self-insert-function): Use it.
3494 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3495
3496 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3497
3498 * international/quail.el (quail-help): Be more explicit about the
3499 meaning of the labels shown on the keys. (Bug#15800)
3500
3501 * startup.el (normal-top-level): Load the subdirs.el files before
3502 setting the locale environment. (Bug#15805)
3503
3504 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3507 via arguments so as to get the right ones (bug#15418).
3508
3509 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3510
3511 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3512
3513 Fix problems found while writing a test suite.
3514
3515 * net/tramp-compat.el (tramp-compat-load): New defun.
3516 * net/tramp.el (tramp-handle-load): Use it.
3517
3518 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3519 "(numberp ok-if-already-exists)" correctly.
3520
3521 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3522
3523 * international/characters.el (glyphless-char-display-control):
3524 Add usage note.
3525
3526 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3527
3528 * progmodes/python.el (python-mode):
3529 * progmodes/scheme.el (scheme-mode):
3530 * progmodes/prolog.el (prolog-mode):
3531 * progmodes/ruby-mode.el (ruby-mode):
3532 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3533 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3534
3535 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * rect.el (rectangle--highlight-for-redisplay):
3538 * emacs-lisp/smie.el (smie--next-indent-change):
3539 Use buffer-chars-modified-tick.
3540
3541 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3542
3543 * electric.el (electric-indent-post-self-insert-function):
3544 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3545
3546 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3547
3548 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3549
3550 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3551
3552 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3553 (bug#15786).
3554
3555 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3556
3557 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3558
3559 * progmodes/python.el: Fix up last change.
3560 (python-shell--save-temp-file): New function.
3561 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3562 `string' comes from the current buffer.
3563 (python-shell-send-string-no-output): Remove `msg' arg.
3564 (python--use-fake-loc): New var.
3565 (python-shell-buffer-substring): Obey it. Try to compensate for the
3566 extra coding line added by python-shell--save-temp-file.
3567 (python-shell-send-region): Use python-shell--save-temp-file and
3568 python-shell-send-file directly. Add `nomain' argument.
3569 (python-shell-send-buffer): Use python-shell-send-region.
3570 (python-electric-pair-string-delimiter): New function.
3571 (python-mode): Use it.
3572
3573 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3574
3575 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3576 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3577 environment and decoding all of the default-directory's to here
3578 from command-line.
3579 (command-line): Decode also argv[0].
3580
3581 * loadup.el: Error out if default-directory is a multibyte string
3582 when we are dumping.
3583
3584 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3585
3586 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3587
3588 * emacs-lisp/package.el (package-menu-mode)
3589 (package-menu--print-info, package-menu--archive-predicate):
3590 Add Archive column to package list.
3591
3592 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3593
3594 Fix problems found while writing a test suite.
3595
3596 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3597 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3598 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3599 to nil when running original file name handler. Otherwise,
3600 there are problems with constructs like "$$FOO".
3601
3602 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3603 for `localname'.
3604
3605 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3606
3607 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3608
3609 * subr.el (version<, version<=, version=):
3610 Update docstrings with information for snapshot versions.
3611
3612 * helpers.el: New library for misc helper functions.
3613 (hash-table-keys): New function returning a list of hash keys.
3614 (hash-table-values): New function returning a list of hash values.
3615
3616 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3617
3618 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3619 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3620
3621 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3622
3623 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3624 checking whether point is after a 1-letter word.
3625
3626 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3627
3628 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3629 Don't infloop when expanding region over `multiline' syntax-type that
3630 begins a line (bug#15778).
3631
3632 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3635 Make it into a proper minor mode.
3636 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3637 (rectangle-mark-mode-map): New keymap.
3638 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3639
3640 2013-11-04 Glenn Morris <rgm@gnu.org>
3641
3642 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3643
3644 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3647 (ruby-smie-rules): Use smie-rule-parent instead.
3648
3649 * emacs-lisp/smie.el (smie-rule-parent): Always call
3650 smie-indent-virtual rather than only for hanging tokens.
3651 (smie--next-indent-change): New helper command.
3652
3653 2013-11-03 Glenn Morris <rgm@gnu.org>
3654
3655 * Makefile.in (abs_srcdir): Remove.
3656 (emacs): Unset EMACSLOADPATH.
3657
3658 2013-11-02 Glenn Morris <rgm@gnu.org>
3659
3660 * Makefile.in (EMACS): Use a relative filename.
3661 (abs_top_builddir): Remove.
3662 (custom-deps, finder-data, autoloads): Use --chdir.
3663
3664 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3665
3666 Use relative filenames in TAGS files.
3667 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3668 (lisptagsfiles4, TAGS): Use relative file names.
3669 (TAGS-LISP): Remove.
3670 (maintainer-clean): No more TAGS-LISP file.
3671
3672 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3673 (lisptagsfiles4): Use absolute filenames again.
3674 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3675 Remove all *loaddefs files, not just the first. Remove esh-groups.
3676 (maintainer-clean): Delete TAGS, TAGS-LISP.
3677
3678 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3679
3680 * emacs-lisp/package.el (package-version-join):
3681 Recognize snapshot versions.
3682
3683 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3684
3685 * subr.el (version-regexp-alist): Add support for snapshot versions.
3686
3687 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3690 New function, replacement for `smie-rule-parent' for when we want to
3691 skip over our direct parent if it's an assignment token..
3692 (ruby-smie-rules): Use it.
3693
3694 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3695
3696 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3697 unconditionally. Remove now unnecessary forward declarations.
3698 Remove XEmacs-specific setup.
3699 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3700 (ruby-font-lock-syntactic-keywords)
3701 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3702 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3703 (ruby-here-doc-end-syntax): Remove.
3704 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3705 defined as function.
3706
3707 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3708
3709 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3710
3711 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3712
3713 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3714 table and abbrev table, `define-derived-mode' does that for us
3715 anyway.
3716
3717 2013-11-01 Glenn Morris <rgm@gnu.org>
3718
3719 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3720 files is atomic for some time, so no parallel compilation issues).
3721
3722 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3723
3724 * faces.el (face-x-resources): Add :distant-foreground.
3725 (region): Use :distant-foreground for gtk and ns.
3726
3727 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3728
3729 Allow multiple bibliographies when BibLaTeX is used rather than
3730 BibTeX.
3731 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3732 (reftex-locate-bibliography-files): Us it.
3733
3734 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3735
3736 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3737 allow comments in pbm files.
3738
3739 * term/w32-win.el (dynamic-library-alist): Support newer versions
3740 of libjpeg starting with v7: look only for the DLL from the
3741 version against which Emacs was built.
3742 Support versions of libpng beyond 1.4.x.
3743 Support libtiff v4.x.
3744
3745 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3746
3747 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3748 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3749 Add property :safe.
3750 (ruby-deep-arglist): Add property :type.
3751
3752 2013-10-31 Glenn Morris <rgm@gnu.org>
3753
3754 * Makefile.in (custom-deps, finder-data): No need to setq the target
3755 variables, we are in the right directory and the defaults work fine.
3756
3757 2013-10-30 Glenn Morris <rgm@gnu.org>
3758
3759 * Makefile.in (autoloads): Do not use abs_lisp.
3760
3761 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3762 `newline' does not respect `standard-output', so use `princ'.
3763
3764 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3765
3766 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3767 * buff-menu.el (Buffer-menu--unmark): New function.
3768 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3769
3770 2013-10-30 Glenn Morris <rgm@gnu.org>
3771
3772 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3773
3774 * emacs-lisp/package.el (lm-homepage): Declare.
3775
3776 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3777 Fix doc typos.
3778
3779 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3780
3781 * Makefile.in (finder-data, autoloads, update-subdirs)
3782 (compile-main, compile-clean, compile-always, bootstrap-clean):
3783 Check return value of cd.
3784 (compile-calc): Remove.
3785
3786 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3789
3790 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3791 (byte-compile-and-folded): New function.
3792 (=, <, >, <=, >=): Use it.
3793
3794 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3795 (path-separator, null-device, buffer-file-coding-system)
3796 (lpr-headers-switches): Check system-type before modifying them.
3797 (find-buffer-file-type-coding-system): Mark obsolete.
3798 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3799 find-file-not-found-set-buffer-file-coding-system.
3800 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3801 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3802 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3803 (w32-direct-print-region-helper, w32-direct-print-region-function)
3804 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3805 * startup.el (normal-top-level-add-subdirs-to-load-path):
3806 * ps-print.el (ps-print-region-function):
3807 * lpr.el (print-region-function): Use new name.
3808
3809 * subr.el (custom-declare-variable-early): Remove function.
3810 (custom-declare-variable-list): Remove var.
3811 (error, user-error): Remove `while' loop.
3812 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3813 (user-emacs-directory-warning, locate-user-emacs-file):
3814 Move to files.el.
3815 * simple.el (read-quoted-char-radix, read-quoted-char):
3816 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3817 Move from subr.el.
3818 * custom.el (custom-declare-variable-list): Don't process
3819 custom-declare-variable-list.
3820
3821 * progmodes/python.el (python-shell-get-buffer): New function.
3822 (python-shell-get-process): Use it.
3823 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3824 Python which encoding was used. Don't split-string since we only care
3825 about the first line. Return the temp-file, if applicable.
3826 (python-shell-send-region): Tell compile.el how to turn locations in
3827 the temp-file into locations in the source buffer.
3828
3829 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * subr.el (undefined): Add missing behavior from the C code for
3832 unbound keys.
3833
3834 * rect.el: Use lexical-binding. Add new rectangular region support.
3835 (rectangle-mark): New command.
3836 (rectangle--region): New var.
3837 (deactivate-mark-hook): Reset rectangle--region.
3838 (rectangle--extract-region, rectangle--insert-for-yank)
3839 (rectangle--highlight-for-redisplay)
3840 (rectangle--unhighlight-for-redisplay): New functions.
3841 (region-extract-function, redisplay-unhighlight-region-function)
3842 (redisplay-highlight-region-function): Use them to handle
3843 rectangular region.
3844 * simple.el (region-extract-function): New var.
3845 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3846 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3847 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3848 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3849 (redisplay-unhighlight-region-function)
3850 (redisplay-highlight-region-function): New vars.
3851 (redisplay--update-region-highlight): New function.
3852 (pre-redisplay-function): Use it.
3853 (exchange-point-and-mark): Don't deactivate the mark before
3854 reactivate-it anyway.
3855 * comint.el (comint-kill-region): Remove yank-handler argument.
3856 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3857 (delete-char): Remove property, since it's now part of their
3858 default behavior.
3859 (self-insert-iso): Remove property since this command doesn't exist.
3860
3861 * emacs-lisp/package.el (package--download-one-archive)
3862 (describe-package-1): Don't query the user about final newline.
3863
3864 2013-10-29 Daniel Colascione <dancol@dancol.org>
3865
3866 * net/tramp.el (tramp-methods): Document new functionality.
3867 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3868 tramp-hostname-checker if method provides one instead of scanning
3869 argument list for "%h" to decide hostname acceptability.
3870
3871 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3872
3873 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3874 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3875 Handle COPY-CONTENTS. (Bug#15737)
3876
3877 2013-10-28 Daiki Ueno <ueno@gnu.org>
3878
3879 * epa-file.el
3880 (epa-file-cache-passphrase-for-symmetric-encryption):
3881 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3882
3883 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3884
3885 * image.el (defimage):
3886 (image-load-path): Doc fixes.
3887
3888 2013-10-27 Alan Mackenzie <acm@muc.de>
3889
3890 Indent statements in macros following "##" correctly.
3891 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3892 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3893
3894 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3895
3896 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3897
3898 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3899
3900 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3901 after `=' is probably a new expression.
3902
3903 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3904
3905 * man.el (man-imenu-title): New option.
3906 (Man-mode-map): Add menu. (Bug#15722)
3907 (Man-mode): Add imenu to menu.
3908
3909 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3910
3911 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3912 specific in what the first arg can be: a non-keyword word,
3913 string/regexp/percent literal opener, opening paren, or unary
3914 operator followed directly by word.
3915
3916 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3919 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3920 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3921 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3922 Remove vars, they do not apply any more.
3923 (prolog-mode-abbrev-table): Remove redundant declaration.
3924 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3925 (prolog-use-smie): Remove.
3926 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3927 supported by prolog-electric-if-then-else-flag.
3928 (prolog-mode-variables, prolog-menu): Use setq-local.
3929 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3930 Remove binding to `Backspace' since this key doesn't exist anyway.
3931 Remove bindings for electric self-inserting keys.
3932 (prog-mode): Assume it's defined.
3933 (prolog-post-self-insert): New function.
3934 (prolog-mode): Use it.
3935 (prolog-indent-line, prolog-indent-level)
3936 (prolog-find-indent-of-matching-paren)
3937 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3938 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3939 (prolog-goto-next-paren, prolog-in-string-or-comment)
3940 (prolog-tokenize, prolog-inside-mline-comment)
3941 (prolog-find-start-of-mline-comment): Remove functions.
3942 (prolog-find-unmatched-paren, prolog-clause-end)
3943 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3944 (prolog-electric--if-then-else): Rename from
3945 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3946 (prolog-tokenize-searchkey): Remove const.
3947 (prolog-clause-info): Use forward-sexp.
3948 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3949 (prolog-electric-if-then-else): Remove commands.
3950 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3951 for use in post-self-insert-hook.
3952 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3953 for use in post-self-insert-hook.
3954 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3955 for use in post-self-insert-hook.
3956 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3957 adapt it for use in post-self-insert-hook.
3958
3959 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3960
3961 * emacs-lisp/ert.el (ert-run-tests-interactively):
3962 Use `completing-read'. (Bug#9756)
3963
3964 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3965
3966 * simple.el (line-move): Call line-move-1 instead of
3967 line-move-visual when the current window hscroll is zero, but
3968 temporary-goal-column indicates we will need to hscroll as result
3969 of the movement. (Bug#15712)
3970
3971 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3972
3973 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3974 capitalization. Use :visible instead of :active.
3975 Fix `ruby-indent-exp' reference. Add menu items for the generic
3976 commands that are used with SMIE.
3977 (ruby-do-end-to-brace): Insert space after `{'.
3978
3979 2013-10-25 John Anthony <john@jo.hnanthony.com>
3980
3981 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3982
3983 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3984
3985 2013-10-25 Glenn Morris <rgm@gnu.org>
3986
3987 * vc/vc.el (vc-print-log): Don't use a working revision unless
3988 one was explicitly specified. (Bug#15322)
3989
3990 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * subr.el (add-to-list): Preserve return value in compiler-macro
3993 (bug#15692).
3994
3995 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3996
3997 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3998 result. Ask user to retry using '-all' flag. (Bug#15701)
3999
4000 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * emacs-lisp/smie.el: New smie-config system.
4003 (smie-config): New defcustom.
4004 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4005 (smie-config-guess, smie-config-save): New commands.
4006 (smie-config--mode-local, smie-config--buffer-local)
4007 (smie-config--trace, smie-config--modefuns): New vars.
4008 (smie-config--advice, smie-config--mode-hook)
4009 (smie-config--setter, smie-config-local, smie-config--get-trace)
4010 (smie-config--guess-value, smie-config--guess): New functions.
4011 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4012 text properties. Treat "string fence" syntax like string syntax.
4013
4014 * progmodes/sh-script.el (sh-use-smie): Change default.
4015 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4016 (sh-var-value): Simplify by CSE.
4017 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4018 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4019 is used.
4020 (sh-guess-basic-offset): Use cl-incf.
4021 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4022
4023 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4024
4025 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4026 (bug#15699).
4027
4028 2013-10-24 Glenn Morris <rgm@gnu.org>
4029
4030 * Makefile.in (abs_top_srcdir): Remove.
4031 (update-subdirs): Use relative path to update-subdirs.
4032
4033 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4034
4035 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4036 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4037 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4038 Call unmsys--file-name before expand-file-name, not after it.
4039
4040 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4041
4042 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4043 (ert-test-skipped): New error.
4044 (ert-skip, ert-stats-skipped): New defuns.
4045 (ert--skip-unless): New macro.
4046 (ert-test-skipped): New struct.
4047 (ert--run-test-debugger, ert-test-result-type-p)
4048 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4049 (ert--stats-set-test-and-result, ert-char-for-test-result)
4050 (ert-string-for-test-result, ert-run-tests-batch)
4051 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4052 Handle skipped tests. (Bug#9803)
4053
4054 2013-10-24 Glenn Morris <rgm@gnu.org>
4055
4056 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4057
4058 * Makefile.in (abs_top_srcdir): New, set by configure.
4059 (update-subdirs): Correct build-aux location.
4060
4061 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4062
4063 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4064 value, whether we could auto-deduce `backend', or not.
4065
4066 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4067 with parameters" example. Simplify the "is it block or is it
4068 hash" check, but also make it more thorough.
4069
4070 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4071
4072 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4073
4074 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4075
4076 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4077 { if it is hanging.
4078
4079 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4080 :before ";".
4081
4082 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4083
4084 * progmodes/compile.el (compilation-directory-matcher)
4085 (compilation-page-delimiter):
4086 Support GNU Make-4.0 directory quoting. (Bug#15678)
4087
4088 2013-10-23 Leo Liu <sdl.web@gmail.com>
4089
4090 * ido.el (ido-tidy): Handle read-only text.
4091
4092 2013-10-23 Glenn Morris <rgm@gnu.org>
4093
4094 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4095 (emacs, compile, compile-always):
4096 Quote entities that might contain whitespace.
4097 (custom-deps, finder-data, autoloads): Use abs_lisp.
4098 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4099 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4100 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4101
4102 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4103
4104 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4105 Use `following-char'.
4106
4107 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4110 * progmodes/ruby-mode.el (ruby-smie-rules):
4111 Remove corresponding workaround. Fix indentation rule of ";" so it
4112 also applies when ";" is the parent.
4113
4114 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4115
4116 * frame.el (display-screens, display-pixel-height)
4117 (display-pixel-width, display-mm-width, display-backing-store)
4118 (display-save-under, display-planes, display-color-cells)
4119 (display-visual-class, display-monitor-attributes-list):
4120 Mention the optional ‘display’ argument in doc strings.
4121
4122 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4123
4124 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4125 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4126
4127 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4128
4129 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4130 TODO. Add "." after " @ ".
4131 (ruby-smie--at-dot-call): New function. Checks if point at method
4132 call with explicit target.
4133 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4134 to the method name tokens when it precedes them.
4135 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4136 (ruby-smie-rules): Add rule for indentation before and after "."
4137 token.
4138
4139 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4140
4141 * textmodes/remember.el (remember-diary-extract-entries):
4142 Avoid add-to-list.
4143
4144 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4145 an instruction.
4146
4147 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4148
4149 * progmodes/ruby-mode.el (ruby-smie-grammar):
4150 Add (almost) all infix operators.
4151 (ruby-smie--implicit-semi-p): Add new operator chars.
4152
4153 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4154 `smie-down-list'.
4155 (ruby-smie--args-separator-p): Check that there's no newline
4156 between method call and its arguments.
4157
4158 2013-10-20 Alan Mackenzie <acm@muc.de>
4159
4160 Allow comma separated lists after Java "implements".
4161
4162 * progmodes/cc-engine.el (c-backward-over-enum-header):
4163 Parse commas.
4164 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4165 from a "disallowed" list in enum fontification.
4166
4167 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4168
4169 * startup.el (default-frame-background-mode): Remove unused defvar.
4170
4171 * progmodes/verilog-mode.el (verilog-mode): Don't set
4172 comment-indent-function globally.
4173
4174 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4175
4176 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4177 Move Info menu item creation to ns-win.el.
4178
4179 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4180 in menu bar.
4181
4182 * menu-bar.el: Move GNUstep specific menus...
4183
4184 * term/ns-win.el (ns-initialize-window-system): ... to here.
4185
4186 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * simple.el (newline): Only run post-self-insert-hook when
4189 called interactively.
4190
4191 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4192
4193 * icomplete.el (icomplete-with-completion-tables): Add :version.
4194
4195 2013-10-19 Alan Mackenzie <acm@muc.de>
4196
4197 Fix fontification bugs with constructors and const.
4198
4199 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4200 CASE 2) Remove the check for the absence of a suffix construct
4201 after a function declaration with only types (no identifiers) in
4202 the parentheses. Also, accept a function declaration with just a
4203 type inside the parentheses, if this type can be positively
4204 recognised as such, or if a prefix keyword like "explicit" nails
4205 down the construct as a declaration.
4206
4207 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4208
4209 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4210 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4211 the problem whereby selecting a menu item that leads to a
4212 minibuffer prompt moves the cursor out of the minibuffer window,
4213 making it hard to type at the prompt. Suggested by Stefan Monnier
4214 <monnier@iro.umontreal.ca>.
4215
4216 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4217
4218 * menu-bar.el: Don't make Services menu.
4219
4220 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4221
4222 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4223 (ffap-alist): Use ffap-c++-mode for c++-mode.
4224 (ffap-c++-path): New variable.
4225 (ffap-c++-mode): New function.
4226
4227 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4228
4229 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4230
4231 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4232
4233 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4234 introduced on 2013-09-08, which results in an infinite loop
4235 requesting a password.
4236
4237 2013-10-18 Glenn Morris <rgm@gnu.org>
4238
4239 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4240
4241 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4242
4243 Sync with upstream verilog-mode revision 1a6ecec7.
4244 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4245 (verilog-mode-release-date): Remove.
4246 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4247 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4248 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4249 (verilog-auto-tieoff-ignore-regexp)
4250 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4251 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4252 (verilog-signals-with, verilog-dir-cache-preserving)
4253 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4254 Doc fixes.
4255 (verilog-case-fold): New option, to control case folding in
4256 regexp searches, bug597.
4257 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4258 (verilog-string-match-fold, verilog-in-paren-count)
4259 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4260 (verilog-at-close-struct-p): New functions.
4261 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4262 (verilog-forward-sexp, verilog-set-auto-endcomments):
4263 (verilog-leap-to-case-head): Handle "unique0" case.
4264 (verilog-in-constraint-re): New constant.
4265 (verilog-keywords, verilog-type-font-keywords):
4266 Add some SystemVerilog 1800-2012 keywords.
4267 (verilog-label-be): Remove unimplemented argument, bug669.
4268 (verilog-batch-execute-func): When batch expanding clear
4269 create-lockfiles to prevent spurious user locks when a file ends
4270 up not changing.
4271 (verilog-calculate-indent, verilog-calc-1)
4272 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4273 (verilog-do-indent): Fix indentation of nested constraints
4274 and structures.
4275 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4276 (verilog-auto-inst-param): Use verilog-string-match-fold.
4277 (verilog-read-inst-module-matcher):
4278 Fix AUTOINST on gate primitives with #1.
4279 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4280 Reads all user-defined typed variables.
4281 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4282 (verilog-signals-matching-regexp)
4283 (verilog-signals-not-matching-regexp, verilog-auto):
4284 Respect verilog-case-fold.
4285 (verilog-diff-report): Fix line count.
4286 (verilog-auto-assign-modport): Remove unused local `modi'.
4287 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4288 better handle multidimensional arrays.
4289 Fix packed array ports misadding bit index in AUTOINST, bug637.
4290 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4291 to not double-declare existing outputs and inputs, respectively.
4292 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4293 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4294 (verilog-sk-uvm-component): New skeleton.
4295 (verilog-submit-bug-report): Add verilog-case-fold,
4296 remove verilog-mode-release-date.
4297
4298 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4299
4300 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4301 as before.
4302
4303 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4304
4305 * textmodes/remember.el (remember): Set buffer-offer-save in
4306 remember buffers (bug#13566).
4307
4308 2013-10-18 Daniel Colascione <dancol@dancol.org>
4309
4310 When evaluating forms in ielm, direct standard output to ielm
4311 buffer. Add new ielm-return-for-effect command. Remove trailing
4312 whitespace throughout.
4313
4314 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4315 (ielm-return-for-effect): New command.
4316 (ielm-send-input): Accept optional `for-effect' parameter.
4317 (ielm-eval-input): Accept optional `for-effect' parameter.
4318 Bind `standard-output' to stream we create using
4319 `ielm-standard-output-impl'. Suppress printing result when
4320 `for-effect'.
4321 (ielm-standard-output-impl): New function.
4322 (inferior-emacs-lisp-mode): Explain new features in documentation.
4323
4324 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4325
4326 Code cleanup.
4327
4328 * net/tramp.el (tramp-debug-message): Do not check for connection
4329 buffer.
4330 (tramp-message): Use "vector" connection property.
4331
4332 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4333 (tramp-equal-remote, tramp-eshell-directory-change)
4334 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4335 (tramp-adb-handle-rename-file)
4336 * net/tramp-cmds.el (tramp-list-remote-buffers)
4337 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4338 * net/tramp-compat.el (tramp-compat-process-running-p)
4339 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4340 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4341 (tramp-gvfs-handle-rename-file)
4342 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4343 (tramp-set-file-uid-gid)
4344 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4345 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4346 of `file-remote-p'.
4347
4348 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4349 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4350 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4351 (tramp-gw-open-network-stream): Suppress unrelated traces.
4352
4353 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4354 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4355 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4356 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4357 connection property.
4358
4359 * net/tramp-cache.el (top): Suppress traces when reading
4360 persistency file.
4361
4362 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4363 Refactor common code. Improve debug message.
4364 (tramp-maybe-open-connection)
4365 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4366 connection buffer too early.
4367
4368 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4369 from `tramp-smb-actions-with-acl'.
4370 (tramp-smb-actions-set-acl): New defconst.
4371 (tramp-smb-handle-copy-directory)
4372 (tramp-smb-action-get-acl): New defun, renamed from
4373 `tramp-smb-action-with-acl'.
4374 (tramp-smb-action-set-acl): New defun.
4375 (tramp-smb-handle-set-file-acl): Rewrite.
4376
4377 2013-10-17 Glenn Morris <rgm@gnu.org>
4378
4379 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4380
4381 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * skeleton.el (skeleton-newline): Remove.
4384 (skeleton-internal-1): Use (insert "\n") instead.
4385
4386 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4387 let-bindings.
4388
4389 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4390 forward-sexp-function while we redo its job (bug#15613).
4391
4392 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4393
4394 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4395 represented by lists.
4396
4397 2013-10-16 Glenn Morris <rgm@gnu.org>
4398
4399 * tmm.el (tmm--history): New dynamic variable.
4400 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4401
4402 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4403
4404 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4405 (tramp-smb-errors): Add error messages.
4406 (tramp-smb-actions-with-acl): New defconst.
4407 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4408 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4409 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4410 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4411 (tramp-smb-get-stat-capability): Fix tests.
4412
4413 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4414
4415 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4416 (bug#15580).
4417
4418 2013-10-16 Glenn Morris <rgm@gnu.org>
4419
4420 * ansi-color.el (ansi-color-drop-regexp):
4421 Add 1J, 1K, 2K. (Bug#15617)
4422
4423 * files.el (hack-local-variables--warned-lexical): New.
4424 (hack-local-variables):
4425 Warn about misplaced lexical-binding. (Bug#15616)
4426
4427 * net/eww.el (eww-render): Always set eww-current-url,
4428 and update header line. (Bug#15622)
4429 (eww-display-html): ... Rather than just doing it here.
4430
4431 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4432
4433 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4434 menu navigations commands.
4435
4436 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4437
4438 * progmodes/subword.el (subword-capitalize): Be careful when
4439 the search for [[:alpha:]] fails (bug#15580).
4440
4441 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4442
4443 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4444 to commands that scroll the menu.
4445
4446 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4447
4448 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4449 Handle methods ending with `?' and `!'.
4450
4451 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4452
4453 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4454 `japanese-cp932' to `cp932' to fix the problem where saving a
4455 source file written in Shift_JIS twice would end up having
4456 `coding: japanese-cp932' which Ruby could not recognize.
4457 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4458 in `ruby-encoding-map'.
4459 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4460 doesn't need to be explicitly declared in magic comment.
4461 (ruby-encoding-map): Add type declaration for better customize UI.
4462
4463 2013-10-13 Glenn Morris <rgm@gnu.org>
4464
4465 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4466 Occur buffers are read-only. http://bugs.debian.org/720775
4467
4468 * emacs-lisp/authors.el (authors-fixed-entries):
4469 Comment out old alpha stuff.
4470
4471 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4472
4473 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4474 to `after-save-hook' instead of `before-save-hook'.
4475 (ruby-mode-set-encoding): Use the value of coding system used to
4476 write the file. Call `basic-save-buffer-1' after modifying the
4477 buffer.
4478
4479 2013-10-13 Alan Mackenzie <acm@muc.de>
4480
4481 Fix indentation/fontification of Java enum with
4482 "implements"/generic.
4483
4484 * progmodes/cc-engine.el (c-backward-over-enum-header):
4485 Extracted from the three other places and enhanced to handle generics.
4486 (c-inside-bracelist-p): Uses new function above.
4487 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4488 function above.
4489 (c-font-lock-enum-tail): Uses new function above.
4490
4491 2013-10-13 Kenichi Handa <handa@gnu.org>
4492
4493 * international/mule-cmds.el (select-safe-coding-system): Remove a
4494 superfluous condition in chekcing whether a coding system is safe
4495 or not.
4496
4497 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4498
4499 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4500
4501 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4502
4503 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4504
4505 2013-10-13 Glenn Morris <rgm@gnu.org>
4506
4507 * menu-bar.el (menu-bar-update-buffers):
4508 Unify Buffers menu prompt string. (Bug#15576)
4509
4510 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4511
4512 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4513 Add some entries.
4514 (authors-fixed-entries): Use accented form of name.
4515
4516 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4519 method calls (bug#15594).
4520 (ruby-smie--args-separator-p): New function.
4521 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4522 recognize paren-free method calls.
4523
4524 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4525 internals of universal-argument.
4526
4527 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4528
4529 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4530 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4531 dropped menu on second mouse click on the menu bar.
4532
4533 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4536 (explicit-shell-file-name): Declare.
4537 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4538 (sh-completion-at-point-function): New function.
4539 (sh-mode): Use it.
4540 (sh-smie--keyword-p): Remove unused argument.
4541 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4542 vars.
4543 (sh-set-shell): Always setup SMIE, even if we use the
4544 old indentation code.
4545
4546 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4547
4548 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4549 cases of ? and =.
4550 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4551 predicate would return nil are almost non-existent.
4552 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4553
4554 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4555 cache also after commands that modify the buffer but don't move
4556 point.
4557
4558 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * env.el (substitute-env-in-file-name): New function.
4561 (substitute-env-vars): Extend the meaning of the optional arg.
4562
4563 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4564
4565 * term/w32-win.el (dynamic-library-alist): Define separate lists
4566 of GIF DLLs for versions before and after 5.0.0 of giflib.
4567 (Bug#15531)
4568
4569 2013-10-10 João Távora <joaotavora@gmail.com>
4570
4571 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4572 not locked, use last revision and current source as
4573 defaults. (Bug#15569)
4574
4575 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4576
4577 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4578 menu-bar is hidden.
4579
4580 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4581
4582 * window.el (pop-to-buffer-same-window): Fix doc-string.
4583 (Bug#15492)
4584
4585 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4588
4589 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4590
4591 * calendar/icalendar.el (icalendar-import-file):
4592 Fix interactive spec. (Bug#15482)
4593
4594 2013-10-10 Glenn Morris <rgm@gnu.org>
4595
4596 * desktop.el (desktop-save): Default to saving in .emacs.d,
4597 since PWD is no longer in desktop-path by default. (Bug#15319)
4598
4599 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4600 now that text mode has a menu with the same entry.
4601 (menu-bar-text-mode-auto-fill): Remove now unused func.
4602 * textmodes/text-mode.el (text-mode-map):
4603 Use auto-fill help text from menu-bar.el.
4604
4605 2013-10-10 John Anthony <john@jo.hnanthony.com>
4606
4607 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4608
4609 2013-10-09 Juri Linkov <juri@jurta.org>
4610
4611 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4612 instead of this-command-keys. Add universal-argument-more and
4613 universal-argument-minus to the list of prefix commands. (Bug#15568)
4614
4615 2013-10-09 Glenn Morris <rgm@gnu.org>
4616
4617 * vc/vc-svn.el (vc-svn-create-repo):
4618 Expand paths in file://... url. (Bug#15446)
4619
4620 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4621 Add some entries.
4622 (authors): Remove unused local variables.
4623
4624 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * profiler.el: Create a more coherent calltree from partial backtraces.
4627 (profiler-format): Hide the tail with `invisible' so that C-s can still
4628 find the hidden elements.
4629 (profiler-calltree-depth): Don't recurse so enthusiastically.
4630 (profiler-function-equal): New hash-table-test.
4631 (profiler-calltree-build-unified): New function.
4632 (profiler-calltree-build): Use it.
4633 (profiler-report-make-name-part): Indent the calltree less.
4634 (profiler-report-mode): Add visibility specs for profiler-format.
4635 (profiler-report-expand-entry, profiler-report-toggle-entry):
4636 Expand the whole subtree when provided with a prefix arg.
4637
4638 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4639
4640 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4641 iuwu-mod token.
4642 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4643 hanging iuwu-mod token.
4644 (ruby-smie--forward-token): Do not include a dot after a token in
4645 that token.
4646 (ruby-smie--backward-token): Likewise.
4647
4648 2013-10-08 Juri Linkov <juri@jurta.org>
4649
4650 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4651 to isearch-other-control-char.
4652 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4653 and isearch-post-command-hook to post-command-hook.
4654 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4655 and isearch-post-command-hook from post-command-hook.
4656 (isearch-unread-key-sequence)
4657 (isearch-reread-key-sequence-naturally)
4658 (isearch-lookup-scroll-key, isearch-other-control-char)
4659 (isearch-other-meta-char): Remove functions.
4660 (isearch-pre-command-hook, isearch-post-command-hook):
4661 New functions based on isearch-other-meta-char rewritten
4662 relying on the new behavior of overriding-terminal-local-map
4663 that does not replace the local keymaps any more. (Bug#15200)
4664
4665 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4666
4667 Support menus on text-mode terminals.
4668 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4669 functionality.
4670
4671 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4672
4673 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4674 Move here from mouse.el.
4675 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4676 and arrow keys.
4677 (tty-menu-navigation-map): New map for TTY menu navigation.
4678
4679 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4680
4681 * frame.el (display-mouse-p): Report text-mode mouse as available
4682 on w32.
4683 (display-popup-menus-p): Report availability if mouse is
4684 available; don't condition on window-system.
4685
4686 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4687 (tty-menu-selected-face): New faces.
4688
4689 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4692 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4693 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4694 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4695 New constants.
4696 (lisp-mode-variables): New `elisp' argument.
4697 (emacs-lisp-mode): Use it.
4698 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4699 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4700
4701 * indent.el: Use lexical-binding.
4702 (indent-region): Add progress reporter.
4703 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4704 last step.
4705 (indent--next-tab-stop): New function to implement this behavior.
4706 (tab-to-tab-stop, move-to-tab-stop): Use it.
4707
4708 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4709
4710 * indent.el (indent-rigidly--current-indentation): New function.
4711 (indent-rigidly-map): New var.
4712 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4713
4714 2013-10-08 Bastien Guerry <bzg@gnu.org>
4715
4716 * register.el (insert-register): Fix 2013-10-07 change.
4717
4718 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * progmodes/perl-mode.el: Use lexical-binding.
4721 Remove redundant :group args.
4722 (perl-nochange): Change default to be closer to other major modes's
4723 standard behavior.
4724 (perl-indent-line): Don't consider text on current line as a
4725 valid beginning of function from which to indent.
4726
4727 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4728 with more than one argument (bug#15538).
4729
4730 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4731
4732 * vc/pcvs.el: Use lexical-binding.
4733 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4734 environment of `eval'.
4735 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4736 than a list of expressions. Adjust callers.
4737 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4738
4739 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4740
4741 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4742 case of the dot in a chained method call being on the following line.
4743
4744 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * electric.el (electric-indent-inhibit): New var.
4747 (electric-indent-post-self-insert-function): Use it.
4748 * progmodes/python.el (python-mode): Set it.
4749
4750 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4751 open braces.
4752
4753 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4754
4755 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4756 (css-mode): Use electric-indent-chars.
4757
4758 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4759 (font-lock-beg, font-lock-end): Move before first use.
4760 (nxml-mode): Use syntax-propertize-function.
4761 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4762 (nxml-extend-after-change-region): Remove.
4763 * nxml/xmltok.el: Use lexical-binding.
4764 (xmltok-save): Use `declare'.
4765 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4766 * nxml/nxml-util.el: Use lexical-binding.
4767 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4768 Use `declare'.
4769 * nxml/nxml-ns.el: Use lexical-binding.
4770 (nxml-ns-save): Use `declare'.
4771 (nxml-ns-prefixes-for): Avoid add-to-list.
4772 * nxml/rng-match.el: Use lexical-binding.
4773 (rng--ipattern): Use cl-defstruct.
4774 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4775 (rng-cons-group-after, rng-subst-group-after)
4776 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4777 Use closures instead of `(lambda...).
4778
4779 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4780
4781 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4782 of BEG and END.
4783
4784 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4785 Use `tramp-handle-insert-file-contents'.
4786 (tramp-gvfs-handle-insert-file-contents): Remove function.
4787
4788 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4789 Use `save-restriction' in order to keep markers.
4790
4791 * net/trampver.el: Update release number.
4792
4793 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * progmodes/compile.el (compilation-parse-errors):
4796 Use compilation--put-prop.
4797 (compilation--ensure-parse): Check compilation-multiline.
4798
4799 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4800
4801 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4802 lexical-binding.
4803
4804 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4805
4806 * progmodes/ruby-mode.el: Fix recently added tests.
4807 (ruby-smie-grammar): Add - and +.
4808 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4809 (ruby-smie--backward-id): New functions.
4810 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4811 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4812 any more.
4813
4814 2013-10-07 Leo Liu <sdl.web@gmail.com>
4815
4816 * register.el (register-preview-delay)
4817 (register-preview-functions): New variables.
4818 (register-read-with-preview, register-preview)
4819 (register-describe-oneline): New functions.
4820 (point-to-register, window-configuration-to-register)
4821 (frame-configuration-to-register, jump-to-register)
4822 (number-to-register, view-register, insert-register)
4823 (copy-to-register, append-to-register, prepend-to-register)
4824 (copy-rectangle-to-register): Use register-read-with-preview to
4825 read register. (Bug#15525)
4826
4827 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4828
4829 * net/network-stream.el (network-stream-open-starttls): Don't add
4830 --insecure if it's already present, because that gnutls-cli
4831 rejects getting that parameter twice.
4832
4833 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4834
4835 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4836 keyword, too.
4837
4838 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4839
4840 * newcomment.el (comment-use-global-state): Change default value
4841 to t, mark obsolete (Bug#15251).
4842 (comment-beginning): In addition to `comment-to-syntax', check the
4843 value of `comment-use-global-state'.
4844
4845 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4848 (ruby-comment-column): Follow the global default, by default.
4849 (ruby-smie-grammar): Add assignment syntax.
4850 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4851 open-paren, a comma, or a \.
4852 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4853 and line continuations.
4854 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4855 followed by implicit semi-colons. Add rule for string concatenation
4856 and for indentation at BOB.
4857 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4858
4859 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4860 calling next-sexp, since next-token may have skipped chars which
4861 next-sexp doesn't know should be skipped!
4862
4863 2013-10-05 Leo Liu <sdl.web@gmail.com>
4864
4865 * progmodes/octave.el (octave-send-region):
4866 Call compilation-forget-errors.
4867
4868 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4869
4870 * vc/vc-svn.el (vc-svn-find-admin-dir):
4871 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4872 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4873 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4874 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4875
4876 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4879
4880 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * subr.el (read-passwd): Hide chars even when called within a context
4883 where after-change-functions is disabled (bug#15501).
4884 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4885 until we removed ourself from overriding-terminal-local-map.
4886
4887 2013-10-04 Leo Liu <sdl.web@gmail.com>
4888
4889 * progmodes/octave.el (inferior-octave-mode):
4890 Call compilation-forget-errors.
4891
4892 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4893
4894 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4895
4896 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * net/secrets.el (secrets-create-collection): Add optional
4899 argument ALIAS. Use proper Label keyword. Append ALIAS as
4900 dbus-call-method argument. (Bug#15516)
4901
4902 2013-10-04 Leo Liu <sdl.web@gmail.com>
4903
4904 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4905 (inferior-octave-compilation-font-lock-keywords): New variables.
4906 (compilation-error-regexp-alist)
4907 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4908 (inferior-octave-mode): Use compilation-shell-minor-mode.
4909
4910 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4911
4912 * minibuffer.el (completion--replace): Be careful that `end' might be
4913 a marker.
4914
4915 2013-10-03 Daiki Ueno <ueno@gnu.org>
4916
4917 Add support for package signature checking.
4918 * emacs-lisp/package.el (url-http-file-exists-p)
4919 (epg-make-context, epg-context-set-home-directory)
4920 (epg-verify-string, epg-context-result-for)
4921 (epg-signature-status, epg-signature-to-string)
4922 (epg-check-configuration, epg-configuration)
4923 (epg-import-keys-from-file): Declare.
4924 (package-check-signature): New user option.
4925 (package-unsigned-archives): New user option.
4926 (package-desc): Add `signed' field.
4927 (package-load-descriptor): Set `signed' field if .signed file exists.
4928 (package--archive-file-exists-p): New function.
4929 (package--check-signature): New function.
4930 (package-install-from-archive): Check package signature.
4931 (package--download-one-archive): Check archive signature.
4932 (package-delete): Remove .signed file.
4933 (package-import-keyring): New command.
4934 (package-refresh-contents): Import default keyring.
4935 (package-desc-status): Add "unsigned" status.
4936 (describe-package-1, package-menu--print-info)
4937 (package-menu-mark-delete, package-menu--find-upgrades)
4938 (package-menu--status-predicate): Support "unsigned" status.
4939
4940 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4943 the new compilation scheme using the new byte-codes.
4944
4945 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4946 (byte-pophandler): New byte codes.
4947 (byte-goto-ops): Adjust accordingly.
4948 (byte-compile--use-old-handlers): New var.
4949 (byte-compile-catch): Use new byte codes depending on
4950 byte-compile--use-old-handlers.
4951 (byte-compile-condition-case--old): Rename from
4952 byte-compile-condition-case.
4953 (byte-compile-condition-case--new): New function.
4954 (byte-compile-condition-case): New function that dispatches depending
4955 on byte-compile--use-old-handlers.
4956 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4957 when we can.
4958
4959 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4960 Optimize under `condition-case' and `catch' if
4961 byte-compile--use-old-handlers is nil.
4962 (disassemble-offset): Handle new bytecodes.
4963
4964 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * subr.el (error): Use `declare'.
4967 (decode-char, encode-char): Use advertised-calling-convention instead
4968 of the docstring to discourage use of the `restriction' arg.
4969
4970 2013-10-03 Daiki Ueno <ueno@gnu.org>
4971
4972 * epg.el (epg-verify-file): Add a comment saying that it does not
4973 notify verification error as a return value nor a signal.
4974 (epg-verify-string): Ditto.
4975
4976 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4977
4978 * progmodes/compile.el (compilation-start): Try globbing the arg to
4979 `cd' (bug#15417).
4980
4981 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4982
4983 Sync with Tramp 2.2.8.
4984
4985 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4986 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4987 * net/trampver.el: Update release number.
4988
4989 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4990
4991 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4992 and default-process-coding-system for darwin only.
4993
4994 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4997
4998 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4999
5000 * vc/vc-git.el (vc-git-grep): Disable pager.
5001
5002 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5003
5004 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5005 Use :url instead of :homepage, as per
5006 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5007
5008 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5009 non-nil, use `syntax-ppss' (Bug#15251).
5010
5011 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5012
5013 * progmodes/octave.el (inferior-octave-startup-file):
5014 Prefer ~/.emacs.d/init_octave.m.
5015
5016 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5017
5018 * emacs-lisp/package.el (package-desc-from-define):
5019 Accept additional arguments as plist, convert them to an alist and store
5020 them in the `extras' slot.
5021 (package-generate-description-file): Convert extras alist back to
5022 plist and append to the `define-package' form arguments.
5023 (package--alist-to-plist): New function.
5024 (package--ac-desc): Add `extras' slot.
5025 (package--add-to-archive-contents): Check if the archive-contents
5026 vector is long enough, and if it is, pass its `extras' slot value
5027 to `package-desc-create'.
5028 (package-buffer-info): Call `lm-homepage', pass the returned value
5029 to `package-desc-from-define'.
5030 (describe-package-1): Render the homepage button (Bug#13291).
5031
5032 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5033 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5034
5035 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5036
5037 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5038 and default-process-coding-system to utf-8-unix (Bug#15402).
5039
5040 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5041
5042 * subr.el (looking-back): Do not recommend using looking-back.
5043
5044 2013-09-28 Alan Mackenzie <acm@muc.de>
5045
5046 Fix indentation/fontification of Java enum with "implements".
5047
5048 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5049 regexp which matches "implements", etc., in Java.
5050 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5051 specifier clauses coming after "enum".
5052 * progmodes/cc-fonts.el (c-font-lock-declarations)
5053 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5054 after "enum".
5055
5056 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5057
5058 * faces.el (region): Change ns_selection_color to
5059 ns_selection_fg_color, add ns_selection_bg_color.
5060
5061 2013-09-28 Leo Liu <sdl.web@gmail.com>
5062
5063 * progmodes/octave.el (inferior-octave-completion-table)
5064 (inferior-octave-completion-at-point): Minor tweaks.
5065
5066 * textmodes/ispell.el (ispell-lookup-words): Rename from
5067 lookup-words. (Bug#15460)
5068 (lookup-words): Obsolete.
5069 (ispell-complete-word, ispell-command-loop): All uses changed.
5070
5071 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5072
5073 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5074 (octave-mode-menu): Add octave-send-buffer.
5075 (octave-send-buffer): New function.
5076
5077 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5078
5079 * progmodes/octave.el (octave-mode-map): Add key binding for
5080 octave-lookfor.
5081 (octave-mode-menu): Add octave-lookfor.
5082 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5083 octave-lookfor.
5084 (octave-lookfor): New function.
5085
5086 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5087
5088 * emacs-lisp/cl-macs.el:
5089 (cl--loop-destr-temps): Remove.
5090 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5091 its convention.
5092 (cl--loop-set-iterator-function): New function.
5093 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5094 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5095 Bind `it' with `let' instead of substituting it with `cl-subst'.
5096 (cl--unused-var-p): New function.
5097 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5098 Eliminate some unused variable warnings (bug#15326).
5099
5100 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5101
5102 * doc-view.el (doc-view-scale-reset): Rename from
5103 `doc-view-reset-zoom-level'.
5104 (doc-view-scale-adjust): New command.
5105 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5106 `doc-view-scale-adjust'.
5107
5108 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5109
5110 * doc-view.el (doc-view-reset-zoom-level): New command.
5111 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5112 zoom commands (bug#15466).
5113
5114 2013-09-26 Kenichi Handa <handa@gnu.org>
5115
5116 * international/quail.el (quail-help): Make it not a command.
5117
5118 2013-09-26 Leo Liu <sdl.web@gmail.com>
5119
5120 * minibuffer.el (completion-all-sorted-completions): Make args
5121 optional as they are.
5122
5123 2013-09-25 Daniel Colascione <dancol@dancol.org>
5124
5125 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5126 specs are and that they're not evaluated.
5127
5128 2013-09-24 Sam Steingold <sds@gnu.org>
5129
5130 * midnight.el (clean-buffer-list-kill-regexps)
5131 (clean-buffer-list-kill-buffer-names): Update for the new Man
5132 buffer naming which includes the object name.
5133
5134 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5137 (eshell-parse-command, eshell-parse-pipeline): Use it since
5138 eshell-separate-commands requires a dynamic scoped var.
5139 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5140
5141 2013-09-23 Leo Liu <sdl.web@gmail.com>
5142
5143 * autoinsert.el (auto-insert-alist): Make the value of
5144 lexical-binding match its file setting.
5145
5146 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5147
5148 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5149
5150 * autoarg.el (autoarg-kp-digit-argument):
5151 * electric.el (Electric-command-loop):
5152 * kmacro.el (kmacro-step-edit-insert):
5153 Do not set universal-argument-num-events.
5154
5155 2013-09-22 Leo Liu <sdl.web@gmail.com>
5156
5157 * files.el (interpreter-mode-alist): Add octave.
5158
5159 2013-09-21 Alan Mackenzie <acm@muc.de>
5160
5161 C++: fontify identifier in declaration following "public:" correctly.
5162 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5163 to match "public", etc.
5164 (c-decl-prefix-re): Add ":" into the C++ value.
5165 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5166 bit. Add a check for a ":" preceded by "public", etc.
5167
5168 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5169
5170 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5171 recognized by GDB 7.5 and later.
5172
5173 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5174
5175 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5176
5177 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * subr.el (internal--call-interactively): New const.
5180 (called-interactively-p): Use it (bug#3984).
5181
5182 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5183
5184 * vc/pcvs.el (cvs-mode-ignore):
5185 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5186 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5187
5188 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5191 (eshell-ls-orig-insert-directory): Remove.
5192 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5193 (eshell-ls-use-in-dired): Use advice-add/remove.
5194 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5195 Add `orig-fun' arg for use in :around advice.
5196 Make it check (redundantly) eshell-ls-use-in-dired.
5197
5198 2013-09-19 Glenn Morris <rgm@gnu.org>
5199
5200 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5201
5202 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5203
5204 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5205
5206 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5207
5208 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5209 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5210 (tramp-get-remote-python): New defuns.
5211 (tramp-get-remote-uid-with-perl)
5212 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5213 contributed by yary <not.com@gmail.com> (tiny change).
5214 (tramp-get-remote-uid-with-python)
5215 (tramp-get-remote-gid-with-python): New defuns. Python code
5216 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5217 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5218
5219 2013-09-19 Glenn Morris <rgm@gnu.org>
5220
5221 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5222
5223 * eshell/em-unix.el (eshell-remove-entries):
5224 Rename argument to avoid name-clash with global `top-level'.
5225
5226 * eshell/esh-proc.el (eshell-kill-process-function):
5227 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5228 (eshell-reset-after-proc): Remove unused arg `proc'.
5229
5230 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5231 (directory-files-and-attributes): Mark unused arg.
5232
5233 * eshell/em-unix.el (eshell-remove-entries):
5234 Remove unused arg `path'. Update callers.
5235
5236 * eshell/em-hist.el (eshell-hist-parse-arguments):
5237 Remove unused arg `silent'. Update callers.
5238
5239 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5240 Fix (f)boundp mix-up.
5241
5242 * eshell/em-smart.el (eshell-smart-scroll-window)
5243 (eshell-disable-after-change):
5244 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5245
5246 2013-09-18 Alan Mackenzie <acm@muc.de>
5247
5248 Fix fontification of type when followed by "const".
5249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5250 "known" types from fontification.
5251
5252 2013-09-18 Glenn Morris <rgm@gnu.org>
5253
5254 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5255 (chart-face-list): Drop Emacsen without display-color-p.
5256
5257 * net/eww.el (libxml-parse-html-region): Declare.
5258 (eww-display-html): Explicit error if no libxml2 support.
5259
5260 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5261
5262 * image.el (image-type-from-buffer, image-multi-frame-p):
5263 Remove --without-x warning/error.
5264
5265 * mouse.el (mouse-yank-primary):
5266 * term.el (term-mouse-paste):
5267 Reorder to silence --without-x compilation.
5268
5269 * mpc.el (doc-view-mode): Silence --without-x compilation.
5270
5271 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5272 Silence --without-x compilation.
5273
5274 * progmodes/gud.el (gud-find-file, gud-mode):
5275 Silence --without-x compilation.
5276 (tooltip-mode): Declare.
5277
5278 * wdired.el (dired-backup-overwrite): Remove declaration.
5279 (wdired-mode-map): Add doc string.
5280
5281 * custom.el (x-get-resource): Declare.
5282
5283 * eshell/em-glob.el (ange-cache):
5284 * eshell/em-unix.el (ange-cache): Declare.
5285
5286 * faces.el (x-display-list, x-open-connection, x-get-resource):
5287 Declare.
5288
5289 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5290 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5291 Declare.
5292
5293 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5294
5295 * net/gnutls.el (gnutls-log-level): Declare.
5296
5297 * net/shr.el (image-size, image-animate): Declare.
5298
5299 * simple.el (font-info): Declare.
5300
5301 * subr.el (x-popup-dialog): Declare.
5302
5303 * term/common-win.el (x-select-enable-primary)
5304 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5305 Declare.
5306
5307 * term/ns-win.el (x-handle-args): Declare.
5308
5309 * term/x-win.el (x-select-enable-clipboard): Declare.
5310
5311 * term/w32-win.el (create-default-fontset): Declare.
5312
5313 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5314 Declare.
5315
5316 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5317 (fit-frame-to-buffer): Explicit error if --without-x.
5318 (mouse-autoselect-window-select): Silence compiler.
5319
5320 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5321
5322 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5323 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5324 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5325 * eshell/esh-util.el (eshell-sublist):
5326 Remove unused local variables.
5327
5328 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5329
5330 * textmodes/two-column.el: Make 2C-split work for --without-x.
5331 (scroll-bar-columns): Autoload.
5332 (top-level): Require fringe when compiling.
5333
5334 2013-09-18 Leo Liu <sdl.web@gmail.com>
5335
5336 * subr.el (add-hook): Robustify to handle closure as well.
5337
5338 2013-09-17 Glenn Morris <rgm@gnu.org>
5339
5340 * simple.el (messages-buffer-mode-map): Unbind "g".
5341
5342 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * help-mode.el (help-mode-finish): Use derived-mode-p.
5345 Remove obsolete highlighting.
5346
5347 * play/life.el (life-mode): Use define-derived-mode. Derive from
5348 special-mode.
5349 (life): Let-bind inhibit-read-only.
5350 (life-setup): Avoid `setq'. Use `life-mode'.
5351
5352 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5353 which should not be needed any more.
5354 (package-menu-refresh, package-menu-describe-package): Use user-error.
5355
5356 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5357 (eshell-post-rewrite-command-hook): Make obsolete.
5358 (eshell-parse-command): Simplify.
5359 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5360 (eshell--cmd): Declare.
5361 (eshell-parse-pipeline): Remove unused var `final-p'.
5362 Pass a dynvar to eshell-post-rewrite-command-hook.
5363 Implement the new eshell-post-rewrite-command-function.
5364 (eshell-invoke-directly): Remove unused arg `input'.
5365 * eshell/esh-io.el (eshell-io-initialize):
5366 Use eshell-post-rewrite-command-function (bug#15399).
5367 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5368 adjust to new calling convention.
5369 (eshell-create-handles): Rename args to avoid clashing with dynvar
5370 `standard-output'.
5371
5372 2013-09-17 Glenn Morris <rgm@gnu.org>
5373
5374 * simple.el (messages-buffer-mode): New major mode.
5375 (messages-buffer): New function.
5376 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5377 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5378 (ert-run-test): Use `messages-buffer' function.
5379 (ert--force-message-log-buffer-truncation): Ignore read-only.
5380 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5381 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5382
5383 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5386
5387 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5388
5389 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * icomplete.el (icomplete-in-buffer): New var.
5392 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5393 vars and replace them with functions.
5394 (icomplete-minibuffer-setup): Adjust accordingly.
5395 (icomplete--completion-table, icomplete--completion-predicate)
5396 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5397 New functions.
5398 (icomplete-forward-completions, icomplete-backward-completions)
5399 (icomplete-simple-completing-p, icomplete-exhibit)
5400 (icomplete-completions): Use them.
5401 (icomplete--in-region-buffer): New var.
5402 (icomplete--in-region-setup): New function.
5403 (icomplete-mode): Use it.
5404
5405 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5406 (bug#15379).
5407 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5408 return args and options.
5409 (eshell-eval-using-options): Use the new return value of
5410 eshell--do-opts to set the options's vars in their scope.
5411 (eshell--set-option): Rename from eshell-set-option.
5412 Add arg `opt-vals'.
5413 (eshell--process-option): Rename from eshell-process-option.
5414 Add arg `opt-vals'.
5415 (eshell--process-args): Use an `opt-vals' alist to store the options's
5416 values during their processing and return them additionally to the
5417 remaining args.
5418
5419 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5420
5421 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5422 continuation character an operator, as far as indentation is
5423 concerned (Bug#15369).
5424
5425 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5426
5427 * window.el (window--state-put-2): Don't process buffer state
5428 when buffer doesn't exist any more (Bug#15382).
5429
5430 2013-09-15 Glenn Morris <rgm@gnu.org>
5431
5432 * eshell/em-unix.el (eshell/rm):
5433 Make -f ignore missing files. (Bug#15373)
5434
5435 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5436 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5437 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5438
5439 2013-09-14 Glenn Morris <rgm@gnu.org>
5440
5441 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5442
5443 2013-09-13 Glenn Morris <rgm@gnu.org>
5444
5445 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5446 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5447
5448 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5449
5450 * frame.el (x-focus-frame): Mark as declared in frame.c.
5451
5452 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * ls-lisp.el: Use advice-add.
5455 (original-insert-directory): Remove.
5456 (ls-lisp--insert-directory): Rename from insert-directory; add
5457 `orig-fun' argument.
5458 (insert-directory): Advise.
5459
5460 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5461
5462 * term.el (term-emulate-terminal): Decode the command string
5463 before passing it to term-command-hook. (Bug#15337)
5464
5465 2013-09-13 Glenn Morris <rgm@gnu.org>
5466
5467 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5468
5469 * eshell/esh-ext.el (eshell-search-path): Declare.
5470
5471 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5472 Otherwise an error occurs if eshell-dirs module not loaded.
5473
5474 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5475
5476 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5477
5478 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5479 `tramp-check-proper-host'. Check for a valid method name.
5480
5481 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5482 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5483 * net/tramp-sh.el (tramp-maybe-open-connection):
5484 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5485
5486 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5487 also for hash values.
5488
5489 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * term/ns-win.el (parameters): Don't declare as dynamic.
5492 (before-make-frame-hook): Don't add ineffective function.
5493
5494 * eshell/*.el: Use lexical-binding (bug#15231).
5495
5496 2013-09-12 Kenichi Handa <handa@gnu.org>
5497
5498 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5499
5500 2013-09-12 Glenn Morris <rgm@gnu.org>
5501
5502 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5503 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5504
5505 * subr.el (do-after-load-evaluation): Also give compiler warnings
5506 when obsolete files are used (except by obsolete files).
5507
5508 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5509 in the status output, assume `filename' is the first. (Bug#15322)
5510
5511 * vc/vc.el (vc-deduce-fileset): Doc fix.
5512
5513 * calc/calc-help.el (Info-goto-node):
5514 * progmodes/cperl-mode.el (Info-find-node):
5515 * vc/ediff.el (Info-goto-node): Update declarations.
5516
5517 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5518
5519 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5520 (vc-bzr-pull): Require vc-dispatcher.
5521 * vc/vc-git.el (vc-compilation-mode): Declare.
5522 (vc-git-pull): Require vc-dispatcher.
5523
5524 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5525
5526 * progmodes/octave.el (help-button-action): Declare.
5527
5528 * shell.el (shell-directory-tracker): Output error as a message
5529 rather than just returning it as a string.
5530 (shell-process-pushd): Remove useless use of message.
5531
5532 * dframe.el (dframe-timer-fn):
5533 * files.el (dir-locals-read-from-file):
5534 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5535 (mpc-format):
5536 * reveal.el (reveal-post-command):
5537 * saveplace.el (load-save-place-alist-from-file):
5538 * shell.el (shell-resync-dirs):
5539 * w32-common-fns.el (x-get-selection-value):
5540 * emacs-lisp/copyright.el (copyright-find-copyright):
5541 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5542 * emulation/tpu-edt.el (tpu-copy-keyfile):
5543 * play/bubbles.el (bubbles--mark-neighbourhood):
5544 * progmodes/executable.el
5545 (executable-make-buffer-file-executable-if-script-p):
5546 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5547
5548 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 Cleanup Eshell to rely less on dynamic scoping.
5551 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5552 last-value, and ext-command here. Bind `args' closer to `body'.
5553 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5554 (eshell--args): Declare new dynamic var.
5555 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5556 last-value, and ext-command. Pass `args' to `body'.
5557 (eshell-process-args): Bind eshell--args.
5558 (eshell-set-option): Use eshell--args.
5559 * eshell/eshell.el (eshell): Use derived-mode-p.
5560 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5561 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5562 (eshell-glob-function): Declare.
5563 * eshell/esh-util.el: Require cl-lib.
5564 (eshell-read-hosts-file): Avoid add-to-list.
5565 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5566 `err'.
5567 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5568 Declare.
5569 (eshell/diff): Remove unused var `err'.
5570 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5571 `killflag'.
5572 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5573 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5574 first use.
5575 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5576 Move declaration before first use.
5577 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5578 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5579 rely on cl-return.
5580
5581 2013-09-12 Glenn Morris <rgm@gnu.org>
5582
5583 * term/ns-win.el (global-map): Remove binding for ispell-next,
5584 deleted 1999-05-29. (Bug#15357)
5585
5586 2013-09-11 Glenn Morris <rgm@gnu.org>
5587
5588 * echistory.el (electric-command-history): Remove call to deleted func.
5589
5590 * play/landmark.el (landmark-mode): Fix typos.
5591
5592 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5593 Check cvs-sort-ignore-file is bound.
5594
5595 * savehist.el: No need for cl when compiling on Emacs.
5596
5597 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5600 (bug#15338).
5601 (eshell-self-insert-command, eshell-send-invisible):
5602 Remove unused argument.
5603 (eshell-handle-control-codes): Remove unused var `orig'.
5604 Avoid delete-backward-char.
5605
5606 * files.el (set-auto-mode): Simplify a bit further.
5607
5608 2013-09-11 Glenn Morris <rgm@gnu.org>
5609
5610 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5611 (set-auto-mode): Don't regexp-quote elements.
5612 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5613 * progmodes/cc-mode.el (interpreter-mode-alist):
5614 * progmodes/ruby-mode.el (interpreter-mode-alist):
5615 Revert previous change.
5616
5617 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * play/snake.el (snake-mode):
5620 * play/mpuz.el (mpuz-mode):
5621 * play/landmark.el (lm-mode):
5622 * play/blackbox.el (blackbox-mode):
5623 * play/5x5.el (5x5-mode):
5624 * obsolete/options.el (Edit-options-mode):
5625 * net/quickurl.el (quickurl-list-mode):
5626 * net/newst-treeview.el (newsticker-treeview-mode):
5627 * mail/rmailsum.el (rmail-summary-mode):
5628 * mail/mspools.el (mspools-mode):
5629 * locate.el (locate-mode):
5630 * ibuffer.el (ibuffer-mode):
5631 * emulation/ws-mode.el (wordstar-mode):
5632 * emacs-lisp/debug.el (debugger-mode):
5633 * array.el (array-mode):
5634 * net/eudc.el (eudc-mode): Use define-derived-mode.
5635 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5636 Move initialization into declaration.
5637 (mairix-searches-mode): Use define-derived-mode.
5638 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5639 (eudc-edit-hotlist): Use dolist.
5640 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5641 (Man-mode): Use define-derived-mode.
5642 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5643 (Info-edit-mode): Use define-derived-mode.
5644 (Info-cease-edit): Use Info-mode.
5645 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5646 into declaration.
5647 (eshell-mode): Use define-derived-mode.
5648 * chistory.el (command-history-mode-map): Rename from
5649 command-history-map.
5650 (command-history-mode): Use define-derived-mode.
5651 (Command-history-setup): Remove function.
5652 * calc/calc.el (calc-trail-mode-map): New var.
5653 (calc-trail-mode): Use define-derived-mode.
5654 (calc-trail-buffer): Set calc-main-buffer manually.
5655 * bookmark.el (bookmark-insert-annotation): New function.
5656 (bookmark-edit-annotation): Use it.
5657 (bookmark-edit-annotation-mode): Make it a proper major mode.
5658 (bookmark-send-edited-annotation): Use derived-mode-p.
5659 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5660 closer to its ideal place. Use \' to match EOS.
5661
5662 * profiler.el (profiler-calltree-find): Use function-equal.
5663
5664 2013-09-10 Glenn Morris <rgm@gnu.org>
5665
5666 * files.el (interpreter-mode-alist): Convert to regexps.
5667 (set-auto-mode): Adapt for this. (Bug#15306)
5668 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5669 Comment out unused variable.
5670 * progmodes/cc-mode.el (interpreter-mode-alist):
5671 * progmodes/python.el (interpreter-mode-alist):
5672 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5673 * progmodes/sh-script.el (sh-set-shell):
5674 No longer use interpreter-mode-alist to get list of shells.
5675
5676 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5677
5678 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * simple.el: Use set-temporary-overlay-map for universal-argument.
5681 (universal-argument-map): Don't use default-bindings (bug#15317).
5682 Bind switch-frame explicitly. Replace universal-argument-minus with
5683 a conditional binding.
5684 (universal-argument-num-events, saved-overriding-map): Remove.
5685 (restore-overriding-map): Remove.
5686 (universal-argument--mode): Rename from save&set-overriding-map,
5687 and rewrite.
5688 (universal-argument, universal-argument-more, negative-argument)
5689 (digit-argument): Adjust accordingly.
5690 (universal-argument-minus): Remove.
5691 (universal-argument-other-key): Remove.
5692
5693 * subr.el (with-demoted-errors): Add `format' argument.
5694
5695 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5696
5697 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5698 `tramp-cleanup-connection'.
5699
5700 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5701 parameters KEEP-DEBUG and KEEP-PASSWORD.
5702
5703 * net/tramp.el (tramp-file-name-handler):
5704 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5705 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5706 (tramp-maybe-open-connection):
5707 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5708 Use `tramp-cleanup-connection'.
5709
5710 * net/tramp-sh.el (tramp-maybe-open-connection):
5711 Catch 'uname-changed inside the progress reporter.
5712
5713 2013-09-10 Glenn Morris <rgm@gnu.org>
5714
5715 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5716
5717 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5718 returns "alternate access method" in mode (eg "-rw-r--r--.").
5719
5720 2013-09-08 Glenn Morris <rgm@gnu.org>
5721
5722 * saveplace.el (load-save-place-alist-from-file):
5723 Demote errors. (Bug#15305)
5724
5725 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5726
5727 Improve compatibility with older Emacsen, and XEmacs.
5728
5729 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5730 only if it is bound. It isn't for XEmacs.
5731 (with-tramp-progress-reporter): Do not let-bind `result'.
5732 This yields to scoping errors in XEmacs.
5733 (tramp-handle-make-auto-save-file-name): New function, moved from
5734 tramp-sh.el.
5735
5736 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5737 for `make-auto-save-file-name'.
5738 (tramp-adb--gnu-switches-to-ash):
5739 Use `tramp-compat-replace-regexp-in-string'.
5740
5741 * net/tramp-cache.el (tramp-cache-print): Call
5742 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5743
5744 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5745 bound. It isn't for XEmacs.
5746
5747 * net/tramp-compat.el (tramp-compat-copy-file):
5748 Catch `wrong-number-of-arguments' error.
5749 (tramp-compat-replace-regexp-in-string): New defun.
5750
5751 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5752 for `make-auto-save-file-name'.
5753 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5754 `copy-file'.
5755 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5756 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5757 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5758
5759 * net/tramp-gw.el (tramp-gw-open-network-stream):
5760 Use `tramp-compat-replace-regexp-in-string'.
5761
5762 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5763 Call `tramp-handle-make-auto-save-file-name'.
5764 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5765 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5766 (tramp-sh-file-inotifywait-process-filter):
5767 Use `tramp-compat-replace-regexp-in-string'.
5768 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5769
5770 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5771 for `make-auto-save-file-name'.
5772 (tramp-smb-handle-copy-directory):
5773 Call `tramp-compat-replace-regexp-in-string'.
5774 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5775 (tramp-smb-handle-copy-file): Improve error message.
5776 (tramp-smb-handle-rename-file): Rename directly only in case
5777 `newname' does not exist yet. This is a restriction of smbclient.
5778 (tramp-smb-maybe-open-connection): Rerun the function only when
5779 `auth-sources' is non-nil.
5780
5781 2013-09-08 Kenichi Handa <handa@gnu.org>
5782
5783 * international/characters.el: Set category "^" (Combining) for
5784 more characters.
5785
5786 2013-09-07 Alan Mackenzie <acm@muc.de>
5787
5788 Correctly fontify Java class constructors.
5789 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5790 in Java Mode.
5791 (c-recognize-typeless-decls): Set the Java value to t.
5792 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5793 While handling a "(", add a check for, effectively, Java, and handle a
5794 "typeless" declaration there.
5795
5796 2013-09-07 Roland Winkler <winkler@gnu.org>
5797
5798 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5799 field subtitle for entry type book.
5800
5801 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * minibuffer.el: Make minibuffer-complete call completion-in-region
5804 rather than other way around.
5805 (completion--some, completion-pcm--find-all-completions):
5806 Don't delay signals when debugging.
5807 (minibuffer-completion-contents): Beware fields within the
5808 minibuffer contents.
5809 (completion-all-sorted-completions): Use defvar-local.
5810 (completion--do-completion, completion--cache-all-sorted-completions)
5811 (completion-all-sorted-completions, minibuffer-force-complete):
5812 Add args `beg' and `end'.
5813 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5814 (minibuffer-complete): Use completion-in-region.
5815 (completion-complete-and-exit): New fun, extracted from
5816 minibuffer-complete-and-exit.
5817 (minibuffer-complete-and-exit): Use it.
5818 (completion--complete-and-exit): Rename from
5819 minibuffer--complete-and-exit.
5820 (completion-in-region--single-word): New function, extracted from
5821 minibuffer-complete-word.
5822 (minibuffer-complete-word): Use it.
5823 (display-completion-list): Make `common-substring' argument obsolete.
5824 (completion--in-region): Call completion--in-region-1 instead of
5825 minibuffer-complete.
5826 (completion-help-at-point): Pass boundaries to
5827 minibuffer-completion-help as args rather than via an overlay.
5828 (completion-pcm--string->pattern): Use `any-delim'.
5829 (completion-pcm--optimize-pattern): New function.
5830 (completion-pcm--pattern->regex): Handle `any-delim'.
5831 * icomplete.el (icomplete-forward-completions)
5832 (icomplete-backward-completions, icomplete-completions):
5833 Adjust calls to completion-all-sorted-completions and
5834 completion--cache-all-sorted-completions.
5835 (icomplete-with-completion-tables): Default to t.
5836 * emacs-lisp/crm.el (crm--current-element): Rename from
5837 crm--select-current-element. Don't put an overlay but return the
5838 boundaries instead.
5839 (crm--completion-command): Take two new args to bind to the boundaries.
5840 (crm-completion-help): Adjust accordingly.
5841 (crm-complete): Use completion-in-region.
5842 (crm-complete-word): Use completion-in-region--single-word.
5843 (crm-complete-and-exit): Use completion-complete-and-exit.
5844
5845 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5848 than dynamically.
5849
5850 2013-09-06 Juri Linkov <juri@jurta.org>
5851
5852 * info.el (Info-display-images-node): When image file doesn't exist
5853 display text version of the image if it's provided in the Info file.
5854 Otherwise, display the location of missing image from SRC attribute.
5855 Add help-echo text property from ALT attribute. (Bug#15279)
5856
5857 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5860 (edit-abbrevs-mode): Use define-derived-mode.
5861
5862 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5863 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5864 that it's defined.
5865 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5866 Use define-derived-mode.
5867
5868 * epg.el (epg-start-encrypt): Minor CSE simplification.
5869
5870 2013-09-06 William Xu <william.xwl@gmail.com>
5871
5872 * arc-mode.el: Add support for 7za (bug#15264).
5873 (archive-7z-program): New var.
5874 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5875 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5876 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5877
5878 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5879
5880 Remove URL syntax.
5881
5882 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5883 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5884 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5885 (tramp-postfix-host-format, tramp-file-name-regexp)
5886 (tramp-completion-file-name-regexp)
5887 (tramp-completion-dissect-file-name)
5888 (tramp-handle-substitute-in-file-name): Remove 'url case.
5889 (tramp-file-name-regexp-url)
5890 (tramp-completion-file-name-regexp-url): Remove constants.
5891
5892 2013-09-06 Glenn Morris <rgm@gnu.org>
5893
5894 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5895
5896 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5897
5898 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5899 keywords" below "here-doc beginnings" (Bug#15270).
5900
5901 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * subr.el (pop): Use `car-safe'.
5904 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5905 to detect unused `pop' return value.
5906
5907 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5908 var `block-regexp'.
5909 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5910 (python-fill-string): Remove unused var `marker'.
5911 (python-skeleton-add-menu-items): Remove unused var `items'.
5912
5913 * international/mule-cmds.el: Require CL.
5914 (find-coding-systems-for-charsets): Avoid add-to-list.
5915 (sanitize-coding-system-list): New function, extracted from
5916 select-safe-coding-system-interactively.
5917 (select-safe-coding-system-interactively): Use it.
5918 (read-input-method-name): Accept symbols for `default'.
5919
5920 * emacs-lisp/advice.el (defadvice): Add indent rule.
5921
5922 2013-09-05 Daniel Hackney <dan@haxney.org>
5923
5924 * dired-x.el:
5925 * net/ange-ftp.el:
5926 * net/browse-url.el:
5927 * net/dbus.el:
5928 * net/eudc.el:
5929 * net/eudcb-ldap.el:
5930 * net/eww.el:
5931 * net/imap.el:
5932 * printing.el:
5933 * vc/ediff-diff.el:
5934 * vc/ediff-init.el:
5935 * vc/ediff-merg.el:
5936 * vc/ediff-mult.el:
5937 * vc/ediff-util.el:
5938 * vc/ediff-wind.el:
5939 * vc/ediff.el:
5940 * vc/emerge.el:
5941 * vc/pcvs.el:
5942 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5943 byte compiler. Remove some unused let-bound variables.
5944
5945 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5948 a "ref-cell", since it gets better optimized (bug#14883).
5949
5950 2013-09-05 Glenn Morris <rgm@gnu.org>
5951
5952 * progmodes/cc-awk.el (c-forward-sws): Declare.
5953
5954 2013-09-04 Glenn Morris <rgm@gnu.org>
5955
5956 * generic-x.el [rul-generic-mode]: Require cc-mode.
5957 (c++-mode-syntax-table): Declare.
5958 (rul-generic-mode-syntax-table): Init in the defvar.
5959
5960 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5963 (vc-do-command, vc-set-async-update):
5964 * vc/vc-mtn.el (vc-mtn-dir-status):
5965 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5966 (vc-hg-pull, vc-hg-merge-branch):
5967 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5968 (vc-git-merge-branch):
5969 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5970 (vc-cvs-dir-status-files):
5971 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5972 (vc-bzr-dir-status-files):
5973 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5974 * vc/vc-annotate.el: Use lexical-binding.
5975 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5976 (vc-sentinel-movepoint): Declare.
5977 (vc-annotate): Don't use `goto-line'.
5978 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5979 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5980 (vc-sentinel-movepoint): Declare.
5981 * vc/vc-svn.el: Use lexical-binding.
5982 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5983 * vc/vc-sccs.el:
5984 * vc/vc-rcs.el: Use lexical-binding.
5985
5986 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5987 `deleted'. Don't drop errors silently.
5988
5989 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5990
5991 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5992
5993 * vc/vc.el (vc-ignore): Rewrite.
5994 (vc-default-ignore): New function.
5995 (vc-default-ignore-completion-table): Use find-ignore-file.
5996
5997 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5998 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5999 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6000 Remove. Most code moved to vc.el.
6001
6002 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6005 * net/tramp-smb.el (tramp-smb-get-file-entries):
6006 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6007 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6008
6009 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6010 Update call to it.
6011 (eww-change-select): Remove unused var `properties'.
6012 (eww-make-unique-file-name): Remove unused var `base'.
6013
6014 * finder.el (finder-compile-keywords): Don't mess with windows.
6015
6016 * calculator.el (calculator-funcall): Fix typo in last change.
6017
6018 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6019
6020 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6021 <pkg>-autoloads.el file stop us.
6022
6023 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6024 warnings, and factor out common code.
6025
6026 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6027
6028 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6029 two-character operators and whether the character preceding them
6030 changes their meaning (Bug#15208).
6031
6032 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6033
6034 Format code sent to Python shell for robustness.
6035 * progmodes/python.el (python-shell-buffer-substring):
6036 New function.
6037 (python-shell-send-region, python-shell-send-buffer): Use it.
6038
6039 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6040
6041 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6042 * net/tramp.el (tramp-user-error): ... here.
6043 (tramp-find-method, tramp-check-proper-host)
6044 (tramp-dissect-file-name, tramp-debug-message)
6045 (tramp-handle-shell-command):
6046 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6047 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6048
6049 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6050
6051 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6052
6053 * avoid.el (mouse-avoidance-point-position)
6054 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6055 returns nil.
6056
6057 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6058
6059 * progmodes/python.el (python-shell-completion-get-completions):
6060 Drop use of deleted `comint-last-prompt-overlay'.
6061 (python-nav-if-name-main): New command.
6062
6063 2013-09-01 Glenn Morris <rgm@gnu.org>
6064
6065 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6066 Avoid leading space in $wins. Otherwise the sed command used by
6067 eg compile-main ends up containing "/*.el". (Bug#15170)
6068
6069 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6070
6071 2013-08-30 Glenn Morris <rgm@gnu.org>
6072
6073 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6074 Fix is-this-a-directory logic. (Bug#15220)
6075
6076 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * textmodes/css-mode.el: Use SMIE.
6079 (css-smie-grammar): New var.
6080 (css-smie--forward-token, css-smie--backward-token)
6081 (css-smie-rules): New functions.
6082 (css-mode): Use them.
6083 (css-navigation-syntax-table): Remove var.
6084 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6085 (css-indent-calculate, css-indent-line): Remove functions.
6086
6087 Misc changes to reduce use of `(lambda...); and other cleanups.
6088 * cus-edit.el: Use lexical-binding.
6089 (customize-push-and-save, customize-apropos)
6090 (custom-buffer-create-internal): Use closures.
6091 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6092 * progmodes/ada-xref.el: Use setq.
6093 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6094 * dframe.el: Use lexical-binding.
6095 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6096 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6097 * descr-text.el: Use lexical-binding.
6098 (describe-text-widget, describe-text-sexp, describe-property-list):
6099 Use closures.
6100 * comint.el (comint-history-isearch-push-state): Use a closure.
6101 * calculator.el: Use lexical-binding.
6102 (calculator-number-to-string): Make it work with lexical-binding.
6103 (calculator-funcall): Same and use cl-letf.
6104
6105 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6106 (lisp--company-doc-string, lisp--company-location): New functions.
6107 (lisp-completion-at-point): Use them to improve Company support.
6108
6109 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6110 params of lambda expressions.
6111 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6112 (ruby-smie--opening-pipe-p): New function.
6113 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6114 symbols and matched |...| for formal params.
6115 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6116 from being treated as hanging. Handle "rescue".
6117
6118 2013-08-29 Glenn Morris <rgm@gnu.org>
6119
6120 * progmodes/cc-engine.el (c-pull-open-brace):
6121 Move definition before use.
6122
6123 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6124
6125 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6126 are immutable. Don't use `unsafe' any more.
6127 (cl--defsubst-expand): Don't substitute at the same time as keeping
6128 a residual unused let-binding. Don't use `unsafe' any more.
6129
6130 2013-08-29 Glenn Morris <rgm@gnu.org>
6131
6132 * calendar/cal-china.el (calendar-chinese-year-cache):
6133 Recenter on 2015.
6134
6135 * nxml/nxml-util.el (nxml-debug-clear-inside):
6136 Use cl-loop rather than loop.
6137
6138 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6139
6140 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6141
6142 2013-08-28 Glenn Morris <rgm@gnu.org>
6143
6144 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6145
6146 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6147
6148 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6149
6150 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * simple.el (repeat-complex-command--called-interactively-skip):
6153 New function.
6154 (repeat-complex-command): Use it (bug#14136).
6155
6156 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6157 (c-define-abbrev-table): Add `doc' argument.
6158 (c-mode-abbrev-table, c++-mode-abbrev-table)
6159 (objc-mode-abbrev-table, java-mode-abbrev-table)
6160 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6161 (awk-mode-abbrev-table): Use it.
6162 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6163 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6164 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6165 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6166 Move initialization into the declaration; and remove any
6167 autoload cookie.
6168
6169 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6170 and dynamic let binding.
6171
6172 * vc/smerge-mode.el: Remove redundant :group args.
6173
6174 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6175 to load-path.
6176
6177 2013-08-28 Juri Linkov <juri@jurta.org>
6178
6179 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6180 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6181 (isearch-other-meta-char): Handle an undefined shifted printing
6182 character by downshifting it. (Bug#15200)
6183
6184 2013-08-28 Juri Linkov <juri@jurta.org>
6185
6186 * isearch.el (isearch-search): Change regexp error message for
6187 non-regexp searches. (Bug#15166)
6188
6189 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6190
6191 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6192 for portability to hosts where /bin/sh has problems.
6193
6194 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6197
6198 2013-08-27 Juri Linkov <juri@jurta.org>
6199
6200 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6201 in the keyboard macro. (Bug#15126)
6202
6203 2013-08-27 Juri Linkov <juri@jurta.org>
6204
6205 * isearch.el (isearch-quote-char): Comment out converting unibyte
6206 to multibyte, thus syncing with its `quoted-insert' counterpart.
6207 (Bug#15166)
6208
6209 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6210
6211 * window.el (display-buffer-use-some-window): Add missing
6212 argument in call of get-largest-window (Bug#15185).
6213 Reported by Stephen Leake.
6214
6215 2013-08-27 Glenn Morris <rgm@gnu.org>
6216
6217 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6218
6219 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6222 from a matcher-function unless there's no more matches (bug#15161).
6223
6224 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6225
6226 * minibuffer.el: Revert change from 2013-08-20.
6227
6228 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6229 with text property `tramp-default', if appropriate.
6230 (tramp-check-proper-host): New defun.
6231 (tramp-dissect-file-name): Do not check hostname. Revert change
6232 of 2013-03-18.
6233 (tramp-backtrace): Make VEC-OR-PROC optional.
6234
6235 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6236 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6237 * net/tramp-sh.el (tramp-maybe-open-connection):
6238 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6239 Apply `tramp-check-proper-host'.
6240
6241 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6242
6243 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6244 lambda expression in order to have `describe-variable' display it.
6245
6246 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6247
6248 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6249 BUF can be optional. (Bug#15186)
6250
6251 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6252
6253 * progmodes/flymake.el (flymake-get-real-file-name-function):
6254 Fix broken customization. (Bug#15184)
6255
6256 2013-08-25 Alan Mackenzie <acm@muc.de>
6257
6258 Improve indentation of bracelists defined by macros (without "=").
6259
6260 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6261 expansion begins with "{", regard it as bracelist when it doesn't
6262 contain a ";".
6263
6264 Parse C++ inher-intro when there's a template split over 2 lines.
6265
6266 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6267 rigorously the search for "class" etc. followed by ":".
6268
6269 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6270 random languages a regexp which never matches rather than nil.
6271
6272 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6273
6274 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6275 (c-awk-regexp-one-line-possibly-open-char-list-re)
6276 (c-awk-one-line-possibly-open-regexp-re)
6277 (c-awk-one-line-non-syn-ws*-re): Remove.
6278 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6279 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6280 (c-awk-space*-unclosed-regexp-/-re): New constants.
6281 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6282 aren't regexp delimiters.
6283
6284 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6285 handling for a rare situation in AWK Mode involving unterminated
6286 strings/regexps.
6287
6288 2013-08-23 Glenn Morris <rgm@gnu.org>
6289
6290 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6291
6292 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6293
6294 * files.el (create-file-buffer): If the result would begin with
6295 spaces, prepend a "|" instead of removing them. (Bug#15162)
6296
6297 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6300 text-properties (bug#15155).
6301
6302 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6303 exist any more.
6304 (calc-keypad-redraw): Remove unused var `pad'.
6305 (calc-keypad-press): Remove unused var `menu'.
6306
6307 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6308
6309 * window.el (display-buffer-pop-up-frame):
6310 Call pop-up-frame-function with BUFFER current so `make-frame' will
6311 use it as the new frame's buffer (Bug#15133).
6312
6313 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6314
6315 * calendar/timeclock.el: Minor cleanups.
6316 (timeclock-ask-before-exiting, timeclock-use-display-time):
6317 Use `symbol'.
6318 (timeclock-modeline-display): Define as alias before the
6319 actual definition.
6320 (timeclock-mode-line-display): Use define-minor-mode.
6321 (timeclock-day-list-template): Make it a function, add an argument.
6322 (timeclock-day-list-required, timeclock-day-list-length)
6323 (timeclock-day-list-debt, timeclock-day-list-span)
6324 (timeclock-day-list-break): Adjust calls accordingly.
6325
6326 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6329 Use read--expression so that completion works again.
6330
6331 2013-08-21 Sam Steingold <sds@gnu.org>
6332
6333 Add rudimentary inferior shell interaction
6334 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6335 (sh-set-shell): Reset it.
6336 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6337 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6338
6339 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * align.el: Use lexical-binding.
6342 (align-region): Simplify accordingly.
6343
6344 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6345
6346 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6347
6348 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6349 `non-essential' up.
6350
6351 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6352
6353 * net/tramp.el:
6354 * net/tramp-adb.el:
6355 * net/tramp-cmds.el:
6356 * net/tramp-ftp.el:
6357 * net/tramp-gvfs.el:
6358 * net/tramp-gw.el:
6359 * net/tramp-sh.el: Don't wrap external variable declarations by
6360 `eval-when-compile'.
6361
6362 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6363
6364 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6365 now that Emacs supports ImageMagick animations.
6366
6367 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6368
6369 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6370 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6371
6372 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6373
6374 * window.el (mouse-autoselect-window-select): Do autoselect when
6375 mouse pointer is on margin.
6376
6377 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6378
6379 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6380
6381 2013-08-16 Glenn Morris <rgm@gnu.org>
6382
6383 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6384 Handle "Remote Directory" response of some clients. (Bug#15058)
6385
6386 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6387 Tweak warning. (Bug#14926)
6388
6389 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6390 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6391
6392 * image-mode.el (image-mode-map): Add menu items to reverse,
6393 increase, decrease, reset animation speed.
6394 (image--set-speed, image-increase-speed, image-decrease-speed)
6395 (image-reverse-speed, image-reset-speed): New functions.
6396 (image-mode-map): Add bindings for speed commands.
6397
6398 * image.el (image-animate-get-speed, image-animate-set-speed):
6399 New functions.
6400 (image-animate-timeout): Respect image :speed property.
6401
6402 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6405 previous line (bug#15101).
6406 (debugger-eval-expression, debugger-record-expression):
6407 Use read--expression (bug#15102).
6408
6409 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6410
6411 Remove byte compiler warnings, visible when compiling with
6412 `byte-compile-force-lexical-warnings' set to t.
6413
6414 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6415 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6416 (tramp-handle-unhandled-file-name-directory)
6417 (tramp-handle-file-notify-add-watch, tramp-action-login)
6418 (tramp-action-succeed, tramp-action-permission-denied)
6419 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6420 arguments with "_".
6421
6422 * net/tramp-adb.el (tramp-adb-parse-device-names)
6423 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6424 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6425 (tramp-adb-handle-file-truename): Remove unused arguments.
6426
6427 * net/tramp-cache.el (tramp-flush-directory-property)
6428 (tramp-flush-connection-property, tramp-list-connections)
6429 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6430
6431 * net/tramp-compat.el (tramp-compat-make-temp-file):
6432 Rename FILENAME to F.
6433
6434 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6435 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6436 (tramp-zeroconf-parse-workstation-device-names)
6437 (tramp-zeroconf-parse-webdav-device-names)
6438 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6439
6440 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6441 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6442
6443 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6444 arguments.
6445 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6446 (tramp-sh-handle-insert-file-contents-literally)
6447 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6448 with "_".
6449 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6450 Remove unused variables.
6451
6452 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6453 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6454 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6455
6456 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6457 Make them a defconst.
6458 (tramp-uuencode-region): Remove unused variable.
6459
6460 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6461
6462 * frameset.el (frameset--prop-setter): New function.
6463 (frameset-prop): Add gv-setter declaration.
6464 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6465 parameter was already set in FILTERED. Doc fix.
6466 (frameset--record-minibuffer-relationships): Allow saving a
6467 minibufferless frame without its corresponding minibuffer frame.
6468 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6469 frame, if the frame id matches.
6470 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6471 frames before orphaned ones.
6472 (frameset-restore): Warn about orphaned windows, instead of error out.
6473
6474 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6475
6476 * window.el (window-make-atom): Don't overwrite parameter
6477 already present.
6478 (display-buffer-in-atom-window): Handle special case where we
6479 split an already atomic window.
6480 (window--major-non-side-window, display-buffer-in-side-window)
6481 (window--side-check): Ignore minibuffer window when walking
6482 window tree.
6483 (window-deletable-p): Return 'frame only if no other frame uses
6484 our minibuffer window.
6485 (record-window-buffer): Run buffer-list-update-hook.
6486 (split-window): Make sure window--check-frame won't destroy an
6487 existing atomic window in case the new window gets nested
6488 inside.
6489 (display-buffer-at-bottom): Ignore minibuffer window when
6490 walking window tree. Don't split a side window.
6491 (pop-to-buffer): Don't set-buffer here, the select-window call
6492 should do that.
6493 (mouse-autoselect-window-select): Autoselect only if we are in the
6494 text portion of the window.
6495
6496 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6497
6498 * net/shr.el (shr-parse-image-data): New function to grab both the
6499 data itself and the Content-Type.
6500 (shr-put-image): Use it.
6501
6502 * net/eww.el (eww-display-image): Ditto.
6503
6504 * image.el (image-content-type-suffixes): New variable.
6505
6506 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6507
6508 * progmodes/python.el (python-imenu--build-tree)
6509 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6510
6511 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6512
6513 * simple.el (backward-word): Mention the optional argument.
6514
6515 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * frameset.el (frameset--make): Rename constructor from make-frameset.
6518 (frameset-p, frameset-valid-p): Don't autoload.
6519 (frameset-valid-p): Use normal accessors.
6520
6521 2013-08-13 Glenn Morris <rgm@gnu.org>
6522
6523 * progmodes/compile.el (compile-command): Tweak example in doc.
6524 * obsolete/scribe.el (scribe-mode):
6525 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6526
6527 * mail/feedmail.el (feedmail-confirm-outgoing)
6528 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6529
6530 * cus-start.el (truncate-partial-width-windows): Fix type.
6531
6532 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6533
6534 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6535
6536 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 * emacs-lisp/timer.el (timer--time-setter): New function.
6539 (timer--time): Use it as gv-setter.
6540
6541 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6542 setter is not a symbol.
6543
6544 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6545
6546 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6547 if sending fails. This makes debugging easier.
6548
6549 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6550
6551 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6552 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6553 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6554
6555 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6556
6557 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6558
6559 2013-08-12 Glenn Morris <rgm@gnu.org>
6560
6561 * format.el (format-annotate-function):
6562 Handle read-only text properties in the source. (Bug#14887)
6563
6564 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6565
6566 * net/eww.el (eww-display-html): Ignore coding system errors.
6567 One web site uses "utf-8lias" as the coding system.
6568
6569 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6570
6571 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6572
6573 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6574
6575 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6576 (tutorial--detailed-help): Remove unused local variables.
6577 (tutorial--save-tutorial-to): Use ignore-errors.
6578 (help-with-tutorial): Use looking-at-p.
6579
6580 * view.el (view-buffer-other-window, view-buffer-other-frame):
6581 Mark unused arguments.
6582
6583 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6584 (woman-select-symbol-fonts, woman, woman-find-file)
6585 (woman-insert-file-contents, woman-non-underline-faces):
6586 Use string-match-p.
6587 (woman1-unquote): Move declaration.
6588
6589 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6590 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6591 argument. Remove unused local variable.
6592 (xml-parse-elem-type): Use string-match-p.
6593 (xml-substitute-numeric-entities): Use ignore-errors.
6594
6595 * calculator.el (calculator): Mark unused argument.
6596 (calculator-paste, calculator-quit, calculator-integer-p):
6597 Use ignore-errors.
6598 (calculator-string-to-number, calculator-decimal, calculator-exp)
6599 (calculator-op-or-exp): Use string-match-p.
6600
6601 * dired.el (dired-buffer-more-recently-used-p): Declare.
6602 (dired-insert-set-properties, dired-insert-old-subdirs):
6603 Use ignore-errors.
6604
6605 * dired-aux.el (dired-compress): Use ignore-errors.
6606 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6607 (dired-do-async-shell-command, dired-do-shell-command)
6608 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6609 (dired-insert-subdir-validate): Use string-match-p.
6610 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6611 (dired-add-entry): Use string-match-p, looking-at-p.
6612 (dired-insert-subdir-newpos): Remove unused local variable.
6613
6614 * filenotify.el (file-notify-callback): Remove unused local variable.
6615
6616 * filesets.el (filesets-error): Mark unused argument.
6617 (filesets-which-command-p, filesets-filter-dir-names)
6618 (filesets-directory-files, filesets-get-external-viewer)
6619 (filesets-ingroup-get-data): Use string-match-p.
6620
6621 * find-file.el (ff-other-file-name, ff-other-file-name)
6622 (ff-find-the-other-file, ff-cc-hh-converter):
6623 Remove unused local variables.
6624 (ff-get-file-name): Use string-match-p.
6625 (ff-all-dirs-under): Use ignore-errors.
6626
6627 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6628 (follow-select-if-visible): Remove unused local variable.
6629
6630 * forms.el (read-file-filter): Move declaration.
6631 (forms--make-format, forms--make-parser, forms-insert-record):
6632 Quote function with #'.
6633 (forms--update): Use string-match-p. Quote function with #'.
6634
6635 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6636 (help-make-xrefs): Use looking-at-p.
6637 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6638
6639 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6640 (ibuffer-confirm-operation-on): Use string-match-p.
6641
6642 * msb.el (msb-item-handler, msb-dired-item-handler):
6643 Mark unused arguments.
6644
6645 * ses.el (ses-decode-cell-symbol)
6646 (ses-kill-override): Remove unused local variable.
6647 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6648 (ses-load): Use ignore-errors, looking-at-p.
6649 (ses-jump-safe): Use ignore-errors.
6650 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6651
6652 * tabify.el (untabify, tabify): Mark unused arguments.
6653
6654 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6655 Mark unused argument.
6656 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6657 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6658
6659 * emacs-lisp/timer.el (timer--time): Define setter with
6660 gv-define-setter to avoid deprecation warning.
6661
6662 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6663 (*record-cmpl-statistics-p*): Remove (was commented out).
6664 (cmpl-statistics-block): Remove (body was commented out).
6665 All callers changed.
6666 (add-completions-from-buffer, load-completions-from-file):
6667 Remove unused variables.
6668
6669 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6670
6671 * filecache.el (file-cache-delete-file-list):
6672 Print message only when told so.
6673 (file-cache-files-matching): Use #' in mapconcat argument.
6674
6675 * ffap.el (ffap-url-at-point): Fix reference to variable
6676 thing-at-point-default-mail-uri-scheme.
6677
6678 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * subr.el (define-error): New function.
6681 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6682 error-file-not-found and define with define-error.
6683 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6684 and define with define-error.
6685 * userlock.el (file-locked, file-supersession):
6686 * simple.el (mark-inactive):
6687 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6688 * progmodes/ada-mode.el (ada-mode-errors):
6689 * play/life.el (life-extinct):
6690 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6691 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6692 * nxml/rng-util.el (rng-error):
6693 * nxml/rng-uri.el (rng-uri-error):
6694 * nxml/rng-match.el (rng-compile-error):
6695 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6696 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6697 * nxml/nxml-rap.el (nxml-scan-error):
6698 * nxml/nxml-outln.el (nxml-outline-error):
6699 * net/soap-client.el (soap-error):
6700 * net/gnutls.el (gnutls-error):
6701 * net/ange-ftp.el (ftp-error):
6702 * mpc.el (mpc-proc-error):
6703 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6704 (json-number-format, json-string-escape, json-string-format)
6705 (json-key-format, json-object-format):
6706 * jka-compr.el (compression-error):
6707 * international/quail.el (quail-error):
6708 * international/kkc.el (kkc-error):
6709 * emacs-lisp/ert.el (ert-test-failed):
6710 * calc/calc.el (calc-error, inexact-result, math-overflow)
6711 (math-underflow):
6712 * bookmark.el (bookmark-error-no-filename):
6713 * epg.el (epg-error): Define with define-error.
6714
6715 * time.el (display-time-event-handler)
6716 (display-time-next-load-average): Don't call sit-for since it seems
6717 unnecessary (bug#15045).
6718
6719 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6720 Use #' instead of ' to quote functions.
6721 (checkdoc-output-mode): Use setq-local.
6722 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6723 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6724 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6725 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6726 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6727 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6728 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6729 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6730
6731 * ido.el (ido-completion-help): Fix up compiler warning.
6732
6733 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6734
6735 * frameset.el (frameset-p): Add autoload cookie.
6736 (frameset--jump-to-register): New function, based on code moved from
6737 register.el.
6738 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6739
6740 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6741 (frameset-restore, frameset-save, frameset-session-filter-alist):
6742 Remove declarations.
6743 (register-alist): Doc fix.
6744 (frameset-to-register): Move to frameset.el.
6745 (jump-to-register, describe-register-1): Remove frameset-specific code.
6746
6747 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6748
6749 * allout-widgets.el (allout-widgets-pre-command-business)
6750 (allout-widgets-post-command-business)
6751 (allout-widgets-after-change-handler)
6752 (allout-decorate-item-and-context, allout-set-boundary-marker)
6753 (allout-body-modification-handler)
6754 (allout-graphics-modification-handler): Mark ignored arguments.
6755 (allout-widgets-post-command-business)
6756 (allout-widgets-exposure-change-processor)
6757 (allout-widgets-exposure-undo-processor)
6758 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6759 (allout-parse-item-at-point, allout-decorate-item-guides)
6760 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6761 * allout.el (epa-passphrase-callback-function): Declare.
6762 (allout-overlay-insert-in-front-handler)
6763 (allout-overlay-interior-modification-handler)
6764 (allout-isearch-end-handler, allout-chart-siblings)
6765 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6766 (allout-yank-processing, allout-process-exposed)
6767 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6768 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6769 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6770 (lisp-indent-defform): Mark ignored arguments.
6771 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6772 (calculate-lisp-indent): Remove unused variables.
6773 * international/characters.el (indian-2-column, arabic-2-column)
6774 (tibetan): Mark ignored arguments.
6775 (use-cjk-char-width-table): Mark ignored arguments.
6776 Remove unused variables.
6777 * international/fontset.el (build-default-fontset-data)
6778 (x-compose-font-name, create-fontset-from-fontset-spec):
6779 Mark ignored arguments.
6780 (fontset-plain-name): Remove unused variables.
6781 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6782 (keyboard-coding-system): Mark ignored arguments.
6783 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6784 * help.el (resize-temp-buffer-window):
6785 * window.el (display-buffer-in-major-side-window)
6786 (display-buffer-in-side-window, display-buffer-in-previous-window):
6787 Remove unused variables.
6788 * isearch.el (isearch-forward-symbol):
6789 * version.el (emacs-bzr-version-bzr):
6790 * international/mule-cmds.el (current-language-environment):
6791 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6792 (x-handle-display):
6793 * term/pc-win.el (x-list-fonts, x-display-planes)
6794 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6795 (x-server-version, x-display-screens, x-display-mm-height)
6796 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6797 (x-selection-owner-p, x-own-selection-internal)
6798 (x-disown-selection-internal, x-get-selection-internal)
6799 (msdos-initialize-window-system):
6800 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6801 * term/x-win.el (x-handle-no-bitmap-icon):
6802 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6803 (vc-default-find-file-hook, vc-default-extra-menu):
6804 Mark ignored arguments.
6805
6806 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6809 break-condition in the context of the debugged code (bug#12685).
6810
6811 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6812
6813 * comint.el:
6814 Do not use an overlay to highlight the last prompt. (Bug#14744)
6815 (comint-mode): Make comint-last-prompt buffer local.
6816 (comint-last-prompt): New variable.
6817 (comint-last-prompt-overlay): Remove. Superseded by
6818 comint-last-prompt.
6819 (comint-snapshot-last-prompt, comint-output-filter):
6820 Use comint-last-prompt.
6821
6822 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6823
6824 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6825 (frameset-save): Check validity of the resulting frameset.
6826
6827 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6828
6829 * ido.el (ido-record-command): Add doc string.
6830
6831 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6832
6833 * frameset.el (frameset): Do not disable creation of the default
6834 frameset-p predicate. Doc fix.
6835 (frameset-valid-p): New function, copied from the old predicate-p.
6836 Add additional checks.
6837 (frameset-restore): Check with frameset-valid-p.
6838 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6839 (frameset-name, frameset-description, frameset-properties)
6840 (frameset-states): Add docstring.
6841 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6842 (frameset-filter-alist): Doc fixes.
6843
6844 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6845
6846 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6847
6848 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6851 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6852 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6853 (byte-compile-normal-call): Remove obsolescence check.
6854
6855 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * frameset.el (frameset-restore): Doc fix.
6858
6859 * register.el (frameset-frame-id, frameset-frame-with-id)
6860 (frameset-p, frameset-restore, frameset-save): Declare.
6861 (register-alist): Document framesets.
6862 (frameset-session-filter-alist): Declare.
6863 (frameset-to-register): New function.
6864 (jump-to-register): Implement jumping to framesets. Doc fix.
6865 (describe-register-1): Describe framesets.
6866
6867 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6868
6869 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6872 Use lexical-binding.
6873
6874 * frameset.el (frameset): Use type vector, not list (incompatible
6875 change). Do not declare a new constructor, use the default one.
6876 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6877 `name' and `description', respectively, and add read-only slot
6878 `timestamp'. Doc fixes.
6879 (frameset-copy, frameset-persistent-filter-alist)
6880 (frameset-filter-alist, frameset-switch-to-gui-p)
6881 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6882 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6883 (frameset-filter-iconified, frameset-keep-original-display-p):
6884 Doc fixes.
6885 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6886 Rename from frameset-filter-(save|restore)-param. All callers changed.
6887 Doc fix.
6888 (frameset-p): Adapt to change to vector and be more thorough.
6889 Change arg name to OBJECT. Doc fix.
6890 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6891 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6892 All callers changed.
6893 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6894 All callers changed.
6895 (frameset--record-minibuffer-relationships): Rename from
6896 frameset--process-minibuffer-frames. All callers changed.
6897 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6898 Use new default constructor (again). Doc fix.
6899 (frameset--find-frame-if): Rename from `frameset--find-frame.
6900 All callers changed.
6901 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6902 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6903 Doc fix.
6904 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6905 PARAMETERS and WINDOW-STATE, respectively.
6906 (frameset-restore): Add new keyword argument PREDICATE.
6907 Reset frameset--target-display to nil. Doc fix.
6908
6909 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6912 (bat-mode): Use it.
6913 (bat-mode-syntax-table): Mark \n as end-of-comment.
6914 (bat-font-lock-keywords): Remove comment rule.
6915
6916 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6917 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6918
6919 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6920 (byte-compile-callargs-warn): Use `push'.
6921 (byte-compile-arglist-warn): Ignore higher-order "calls".
6922 (byte-compile-file-form-autoload): Use `pcase'.
6923 (byte-compile-function-form): If quoting a symbol, check that it exists.
6924
6925 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6926
6927 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6928 and add a few popular commands found in batch files.
6929 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6930 (dos-mode): Doc fixes.
6931
6932 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6935 (dos-mode): Use setq-local. Add space after "rem".
6936 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6937 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6938
6939 2013-08-07 Arni Magnusson <arnima@hafro.is>
6940
6941 * progmodes/dos.el: New file.
6942 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6943 dos-mode.
6944
6945 2013-08-06 Glenn Morris <rgm@gnu.org>
6946
6947 * calendar/calendar.el: Add new faces, and day-header-array.
6948 (calendar-weekday-header, calendar-weekend-header)
6949 (calendar-month-header): New faces.
6950 (calendar-day-header-construct): New function.
6951 (calendar-day-header-width): Also :set calendar-day-header-array.
6952 (calendar-american-month-header, calendar-european-month-header)
6953 (calendar-iso-month-header): Use calendar- faces.
6954 (calendar-generate-month):
6955 Use calendar-day-header-array for day headers; apply faces to them.
6956 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6957 (calendar-abbrev-construct): Add optional maxlen argument.
6958 (calendar-day-name-array): Doc fix.
6959 (calendar-day-name-array, calendar-abbrev-length)
6960 (calendar-day-abbrev-array):
6961 Also :set calendar-day-header-array, and maybe redraw.
6962 (calendar-day-header-array): New option. (Bug#15007)
6963 (calendar-font-lock-keywords): Set to nil and make obsolete.
6964 (calendar-day-name): Add option to use header array.
6965
6966 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6967
6968 * net/shr.el (shr-render-td): Remove debugging.
6969 (shr-render-td): Make width computation consistent by defaulting
6970 all zero-width columns to 10 characters. This may not be optimal,
6971 but it's at least consistent.
6972 (shr-make-table-1): Redo last change to fix the real problem in
6973 colspan handling.
6974
6975 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6976
6977 * files.el (cache-long-line-scans):
6978 Make obsolete alias to `cache-long-scans'.
6979
6980 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6981
6982 * frameset.el (frameset, frameset-filter-alist)
6983 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6984 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6985 (frameset-compute-pos): Rename from frameset--compute-pos,
6986 and add docstring.
6987 (frameset-move-onscreen): Use frameset-compute-pos.
6988 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6989
6990 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6991 Fix typos in docstrings.
6992
6993 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6994
6995 * frame.el (get-other-frame): Tiny cleanup.
6996
6997 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6998
6999 * vc/vc.el (vc-default-ignore-completion-table):
7000 Silence byte-compiler warning.
7001
7002 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7003 slot, which can indeed be nil.
7004 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7005 Move entry for `left' from persistent to live filter alist.
7006 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7007 Doc fixes.
7008 (frameset-filter-params): When restoring a frame, copy items added to
7009 `filtered', to avoid unwittingly modifying the original parameters.
7010 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7011 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7012
7013 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7014 to use looking-at-p instead of looking-at. (Bug#15028)
7015
7016 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 Revert introduction of isearch-filter-predicates (bug#14714).
7019 Rely on add-function instead.
7020 * isearch.el (isearch-filter-predicates): Rename it back to
7021 isearch-filter-predicate.
7022 (isearch-message-prefix): Use advice-function-mapc and advice
7023 properties to get the isearch-message-prefix.
7024 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7025 instead of run-hook-with-args-until-failure.
7026 (isearch-filter-visible): Not obsolete any more.
7027 * loadup.el: Preload nadvice.
7028 * replace.el (perform-replace): Revert to funcall
7029 instead of run-hook-with-args-until-failure.
7030 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7031 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7032 dired-isearch-filenames-toggle; make it into a proper minor mode.
7033 Use add/remove-function.
7034 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7035 Call the minor-mode rather than add/remove-hook.
7036 (dired-isearch-filter-filenames):
7037 Remove isearch-message-prefix property.
7038 * info.el (Info--search-loop): New function, extracted from Info-search.
7039 Funcall isearch-filter-predicate instead of
7040 run-hook-with-args-until-failure isearch-filter-predicates.
7041 (Info-search): Use it.
7042 (Info-mode): Use isearch-filter-predicate instead of
7043 isearch-filter-predicates.
7044
7045 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7046
7047 Do not call to `selected-window' where it is assumed by default.
7048 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7049 `window-hscroll', `window-width', `window-height', `window-buffer',
7050 `window-frame', `window-start', `window-point', `next-window'
7051 and `window-display-table'.
7052 * abbrev.el (abbrev--default-expand):
7053 * bs.el (bs--show-with-configuration):
7054 * buff-menu.el (Buffer-menu-mouse-select):
7055 * calc/calc.el (calc):
7056 * calendar/calendar.el (calendar-generate-window):
7057 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7058 (diary-make-entry):
7059 * comint.el (send-invisible, comint-dynamic-complete-filename)
7060 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7061 * completion.el (complete):
7062 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7063 * disp-table.el (describe-current-display-table):
7064 * doc-view.el (doc-view-insert-image):
7065 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7066 * ehelp.el (with-electric-help):
7067 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7068 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7069 * emacs-lisp/helper.el (Helper-help-scroller):
7070 * emulation/cua-base.el (cua--post-command-handler-1):
7071 * eshell/esh-mode.el (eshell-output-filter):
7072 * ffap.el (ffap-gnus-wrapper):
7073 * help-macro.el (make-help-screen):
7074 * hilit-chg.el (highlight-compare-buffers):
7075 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7076 * hl-line.el (global-hl-line-highlight):
7077 * icomplete.el (icomplete-simple-completing-p):
7078 * isearch.el (isearch-done):
7079 * jit-lock.el (jit-lock-stealth-fontify):
7080 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7081 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7082 * mpc.el (mpc-tagbrowser, mpc):
7083 * net/rcirc.el (rcirc-any-buffer):
7084 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7085 * play/landmark.el (landmark-max-width, landmark-max-height):
7086 * play/zone.el (zone):
7087 * progmodes/compile.el (compilation-goto-locus):
7088 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7089 * progmodes/etags.el (find-tag-other-window):
7090 * progmodes/fortran.el (fortran-column-ruler):
7091 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7092 * progmodes/verilog-mode.el (verilog-point-text):
7093 * reposition.el (reposition-window):
7094 * rot13.el (toggle-rot13-mode):
7095 * server.el (server-switch-buffer):
7096 * shell.el (shell-dynamic-complete-command)
7097 (shell-dynamic-complete-environment-variable):
7098 * simple.el (insert-buffer, set-selective-display)
7099 (delete-completion-window):
7100 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7101 (speedbar-recenter):
7102 * startup.el (fancy-splash-head):
7103 * textmodes/ispell.el (ispell-command-loop):
7104 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7105 * tutorial.el (help-with-tutorial):
7106 * vc/add-log.el (add-change-log-entry):
7107 * vc/compare-w.el (compare-windows):
7108 * vc/ediff-help.el (ediff-indent-help-message):
7109 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7110 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7111 (ediff-setup-control-frame):
7112 * vc/emerge.el (emerge-position-region):
7113 * vc/pcvs-util.el (cvs-bury-buffer):
7114 * window.el (walk-windows, mouse-autoselect-window-select):
7115 * winner.el (winner-set-conf, winner-undo): Related users changed.
7116
7117 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * frameset.el (frameset--set-id): Doc fix.
7120 (frameset-frame-id, frameset-frame-id-equal-p)
7121 (frameset-locate-frame-id): New functions.
7122 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7123 (frameset-restore): Use them.
7124
7125 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7126
7127 Do not call to `selected-frame' where it is assumed by default.
7128 Affected functions are `raise-frame', `redraw-frame',
7129 `frame-first-window', `frame-terminal' and `delete-frame'.
7130 * calendar/appt.el (appt-disp-window):
7131 * epg.el (epg-wait-for-completion):
7132 * follow.el (follow-delete-other-windows-and-split)
7133 (follow-avoid-tail-recenter):
7134 * international/mule.el (set-terminal-coding-system):
7135 * mail/rmail.el (rmail-mail-return):
7136 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7137 * progmodes/f90.el (f90-add-imenu-menu):
7138 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7139 * server.el (server-switch-buffer):
7140 * simple.el (delete-completion-window):
7141 * talk.el (talk):
7142 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7143 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7144 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7145 * vc/ediff.el (ediff-documentation): Related users changed.
7146 * frame.el (selected-terminal): Remove the leftover.
7147
7148 2013-08-05 Glenn Morris <rgm@gnu.org>
7149
7150 * calendar/calendar.el (calendar-generate-month):
7151 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7152 (calendar-generate-month, calendar-font-lock-keywords):
7153 Fix for calendar-day-header-width > length of any day name.
7154
7155 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7156
7157 * desktop.el (desktop-clear): Use new name of sort predicate.
7158
7159 * frameset.el (frameset): Add docstring. Move :version property to its
7160 own `version' slot.
7161 (frameset-copy): Rename from copy-frameset.
7162 (frameset-p): Check more thoroughly.
7163 (frameset-prop): Do not check for :version, which is no longer a prop.
7164 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7165 Use new :never value instead of t.
7166 (frameset-filter-alist): Expand and clarify docstring.
7167 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7168 (frameset-filter-minibuffer, frameset-filter-save-param)
7169 (frameset-filter-restore-param, frameset-filter-iconified):
7170 Add pointer to docstring of frameset-filter-alist.
7171 (frameset-filter-params): Rename filter values to be more meaningful:
7172 :never instead of t, and reverse the meanings of :save and :restore.
7173 (frameset--process-minibuffer-frames): Clarify error message.
7174 (frameset-save): Avoid unnecessary and confusing call to framep.
7175 Use new BOA constructor for framesets.
7176 (frameset--reuse-list): Doc fix.
7177 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7178 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7179 (frameset-minibufferless-first-p): Doc fix.
7180 Rename from frameset-sort-frames-for-deletion.
7181 (frameset-restore): Doc fixes. Use new function names.
7182 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7183
7184 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7185
7186 * desktop.el (desktop-restore-forces-onscreen)
7187 (desktop-restore-reuses-frames): Document :keyword constant values.
7188 (desktop-filter-parameters-alist): Remove, now identical to
7189 frameset-filter-alist.
7190 (desktop--filter-tty*): Remove, moved to frameset.el.
7191 (desktop-save-frameset, desktop-restore-frameset):
7192 Do not pass :filters argument.
7193
7194 * frameset.el (frameset-live-filter-alist)
7195 (frameset-persistent-filter-alist): New variables.
7196 (frameset-filter-alist): Use them. Add autoload cookie.
7197 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7198 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7199 `frameset--id' (it's supposed to be internal to frameset.el).
7200 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7201 (frameset--initial-params): New function.
7202 (frameset--get-frame): Use it. Doc fix.
7203 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7204 Accept :all, not 'all.
7205 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7206 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7207 with fbound symbols. Fix frame id matching, and remove matching ids if
7208 the frame being restored is deleted. Obey :delete.
7209
7210 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * subr.el (macrop): New function.
7213 (text-clone--maintaining): New var.
7214 (text-clone--maintain): Rename from text-clone-maintain. Use it
7215 instead of inhibit-modification-hooks.
7216
7217 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7218 a proxy, so as handle autoloads and redefinitions of the target.
7219 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7220
7221 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7222 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7223 (pcase--mutually-exclusive-p): New function.
7224 (pcase--split-consp): Use it.
7225 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7226 mutually exclusive with the current predicate.
7227
7228 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7229 (edebug-macrop): Remove. Use `macrop' instead.
7230 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7231 (ad-macro-p):
7232 * eshell/esh-cmd.el (eshell-macrop):
7233 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7234
7235 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7238 (advice-mapc): New function, using it.
7239 (advice-function-member-p): New function.
7240 (advice--normalize): Store the cdr in advice--saved-rewrite since
7241 that's the part that will be changed.
7242 (advice--symbol-function): New function.
7243 (advice-remove): Handle removal before the function is defined.
7244 Adjust to new advice--saved-rewrite.
7245 (advice-member-p): Use advice-function-member-p and
7246 advice--symbol-function.
7247
7248 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7249
7250 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7251 (frameset-filter-minibuffer): Doc fix.
7252 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7253 (frameset--set-id, frameset--process-minibuffer-frames)
7254 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7255 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7256
7257 * desktop.el (desktop-clear): Only delete frames when called
7258 interactively and desktop-restore-frames is non-nil. Doc fix.
7259 (desktop-read): Set desktop-saved-frameset to nil.
7260
7261 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7262
7263 * vc/vc.el (vc-ignore): Rewrite.
7264 (vc-default-ignore-completion-table):
7265 (vc--read-lines):
7266 (vc--add-line, vc--remove-regexp): New functions.
7267
7268 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7269 (vc-svn-ignore-completion-table): New function.
7270
7271 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7272 (vc-hg-ignore-completion-table):
7273 (vc-hg-find-ignore-file): New functions.
7274
7275 * vc/vc-git.el (vc-git-ignore): Rewrite.
7276 (vc-git-ignore-completion-table):
7277 (vc-git-find-ignore-file): New functions.
7278
7279 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7280
7281 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7282 (vc-bzr-ignore-completion-table):
7283 (vc-bzr-find-ignore-file): New functions.
7284
7285 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7286
7287 * frameset.el (frameset-prop): New function and setter.
7288 (frameset-save): Do not modify frame list passed by the caller.
7289
7290 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7293
7294 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7297 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7298
7299 * custom.el (custom-initialize-default, custom-initialize-set)
7300 (custom-initialize-reset, custom-initialize-changed): Affect the
7301 toplevel-default-value (bug#6275, bug#14586).
7302 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7303 for bug#6275.
7304
7305 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7308 Add cl-def* expressions.
7309
7310 * frameset.el (frameset-filter-params): Fix order of arguments.
7311
7312 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7313
7314 Move code related to saving frames to frameset.el.
7315 * desktop.el: Require frameset.
7316 (desktop-restore-frames): Doc fix.
7317 (desktop-restore-reuses-frames): Rename from
7318 desktop-restoring-reuses-frames.
7319 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7320 (desktop-clear): Clear frames too.
7321 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7322 (desktop--filter-tty*, desktop-save, desktop-read):
7323 Use frameset functions.
7324 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7325 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7326 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7327 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7328 (desktop--process-minibuffer-frames, desktop-save-frames)
7329 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7330 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7331 (desktop--sort-states, desktop-restoring-frames-p)
7332 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7333 (desktop-restoring-frameset-p, desktop-restore-frameset)
7334 (desktop--check-dont-save, desktop-save-frameset): New functions.
7335 (desktop--app-id): New constant.
7336 (desktop-first-buffer, desktop-buffer-ok-count)
7337 (desktop-buffer-fail-count): Move before first use.
7338 * frameset.el: New file.
7339
7340 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * files.el: Use lexical-binding.
7343 (dir-locals-read-from-file): Remove unused `err' variable.
7344 (hack-dir-local-variables--warned-coding): New var.
7345 (hack-dir-local-variables): Use it to avoid repeated warnings.
7346 (make-backup-file-name--default-function): New function.
7347 (make-backup-file-name-function): Use it as default.
7348 (buffer-stale--default-function): New function.
7349 (buffer-stale-function): Use it as default.
7350 (revert-buffer-insert-file-contents--default-function): New function.
7351 (revert-buffer-insert-file-contents-function): Use it as default.
7352 (insert-directory): Avoid add-to-list.
7353
7354 * autorevert.el (auto-revert-handler): Simplify.
7355 Use buffer-stale--default-function.
7356
7357 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7358
7359 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7360
7361 * whitespace.el (whitespace-ensure-local-variables): New function.
7362 (whitespace-cleanup-region): Call it.
7363 (whitespace-turn-on): Call it.
7364
7365 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7366
7367 Complete file name handlers.
7368
7369 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7370 (tramp-handle-verify-visited-file-modtime)
7371 (tramp-handle-file-notify-rm-watch): New functions.
7372 (tramp-call-process): Do not bind `default-directory'.
7373
7374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7375 Order alphabetically.
7376 [access-file, add-name-to-file, dired-call-process]:
7377 [dired-compress-file, file-acl, file-notify-rm-watch]:
7378 [file-ownership-preserved-p, file-selinux-context]:
7379 [make-directory-internal, make-symbolic-link, set-file-acl]:
7380 [set-file-selinux-context, set-visited-file-modtime]:
7381 [verify-visited-file-modtime]: Add handler.
7382 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7383
7384 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7385 [file-notify-add-watch, file-notify-rm-watch]:
7386 [set-file-times, set-visited-file-modtime]:
7387 [verify-visited-file-modtime]: Add handler.
7388 (with-tramp-gvfs-error-message)
7389 (tramp-gvfs-handle-set-visited-file-modtime)
7390 (tramp-gvfs-fuse-file-name): Remove.
7391 (tramp-gvfs-handle-file-notify-add-watch)
7392 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7393 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7394
7395 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7396 Order alphabetically.
7397 [file-notify-rm-watch ]: Use default Tramp handler.
7398 [executable-find]: Remove private handler.
7399 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7400 `default-directory'.
7401 (tramp-sh-handle-executable-find)
7402 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7403 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7404 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7405 Do not use `format' in `tramp-message'.
7406
7407 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7408 [file-notify-rm-watch, set-visited-file-modtime]:
7409 [verify-visited-file-modtime]: Add handler.
7410 (tramp-smb-call-winexe): Do not bind `default-directory'.
7411
7412 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7413
7414 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7415
7416 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7417
7418 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7419 use it.
7420 (log-view-diff-changeset): Same.
7421 (log-view-diff-common): Call backend command `previous-revision'
7422 to find out the previous revision, in both cases. Swap the
7423 variables `to' and `fr', so that `fr' usually refers to the
7424 earlier revision (Bug#14989).
7425
7426 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7427
7428 * ibuf-ext.el (ibuffer-filter-by-filename):
7429 Make it work with dired buffers too.
7430
7431 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7432
7433 * emacs-lisp/re-builder.el (reb-color-display-p):
7434 * files.el (save-buffers-kill-terminal):
7435 * net/browse-url.el (browse-url):
7436 * server.el (server-save-buffers-kill-terminal):
7437 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7438 Prefer nil to selected-frame for the first arg of frame-parameter.
7439
7440 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7441
7442 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7443
7444 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7445
7446 * minibuffer.el (completion--twq-all): Try and preserve each
7447 completion's case choice (bug#14907).
7448
7449 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7450
7451 * net/network-stream.el (open-network-stream): Mention the new
7452 :nogreeting parameter.
7453 (network-stream-open-starttls): Use the :nogreeting parameter
7454 (bug#14938).
7455
7456 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7457
7458 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7459 more natural than popping.
7460
7461 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7462 (shr-urlify): Highlight under mouse.
7463
7464 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7465
7466 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7467
7468 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7469
7470 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7471 buffer for output.
7472
7473 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7474 point-min==1. Fix search string. Fix parentheses missing.
7475
7476 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7477 assume point-min==1. Fix search string. Fix parentheses missing.
7478
7479 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7480
7481 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7482 buffer for output.
7483
7484 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7485
7486 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7487 initial frame is minibuffer-less. (Bug#14841)
7488
7489 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7490
7491 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7492 option.
7493
7494 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7495 (tramp-maybe-open-connection): Use it.
7496
7497 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7498
7499 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7500 minimal set of parameters passed when creating a frame, because
7501 the minibuffer status of a frame cannot be changed later.
7502
7503 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7504
7505 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7506 replace-regexp-in-string and inadvertent omissions in previous change.
7507 (todo-filter-items): Ensure only file names are comma-separated in
7508 name of filtered items buffer.
7509
7510 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * desktop.el: Optionally force offscreen frames back onscreen.
7513 (desktop-restoring-reuses-frames): New option.
7514 (desktop--compute-pos, desktop--move-onscreen): New functions.
7515 (desktop--make-frame): Use desktop--move-onscreen.
7516
7517 2013-07-27 Alan Mackenzie <acm@muc.de>
7518
7519 Fontify a Java generic method as a function.
7520 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7521 value to t.
7522
7523 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7524
7525 * calendar/todo-mode.el: Add command to rename todo files.
7526 (todo-rename-file): New command.
7527 (todo-key-bindings-t): Add key binding for it. Change the
7528 bindings of todo-filter-regexp-items(-multifile) to use `x'
7529 instead of `r', since the latter is better suited to the new
7530 renaming command.
7531
7532 2013-07-27 Alan Mackenzie <acm@muc.de>
7533
7534 Make Java try-with-resources statement parse properly.
7535 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7536 (c-block-stmt-1-2-key): New language constants/variables.
7537 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7538 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7539 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7540 with c-block-stmt-1-2-key.
7541
7542 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * desktop.el (desktop--make-frame): Apply most frame parameters after
7545 creating the frame to force (partially or totally) offscreen frames to
7546 be restored as such.
7547
7548 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7549
7550 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7551 (Bug#14948)
7552
7553 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7556 `base' arg of backtrace-frame.
7557
7558 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7559
7560 * simple.el (list-processes): Doc fix.
7561
7562 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7563
7564 * desktop.el (desktop--select-frame):
7565 Try harder to reuse existing frames.
7566
7567 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7570 (edebug-eval): Use backtrace-eval.
7571 (edebug--display, edebug--recursive-edit): Don't let-bind the
7572 edebug-outer-* vars that keep track of variables we locally let-bind.
7573 (edebug-outside-excursion): Don't restore outside values of locally
7574 let-bound vars.
7575 (edebug--display): Use user-error.
7576 (cl-lexical-debug, cl-debug-env): Remove.
7577
7578 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7579
7580 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7581 are restored to be sure that they are visible before deleting any
7582 remaining ones.
7583
7584 2013-07-26 Matthias Meulien <orontee@gmail.com>
7585
7586 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7587 vc-print-root-log. (Bug#14948)
7588
7589 2013-07-26 Richard Stallman <rms@gnu.org>
7590
7591 Add aliases for encrypting mail.
7592 * epa.el (epa-mail-aliases): New option.
7593 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7594 Bind inhibit-read-only so read-only text doesn't ruin everything.
7595 (epa-mail-default-recipients): New subroutine broken out.
7596 Handle epa-mail-aliases.
7597
7598 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 Add support for lexical variables to the debugger's `e' command.
7601 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7602 vars, except for debugger-outer-match-data.
7603 (debugger-frame-number): Move check for "on a function call" from
7604 callers into it. Add `skip-base' argument.
7605 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7606 (debugger-env-macro): Only reset the state stored in non-variables,
7607 i.e. current-buffer and match-data.
7608 (debugger-eval-expression): Rewrite using backtrace-eval.
7609 * subr.el (internal--called-interactively-p--get-frame): Remove.
7610 (called-interactively-p):
7611 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7612 `base' arg of backtrace-frame instead.
7613
7614 2013-07-26 Glenn Morris <rgm@gnu.org>
7615
7616 * align.el (align-regexp): Doc fix. (Bug#14857)
7617 (align-region): Explicit error if subexpression missing/does not match.
7618
7619 * simple.el (global-visual-line-mode):
7620 Do not duplicate the mode lighter. (Bug#14858)
7621
7622 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7623
7624 * window.el (display-buffer): In display-buffer bind
7625 split-window-keep-point to t, bug#14829.
7626
7627 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7630 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7631 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7632 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7633 Change accordingly.
7634 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7635 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7636
7637 2013-07-25 Glenn Morris <rgm@gnu.org>
7638
7639 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7640
7641 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7642
7643 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7644 parameter to modify-frame-parameters if the value has not changed;
7645 this is a workaround for bug#14949.
7646 (desktop--make-frame): On cl-delete-if call, check parameter name,
7647 not full parameter.
7648
7649 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7650
7651 * vc/vc.el (vc-ignore): New function.
7652
7653 * vc/vc-svn.el (vc-svn-ignore): New function.
7654
7655 * vc/vc-hg.el (vc-hg-ignore): New function.
7656
7657 * vc/vc-git.el (vc-git-ignore): New function.
7658
7659 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7660 (vc-dir-ignore): New function.
7661
7662 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7663 (cvs-append-to-ignore): Move here from pcvs.el.
7664
7665 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7666
7667 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7668
7669 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7672 (desktop-restore-frames): Warn when deleting an existing frame failed.
7673
7674 2013-07-24 Glenn Morris <rgm@gnu.org>
7675
7676 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7677
7678 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7679
7680 * filenotify.el (file-notify-supported-p):
7681 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7682 Remove functions.
7683
7684 * autorevert.el (auto-revert-use-notify):
7685 (auto-revert-notify-add-watch):
7686 * net/tramp.el (tramp-file-name-for-operation):
7687 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7688 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7689 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7690 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7691 Remove `file-notify-supported-p' entry.
7692
7693 2013-07-24 Glenn Morris <rgm@gnu.org>
7694
7695 * printing.el: Replace all uses of deleted ps-windows-system,
7696 ps-lp-system, ps-flatten-list with lpr- versions.
7697
7698 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7701 checked with memq (bug#14935).
7702
7703 * files.el (revert-buffer-function): Use a non-nil default.
7704 (revert-buffer-preserve-modes): Declare var to
7705 provide access to the `preserve-modes' argument.
7706 (revert-buffer): Let-bind it.
7707 (revert-buffer--default): New function, extracted from revert-buffer.
7708
7709 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * lpr.el: Signal print errors more prominently.
7712 (print-region-function): Don't default to nil.
7713 (lpr-print-region): New function, extracted from print-region-1.
7714 Check lpr's return value and signal an error in case of problem.
7715 (print-region-1): Use it.
7716 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7717 versions instead.
7718 (ps-printer-name): Default to nil.
7719 (ps-printer-name-option): Default to lpr-printer-switch.
7720 (ps-print-region-function): Don't default to nil.
7721 (ps-postscript-code-directory): Simplify default.
7722 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7723 (ps-string-list, ps-eval-switch, ps-flatten-list)
7724 (ps-flatten-list-1): Remove.
7725 (ps-multibyte-buffer): Avoid setq.
7726 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7727 (print-region-function, ps-print-region-function): Don't set them here.
7728
7729 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7730
7731 * ido.el (ido-fractionp):
7732 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7733 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7734 (ido-max-directory-size, ido-max-dir-file-cache)
7735 (ido-decorations): Doc fix.
7736
7737 * ansi-color.el: Fix old URL.
7738
7739 2013-07-23 Michael R. Mauger <michael@mauger.com>
7740
7741 * progmodes/sql.el: Version 3.3
7742 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7743 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7744 (sql-interactive-remove-continuation-prompt): Rewrite, use
7745 functions above. Fix continuation prompt and complete output line
7746 handling.
7747 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7748 redirected output buffer.
7749 (sql-mode): Restore deleted code (Bug#13591).
7750
7751 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7752
7753 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7754
7755 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7756
7757 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7758
7759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7761 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7762
7763 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7764
7765 * desktop.el (desktop-clear): Simplify; remove useless checks
7766 against invalid buffer names.
7767 (desktop-list*): Use cl-list*.
7768 (desktop-buffer-info, desktop-create-buffer): Simplify.
7769
7770 2013-07-23 Leo Liu <sdl.web@gmail.com>
7771
7772 * bookmark.el (bookmark-make-record): Restore NAME as a default
7773 value. (Bug#14933)
7774
7775 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7778 extracted from autoload--insert-text.
7779 (autoload--insert-text): Remove.
7780 (autoload--print-cookie-text): New function, extracted from
7781 autoload--insert-cookie-text.
7782 (autoload--insert-cookie-text): Remove.
7783 (autoload-generate-file-autoloads): Adjust calls accordingly.
7784
7785 * winner.el (winner-hook-installed-p): Remove.
7786 (winner-mode): Simplify accordingly.
7787
7788 * subr.el (add-to-list): Fix compiler-macro when `append' is
7789 not constant. Don't use `cl-member' for the base case.
7790
7791 * progmodes/subword.el: Fix boundary case (bug#13758).
7792 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7793 own group.
7794 (subword-backward-regexp): Make it a constant.
7795 (subword-forward-internal): Don't treat a trailing capital as the
7796 beginning of a word.
7797
7798 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7799
7800 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7801 global value of tabulated-list-revert-hook (bug#14930).
7802
7803 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7804
7805 * desktop.el: Require 'cl-lib.
7806 (desktop-before-saving-frames-functions): New hook.
7807 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7808 for frames being saved. Rename from desktop--save-minibuffer-frames.
7809 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7810 Do not save frames with non-nil `desktop-dont-save' parameter.
7811 Filter out deleted frames.
7812 (desktop--find-frame): Use cl-find-if.
7813 (desktop--select-frame): Use cl-(first|second|third) to access values
7814 of desktop-mini.
7815 (desktop--make-frame): Use cl-delete-if.
7816 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7817 (desktop-restore-frames): Use cl-(first|second|third) to access values
7818 of desktop-mini. Look for visible frame at the end, not while
7819 restoring frames.
7820
7821 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7822 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7823 Use string-match-p, looking-at-p (bug#14927).
7824
7825 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7826
7827 * desktop.el (desktop-saved-frame-states):
7828 Rename from desktop--saved-states; all users changed.
7829 (desktop-save-frames): Rename from desktop--save-frames.
7830 Do not save state to desktop file.
7831 (desktop-save): Save desktop-saved-frame-states to desktop file
7832 and reset to nil.
7833 (desktop-restoring-frames-p): New function.
7834 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7835 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7836 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7837
7838 * desktop.el: Correctly restore iconified frames.
7839 (desktop--filter-iconified-position): New function.
7840 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7841
7842 2013-07-20 Glenn Morris <rgm@gnu.org>
7843
7844 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7845 Let `message' do the formatting.
7846 (def-gdb-preempt-display-buffer): Add explicit format.
7847
7848 * image-dired.el (image-dired-track-original-file):
7849 Use with-current-buffer.
7850 (image-dired-track-thumbnail): Use with-current-buffer.
7851 Avoid changing point of wrong window.
7852
7853 * image-dired.el (image-dired-track-original-file):
7854 Avoid changing point of wrong window. (Bug#14909)
7855
7856 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7857
7858 * progmodes/gdb-mi.el (gdb-done-or-error):
7859 Guard against "%" in gdb output. (Bug#14127)
7860
7861 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7862
7863 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7864 (Bug#14826)
7865
7866 * international/mule.el (coding-system-iso-2022-flags): Fix last
7867 change.
7868
7869 2013-07-20 Kenichi Handa <handa@gnu.org>
7870
7871 * international/mule.el (coding-system-iso-2022-flags):
7872 Add `8-bit-level-4'. (Bug#8522)
7873
7874 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7875
7876 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7877 (bug#14815).
7878
7879 * net/eww.el (eww-process-text-input): Allow inputting when the
7880 point is at the start of the line, as the properties aren't
7881 front-sticky.
7882
7883 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7884 degenerate widths.
7885
7886 2013-07-19 Richard Stallman <rms@gnu.org>
7887
7888 * epa.el (epa-popup-info-window): Doc fix.
7889
7890 * subr.el (split-string): New arg TRIM.
7891
7892 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7895 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7896
7897 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7898
7899 * filenotify.el (file-notify--library): Rename from
7900 `file-notify-support'. Do not autoload. Adapt all uses.
7901 (file-notify-supported-p): New defun.
7902
7903 * autorevert.el (auto-revert-use-notify):
7904 Use `file-notify-supported-p' instead of `file-notify-support'.
7905 Adapt docstring.
7906 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7907
7908 * net/tramp.el (tramp-file-name-for-operation):
7909 Add `file-notify-supported-p'.
7910
7911 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7912 New defun.
7913 (tramp-sh-file-name-handler-alist): Add it as handler for
7914 `file-notify-supported-p '.
7915
7916 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7919 Add `ignore' as handler for `file-notify-*' functions.
7920
7921 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7922
7923 * simple.el (line-move-partial, line-move): Don't start vscroll or
7924 scroll-up if the current line is not taller than the window.
7925 (Bug#14881)
7926
7927 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7928
7929 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7930 highlight question marks in the method names as strings.
7931 (ruby-block-beg-keywords): Inline.
7932 (ruby-font-lock-keyword-beg-re): Extract from
7933 `ruby-font-lock-keywords'.
7934
7935 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7936
7937 * frame.el (blink-cursor-blinks): New defcustom.
7938 (blink-cursor-blinks-done): New defvar.
7939 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7940 (blink-cursor-timer-function): Check if number of blinks has been
7941 done on X and NS.
7942 (blink-cursor-suspend, blink-cursor-check): New defuns.
7943
7944 2013-07-15 Glenn Morris <rgm@gnu.org>
7945
7946 * edmacro.el (edmacro-format-keys): Fix previous change.
7947
7948 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7949
7950 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7951 The hack didn't work outside English locales anyway.
7952
7953 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7954
7955 * simple.el (define-alternatives): Rename from alternatives-define,
7956 per RMS' suggestion.
7957
7958 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7959
7960 * desktop.el (desktop-restore-frames): Change default to t.
7961 (desktop-restore-in-current-display): Now offer more options.
7962 (desktop-restoring-reuses-frames): New customization option.
7963 (desktop--saved-states): Doc fix.
7964 (desktop-filter-parameters-alist): New variable, renamed and expanded
7965 from desktop--excluded-frame-parameters.
7966 (desktop--target-display): New variable.
7967 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7968 (desktop--filter-tty*, desktop--filter-*-color)
7969 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7970 (desktop--filter-save-desktop-parm)
7971 (desktop-restore-in-original-display-p): New functions.
7972 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7973 (desktop--save-minibuffer-frames): New function, inspired by a similar
7974 function from Martin Rudalics.
7975 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7976 (desktop--restore-in-this-display-p): Remove.
7977 (desktop--find-frame): Rename from desktop--find-frame-in-display
7978 and add predicate argument.
7979 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7980 (desktop--reuse-list): New variable.
7981 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7982 New functions.
7983 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7984
7985 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7986
7987 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7988
7989 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7990
7991 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7992 Highlight conversion methods on Kernel.
7993
7994 2013-07-13 Alan Mackenzie <acm@muc.de>
7995
7996 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7997 and comment it out. This out-commenting enables certain C++
7998 declarations to be parsed correctly.
7999
8000 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8001
8002 * international/mule.el (define-coding-system): Doc fix.
8003
8004 * simple.el (default-font-height): Don't call font-info if the
8005 frame's default font didn't change since the frame was created.
8006 (Bug#14838)
8007
8008 2013-07-13 Leo Liu <sdl.web@gmail.com>
8009
8010 * ido.el (ido-read-file-name): Guard against non-symbol value.
8011
8012 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8013
8014 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8015 in nested defuns.
8016
8017 2013-07-13 Leo Liu <sdl.web@gmail.com>
8018
8019 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8020 ido-set-matches call. (Bug#6852)
8021
8022 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8023
8024 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8025 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8026 Ruby 2.0.
8027 (ruby-font-lock-keywords): Distinguish calls to functions with
8028 module-like names from module references. Highlight character
8029 literals.
8030
8031 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8032
8033 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8034 (gdb-send): Handle continued commands. (Bug#14847)
8035
8036 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * desktop.el (desktop--v2s): Remove unused local variable.
8039 (desktop-save-buffer): Make defvar-local; adjust docstring.
8040 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8041 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8042
8043 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8044
8045 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8046
8047 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8048
8049 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8050 (Bug#14842)
8051
8052 2013-07-12 Glenn Morris <rgm@gnu.org>
8053
8054 * doc-view.el: Require cl-lib at runtime too.
8055 (doc-view-remove-if): Remove.
8056 (doc-view-search-next-match, doc-view-search-previous-match):
8057 Use cl-remove-if.
8058
8059 * edmacro.el: Require cl-lib at runtime too.
8060 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8061 (edmacro-mismatch, edmacro-subseq): Remove.
8062
8063 * shadowfile.el: Require cl-lib.
8064 (shadow-remove-if): Remove.
8065 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8066 Use cl-remove-if.
8067
8068 * wid-edit.el: Require cl-lib.
8069 (widget-choose): Use cl-remove-if.
8070 (widget-remove-if): Remove.
8071
8072 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8073 (ebrowse-delete-if-not): Remove.
8074 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8075 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8076 Use cl-delete-if-not.
8077
8078 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8079
8080 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8081 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8082
8083 2013-07-12 Leo Liu <sdl.web@gmail.com>
8084
8085 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8086
8087 2013-07-11 Glenn Morris <rgm@gnu.org>
8088
8089 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8090 (edebug-gensym-index, edebug-gensym):
8091 Remove reimplementation of cl-gensym.
8092 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8093
8094 * thumbs.el: Require cl-lib at run-time too.
8095 (thumbs-gensym-counter, thumbs-gensym):
8096 Remove reimplementation of cl-gensym.
8097 (thumbs-temp-file): Use cl-gensym.
8098
8099 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8100 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8101 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8102 (ert--union, ert--gensym-counter, ert--gensym-counter)
8103 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8104 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8105 (ert-make-test-unbound, ert--expand-should-1)
8106 (ert--expand-should, ert--should-error-handle-error)
8107 (should-error, ert--explain-equal-rec)
8108 (ert--plist-difference-explanation, ert-select-tests)
8109 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8110 Use cl-lib functions rather than reimplementations.
8111
8112 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8113
8114 * net/tramp.el (tramp-methods): Extend docstring.
8115 (tramp-connection-timeout): New defcustom.
8116 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8117 (with-tramp-progress-reporter): Simplify.
8118 (tramp-process-actions): Improve messages.
8119
8120 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8121 * net/tramp-sh.el (tramp-maybe-open-connection):
8122 Use `tramp-connection-timeout'.
8123 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8124 (Bug#14808)
8125
8126 2013-07-11 Leo Liu <sdl.web@gmail.com>
8127
8128 * ido.el (ido-read-file-name): Conform to the requirements of
8129 read-file-name. (Bug#11861)
8130 (ido-read-directory-name): Conform to the requirements of
8131 read-directory-name.
8132
8133 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8134
8135 * subr.el (delay-warning): New function.
8136
8137 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8138
8139 * simple.el (default-line-height): New function.
8140 (line-move-partial, line-move): Use it instead of computing the
8141 line height inline.
8142 (line-move-partial): Always compute ROWH. If the last line is
8143 partially-visible, but its text is completely visible, allow
8144 cursor to enter such a partially-visible line.
8145
8146 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8147
8148 Improve error messages. (Bug#14808)
8149
8150 * net/tramp.el (tramp-current-connection): New defvar, moved from
8151 tramp-sh.el.
8152 (tramp-message-show-progress-reporter-message): Remove, not
8153 needed anymore.
8154 (tramp-error-with-buffer): Show message in minibuffer.
8155 Discard input before waiting. Reset connection timestamp.
8156 (with-tramp-progress-reporter): Improve messages.
8157 (tramp-process-actions): Use progress reporter. Delete process in
8158 case of error. Improve messages.
8159
8160 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8161 Call `tramp-error-with-buffer' with vector and buffer.
8162 (tramp-current-connection): Remove.
8163 (tramp-maybe-open-connection): The car of
8164 `tramp-current-connection' are the first 3 slots of the vector.
8165
8166 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8167
8168 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8169 inside continued strings.
8170
8171 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8172
8173 Timestamp fixes for undo (Bug#14824).
8174 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8175
8176 2013-07-10 Leo Liu <sdl.web@gmail.com>
8177
8178 * files.el (require-final-newline): Allow safe local value.
8179 (Bug#14834)
8180
8181 2013-07-09 Leo Liu <sdl.web@gmail.com>
8182
8183 * ido.el (ido-read-directory-name): Handle fallback.
8184 (ido-read-file-name): Update DIR to ido-current-directory.
8185 (Bug#1516)
8186 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8187
8188 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8189
8190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8191 "autoload". Remove "warn lower camel case" section, previously
8192 commented out. Highlight negation char. Do not highlight the
8193 target in singleton method definitions.
8194
8195 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * faces.el (tty-setup-hook): Declare the hook.
8198
8199 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8200 and detect when a guard/pred depends on local vars (bug#14773).
8201 (pcase--u1): Adjust caller.
8202
8203 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8204
8205 * simple.el (line-move-partial, line-move): Account for
8206 line-spacing.
8207 (line-move-partial): Avoid setting vscroll when the last
8208 partially-visible line in window is of default height.
8209
8210 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8211
8212 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8213 been used a while.
8214
8215 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8216
8217 * subr.el (read-quoted-char): Remove unused local variable `char'.
8218
8219 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8220
8221 * ediff.el (ediff-version): Version update.
8222 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8223 (ediff-merge-with-ancestor-command, ediff-directories-command)
8224 (ediff-directories3-command, ediff-merge-directories-command)
8225 (ediff-merge-directories-with-ancestor-command): New functions.
8226 All are command-line interfaces to ediff: to facilitate calling
8227 Emacs with the appropriate ediff functions invoked.
8228
8229 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8230 (viper-save-kill-buffer): Check if buffer is modified.
8231
8232 * viper.el (viper-version): Version update.
8233 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8234
8235 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8238 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8239 (viper-intercept-ESC-key): Simplify.
8240 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8241 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8242 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8243 (viper-setup-ESC-to-escape): New functions.
8244 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8245 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8246
8247 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8248
8249 * simple.el (default-font-height, window-screen-lines):
8250 New functions.
8251 (line-move, line-move-partial): Use them instead of
8252 frame-char-height and window-text-height. This makes scrolling
8253 text smoother when the buffer's default face uses a font that is
8254 different from the frame's default font.
8255
8256 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8257
8258 * files.el (write-file): Do not display confirm dialog for NS,
8259 it does its own dialog, which can't be canceled (Bug#14578).
8260
8261 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8262
8263 * simple.el (line-move-partial): Adjust the row returned by
8264 posn-at-point for the current window-vscroll. (Bug#14567)
8265
8266 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8267
8268 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8269 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8270 spaces.
8271
8272 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8273
8274 * window.el (window-state-put-stale-windows): New variable.
8275 (window--state-put-2): Save list of windows without matching buffer.
8276 (window-state-put): Remove "bufferless" windows if possible.
8277
8278 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8279
8280 * simple.el (alternatives-define): Remove leftover :group keyword.
8281 Tweak docstring.
8282
8283 2013-07-06 Leo Liu <sdl.web@gmail.com>
8284
8285 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8286 (ido-enable-virtual-buffers): New variable.
8287 (ido-buffer-internal, ido-toggle-virtual-buffers)
8288 (ido-make-buffer-list): Use it.
8289 (ido-exhibit): Support turning on and off virtual buffers
8290 automatically.
8291
8292 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * simple.el (alternatives-define): New macro.
8295
8296 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * subr.el (read-quoted-char): Use read-key.
8299 (sit-for): Let read-event decode tty input (bug#14782).
8300
8301 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8302
8303 * calendar/todo-mode.el: Add handling of file deletion, both by
8304 mode command and externally. Fix various related bugs.
8305 Clarify Commentary and improve some documentation strings and code.
8306 (todo-delete-file): New command.
8307 (todo-check-file): New function.
8308 (todo-show): Handle external deletion of the file we're trying to
8309 show (bug#14688). Replace called-interactively-p by an optional
8310 prefix argument to avoid problematic interaction with catch form
8311 when byte compiled (bug#14702).
8312 (todo-quit): Handle external deletion of the archive's todo file.
8313 Make sure the buffer that was visiting the archive file is still
8314 live before trying to bury it.
8315 (todo-category-completions): Handle external deletion of any
8316 category completion files.
8317 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8318 of todo files, in case of external deletion.
8319 (todo-add-file): Replace unnecessary setq by let-binding.
8320 (todo-find-archive): Check whether there are any archives.
8321 Replace unnecessary setq by let-binding.
8322 (todo-archive-done-item): Use find-file-noselect to get the
8323 archive buffer whether or not the archive already exists.
8324 Remove superfluous code. Use file size instead of buffer-file-name to
8325 check if the archive is new; if it is, update list of archives.
8326 (todo-default-todo-file): Allow nil to be a valid value for when
8327 there are no todo files.
8328 (todo-reevaluate-default-file-defcustom): Use corrected definition
8329 of todo-default-todo-file.
8330 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8331 (todo-delete-category, todo-show-categories-table)
8332 (todo-category-number): Clarify comment.
8333 (todo-filter-items): Clarify documentation string.
8334 (todo-show-current-file, todo-display-as-todo-file)
8335 (todo-reset-and-enable-done-separator): Tweak documentation string.
8336 (todo-done-separator): Make separator length window-width, since
8337 bug#2749 is now fixed.
8338
8339 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8340
8341 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8342 Support both "gvfs-monitor-dir" and "inotifywait".
8343 (tramp-sh-file-inotifywait-process-filter): Rename from
8344 `tramp-sh-file-notify-process-filter'.
8345 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8346 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8347
8348 2013-07-05 Leo Liu <sdl.web@gmail.com>
8349
8350 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8351
8352 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8353
8354 * frame.el (display-pixel-height, display-pixel-width)
8355 (display-mm-height, display-mm-width): Mention behavior on
8356 multi-monitor setups in docstrings.
8357 (w32-display-monitor-attributes-list): Declare function.
8358 (display-monitor-attributes-list): Use it.
8359
8360 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8361
8362 * filenotify.el: New package.
8363
8364 * autorevert.el (top): Require filenotify.el.
8365 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8366 instead.
8367 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8368 (auto-revert-notify-handler): Use `file-notify-*' functions.
8369
8370 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8371
8372 * net/tramp.el (tramp-file-name-for-operation):
8373 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8374
8375 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8376 for `file-notify-add-watch' and `file-notify-rm-watch'.
8377 (tramp-process-sentinel): Improve trace.
8378 (tramp-sh-handle-file-notify-add-watch)
8379 (tramp-sh-file-notify-process-filter)
8380 (tramp-sh-handle-file-notify-rm-watch)
8381 (tramp-get-remote-inotifywait): New defuns.
8382
8383 2013-07-03 Juri Linkov <juri@jurta.org>
8384
8385 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8386 call of `occur-read-primary-args' to interactive spec.
8387
8388 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8389 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8390
8391 2013-07-03 Matthias Meulien <orontee@gmail.com>
8392
8393 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8394 `Buffer-menu-multi-occur'. Add it to the menu.
8395 (Buffer-menu-mode): Document it in docstring.
8396 (Buffer-menu-multi-occur): New command. (Bug#14673)
8397
8398 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8399
8400 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8401 keywords and built-ins.
8402
8403 2013-07-03 Glenn Morris <rgm@gnu.org>
8404
8405 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8406
8407 Make info-xref checks case-sensitive by default
8408 * info.el (Info-find-node, Info-find-in-tag-table)
8409 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8410 Add option for exact case matching of nodes.
8411 * info-xref.el (info-xref): New custom group.
8412 (info-xref-case-fold): New option.
8413 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8414
8415 2013-07-03 Leo Liu <sdl.web@gmail.com>
8416
8417 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8418
8419 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8420
8421 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8422 middle of block statement initially, lower the depth. Remove
8423 FIXME comment, not longer valid. Remove middle of block statement
8424 detection, no need to do that anymore since we've been using
8425 `ruby-parse-region' here.
8426
8427 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8428
8429 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8430
8431 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8432
8433 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8434
8435 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8436
8437 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8438 (desktop-restore-in-current-display): New customization option.
8439 (desktop--excluded-frame-parameters): Add `font'.
8440 (desktop--save-frames): Rename from desktop--save-windows.
8441 (desktop--restore-in-this-display-p): New function.
8442 (desktop--make-full-frame): Remove unwanted width/height from
8443 full(width|height) frames.
8444 (desktop--restore-frames): Rename from desktop--restore-windows.
8445 Obey desktop-restore-current-display. Do not delete old frames or
8446 select a new frame unless we were able to restore at least one frame.
8447
8448 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8449
8450 * files.el (find-file-noselect): Simplify conditional expression.
8451
8452 * textmodes/remember.el (remember-append-to-file):
8453 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8454
8455 Add `remember-notes' function to store random notes across Emacs
8456 restarts.
8457 * textmodes/remember.el (remember-data-file): Add :set callback to
8458 affect notes buffer (if any).
8459 (remember-notes): New command.
8460 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8461 New defcustoms for the `remember-notes' function.
8462 (remember-notes-save-and-bury-buffer): New command.
8463 (remember-notes-mode-map): New variable.
8464 (remember-mode): New minor mode.
8465 (remember-notes--kill-buffer-query): New function.
8466 * startup.el (initial-buffer-choice): Add notes to custom type.
8467
8468 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8469
8470 * bindings.el (right-char, left-char): Don't call sit-for, this is
8471 no longer needed. Use arithmetic comparison only for numerical
8472 arguments.
8473
8474 * international/mule-cmds.el (select-safe-coding-system):
8475 Handle the case of FROM being a string correctly. (Bug#14755)
8476
8477 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8478
8479 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8480 progression on degenerate tables.
8481 (shr-rescale-image): ImageMagick animated images currently don't work.
8482
8483 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8484
8485 Some fixes and improvements for desktop frame restoration.
8486 It is still experimental and disabled by default.
8487 * desktop.el (desktop--save-windows): Put the selected frame at
8488 the head of the list.
8489 (desktop--make-full-frame): New function.
8490 (desktop--restore-windows): Try to re-select the frame that was
8491 selected upon saving. Do not abort if some frames fail to restore,
8492 just show an error message and continue. Set up maximized frames
8493 so they have default non-maximized dimensions.
8494
8495 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8496
8497 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8498 Don't start heredoc inside a string or comment.
8499
8500 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8501
8502 * bindings.el (visual-order-cursor-movement): New defcustom.
8503 (right-char, left-char): Provide visual-order cursor motion by
8504 calling move-point-visually. Update the doc strings.
8505
8506 2013-06-28 Kenichi Handa <handa@gnu.org>
8507
8508 * international/mule.el (define-coding-system): New coding system
8509 properties :inhibit-null-byte-detection,
8510 :inhibit-iso-escape-detection, and :prefer-utf-8.
8511 (set-buffer-file-coding-system): If :charset-list property of
8512 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8513 appropriate for setting.
8514
8515 * international/mule-cmds.el (select-safe-coding-system):
8516 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8517 multibyte characters, return utf-8 (or one of its siblings).
8518
8519 * international/mule-conf.el (prefer-utf-8): New coding system.
8520 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8521 files.
8522
8523 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8524
8525 * net/shr.el (shr-render-region): New function.
8526
8527 * net/eww.el: Autoload `eww-browse-url'.
8528
8529 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8530
8531 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8532 Adapt to `package-desc-version' being a list.
8533 Use `package--ac-desc-version' to retrieve version from a package
8534 archive element.
8535
8536 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8537
8538 New experimental feature to save&restore window and frame setup.
8539 * desktop.el (desktop-save-windows): New defcustom.
8540 (desktop--saved-states): New var.
8541 (desktop--excluded-frame-parameters): New defconst.
8542 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8543 (desktop--restore-windows, desktop--save-windows): New functions.
8544 (desktop-save): Call `desktop--save-windows'.
8545 (desktop-read): Call `desktop--restore-windows'.
8546
8547 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8548
8549 * net/shr.el (add-face-text-property): Remove compat definition.
8550
8551 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8552
8553 * info.el (Info-try-follow-nearest-node): Move search for footnote
8554 above search for node name to prevent missing a footnote (bug#14717).
8555
8556 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8557
8558 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8559
8560 2013-06-27 Leo Liu <sdl.web@gmail.com>
8561
8562 * net/eww.el (eww-read-bookmarks): Check file size.
8563
8564 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8567 advice--pending if newdef is nil or an autoload (bug#13820).
8568 (advice-mapc): New function.
8569
8570 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8571
8572 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8573 probably.
8574 (eww-mode-map): Add a menu bar.
8575 (eww-add-bookmark): New command.
8576 (eww-bookmark-mode): New mode and commands.
8577 (eww-add-bookmark): Remove newlines from the title.
8578 (eww-bookmark-browse): Don't bug out if it's the only window.
8579
8580 2013-06-26 Glenn Morris <rgm@gnu.org>
8581
8582 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8583 (hfy-size): Handle ttys. (Bug#14668)
8584
8585 * info-xref.el: Update for Texinfo 5 change in *note format.
8586 (info-xref-node-re, info-xref-note-re): New constants.
8587 (info-xref-check-buffer): Use info-xref-note-re.
8588
8589 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8592
8593 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8594 nil terminate the loop (bug#14718).
8595
8596 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8597
8598 * net/eww.el: Rework history traversal. When going forward/back,
8599 put these actions into the history, too, so that they can be
8600 replayed.
8601 (eww-render): Move the history reset to the correct buffer.
8602
8603 2013-06-25 Juri Linkov <juri@jurta.org>
8604
8605 * files-x.el (modify-dir-local-variable): Change the header comment
8606 in the file with directory local variables. (Bug#14692)
8607
8608 * files-x.el (read-file-local-variable-value): Add `default'.
8609 (Bug#14710)
8610
8611 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8612
8613 * net/eww.el (eww-make-unique-file-name): Create a unique file
8614 name before saving to entering `y' accidentally asynchronously.
8615
8616 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8617
8618 * net/eww.el (eww-download): New command and keystroke.
8619
8620 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621
8622 * net/eww.el (eww-copy-page-url): Change name of command.
8623
8624 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8625 be more consistent with Info and dired.
8626
8627 * net/eww.el (eww-mode-map): Ditto.
8628
8629 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8632 packages from archives.
8633 (package-archive-contents): Change format; include obsolete packages.
8634 (package-desc): Use `dir' to mark builtin packages.
8635 (package--from-builtin): Set the `dir' field to `builtin'.
8636 (generated-autoload-file, version-control): Declare.
8637 (package-compute-transaction): Change first arg and return value to be
8638 lists of package-descs. Adjust to new package-archive-contents format.
8639 (package--add-to-archive-contents): Adjust to new
8640 package-archive-contents format.
8641 (package-download-transaction): Arg is now a list of package-descs.
8642 (package-install): If `pkg' is a package name, pass it as
8643 a requirement, so it is subject to the usual (e.g. disabled) checks.
8644 (describe-package): Accept package-desc as well.
8645 (describe-package-1): Describe a specific package-desc. Add links to
8646 other package-descs for the same package name.
8647 (package-menu-describe-package): Pass the actual package-desc.
8648 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8649 works correctly.
8650 (package-desc-status): New function.
8651 (package-menu--refresh): New function, extracted
8652 from package-menu--generate.
8653 (package-menu--generate): Use it.
8654 (package-delete): Update package-alist.
8655 (package-menu-execute): Don't call package-initialize.
8656
8657 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8658 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8659 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8660 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8661 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8662 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8663
8664 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8665
8666 * window.el (window--state-get-1): Workaround for bug#14527.
8667 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8668
8669 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8670
8671 * net/eww.el (eww-back-url): Implement the history by stashing all
8672 the data into a list.
8673 (eww-forward-url): Allow going forward in the history, too.
8674
8675 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8676
8677 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8678 for values and use read--expression for expressions (bug#14710).
8679 (read-file-local-variable): Avoid setq.
8680 (read-file-local-variable-mode): Use minor-mode-list.
8681
8682 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8683
8684 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8685 for DOI URLs.
8686
8687 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8688
8689 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8690 Update imenu-support when dialect changes.
8691
8692 2013-06-25 Leo Liu <sdl.web@gmail.com>
8693
8694 * ido.el (ido-read-internal): Allow forward slash on windows.
8695
8696 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8697
8698 * net/eww.el (eww): Start of strings is \\`, not ^.
8699
8700 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8701
8702 * net/shr.el (shr-browse-url): Fix interactive spec.
8703
8704 * net/eww.el (eww): Add a trailing slash to domain names.
8705
8706 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8707
8708 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8709
8710 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8711
8712 * net/shr.el (shr-browse-url): Use an external browser if given a
8713 prefix.
8714
8715 * net/eww.el (eww-external-browser): Move to shr.
8716
8717 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8718
8719 * net/eww.el (eww): Work more correctly for file: URLs.
8720 (eww-detect-charset): Allow quoted charsets.
8721 (eww-yank-page-url): New command and keystroke.
8722
8723 2013-06-24 Daiki Ueno <ueno@gnu.org>
8724
8725 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8726 file name of gpg executable.
8727 (epg-context-program): New function.
8728 (epg-context-home-directory): New function.
8729 (epg-context-set-program): New function.
8730 (epg-context-set-home-directory): New function.
8731 (epg--start): Use `epg-context-program' instead of
8732 'epg-gpg-program'.
8733 (epg--list-keys-1): Likewise.
8734
8735 2013-06-24 Leo Liu <sdl.web@gmail.com>
8736
8737 * ido.el (ido-read-internal): Fix bug#14620.
8738
8739 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8740
8741 * faces.el (face-documentation): Simplify.
8742 (read-face-attribute, tty-find-type, x-resolve-font-name):
8743 Use `string-match-p'.
8744 (list-faces-display): Use `string-match-p'. Simplify.
8745 (face-spec-recalc): Check face to avoid face alias loops.
8746 (read-color): Use `string-match-p' and non-capturing parenthesis.
8747
8748 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749
8750 * net/shr.el (shr-rescale-image): Use the new
8751 :max-width/:max-height functionality.
8752
8753 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8754
8755 * net/eww.el (eww-search-prefix): New variable.
8756 (eww): Use it.
8757 (eww-external-browser): New variable.
8758 (eww-mode-map): New keystroke.
8759 (eww-browse-with-external-browser): New command.
8760
8761 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8762
8763 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8764
8765 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8766 Don't skip aligning the next header field when padding is 0;
8767 otherwise, field width is not respected unless the title is as
8768 wide as the field.
8769
8770 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * emacs-lisp/package.el (package-el-version): Remove.
8773 (package-process-define-package): Fix inf-loop.
8774 (package-install): Allow symbols as arguments again.
8775
8776 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8777
8778 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8779 add some more keyword-like methods.
8780 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8781
8782 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8783
8784 * bs.el (bs-buffer-show-mark): Make defvar-local.
8785 (bs-mode): Use setq-local.
8786
8787 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8788 (emacs-lock--try-unlocking): Make defvar-local.
8789
8790 2013-06-22 Glenn Morris <rgm@gnu.org>
8791
8792 * play/cookie1.el (cookie-apropos): Minor simplification.
8793
8794 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8795
8796 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8797
8798 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8799 `regexp-opt', it breaks the build during dumping.
8800
8801 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8802
8803 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8804 Highlight keyword-like methods on Kernel and Module with
8805 font-lock-builtin-face.
8806 (auto-mode-alist): Consolidate different entries into one regexp
8807 and add more *file-s.
8808
8809 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8810
8811 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8812
8813 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8814 (diary-entry): Use it in the action of this button type instead of
8815 diary-goto-entry.
8816
8817 * calendar/todo-mode.el: New version.
8818 (todo-add-category): Append new category to end of file and give
8819 it the highest number, instead of putting it at the beginning and
8820 giving it 0. Incorporate noninteractive functionality.
8821 (todo-forward-category): Adapt to 1-based category numbering.
8822 Allow skipping over archived categories.
8823 (todo-backward-category): Derive from todo-forward-category.
8824 (todo-backward-item, todo-forward-item): Make noninteractive and
8825 delegate interactive part to new commands. Make sensitive to done items.
8826 (todo-categories): Make value an alist of category names and
8827 vectors of item counts.
8828 (todo-category-beg): Make a defconst.
8829 (todo-category-number): Use 1 instead of 0 as initial value.
8830 (todo-category-select): Make sensitive to overlays, optional item
8831 highlighting and done items.
8832 (todo-delete-item): Make sensitive to overlays and marked and done items.
8833 (todo-edit-item): Make sensitive to overlays and editing of
8834 date/time header optional. Add format checks.
8835 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8836 no-op if point is not on an item. Advertise using todo-edit-quit.
8837 (todo-edit-mode): Make sensitive to new format, font-locking, and
8838 multiple todo files.
8839 (todo-insert-item, todo-insert-item-here): Derive from
8840 todo-basic-insert-item and extend functionality.
8841 (todo-item-end, todo-item-start): Make sensitive to done items.
8842 (todo-item-string): Don't return text properties. Restore point.
8843 (todo-jump-to-category): Make sensitive to multiple todo files and
8844 todo archives. Use extended category completion.
8845 (todo-lower-item, todo-raise-item): Rename to *-priority and
8846 derive from todo-set-item-priority.
8847 (todo-mode): Derive from special-mode. Make sensitive to new
8848 format, font-locking and multiple todo files. Make read-only.
8849 (todo-mode-map): Don't suppress digit keys, so they can supply
8850 prefix arguments. Add many new key bindings.
8851 (todo-prefix): Insert as an overlay instead of file text.
8852 Change semantics from diary date expression to purely visual mark.
8853 (todo-print): Rename to todo-print-buffer. Make buffer display
8854 features printable. Remove option to restrict number of items
8855 printed. Add option to print to file.
8856 (todo-print-function): Rename to todo-print-buffer-function.
8857 (todo-quit): Extend to handle exiting new todo modes.
8858 (todo-remove-item): Make sensitive to overlays.
8859 (todo-save): Extend to buffers of filtered items.
8860 (todo-show): Make sensitive to done items, multiple todo files and
8861 new todo modes. Offer to convert legacy todo file before creating
8862 first new todo file.
8863 (todo-show-priorities): Rename to todo-top-priorities.
8864 Change semantics of value 0.
8865 (todo-top-priorities): Rename to todo-filter-top-priorities,
8866 derive from todo-filter-items and extend functionality.
8867 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8868 and extend functionality to other types of filtered items.
8869 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8870 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8871 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8872 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8873 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8874 (todo-edit-mode-hook, todo-entry-prefix-function)
8875 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8876 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8877 (todo-initials, todo-insert-threshold, todo-item-string-start)
8878 (todo-line-string, todo-menu, todo-mode-hook)
8879 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8880 (todo-print-priorities, todo-remove-separator)
8881 (todo-save-top-priorities-too, todo-string-count-lines)
8882 (todo-string-multiline-p, todo-time-string-format)
8883 (todo-tmp-buffer-name): Remove.
8884 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8885 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8886 (todo-edit-category-diary-inclusion)
8887 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8888 (todo-edit-file, todo-edit-item-date-day)
8889 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8890 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8891 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8892 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8893 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8894 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8895 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8896 (todo-filter-top-priorities-multifile, todo-find-archive)
8897 (todo-find-filtered-items-file, todo-go-to-source-item)
8898 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8899 (todo-jump-to-archive-category, todo-lower-category)
8900 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8901 (todo-move-category, todo-move-item, todo-next-button)
8902 (todo-next-item, todo-padded-string, todo-powerset)
8903 (todo-previous-button, todo-previous-item)
8904 (todo-print-buffer-to-file, todo-raise-category)
8905 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8906 (todo-set-category-number, todo-set-item-priority)
8907 (todo-set-top-priorities-in-category)
8908 (todo-set-top-priorities-in-file, todo-show-categories-table)
8909 (todo-sort-categories-alphabetically-or-numerically)
8910 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8911 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8912 (todo-toggle-item-header, todo-toggle-item-highlighting)
8913 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8914 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8915 (todo-unarchive-items, todo-unmark-category): New commands.
8916 (todo-absolute-file-name, todo-add-to-buffer-list)
8917 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8918 (todo-basic-insert-item, todo-category-completions)
8919 (todo-category-number, todo-category-string-matcher-1)
8920 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8921 (todo-check-format, todo-clear-matches)
8922 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8923 (todo-current-category, todo-date-string-matcher)
8924 (todo-define-insertion-command, todo-diary-expired-matcher)
8925 (todo-diary-goto-entry, todo-diary-item-p)
8926 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8927 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8928 (todo-done-item-section-p, todo-done-separator)
8929 (todo-done-string-matcher, todo-files, todo-filter-items)
8930 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8931 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8932 (todo-insert-category-line, todo-insert-item-from-calendar)
8933 (todo-insert-sort-button, todo-insert-with-overlays)
8934 (todo-insertion-command-name, todo-insertion-key-bindings)
8935 (todo-label-to-key, todo-longest-category-name-length)
8936 (todo-make-categories-list, todo-mode-external-set)
8937 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8938 (todo-modes-set-3, todo-multiple-filter-files)
8939 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8940 (todo-read-category, todo-read-date, todo-read-dayname)
8941 (todo-read-file-name, todo-read-time)
8942 (todo-reevaluate-category-completions-files-defcustom)
8943 (todo-reevaluate-default-file-defcustom)
8944 (todo-reevaluate-filelist-defcustoms)
8945 (todo-reevaluate-filter-files-defcustom)
8946 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8947 (todo-reset-done-separator, todo-reset-done-separator-string)
8948 (todo-reset-done-string, todo-reset-global-current-todo-file)
8949 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8950 (todo-reset-prefix, todo-set-categories)
8951 (todo-set-date-from-calendar, todo-set-show-current-file)
8952 (todo-set-top-priorities, todo-short-file-name)
8953 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8954 (todo-total-item-counts, todo-update-buffer-list)
8955 (todo-update-categories-display, todo-update-categories-sexp)
8956 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8957 New functions.
8958 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8959 New major modes.
8960 (todo-categories, todo-display, todo-edit, todo-faces)
8961 (todo-filtered): New defgroups.
8962 (todo-archived-only, todo-button, todo-category-string, todo-date)
8963 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8964 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8965 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8966 (todo-add-item-if-new-category, todo-always-add-time-string)
8967 (todo-categories-align, todo-categories-archived-label)
8968 (todo-categories-category-label, todo-categories-diary-label)
8969 (todo-categories-done-label, todo-categories-number-separator)
8970 (todo-categories-todo-label, todo-categories-totals-label)
8971 (todo-category-completions-files, todo-completion-ignore-case)
8972 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8973 (todo-done-separator-string, todo-done-string)
8974 (todo-files-function, todo-filter-done-items, todo-filter-files)
8975 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8976 (todo-initial-category, todo-initial-file, todo-item-mark)
8977 (todo-legacy-date-time-regexp, todo-mode-line-function)
8978 (todo-nondiary-marker, todo-number-prefix)
8979 (todo-print-buffer-function, todo-show-current-file)
8980 (todo-show-done-only, todo-show-first, todo-show-with-done)
8981 (todo-skip-archived-categories, todo-top-priorities-overrides)
8982 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8983 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8984 New defcustoms.
8985 (todo-category-done, todo-date-pattern, todo-date-string-start)
8986 (todo-diary-items-buffer, todo-done-string-start)
8987 (todo-filtered-items-buffer, todo-item-start)
8988 (todo-month-abbrev-array, todo-month-name-array)
8989 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8990 (todo-top-priorities-buffer): New defconsts.
8991 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8992 (todo-categories-with-marks, todo-category-string-face)
8993 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8994 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8995 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8996 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8997 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8998 (todo-font-lock-keywords, todo-global-current-todo-file)
8999 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9000 (todo-insertion-commands-args)
9001 (todo-insertion-commands-args-genlist)
9002 (todo-insertion-commands-names, todo-insertion-map)
9003 (todo-key-bindings-t, todo-key-bindings-t+a)
9004 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9005 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9006 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9007 (todo-visited): New variables.
9008
9009 2013-06-21 Glenn Morris <rgm@gnu.org>
9010
9011 * play/cookie1.el (cookie-apropos): Add optional display argument.
9012 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9013 (psychoanalyze-pinhead): Use cookie-doctor.
9014
9015 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9016
9017 * emacs-lisp/package.el (tar-get-file-descriptor)
9018 (tar--extract): Declare.
9019
9020 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9021
9022 Extend flymake's warning predicate to be a function (bug#14217).
9023 * progmodes/flymake.el (flymake-warning-predicate): New.
9024 (flymake-parse-line): Use it.
9025 (flymake-warning-re): Make obsolete alias to
9026 `flymake-warning-predicate'.
9027
9028 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9031 (package-obsolete-list): Remove.
9032 (package-activate): Remove min-version argument. Add `force' argument.
9033 Adjust to new package-alist format.
9034 (package-mark-obsolete): Remove.
9035 (package-unpack): Force reload of the package's autoloads.
9036 (package-installed-p): Check builtins if the installed package is not
9037 recent enough.
9038 (package-initialize): Don't reset package-obsolete-list.
9039 Don't specify which package version to activate.
9040 (package-process-define-package, describe-package-1)
9041 (package-menu--generate): Adjust to new package-alist format.
9042
9043 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9044
9045 * allout-widgets.el (allout-widgets-mode-off)
9046 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9047 (allout-widgets-post-command-business)
9048 (allout-widgets-after-copy-or-kill-function)
9049 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9050 (allout-decorate-item-and-context)
9051 (allout-graphics-modification-handler): Fix typos in docstrings.
9052 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9053
9054 * cmuscheme.el (scheme-start-file): Doc fix.
9055 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9056 (scheme-input-filter): Use `string-match-p'.
9057
9058 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9059
9060 * dired-x.el: Use Dired consistently in docstrings.
9061
9062 * dired.el: Use Dired consistently in docstrings.
9063 (dired-readin, dired-mode): Use `setq-local'.
9064 (dired-switches-alist): Make defvar-local.
9065 (dired-buffers-for-dir): Use `zerop'.
9066 (dired-safe-switches-p, dired-switches-escape-p)
9067 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9068 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9069 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9070 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9071 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9072 (dired-toggle-marks, dired-mark-files-containing-regexp)
9073 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9074 (dired-flag-auto-save-files, dired-flag-backup-files):
9075 Use `looking-at-p'.
9076 (dired-mark-files-regexp, dired-build-subdir-alist):
9077 Use `string-match-p', `looking-at-p'.
9078
9079 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9080 (direct-print-region-helper): Use `string-match-p'.
9081
9082 2013-06-21 Leo Liu <sdl.web@gmail.com>
9083
9084 * comint.el (comint-redirect-results-list-from-process):
9085 Fix infinite loop.
9086
9087 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088
9089 * net/eww.el (eww-update-header-line-format): Quote % characters.
9090
9091 2013-06-21 Glenn Morris <rgm@gnu.org>
9092
9093 * play/cookie1.el (cookie): New custom group.
9094 (cookie-file): New option.
9095 (cookie-check-file): New function.
9096 (cookie): Make it interactive. Make start and end messages optional.
9097 Interactively, display the result. Default to cookie-file.
9098 (cookie-insert): Default to cookie-file.
9099 (cookie-snarf): Make start and end messages optional.
9100 Default to cookie-file. Use with-temp-buffer.
9101 (cookie-read): Rename from read-cookie.
9102 Make start and end messages optional. Default to cookie-file.
9103 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9104 Do not autoload it.
9105 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9106 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9107
9108 2013-06-21 Leo Liu <sdl.web@gmail.com>
9109
9110 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9111
9112 2013-06-21 Glenn Morris <rgm@gnu.org>
9113
9114 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9115
9116 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9117 Daniel Hackney <dan@haxney.org>
9118
9119 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9120 Consolidate the single-file vs tarball code.
9121 (package-desc-suffix): New function.
9122 (package-desc-full-name): Don't bother inlining it.
9123 (package-load-descriptor): Return the new package-desc.
9124 (package-mark-obsolete): Remove unused arg `package'.
9125 (package-unpack): Make it work for single files as well.
9126 Make it update package-alist.
9127 (package--make-autoloads-and-stuff): Rename from
9128 package--make-autoloads-and-compile. Don't compile any more.
9129 (package--compile): New function.
9130 (package-generate-description-file): New function, extracted from
9131 package-unpack-single.
9132 (package-unpack-single): Remove.
9133 (package--with-work-buffer): Add indentation and debugging info.
9134 (package-download-single): Remove.
9135 (package-install-from-archive): Rename from package-download-tar, make
9136 it take a pkg-desc, and make it work for single files as well.
9137 (package-download-transaction): Simplify.
9138 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9139 external tar program.
9140 (package-install-from-buffer): Remove `pkg-desc' argument.
9141 Use package-tar-file-info for tar-mode buffers.
9142 (package-install-file): Simplify accordingly.
9143 (package-archive-base): Change to take a pkg-desc.
9144 * tar-mode.el (tar--check-descriptor): New function, extracted from
9145 tar-get-descriptor.
9146 (tar-get-descriptor): Use it.
9147 (tar-get-file-descriptor): New function.
9148 (tar--extract): New function, extracted from tar-extract.
9149 (tar--extract): Use it.
9150 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9151 case the summary uses non-ascii. Adjust to new calling convention of
9152 package-tar-file-info.
9153
9154 2013-06-21 Leo Liu <sdl.web@gmail.com>
9155
9156 * comint.el (comint-redirect-results-list-from-process):
9157 Fix random delay. (Bug#14681)
9158
9159 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9160
9161 * profiler.el (profiler-format-number): Use log, not log10.
9162
9163 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9164
9165 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9166
9167 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9170 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9171 yet available.
9172 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9173 (AUTOGENEL): ... here.
9174 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9175 (cl--defsubst-expand): Use it.
9176
9177 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9178
9179 * subr.el (log10): Move here from C code, and declare as obsolete.
9180 All uses of (log10 X) replaced with (log X 10).
9181
9182 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9183
9184 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9185 Declare with `defvar-local'.
9186 (tabulated-list-use-header-line, tabulated-list-entries)
9187 (tabulated-list-padding, tabulated-list-printer)
9188 (tabulated-list-sort-key): Declare with `defvar-local'.
9189 (tabulated-list-init-header, tabulated-list-print-fake-header):
9190 Use `setq-local'.
9191
9192 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9193
9194 * arc-mode.el (archive-mode): Add `archive-write-file' to
9195 `write-contents-functions' also for remote files. (Bug#14652)
9196
9197 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * cus-edit.el (custom-commands): Fix typos.
9200 (custom-display): Fix tooltip text.
9201 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9202 Fix typos in docstrings.
9203 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9204 (custom-unlispify-menu-entry, custom-magic-value-create)
9205 (custom-add-see-also, custom-group-value-create): Use ?\s.
9206 (custom-guess-type, customize-apropos, editable-field)
9207 (custom-face-value-create): Use `string-match-p'.
9208 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9209
9210 * custom.el (custom-load-symbol): Use `string-match-p'.
9211
9212 * ansi-color.el: Convert to lexical binding.
9213 (ansi-colors): Fix URL.
9214 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9215 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9216 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9217
9218 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9219
9220 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9221
9222 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9223
9224 2013-06-19 Tom Tromey <tromey@redhat.com>
9225
9226 * net/eww.el (eww-top-url): Remove.
9227 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9228 (eww-render): Set new variables. Don't set eww-top-url.
9229 (eww-handle-link): Handle "prev", "home", and "contents".
9230 Downcase the rel text.
9231 (eww-top-url): Choose best top URL.
9232
9233 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9234
9235 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9236 relying in widget.el. Using widget.el leads to too many
9237 user interface inconsistencies.
9238 (eww-self-insert): Implement entering commands in text fields.
9239 (eww-process-text-input): New function to make text input field editing
9240 work.
9241 (eww-submit): Rewrite to use the new-style form methods.
9242 (eww-select-display): Display the correct selected item.
9243 (eww-change-select): Implement changing the select value.
9244 (eww-toggle-checkbox): Implement radio/checkboxes.
9245 (eww-update-field): Fix compilation error.
9246 (eww-tag-textarea): Implement <textarea>.
9247
9248 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9249 we don't shadow mode-specific bindings.
9250
9251 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9252 nothing to push.
9253
9254 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9255
9256 2013-06-19 Glenn Morris <rgm@gnu.org>
9257
9258 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9259
9260 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9261
9262 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9263 not needed.
9264
9265 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9266
9267 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
9269 * net/browse-url.el (browse-url-browser-function):
9270 `eww-browse-url' has the right calling signature, `eww' does not.
9271
9272 2013-06-19 Glenn Morris <rgm@gnu.org>
9273
9274 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9275 Only eval autoloaded macros.
9276 (byte-compile-autoload): Only give the macro warning for macros.
9277
9278 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9279 (ps-underlined-faces): Declare.
9280
9281 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9282 (speedbar-add-supported-extension): Declare.
9283
9284 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9285 Don't include a date stamp in the header of the generated file;
9286 it leads to needless differences between output files.
9287
9288 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9289
9290 * net/secrets.el (secrets-struct-secret-content-type):
9291 Replace check of introspection data by a test call of "CreateItem".
9292 Some servers do not offer introspection.
9293
9294 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * electric.el (electric-pair-mode): Improve interaction with
9297 electric-layout-mode.
9298 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9299 (electric-pair-syntax): Use text-mode-syntax-table in comments
9300 and strings.
9301 (electric-pair--insert): New function.
9302 (electric-pair-post-self-insert-function): Use it and
9303 electric--after-char-pos.
9304
9305 2013-06-19 Leo Liu <sdl.web@gmail.com>
9306
9307 * progmodes/octave.el (octave-help): Fix regexp.
9308
9309 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9310
9311 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9312 (shr-table-horizontal-line): Allow nil as a value, and change the
9313 default.
9314 (shr-insert-table-ruler): Respect the nil value.
9315
9316 2013-06-18 Tom Tromey <tromey@barimba>
9317
9318 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9319 New defvars.
9320 (eww-open-file): New defun.
9321 (eww-render): Initialize new variables.
9322 (eww-display-html): Handle "link" and "a".
9323 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9324 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9325 (eww-back-url): Rename from eww-previous-url.
9326 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9327 New defuns.
9328
9329 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9330
9331 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9332 Distinguish ternary operator tokens from slash symbol and slash
9333 char literal.
9334
9335 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9336
9337 Convert symbol prettification into minor mode and global minor mode.
9338
9339 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9340 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9341 (prettify-symbols--keywords): Rename from
9342 `prog-prettify-symbols-alist' and make a local defvar.
9343 (prettify-symbols--compose-symbol): Rename from
9344 `prog--prettify-font-lock-compose-symbol'.
9345 (prettify-symbols--make-keywords): Rename from
9346 `prog-prettify-font-lock-symbols-keywords' and simplify.
9347 (prog-prettify-install): Remove.
9348 (prettify-symbols-mode): New minor mode, based on
9349 `prog-prettify-install'.
9350 (turn-on-prettify-symbols-mode): New function.
9351 (global-prettify-symbols-mode): New globalized minor mode.
9352
9353 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9354 * progmodes/cfengine.el (cfengine3-mode):
9355 * progmodes/perl-mode.el (perl-mode): Don't call
9356 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9357
9358 2013-06-18 Juri Linkov <juri@jurta.org>
9359
9360 * files-x.el (modify-file-local-variable-message): New function.
9361 (modify-file-local-variable)
9362 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9363 and call `modify-file-local-variable-message' when it's non-nil.
9364 (add-file-local-variable, delete-file-local-variable)
9365 (add-file-local-variable-prop-line)
9366 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9367 and use it. (Bug#9820)
9368
9369 2013-06-18 Juri Linkov <juri@jurta.org>
9370
9371 * emulation/vi.el (vi-shell-op):
9372 * emulation/vip.el (vip-execute-com, ex-command):
9373 * emulation/viper-cmd.el (viper-exec-bang):
9374 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9375 the call of `shell-command-on-region'. (Bug#14637)
9376
9377 * simple.el (shell-command-on-region): Doc fix.
9378
9379 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9382 (bug#14633).
9383
9384 2013-06-18 Glenn Morris <rgm@gnu.org>
9385
9386 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9387
9388 * newcomment.el (comment-search-forward, comment-search-backward):
9389 Doc fix. (Bug#14376)
9390
9391 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9392
9393 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9394 (buffer-face-mode-invoke): Doc fix.
9395
9396 2013-06-18 Matthias Meulien <orontee@gmail.com>
9397
9398 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9399 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9400
9401 2013-06-18 Glenn Morris <rgm@gnu.org>
9402
9403 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9404 Replace obsolete function generic-make-keywords with its expansion.
9405
9406 * progmodes/python.el (ffap-alist): Declare.
9407
9408 * textmodes/reftex.el (bibtex-mode-map): Declare.
9409
9410 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9413 (package-unpack, package-unpack-single): Return the pkg-dir.
9414 (package-download-transaction): Use it to update package-alist.
9415
9416 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417
9418 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9419 possible choice.
9420
9421 2013-06-17 Juri Linkov <juri@jurta.org>
9422
9423 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9424
9425 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9426
9427 * emacs-lisp/package.el (package-load-descriptor):
9428 Remove `with-syntax-table' call, `read' doesn't need it.
9429 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9430
9431 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9432
9433 * startup.el (command-line): Expand package name returned by
9434 `package--description-file' (bug#14639).
9435
9436 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9437
9438 * emacs-lisp/package.el (package-load-descriptor): Do not call
9439 `emacs-lisp-mode', just use its syntax table.
9440
9441 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9442
9443 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9444 `font-lock-extra-managed-props' if any prettifying keyword is added.
9445 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9446 (prog-mode): Use `setq-local'.
9447
9448 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * international/characters.el (standard-case-table): Set syntax of ?»
9451 and ?« to punctuation.
9452
9453 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9454
9455 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9456 Save relevant match data before calling `syntax-ppss' (bug#14595).
9457
9458 2013-06-15 Juri Linkov <juri@jurta.org>
9459
9460 * files-x.el (modify-file-local-variable-prop-line): Add local
9461 variables to the end of the existing comment on the first line.
9462 Use `file-auto-mode-skip' to skip interpreter magic line,
9463 and also skip XML declaration.
9464
9465 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * startup.el (package--builtin-versions): New var.
9468 (package-subdirectory-regexp): Remove.
9469 (package--description-file): Hard code its value instead.
9470
9471 * emacs-lisp/package.el: Don't activate packages older than builtin.
9472 (package-obsolete-list): Rename from package-obsolete-alist, and make
9473 it into a simple list of package-desc.
9474 (package-strip-version): Remove.
9475 (package-built-in-p): Use package--builtin-versions.
9476 (package-mark-obsolete): Simplify.
9477 (package-process-define-package): Mark it obsolete if older than the
9478 builtin version.
9479 (package-handle-response): Use line-end-position.
9480 (package-read-archive-contents, package--download-one-archive):
9481 Simplify.
9482 (package--add-to-archive-contents): Skip if older than the builtin or
9483 installed version.
9484 (package-menu-describe-package): Fix last change.
9485 (package-list-unversioned): New var.
9486 (package-menu--generate): Use it.
9487
9488 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9489 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9490 (autoload-builtin-package-versions): New variable.
9491 (autoload-generate-file-autoloads): Use them.
9492 Remove the list of autoloaded functions/macros from the
9493 (autoload...) comments.
9494
9495 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9496
9497 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9498
9499 * simple.el (line-move-partial): Don't jump to the next screen
9500 line as soon as it becomes visible. Instead, continue enlarging
9501 the vscroll until the portion of a tall screen line that's left on
9502 display is about the height of the frame's default font.
9503 (Bug#14567)
9504
9505 2013-06-15 Glenn Morris <rgm@gnu.org>
9506
9507 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9508 compilation-error-regexp-alist void, or local while let-bound.
9509
9510 * progmodes/make-mode.el (makefile-mode-syntax-table):
9511 Treat "=" as punctuation. (Bug#14614)
9512
9513 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9514
9515 * help-fns.el (describe-variable):
9516 Add extra line for permanent-local variables.
9517
9518 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9519
9520 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9521 Add export, import, library. (Bug#9164)
9522 (library): Set indent function.
9523
9524 2013-06-14 Glenn Morris <rgm@gnu.org>
9525
9526 * term/xterm.el (xterm--query):
9527 Stop after first matching handler. (Bug#14615)
9528
9529 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9530
9531 Add support for dired in saveplace.
9532 * dired.el (dired-initial-position-hook): New variable.
9533 (dired-initial-position): Call hook to place cursor position.
9534 * saveplace.el (save-place-to-alist): Add dired position.
9535 (save-place-dired-hook): New function.
9536
9537 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9540 through a symbol rather than letrec.
9541
9542 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9543 (package-desc): Add `dir' field.
9544 (package-desc-full-name): New function.
9545 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9546 (package-maybe-load-descriptor): Remove.
9547 (package-load-all-descriptors): Just call package-load-descriptor.
9548 (package--disabled-p): New function.
9549 (package-desc-vers, package-desc-doc): Remove aliases.
9550 (package--dir): Remove function.
9551 (package-activate): Check if a package is disabled.
9552 (package-process-define-package): New function, extracted from
9553 define-package.
9554 (define-package): Turn into a place holder.
9555 (package-unpack-single, package-tar-file-info):
9556 Use package--description-file.
9557 (package-compute-transaction): Use package--disabled-p.
9558 (package-download-transaction): Don't call
9559 package-maybe-load-descriptor since they're all loaded anyway.
9560 (package-install): Change argument to be a pkg-desc.
9561 (package-delete): Use a single pkg-desc argument.
9562 (describe-package-1): Use package-desc-dir instead of package--dir.
9563 Use package-desc property instead of package-symbol.
9564 (package-install-button-action): Adjust accordingly.
9565 (package--push): Rewrite.
9566 (package-menu--print-info): Adjust accordingly. Change the ID format
9567 to be a pkg-desc.
9568 (package-menu-describe-package, package-menu-get-status)
9569 (package-menu--find-upgrades, package-menu-mark-upgrades)
9570 (package-menu-execute, package-menu--name-predicate):
9571 Adjust accordingly.
9572 * startup.el (package--description-file): New function.
9573 (command-line): Use it.
9574 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9575 Use package-desc-version.
9576
9577 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9578 (byte-compile-preprocess): Use it.
9579 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9580 can't quite recognize.
9581 (byte-compile-add-to-list): Remove.
9582 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9583 (cconv-closure-convert): Add assertion.
9584
9585 * emacs-lisp/map-ynp.el: Use lexical-binding.
9586 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9587 Factor out some repeated code.
9588
9589 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * subr.el (with-eval-after-load): New macro.
9592 (eval-after-load): Allow form to be a function.
9593 take advantage of lexical-binding.
9594 (do-after-load-evaluation): Use dolist and adjust to new format.
9595 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9596
9597 2013-06-13 Juri Linkov <juri@jurta.org>
9598
9599 * replace.el (perform-replace): Display "symbol " and other search
9600 modes from `isearch-message-prefix' in the *Help* buffer.
9601
9602 * isearch.el (isearch-query-replace): Add " symbol" and other
9603 possible search modes from `isearch-message-prefix' to the prompt.
9604 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9605 when reading a regexp to collect.
9606
9607 2013-06-13 Juri Linkov <juri@jurta.org>
9608
9609 * isearch.el (word-search-regexp): Match whitespace if the search
9610 string begins or ends in whitespace. The LAX arg is applied to
9611 both ends of the search string. Use `regexp-quote' and explicit
9612 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9613 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9614 boundaries are replaced with symbol boundaries, and characters
9615 between symbols match non-word non-symbol syntax. (Bug#14602)
9616
9617 2013-06-13 Juri Linkov <juri@jurta.org>
9618
9619 * isearch.el (isearch-del-char): Don't exceed the length of
9620 `isearch-string' by the prefix arg. (Bug#14563)
9621
9622 2013-06-13 Juri Linkov <juri@jurta.org>
9623
9624 * isearch.el (isearch-yank-word, isearch-yank-line)
9625 (isearch-char-by-name, isearch-quote-char)
9626 (isearch-printing-char, isearch-process-search-char):
9627 Add optional count prefix arg. (Bug#14563)
9628
9629 * international/isearch-x.el
9630 (isearch-process-search-multibyte-characters):
9631 Add optional count prefix arg.
9632
9633 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9636 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9637 lexical-binding.
9638
9639 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9640
9641 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9642
9643 2013-06-13 Glenn Morris <rgm@gnu.org>
9644
9645 * startup.el (tty-handle-args):
9646 Don't just discard "--" and anything after. (Bug#14608)
9647
9648 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9649
9650 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9651
9652 Implement changes in Secret Service API. Make it backward compatible.
9653 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9654 (secrets-create-item): Use it. Prefix properties with interface.
9655
9656 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9657
9658 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9659 (term-emulate-terminal): Respect term-suppress-hard-newline.
9660
9661 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9662
9663 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9664 Only remove a `thumb-file' overlay. (Bug#14548)
9665
9666 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9667
9668 * mail/reporter.el (reporter-submit-bug-report):
9669 Handle missing package-name. (Bug#14600)
9670
9671 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9672
9673 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9674 (reftex-citation-prompt, reftex-default-bibliography)
9675 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9676 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9677 (reftex-bib-sort-author, reftex-bib-sort-year)
9678 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9679 (reftex-extract-bib-entries-from-thebibliography)
9680 (reftex-get-bibkey-default, reftex-get-bib-names)
9681 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9682 (reftex-format-bib-entry, reftex-parse-bibitem)
9683 (reftex-format-bibitem, reftex-do-citation)
9684 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9685 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9686 (reftex-insert-bib-matches, reftex-format-citation)
9687 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9688 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9689 existing comments into docstrings.
9690
9691 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9692
9693 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9694
9695 2013-06-12 Andreas Schwab <schwab@suse.de>
9696
9697 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9698 for auto-save files.
9699
9700 2013-06-12 Glenn Morris <rgm@gnu.org>
9701
9702 * ido.el (ido-delete-ignored-files): Remove.
9703 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9704 Go back to calling ido-ignore-item-p directly.
9705
9706 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9707
9708 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9709
9710 * ido.el (ido-delete-ignored-files): New function,
9711 split from ido-make-file-list-1.
9712 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9713 (ido-make-file-list-1): Use ido-delete-ignored-files.
9714
9715 2013-06-12 Leo Liu <sdl.web@gmail.com>
9716
9717 * progmodes/octave.el (inferior-octave-startup)
9718 (inferior-octave-completion-table)
9719 (inferior-octave-track-window-width-change)
9720 (octave-eldoc-function-signatures, octave-help)
9721 (octave-find-definition): Use single quoted strings.
9722 (inferior-octave-startup-args): Change default value.
9723 (inferior-octave-startup): Do not hard code "-i" and
9724 "--no-line-editing".
9725 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9726 (inferior-octave-directory-tracker): Use it.
9727 (octave-goto-function-definition): Robustify.
9728 (octave-help): Support highlighting operators in 'See also'.
9729 (octave-find-definition): Find subfunctions only in Octave mode.
9730
9731 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * help-fns.el (help-fns--compiler-macro): If the handler function is
9734 named, then put a link to it.
9735 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9736 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9737 (cl-typep): Use it.
9738 (cl-eval-when): Simplify debug spec.
9739 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9740 compiler-macro function instead of setting `compiler-macro-file'.
9741
9742 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9743
9744 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9745 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9746
9747 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9748 Daniel Hackney <dan@haxney.org>
9749
9750 First part of Daniel Hackney's patch to package.el.
9751 * emacs-lisp/package.el: Use defstruct.
9752 (package-desc): New, main struct.
9753 (package--bi-desc, package--ac-desc): New structs, used to describe the
9754 format in external files.
9755 (package-desc-vers): Replace with package-desc-version accessor.
9756 (package-desc-doc): Replace with package-desc-summary accessor.
9757 (package-activate-1): Remove `package' arg since the pkg-vec now
9758 includes the name.
9759 (define-package): Use package-desc-from-define.
9760 (package-unpack-single): Change file-name arg to be a symbol.
9761 (package--add-to-archive-contents): Use package-desc-create and new
9762 accessor functions to package--ac-desc.
9763 (package-buffer-info, package-tar-file-info): Return a package-desc.
9764 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9765 arg to be a package-desc.
9766 (package-install-file): Adjust accordingly. Use \' to match EOS.
9767 (package--from-builtin): New function.
9768 (describe-package-1, package-menu--generate): Use it.
9769 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9770 (package-generate-autoloads): Idem and return the name of the file.
9771 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9772 Change pkg-info arg to be a package-desc.
9773 Use package-make-ac-desc.
9774 (package-upload-file): Use \' to match EOS.
9775 * finder.el (finder-compile-keywords): Use package-make-builtin.
9776
9777 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * vc/vc.el (vc-deduce-fileset): Change error message.
9780 (vc-read-backend): New function.
9781 (vc-next-action): Use it.
9782
9783 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9784
9785 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9786 (prolog-font-lock-keywords): Use regexp-opt instead.
9787 Don't manually highlight strings.
9788 (prolog-mode-variables): Simplify comment-start-skip.
9789 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9790
9791 * emacs-lisp/generic.el (generic--normalise-comments)
9792 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9793 (generic-mode-set-comments): Use them.
9794 (generic-bracket-support): Use setq-local.
9795 (generic-make-keywords-list): Declare obsolete.
9796
9797 2013-06-11 Glenn Morris <rgm@gnu.org>
9798
9799 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9800 Prettify after setting font-lock-defaults. (Bug#14574)
9801
9802 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9803
9804 * replace.el (query-replace, occur-read-regexp-defaults-function)
9805 (replace-search):
9806 * subr.el (declare-function, number-sequence, local-set-key)
9807 (substitute-key-definition, locate-user-emacs-file)
9808 (with-silent-modifications, split-string, eval-after-load):
9809 Fix typos, remove unneeded backslashes and reflow some docstrings.
9810
9811 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9812
9813 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9814 default for Elisp files.
9815
9816 2013-06-11 Glenn Morris <rgm@gnu.org>
9817
9818 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9819 although define-derived-mode was doing this anyway. (Bug#14583)
9820
9821 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9822
9823 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9824 Fix make-variable-buffer-local call to refer to the correct variable.
9825
9826 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9827
9828 * eshell/em-term.el (eshell-visual-commands)
9829 (eshell-visual-subcommands, eshell-visual-options):
9830 Add summary line to docstrings. Add cross-references.
9831
9832 2013-06-10 Glenn Morris <rgm@gnu.org>
9833
9834 * epa.el (epa-read-file-name): New function. (Bug#14510)
9835 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9836
9837 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9838
9839 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9840 output redirection to be ignored with visual commands.
9841
9842 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9843
9844 * eshell/em-term.el (eshell-visual-command-p): New function.
9845 (eshell-term-initialize): Move long lambda to separate function
9846 eshell-visual-command-p.
9847 * eshell/em-dirs.el (eshell-dirs-initialise):
9848 * eshell/em-script.el (eshell-script-initialize):
9849 Add missing #' to lambda.
9850
9851 2013-06-08 Leo Liu <sdl.web@gmail.com>
9852
9853 * progmodes/octave.el (octave-add-log-current-defun): New function.
9854 (octave-mode): Set add-log-current-defun-function.
9855 (octave-goto-function-definition): Do not move point if not found.
9856 (octave-find-definition): Enhance to try subfunctions first.
9857
9858 2013-06-08 Glenn Morris <rgm@gnu.org>
9859
9860 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9861 (byte-compile-backward-char, byte-compile-backward-word):
9862 Improve previous change, to handle non-explicit nil.
9863
9864 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9867 (smie--opener/closer-at-point): New function.
9868 (smie--matching-block-data): Use it. Don't match from right after an
9869 opener or right before a closer. Obey smie-blink-matching-inners.
9870 Don't signal a mismatch for repeated inners like "switch..case..case".
9871
9872 2013-06-07 Leo Liu <sdl.web@gmail.com>
9873
9874 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9875 to t. (Bug#14303)
9876 (octave-function-header-regexp): Fix. (Bug#14570)
9877 (octave-help-mode-finish-hook, octave-help-mode-finish):
9878 Remove. Just use temp-buffer-show-hook.
9879
9880 * newcomment.el (comment-search-backward): Revert last change.
9881 (Bug#14434)
9882
9883 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9884
9885 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9886
9887 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9888 through xargs, to avoid failure due to MS-Windows limitations on
9889 command-line length.
9890
9891 2013-06-06 Glenn Morris <rgm@gnu.org>
9892
9893 * font-lock.el (lisp-font-lock-keywords-2):
9894 Treat user-error like error.
9895
9896 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9897 (byte-compile-backward-char, byte-compile-backward-word):
9898 Handle explicit nil arguments. (Bug#14565)
9899
9900 2013-06-05 Alan Mackenzie <acm@muc.de>
9901
9902 * isearch.el (isearch-allow-prefix): New user option.
9903 (isearch-other-meta-char): Don't exit isearch when a prefix
9904 argument is typed whilst `isearch-allow-prefix' is non-nil.
9905 (Bug#9706)
9906
9907 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * autorevert.el (auto-revert-notify-handler): Use memq.
9910 Hide assertion failure.
9911
9912 * skeleton.el: Use cl-lib.
9913 (skeleton-further-elements): Use defvar-local.
9914 (skeleton-insert): Use cl-progv.
9915
9916 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9917
9918 * progmodes/prog-mode.el (prog-prettify-symbols)
9919 (prog-prettify-install): Update docstrings.
9920
9921 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * simple.el: Move all the prog-mode code to prog-mode.el.
9924 * progmodes/prog-mode.el: New file.
9925 * loadup.el: Add prog-mode.el.
9926
9927 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9928
9929 * simple.el (prog-prettify-symbols): Add version.
9930 (prog-prettify-install): Add convenience function to prettify symbols.
9931
9932 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9933 (perl--augmented-font-lock-keywords-1)
9934 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9935 variables and use it.
9936
9937 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9938 (cfengine3-mode): Remove unneeded variable and use it.
9939
9940 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9941 (lisp--augmented-font-lock-keywords-1)
9942 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9943 Remove unneeded variables and use it.
9944
9945 2013-06-05 João Távora <joaotavora@gmail.com>
9946
9947 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9948 to point when opening the connection. (Bug#14380)
9949
9950 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * subr.el (load-history-regexp, load-history-filename-element)
9953 (eval-after-load, after-load-functions, do-after-load-evaluation)
9954 (eval-next-after-load, display-delayed-warnings)
9955 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9956 definition of save-match-data.
9957 (overriding-local-map): Remove accidental obsolescence declaration.
9958
9959 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9960
9961 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9962
9963 Generalize symbol prettify support to prog-mode and implement it
9964 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9965 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9966 (prog--prettify-font-lock-compose-symbol)
9967 (prog-prettify-font-lock-symbols-keywords): New variables and
9968 functions to support symbol prettification.
9969 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9970 (lisp--augmented-font-lock-keywords-1)
9971 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9972 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9973 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9974 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9975 Implement prettify of -> => :: strings.
9976 * progmodes/perl-mode.el (perl-prettify-symbols)
9977 (perl--font-lock-compose-symbol)
9978 (perl--font-lock-symbols-keywords): Move to prog-mode.
9979 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9980 (perl-font-lock-keywords-1)
9981 (perl-font-lock-keywords-2): Remove explicit prettify support.
9982 (perl--augmented-font-lock-keywords)
9983 (perl--augmented-font-lock-keywords-1)
9984 (perl--augmented-font-lock-keywords-2, perl-mode):
9985 Implement prettify support.
9986
9987 2013-06-05 Leo Liu <sdl.web@gmail.com>
9988
9989 Re-implement smie matching block highlight using
9990 show-paren-data-function. (Bug#14395)
9991 * emacs-lisp/smie.el (smie-matching-block-highlight)
9992 (smie--highlight-matching-block-overlay)
9993 (smie--highlight-matching-block-lastpos)
9994 (smie-highlight-matching-block)
9995 (smie-highlight-matching-block-mode): Remove.
9996 (smie--matching-block-data-cache): New variable.
9997 (smie--matching-block-data): New function.
9998 (smie-setup): Use smie--matching-block-data for
9999 show-paren-data-function.
10000
10001 * progmodes/octave.el (octave-mode-menu): Fix.
10002 (octave-find-definition): Skip garbage lines.
10003
10004 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 Fix compilation error with simultaneous dynamic+lexical scoping.
10007 Add warning when a defvar appears after the first let-binding.
10008 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10009 (byte-compile-close-variables): Initialize it.
10010 (byte-compile--declare-var): New function.
10011 (byte-compile-file-form-defvar)
10012 (byte-compile-file-form-define-abbrev-table)
10013 (byte-compile-file-form-custom-declare-variable): Use it.
10014 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10015 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10016 (byte-compile-bind): Handle dynamic bindings that shadow
10017 lexical bindings.
10018 (byte-compile-unbind): Make arg non-optional.
10019 (byte-compile-let): Simplify.
10020 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10021 (cconv--analyse-function, cconv-analyse-form): Populate it.
10022 Protect byte-compile-bound-variables to limit the scope of defvars.
10023 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10024 Remove unneeded rule for `declare'.
10025
10026 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10027 so as to avoid depending on cl-adjoin at run-time.
10028 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10029
10030 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10031 (macroexp--warn-and-return): Use it.
10032
10033 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * subr.el: Convert to lexical binding.
10036 (overriding-local-map): Make obsolete.
10037 (add-to-list): Doc fix. Add compiler macro.
10038 (read-key): Swap values of local maps.
10039
10040 2013-06-05 Leo Liu <sdl.web@gmail.com>
10041
10042 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10043
10044 2013-06-04 Leo Liu <sdl.web@gmail.com>
10045
10046 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10047 (compilation-auto-jump): Suppress the "Mark set" message to give
10048 way to exit message.
10049
10050 2013-06-04 Alan Mackenzie <acm@muc.de>
10051
10052 Remove faulty optimisation from indentation calculation.
10053 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10054 search limit based on 2000 characters back from indent-point.
10055
10056 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10057
10058 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10059
10060 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * emacs-lisp/lisp.el: Use lexical-binding.
10063 (lisp--local-variables-1, lisp--local-variables): New functions.
10064 (lisp--local-variables-completion-table): New var.
10065 (lisp-completion-at-point): Use it complete let-bound vars.
10066
10067 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10068 eagerly (bug#14422).
10069
10070 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10071
10072 * autorevert.el (auto-revert-notify-enabled)
10073 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10074 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10075 (auto-revert-notify-handler): Handle also gfilenotify.
10076
10077 * subr.el (file-notify-handle-event): New defun. Replacing ...
10078 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10079 Remove.
10080
10081 2013-06-03 Juri Linkov <juri@jurta.org>
10082
10083 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10084 `M-s h .'. (Bug#14427)
10085
10086 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10087 command `hi-lock-face-symbol-at-point'.
10088 (hi-lock-face-symbol-at-point): New command.
10089 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10090 (hi-lock-menu): Add `highlight-symbol-at-point'.
10091 (hi-lock-mode): Doc fix.
10092
10093 * isearch.el (isearch-forward-symbol-at-point): New command.
10094 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10095 (isearch-highlight-regexp): Add a regexp which matches
10096 words/symbols for word/symbol mode.
10097
10098 * subr.el (find-tag-default-bounds): New function with the body
10099 mostly moved from `find-tag-default'.
10100 (find-tag-default): Move most code to `find-tag-default-bounds',
10101 call it and apply `buffer-substring-no-properties' afterwards.
10102
10103 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10104
10105 * eshell/em-term.el (eshell-term-initialize):
10106 Use `cl-intersection' rather than `intersection'.
10107
10108 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10109
10110 * vc/log-view.el: Doc fix.
10111 (log-view-mode-map): Copy keymap from `special-mode-map'.
10112
10113 2013-06-02 Eric Ludlam <zappo@gnu.org>
10114
10115 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10116 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10117 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10118 (eieio-unbound, eieio-default-superclass)
10119 (eieio--define-field-accessors, method-static, method-before)
10120 (method-primary, method-after, method-num-lists)
10121 (method-generic-before, method-generic-primary)
10122 (method-generic-after, method-num-slots)
10123 (eieio-specialized-key-to-generic-key)
10124 (eieio--check-type, class-v, class-p)
10125 (eieio-class-name, define-obsolete-function-alias)
10126 (eieio-class-parents-fast, eieio-class-children-fast)
10127 (same-class-fast-p, class-constructor, generic-p)
10128 (generic-primary-only-p, generic-primary-only-one-p)
10129 (class-option-assoc, class-option, eieio-object-p)
10130 (class-abstract-p, class-method-invocation-order)
10131 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10132 (eieio-class-un-autoload, eieio-defclass)
10133 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10134 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10135 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10136 (eieio-defgeneric-reset-generic-form)
10137 (eieio-defgeneric-form-primary-only)
10138 (eieio-defgeneric-reset-generic-form-primary-only)
10139 (eieio-defgeneric-form-primary-only-one)
10140 (eieio-defgeneric-reset-generic-form-primary-only-one)
10141 (eieio-unbind-method-implementations)
10142 (eieio--defmethod, eieio--typep)
10143 (eieio-perform-slot-validation, eieio-validate-slot-value)
10144 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10145 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10146 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10147 (eieio-slot-name-index, eieio-class-slot-name-index)
10148 (eieio-set-defaults, eieio-initarg-to-attribute)
10149 (eieio-attribute-to-initarg, eieio-c3-candidate)
10150 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10151 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10152 (eieio-class-precedence-list, eieio-generic-call-methodname)
10153 (eieio-generic-call-arglst, eieio-generic-call-key)
10154 (eieio-generic-call-next-method-list)
10155 (eieio-pre-method-execution-functions, eieio-generic-call)
10156 (eieio-generic-call-primary-only, eieiomt-method-list)
10157 (eieiomt-optimizing-obarray, eieiomt-install)
10158 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10159 (eieio-generic-form, eieio-defmethod, make-obsolete)
10160 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10161 (defclass): Remove `eval-and-compile' from macro.
10162 (call-next-method, shared-initialize): Instead of using
10163 `scoped-class' variable, use new eieio--scoped-class, and
10164 eieio--with-scoped-class.
10165 (initialize-instance): Rename local variable 'scoped-class' to
10166 'this-class' to remove ambiguitity from old global.
10167
10168 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10169 eieio.el.
10170 (eieio--scoped-class-stack): New variable.
10171 (eieio--scoped-class): New fcn.
10172 (eieio--with-scoped-class): New scoping macro.
10173 (eieio-defclass): Use pushnew instead of add-to-list.
10174 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10175 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10176 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10177 `scoped-class' variable, use new eieio--scoped-class, and
10178 eieio--with-scoped-class.
10179
10180 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10181
10182 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10183
10184 * eshell/esh-ext.el (eshell-external-command): Pass args to
10185 `eshell-find-interpreter'.
10186 (eshell-find-interpreter): Add new second parameter ARGS.
10187
10188 * eshell/em-script.el (eshell-script-initialize): Add second arg
10189 to the function added as MATCH to `eshell-interpreter-alist'.
10190
10191 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10192 the function added as MATCH to `eshell-interpreter-alist'.
10193
10194 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10195 (eshell-visual-options): New defcustom.
10196 (eshell-escape-control-x): Adapt docstring.
10197 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10198 `eshell-visual-options' in addition to `eshell-visual-commands'.
10199 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10200
10201 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10202
10203 * progmodes/python.el (python-indent-block-enders): Add break,
10204 continue and raise keywords.
10205
10206 2013-06-01 Glenn Morris <rgm@gnu.org>
10207
10208 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10209
10210 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10211 * progmodes/cc-cmds.el (delete-forward-p):
10212 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10213 * progmodes/cc-engine.el (buffer-syntactic-context):
10214 * progmodes/cc-fonts.el (face-property-instance):
10215 * progmodes/cc-mode.el (set-keymap-parents):
10216 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10217 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10218 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10219 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10220 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10221
10222 * progmodes/cc-vars.el (other): Emacs has this widget since
10223 at least 21.1, so don't (re)define it.
10224
10225 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10226 Replace the obsolete alias pcomplete-arg-quote-list.
10227
10228 2013-06-01 Leo Liu <sdl.web@gmail.com>
10229
10230 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10231 punctuation syntax.
10232 (inferior-octave-minimal-columns)
10233 (inferior-octave-last-column-width): New variables.
10234 (inferior-octave-track-window-width-change): New function.
10235 (inferior-octave-mode): Adjust column width so that Octave output,
10236 for example from 'ls', can fit into the window nicely.
10237
10238 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10239
10240 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10241 Highlight expansions inside regexp literals.
10242
10243 2013-05-31 Glenn Morris <rgm@gnu.org>
10244
10245 * obsolete/sym-comp.el (symbol-complete):
10246 Replace obsolete completion-annotate-function.
10247
10248 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10249
10250 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10251
10252 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10253 New function, checks if point is inside a literal that allows
10254 expression expansion.
10255 (ruby-syntax-propertize-expansion): Use it.
10256 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10257 around the body.
10258
10259 2013-05-30 Juri Linkov <juri@jurta.org>
10260
10261 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10262 to "\M-si".
10263 (isearch-invisible): New variable.
10264 (isearch-forward): Doc fix.
10265 (isearch-mode): Set `isearch-invisible'
10266 to the value of `search-invisible'.
10267 (isearch-toggle-case-fold): Doc fix.
10268 (isearch-toggle-invisible): New command.
10269 (isearch-query-replace): Let-bind `search-invisible'
10270 to the value of `isearch-invisible'.
10271 (isearch-search): Use `isearch-invisible' instead of
10272 `search-invisible'. Let-bind `search-invisible'
10273 to the value of `isearch-invisible'. (Bug#11378)
10274
10275 2013-05-30 Juri Linkov <juri@jurta.org>
10276
10277 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10278 call when `query-flag' is nil and `search-invisible' is non-nil.
10279 (Bug#11746)
10280
10281 2013-05-30 Glenn Morris <rgm@gnu.org>
10282
10283 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10284
10285 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10286 (cc-require): Suppress spurious "noruntime" warnings.
10287 (cc-require-when-compile): Use fboundp, for sake of compiler.
10288
10289 * progmodes/cc-mode.el: Move load of cc-vars before that of
10290 cc-langs (which in turn loads cc-vars), to quieten compiler.
10291
10292 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * paren.el: Simplify the code.
10295 (show-paren-mode): Always start the timer.
10296 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10297 (show-paren--overlay, show-paren--overlay-1): Rename from
10298 show-paren-overlay and show-paren-overlay-1, and initialize to an
10299 overlay rather than to nil.
10300 (show-paren-function): Misc cleanup and simplifications.
10301
10302 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * paren.el (show-paren-data-function): New hook.
10305 (show-paren--default): New function, extracted from show-paren-function.
10306 (show-paren-function): Use show-paren-data-function.
10307
10308 2013-05-30 Glenn Morris <rgm@gnu.org>
10309
10310 * ielm.el (ielm-map, ielm-complete-symbol):
10311 Use completion-at-point rather than obsolete functions.
10312 (inferior-emacs-lisp-mode): Doc fix.
10313 Set completion-at-point-functions, rather than
10314 comint-dynamic-complete-functions.
10315
10316 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10317 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10318 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10319
10320 * image.el (image-animated-p): Tweak definition.
10321
10322 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10323 (rlogin-process-connection-type): Tweak default. Add set-after.
10324 (rlogin-host): Doc fix.
10325 (rlogin): Tweak prompt.
10326 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10327
10328 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10329 * progmodes/tcl.el (inferior-tcl-mode-map):
10330 Use completion-at-point rather than obsolete alias.
10331
10332 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10333
10334 * minibuffer.el (read-file-name-completion-ignore-case):
10335 Move before completion--in-region, for eager macro expansion.
10336
10337 2013-05-29 Juri Linkov <juri@jurta.org>
10338
10339 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10340 for total count of matching lines. Add `global-matches' for total
10341 count of matches. Rename `matches' to `lines' for count of
10342 matching lines. Add `matches' for count of matches.
10343 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10344 to `prev-line' for line number of prev match endpt.
10345 Increment `matches' for every match. Print the number of
10346 matching lines in the header.
10347 (occur-context-lines): Rename `lines' to `curr-line'.
10348 Rename `prev-lines' to `prev-line'. (Bug#14017)
10349
10350 2013-05-29 Juri Linkov <juri@jurta.org>
10351
10352 * replace.el (perform-replace): Add `skip-read-only-count',
10353 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10354 Increment them for corresponding conditions and report the number
10355 of skipped occurrences in the final message. (Bug#11746)
10356 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10357 (replace-string, replace-regexp): Doc fix.
10358
10359 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10360
10361 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10362
10363 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10364 prog-mode-map (bug#14504).
10365
10366 2013-05-29 Leo Liu <sdl.web@gmail.com>
10367
10368 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10369 (octave-help): Small simplification.
10370
10371 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10372 off the highlight first.
10373
10374 2013-05-29 Glenn Morris <rgm@gnu.org>
10375
10376 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10377 Handle idlwave-last-system-routine-info-cons-cell being nil.
10378
10379 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10380 (idlwave-write-paths): Simplify via with-temp-buffer.
10381
10382 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10383 * emulation/cua-rect.el: Also load cua-base at run time.
10384
10385 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10386 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10387 (cperl-imenu-on-info): Require imenu.
10388
10389 2013-05-28 Alan Mackenzie <acm@muc.de>
10390
10391 Handle "capitalised keywords" correctly.
10392 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10393
10394 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10395
10396 * eshell/em-unix.el: Add -r option to cp.
10397
10398 2013-05-28 Glenn Morris <rgm@gnu.org>
10399
10400 * vc/vc-arch.el (vc-exec-after): Declare.
10401 (vc-switches): Autoload.
10402 * vc/vc-bzr.el: No need to require vc when compiling.
10403 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10404 (vc-resynch-buffer, vc-dir-refresh): Declare.
10405 (vc-setup-buffer, vc-switches): Autoload.
10406 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10407 (vc-resynch-buffer): Declare.
10408 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10409 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10410 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10411 (grep-read-regexp, grep-read-files, grep-expand-template)
10412 (vc-dir-refresh): Declare.
10413 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10414 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10415 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10416 * vc/vc-mtn.el (vc-exec-after): Declare.
10417 (vc-switches): Autoload.
10418 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10419 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10420 (vc-file-tree-walk): Declare.
10421 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10422 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10423 (vc-tag-precondition, vc-rename-master): Autoload.
10424 * vc/vc-svn.el (vc-exec-after): Declare.
10425 (vc-switches, vc-setup-buffer): Autoload.
10426 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10427 Autoload.
10428 (vc-resynch-buffer): Declare.
10429
10430 * obsolete/fast-lock.el (byte-compile-warnings):
10431 Don't warn about obsolete features in this obsolete file.
10432
10433 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10434 Move definition before use.
10435
10436 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10437 (dun-unix-verbs): Remove dun-zippy.
10438 (dun-zippy): Remove function.
10439
10440 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10441
10442 2013-05-27 Juri Linkov <juri@jurta.org>
10443
10444 * replace.el (replace-search): New function with code moved out
10445 from `perform-replace'.
10446 (replace-highlight, replace-dehighlight): Move function definitions
10447 up closer to `replace-search'. (Bug#11746)
10448
10449 2013-05-27 Juri Linkov <juri@jurta.org>
10450
10451 * replace.el (perform-replace): Ignore invisible matches.
10452 In addition to checking `query-replace-skip-read-only', also
10453 filter out matches by calling `run-hook-with-args-until-failure'
10454 on `isearch-filter-predicates', and also check `search-invisible'
10455 for t or call `isearch-range-invisible'.
10456 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10457
10458 2013-05-27 Juri Linkov <juri@jurta.org>
10459
10460 * isearch.el (isearch-filter-predicates): Rename from
10461 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10462 (isearch-message-prefix): Display text from the property
10463 `isearch-message-prefix' of the currently active filters.
10464 (isearch-search): Don't compare `isearch-filter-predicate' with
10465 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10466 on `isearch-filter-predicates'. Also check `search-invisible' for t
10467 or call `isearch-range-invisible'.
10468 (isearch-filter-visible): Make obsolete.
10469 (isearch-lazy-highlight-search):
10470 Call `run-hook-with-args-until-failure' on
10471 `isearch-filter-predicates' and use `isearch-range-invisible'.
10472
10473 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10474 `isearch-filter-predicates' instead of `funcall'ing
10475 `isearch-filter-predicate'.
10476 (Info-mode): Set `Info-isearch-filter' to
10477 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10478
10479 * dired-aux.el (dired-isearch-filter-predicate-orig):
10480 Remove variable.
10481 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10482 (dired-isearch-filenames-end): Add and remove
10483 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10484 instead of changing the value of `isearch-filter-predicate'.
10485 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10486 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10487 Put property `isearch-message-prefix' to "filename " on
10488 `dired-isearch-filter-filenames'.
10489
10490 * wdired.el (wdired-change-to-wdired-mode):
10491 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10492 locally instead of changing `isearch-filter-predicate'.
10493 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10494
10495 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10496
10497 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10498 return the commit hash (Bug#14459). Also set the
10499 `vc-git-detached' property.
10500 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10501 (vc-git-mode-line-string): Use the same help-echo format whether
10502 in detached mode or not, because we know the actual revision now.
10503 When in detached mode, shorten the revision to 7 chars.
10504
10505 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10506
10507 * emacs-lisp/easy-mmode.el (define-minor-mode):
10508 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10509 mode hook and provide a docstring.
10510
10511 2013-05-27 Alan Mackenzie <acm@muc.de>
10512
10513 Remove spurious syntax-table text properties inserted by C-y.
10514 * progmodes/cc-mode.el (c-after-change): Also clear hard
10515 syntax-table property with value nil.
10516
10517 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10518
10519 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10520 when reading the events; the buffer layout shall not be changed.
10521
10522 2013-05-27 Leo Liu <sdl.web@gmail.com>
10523
10524 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10525 New variable.
10526 (inferior-octave-directory-tracker): Automatically re-sync
10527 default-directory.
10528 (octave-help): Improve handling of 'See also'.
10529
10530 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10531
10532 * doc-view.el: Minor naming convention tweaks.
10533 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10534
10535 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10536 even if there's no `display' property yet (bug#14435).
10537
10538 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10539
10540 * subr.el (unmsys--file-name): Rename from reveal-filename.
10541
10542 * Makefile.in (custom-deps, finder-data, autoloads)
10543 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10544 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10545 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10546
10547 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10550 error-completion on the first 2 args of condition-case (bug#14446).
10551 Don't burp at EOB.
10552
10553 2013-05-25 Leo Liu <sdl.web@gmail.com>
10554
10555 * comint.el (comint-previous-matching-input): Do not flood the
10556 *Messages* buffer with trivial messages.
10557
10558 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * progmodes/flymake.el (flymake-nop): Don't return a string.
10561 (flymake-set-at): Fix typo.
10562
10563 * simple.el (read--expression): New function, extracted from
10564 eval-expression. Set completion-at-point-functions (bug#14465).
10565 (eval-expression, eval-minibuffer): Use it.
10566
10567 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10568
10569 * progmodes/flymake.el (flymake-save-buffer-in-file)
10570 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10571 (flymake-selected-frame, flymake-log, flymake-ins-after)
10572 (flymake-set-at, flymake-get-buildfile-from-cache)
10573 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10574 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10575 Refine the doc string.
10576 (flymake-get-file-name-mode-and-masks): Reformat.
10577 (flymake-get-real-file-name-function): Fix a minor bug.
10578
10579 2013-05-24 Juri Linkov <juri@jurta.org>
10580
10581 * progmodes/grep.el (grep-mode-font-lock-keywords):
10582 Support =linenumber= format used by git-grep for lines with
10583 function names. (Bug#13549)
10584
10585 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10588 0 after a semi-colon; it works better for smie-auto-fill.
10589 (octave--indent-new-comment-line): New function.
10590 (octave-indent-new-comment-line): Use it (indirectly).
10591 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10592 modify comment-line-break-function.
10593
10594 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10595 (smie-setup): Use add-function to set it.
10596
10597 2013-05-24 Sam Steingold <sds@gnu.org>
10598
10599 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10600 argument (before the `interactive' argument).
10601
10602 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * image-mode.el (image-mode-winprops): Add winprops to
10605 image-mode-winprops-alist before running
10606 image-mode-new-window-functions.
10607 * doc-view.el (doc-view-new-window-function): Don't delay
10608 doc-view-goto-page via timers (bug#14435).
10609
10610 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10611
10612 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10613 (doc-view-desktop-save-buffer): New function.
10614 (doc-view-restore-desktop-buffer): New function.
10615 (desktop-buffer-mode-handlers):
10616 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10617 handler.
10618 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10619 `desktop-save-buffer' function.
10620
10621 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10622
10623 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10624 (tramp-gvfs-file-name-handler): Raise a user error when
10625 `tramp-gvfs-enabled' is nil.
10626 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10627 Do not raise a user error when loading package. (Bug#14447)
10628
10629 * net/xesam.el: Move to obsolete/.
10630
10631 2013-05-24 Glenn Morris <rgm@gnu.org>
10632
10633 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10634
10635 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10636
10637 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10638 (Info-find-node, Man-getpage-in-background): Declare.
10639
10640 * mail/unrmail.el (unrmail):
10641 Replace obsolete detect-coding-with-priority.
10642
10643 * net/socks.el (socks-split-string): Use this rather than split-string.
10644 (socks-nslookup-host): Update for above change.
10645 (dynamic-choice, s5-dynamic-choice-match)
10646 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10647 Comment out unused code.
10648
10649 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10650 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10651 (gud-tooltip-echo-area): Make obsolete.
10652 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10653
10654 * progmodes/js.el (js--optimize-arglist): Declare.
10655
10656 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10657
10658 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10659 (ediff-window-C): Declare.
10660
10661 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10662 Tweak requires to silence compiler.
10663
10664 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10665 (he-search-string, he-tried-table, he-expand-list)
10666 (he-init-string, he-string-member, he-substitute-string)
10667 (he-reset-string): Declare.
10668
10669 * obsolete/options.el (list-options): Use custom-variable-p,
10670 rather than obsolete alias.
10671
10672 2013-05-23 Sam Steingold <sds@gnu.org>
10673
10674 * simple.el (shell-command-on-region): Pass the `replace' argument
10675 down to `call-process-region' to comply with the doc as reported on
10676 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10677
10678 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * emacs-lisp/smie.el (smie-indent-forward-token)
10681 (smie-indent-backward-token): Handle string tokens (bug#14381).
10682
10683 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10684
10685 * ielm.el (ielm-menu): New menu.
10686 (inferior-emacs-lisp-mode): Set comment-start.
10687
10688 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10689
10690 * textmodes/reftex.el (reftex-ref-style-toggle):
10691 Fix deactivate action.
10692
10693 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10694 Add cleveref macros.
10695
10696 * textmodes/reftex-parse.el
10697 (reftex-locate-bibliography-files): Accept options for
10698 bibliography commands.
10699 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10700 Add addbibresource. Basic Biblatex support.
10701
10702 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10703
10704 * net/tramp-gvfs.el (top):
10705 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10706 when loading package. (Bug#14447)
10707
10708 2013-05-23 Glenn Morris <rgm@gnu.org>
10709
10710 * progmodes/js.el: No need to load comint when compiling.
10711 (ring-insert, comint-send-string, comint-send-input)
10712 (comint-last-input-end, ido-chop): Declare.
10713
10714 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10715 * vc/ediff-mult.el: Adjust requires.
10716 (ediff-directories-internal, ediff-directory-revisions-internal)
10717 (ediff-patch-file-internal): Declare.
10718 * vc/ediff-ptch.el: Adjust requires.
10719 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10720 (ediff-find-file): Autoload.
10721 * vc/ediff-util.el: No need to load ediff when compiling.
10722 (ediff-regions-internal): Declare.
10723 * vc/ediff-wind.el: Adjust requires.
10724 (ediff-compute-toolbar-width): Define when compiling.
10725 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10726 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10727 (dired-get-filename, dired-get-marked-files)
10728 (ediff-last-dir-patch, ediff-patch-default-directory)
10729 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10730 (ediff-patch-buffer-internal): Declare.
10731
10732 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10733 (ispell-process, ispell-buffer-local-words, lm-summary)
10734 (lm-section-start, lm-section-end): Declare.
10735 (checkdoc-ispell-init): Simplify.
10736
10737 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10738 (he-string-member, he-reset-string, he-substitute-string): Declare.
10739
10740 * eshell/em-ls.el: Adjust requires.
10741 (eshell-glob-regexp): Declare.
10742 * eshell/em-tramp.el: Adjust requires.
10743 (eshell-parse-command): Autoload.
10744 * eshell/em-xtra.el: Adjust requires.
10745 (eshell-parse-command): Autoload.
10746 * eshell/esh-ext.el: Adjust requires.
10747 (eshell-parse-command, eshell-close-handles): Autoload.
10748 * eshell/esh-io.el: Adjust requires.
10749 (eshell-output-filter): Autoload.
10750 * eshell/esh-util.el: No need to load tramp when compiling.
10751 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10752 Declare.
10753 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10754 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10755 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10756 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10757 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10758 * eshell/esh-opt.el, eshell/esh-proc.el:
10759 * eshell/esh-var.el: Adjust requires.
10760 * eshell/eshell.el: Do not require esh-util twice.
10761 (eshell-add-input-to-history): Declare.
10762 (eshell-command): Check history module is active before using it.
10763
10764 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10765
10766 2013-05-22 Leo Liu <sdl.web@gmail.com>
10767
10768 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10769
10770 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10771
10772 * autorevert.el (auto-revert-notify-add-watch)
10773 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10774 it indicates changes in file modification time.
10775
10776 2013-05-22 Glenn Morris <rgm@gnu.org>
10777
10778 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10779 Always delete the autoloaded function from the noruntime and
10780 unresolved functions lists.
10781
10782 * allout.el: No need to load epa, epg, overlay when compiling.
10783 (epg-context-set-passphrase-callback, epg-list-keys)
10784 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10785 (epg-key-user-id-list): Declare.
10786
10787 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10788 (viper-set-parsing-style-toggling-macro)
10789 (viper-set-emacs-state-searchstyle-macros):
10790 Use called-interactively-p on Emacs.
10791 (viper-looking-back): Make it an obsolete alias. Update callers.
10792 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10793 Use looking-back rather than viper-looking-back.
10794 (viper-tmp-insert-at-eob, viper-enlarge-region)
10795 (viper-read-string-with-history, viper-register-to-point)
10796 (viper-append-to-register, viper-change-state-to-vi)
10797 (viper-backward-char-carefully, viper-forward-char-carefully)
10798 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10799 (viper-change-state-to-emacs): Declare.
10800 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10801 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10802 * emulation/viper-mous.el: Do not load viper-cmd.
10803 (viper-backward-char-carefully, viper-forward-char-carefully)
10804 (viper-forward-word, viper-adjust-window): Declare.
10805
10806 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10807
10808 * progmodes/idlw-help.el (idlwave-help-fontify):
10809 Use called-interactively-p.
10810
10811 * term/w32console.el (w32-get-console-codepage)
10812 (w32-get-console-output-codepage): Declare.
10813
10814 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10815 Remove unnecessary declarations.
10816 (dframe-message): Doc fix.
10817
10818 * info.el (dframe-select-attached-frame, dframe-current-frame):
10819 Declare.
10820
10821 * speedbar.el (speedbar-message): Make it an obsolete alias.
10822 Update all callers.
10823 (speedbar-with-attached-buffer)
10824 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10825 (speedbar-with-writable): Use backquote.
10826 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10827 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10828 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10829 rather than speedbar- aliases.
10830 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10831 (speedbar-make-specialized-keymap, speedbar-insert-button)
10832 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10833 (speedbar-do-function-pointer): Declare.
10834 (rmail-speedbar-button, rmail-speedbar-find-file)
10835 (rmail-speedbar-move-message):
10836 Use dframe-with-attached-buffer rather than speedbar- alias.
10837 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10838 (dframe-message, speedbar-make-specialized-keymap)
10839 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10840 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10841 (speedbar-insert-button, dframe-select-attached-frame)
10842 (dframe-maybee-jump-to-attached-frame)
10843 (speedbar-change-initial-expansion-list)
10844 (speedbar-previously-used-expansion-list-name): Declare.
10845 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10846 Use dframe-message, dframe-with-attached-buffer rather than
10847 speedbar- aliases.
10848 (gud-sentinel): Silence compiler.
10849 * progmodes/vhdl-mode.el (speedbar-refresh)
10850 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10851 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10852 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10853 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10854 (speedbar-file-lists, speedbar-make-tag-line)
10855 (speedbar-line-directory, speedbar-goto-this-file)
10856 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10857 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10858 (speedbar-make-button, speedbar-reset-scanners)
10859 (speedbar-files-item-info, speedbar-line-text)
10860 (speedbar-find-file-in-frame, speedbar-set-timer)
10861 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10862 (speedbar-with-writable): Do not (re)define it.
10863 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10864 rather than speedbar- alias.
10865
10866 2013-05-21 Leo Liu <sdl.web@gmail.com>
10867
10868 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10869 menu items.
10870 (octave-mode): Tweak fill-nobreak-predicate.
10871 (inferior-octave-startup): Check process to avoid infinite loop.
10872 (inferior-octave): Pop to buffer first to show abornmal process
10873 exit information.
10874
10875 2013-05-21 Glenn Morris <rgm@gnu.org>
10876
10877 * printing.el (pr-menu-bar): Define when compiling.
10878
10879 2013-05-21 Leo Liu <sdl.web@gmail.com>
10880
10881 * progmodes/octave.el (octave-auto-fill): Remove.
10882 (octave-indent-new-comment-line): Improve.
10883 (octave-mode): Use auto fill mode through
10884 comment-line-break-function and fill-nobreak-predicate.
10885 (octave-goto-function-definition): Support DEFUN_DLD.
10886 (octave-beginning-of-defun): Small tweak.
10887 (octave-help): Show parent directory.
10888
10889 2013-05-21 Glenn Morris <rgm@gnu.org>
10890
10891 * files.el (dired-unmark):
10892 * progmodes/gud.el (gdb-input): Update declarations.
10893
10894 * calculator.el (electric, ehelp): No need to load when compiling.
10895 (Electric-command-loop, electric-describe-mode): Declare.
10896
10897 * doc-view.el (doc-view-current-converter-processes): Move before use.
10898
10899 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10900 Move MODE-set-explicitly definition before use.
10901
10902 * international/mule-diag.el (mule-diag):
10903 Don't use obsolete window-system-version.
10904
10905 * mail/feedmail.el (smtpmail): No need to load when compiling.
10906 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10907
10908 * mail/mail-utils.el (rfc822): No need to load when compiling.
10909 (rfc822-addresses): Autoload it.
10910 (mail-strip-quoted-names): Trivial simplification.
10911
10912 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10913 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10914
10915 * net/snmp-mode.el (tempo): Don't duplicate requires.
10916
10917 * progmodes/prolog.el (info): No need to load when compiling.
10918 (comint): Require before shell requires it.
10919 (Info-goto-node): Autoload it.
10920 (Info-follow-nearest-node): Declare.
10921 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10922
10923 * textmodes/artist.el (picture-mode-exit): Declare.
10924
10925 * textmodes/reftex-parse.el (reftex-parse-from-file):
10926 Trivial rewrite so the compiler can parse it better.
10927
10928 2013-05-20 Leo Liu <sdl.web@gmail.com>
10929
10930 * progmodes/octave.el (octave-help-mode-map)
10931 (octave-help-mode-finish-hook): New variables.
10932 (octave-help-mode, octave-help-mode-finish): New functions.
10933 (octave-help): Use octave-help-mode.
10934
10935 2013-05-20 Glenn Morris <rgm@gnu.org>
10936
10937 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10938
10939 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10940
10941 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10942 start at point, so that expansion starting right after opening
10943 slash in a regexp is recognized.
10944 (ruby-syntax-before-regexp-re): New defvar, extracted from
10945 ruby-syntax-propertize-function. Since the value of this regexp
10946 is looked up at runtime now, we should be able to turn
10947 `ruby-syntax-methods-before-regexp' into a defcustom later.
10948 (ruby-syntax-propertize-function): Split regexp matching into two
10949 parts, for opening and closing slashes. That allows us to skip
10950 over string interpolations and support multiline regexps.
10951 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10952 for them, which calls `ruby-syntax-propertize-expansion'.
10953 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10954 call to `ruby-syntax-propertize-function'.
10955 (ruby-syntax-propertize-expansion): Extracted from
10956 `ruby-syntax-propertize-expansions'. Handles one expansion.
10957 (ruby-syntax-propertize-percent-literal): Leave point right after
10958 the percent symbol, so that the expression expansion rule can
10959 propertize the contents.
10960 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10961 heredoc openers.
10962 (ruby-syntax-propertize-expansions): Remove.
10963
10964 2013-05-18 Juri Linkov <juri@jurta.org>
10965
10966 * man.el (Man-default-man-entry): Remove `-' from the end
10967 of the default value. (Bug#14400)
10968
10969 2013-05-18 Glenn Morris <rgm@gnu.org>
10970
10971 * comint.el (comint-password-prompt-regexp):
10972 Allow "password for XXX" where XXX contains colons (eg https://...).
10973
10974 2013-05-18 Leo Liu <sdl.web@gmail.com>
10975
10976 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10977 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10978 (octave-source-directories): Don't check process.
10979 (octave-source-directories, octave-find-definition): Doc fix.
10980
10981 2013-05-18 Glenn Morris <rgm@gnu.org>
10982
10983 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10984 Remove backspace/delete bindings. (Bug#14392)
10985
10986 * cus-dep.el (custom-make-dependencies): Sort the output.
10987 (custom-versions-load-alist): Convert comment to doc.
10988
10989 2013-05-17 Leo Liu <sdl.web@gmail.com>
10990
10991 * newcomment.el (comment-search-backward): Stricter in finding
10992 comment start. (Bug#14303)
10993
10994 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10995 (octave-comment-start-skip): Properly anchored.
10996
10997 2013-05-17 Leo Liu <sdl.web@gmail.com>
10998
10999 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11000 Clean up when turned off. (Bug#14395)
11001 (smie--highlight-matching-block-overlay): No longer buffer-local.
11002 (smie-highlight-matching-block): Adjust.
11003
11004 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11005
11006 Doc string fix for "nanoseconds" (Bug#14406).
11007 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11008 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11009
11010 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11011
11012 * calc/calc-units.el (math-extract-units): Preserve powers
11013 of units.
11014
11015 2013-05-17 Leo Liu <sdl.web@gmail.com>
11016
11017 * subr.el (delete-consecutive-dups): New function.
11018 * ido.el (ido-set-matches-1): Use it.
11019 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11020 * ido.el (ido-remove-consecutive-dups): Remove.
11021
11022 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11025 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11026 regexp-opt's `words'.
11027
11028 2013-05-16 Leo Liu <sdl.web@gmail.com>
11029
11030 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11031 (smie--highlight-matching-block-overlay)
11032 (smie--highlight-matching-block-lastpos)
11033 (smie--highlight-matching-block-timer): New variables.
11034 (smie-highlight-matching-block): New function.
11035 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11036 (smie-setup): Conditionally enable smie-blink-matching-open.
11037
11038 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11039
11040 Sync with upstream verilog-mode r840.
11041 * progmodes/verilog-mode.el (verilog-mode-version)
11042 (verilog-mode-release-date): Update.
11043 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11044 (verilog-sig-tieoff): Fix string error on
11045 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11046 (verilog-read-decls): Fix parameters confusing
11047 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11048
11049 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11050
11051 * subr.el (reveal-filename): New function.
11052
11053 * loadup.el: Compute Emacs executable versions on MS-Windows,
11054 where executables have the .exe extension. Add a hard link
11055 emacs-XX.YY.ZZ.exe on MS-Windows.
11056
11057 * Makefile.in (XARGS_LIMIT): New variable.
11058 (custom-deps, finder-data, autoloads)
11059 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11060 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11061 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11062 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11063
11064 2013-05-16 Leo Liu <sdl.web@gmail.com>
11065
11066 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11067 (octave-mode-menu, octave-mode-map): Remove its uses.
11068
11069 2013-05-16 Reto Zimmermann <reto@gnu.org>
11070
11071 Sync with upstream vhdl mode v3.34.2.
11072 * progmodes/vhdl-mode.el: Use `push' throughout.
11073 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11074 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11075 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11076 (vhdl-actual-generic-name): New option to derive actual generic name.
11077 (vhdl-port-paste-signals): Replace formal by actual generics.
11078 (vhdl-beautify): New name for old group vhdl-align. Update users.
11079 (vhdl-beautify-options): New option.
11080 (vhdl-last-input-event): New compat alias. Use throughout.
11081 (vhdl-goto-line): Replace user level function `goto-line'.
11082 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11083 vhdl-fix-statement-buffer.
11084 (vhdl-create-mode-menu): Add some entries.
11085 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11086 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11087 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11088 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11089 to force statements on one line.
11090 (vhdl-remove-trailing-spaces-region):
11091 New, split from vhdl-remove-trailing-spaces.
11092 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11093 Respect vhdl-beautify-options.
11094 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11095 (vhdl-update-sensitivity-list): Not add with index if exists without.
11096 Not include array index with signal. Ignore keywords in comments.
11097 (vhdl-get-visible-signals): Regexp tweaks.
11098 (vhdl-template-component-inst): Handle empty library.
11099 (vhdl-template-type): Add template for 'enum' type.
11100 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11101 Use vhdl-replace-string.
11102 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11103 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11104 (vhdl-speedbar-initialize): Update for above name change.
11105 (vhdl-compose-wire-components): Fix in handling of constants.
11106 (vhdl-error-regexp-emacs-alist): New variable.
11107 (vhdl-error-regexp-add-emacs): New function;
11108 adds support for new compile.el (Emacs 22+)
11109 (vhdl-generate-makefile-1): Change target order for single lib. units.
11110 Allow use of absolute file names.
11111
11112 2013-05-16 Leo Liu <sdl.web@gmail.com>
11113
11114 * simple.el (prog-indent-sexp): Indent enclosing defun.
11115
11116 2013-05-15 Glenn Morris <rgm@gnu.org>
11117
11118 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11119 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11120 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11121 (whitespace-highlight): Move to whitespace group.
11122
11123 * comint.el (comint-source):
11124 * pcmpl-linux.el (pcmpl-linux):
11125 * shell.el (shell-faces):
11126 * eshell/esh-opt.el (eshell-opt):
11127 * international/ccl.el (ccl): Remove empty custom groups.
11128
11129 * completion.el (dynamic-completion-mode):
11130 * jit-lock.el (jit-lock-debug-mode):
11131 * minibuffer.el (completion-in-region-mode):
11132 * type-break.el (type-break-mode-line-message-mode)
11133 (type-break-query-mode):
11134 * emulation/tpu-edt.el (tpu-edt-mode):
11135 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11136 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11137 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11138
11139 * term/xterm.el (xterm): Change parent group to terminals.
11140
11141 * master.el (master): Remove empty custom group.
11142 (master-mode): Remove unused :group argument.
11143 * textmodes/refill.el (refill): Remove empty custom group.
11144 (refill-mode): Remove unused :group argument.
11145
11146 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11147
11148 * cus-dep.el: Provide a feature.
11149 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11150 Don't mistakenly ignore files whose basenames match a basename
11151 from preloaded-file-list (eg cedet/ede/simple.el).
11152 Add a fallback method for getting :group.
11153
11154 2013-05-15 Juri Linkov <juri@jurta.org>
11155
11156 * isearch.el (isearch-char-by-name): Rename from
11157 `isearch-insert-char-by-name'. Doc fix.
11158 (isearch-forward): Mention `isearch-char-by-name' in
11159 the docstring. (Bug#13348)
11160
11161 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11162 `exit-minibuffer' instead of
11163 `isearch-nonincremental-exit-minibuffer'.
11164 (isearch-edit-string): Remove mention of
11165 `isearch-nonincremental-exit-minibuffer' from docstring.
11166 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11167 (isearch-forward-exit-minibuffer)
11168 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11169
11170 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * loadup.el: Just use unversioned DOC.
11173
11174 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11175 literals as extending to EOB.
11176 (nxml-last-fontify-end): Remove unused variable.
11177 (nxml-after-change1): Use with-silent-modifications.
11178 (nxml-extend-after-change-region): Simplify.
11179 (nxml-extend-after-change-region1): Remove function.
11180 (nxml-after-change1): Don't adjust for dependent regions.
11181 (nxml-fontify-matcher): Simplify.
11182 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11183 (xmltok-add-dependent): Remove function.
11184 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11185 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11186 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11187 unclosed <[[, <?, comment, and other literals as extending to EOB.
11188 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11189 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11190 Remove functions.
11191 (rng-do-some-validation-1): Don't mark dependent regions.
11192 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11193 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11194 (nxml-clear-dependent-regions): Remove functions.
11195 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11196 (nxml-ensure-scan-up-to-date):
11197 Don't clear&mark dependent regions.
11198
11199 2013-05-15 Leo Liu <sdl.web@gmail.com>
11200
11201 * progmodes/octave.el (octave-goto-function-definition):
11202 Improve and fix callers.
11203
11204 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11205
11206 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11207 the setter (bug#14387).
11208
11209 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11210 surrounding group (bug#14402).
11211
11212 2013-05-14 Juri Linkov <juri@jurta.org>
11213
11214 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11215 (Bug#14390)
11216
11217 2013-05-14 Glenn Morris <rgm@gnu.org>
11218
11219 * progmodes/f90.el (f90-imenu-generic-expression):
11220 Fix typo in 2013-05-08 change. (Bug#14402)
11221
11222 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11223
11224 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11225 Remove signals for which replies are never received.
11226
11227 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11228
11229 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11230 (gdb-handler-alist, gdb-handler-number): Remove variables.
11231 (gdb-handler-list): New variable.
11232 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11233 (gdb-pending-handler-p, gdb-handle-reply)
11234 (gdb-remove-all-pending-triggers): New functions.
11235 (gdb-discard-unordered-replies): New defcustom.
11236 (gdb-handler): New defstruct.
11237 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11238 instead of gdb-pending-triggers. Update docstring.
11239 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11240 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11241 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11242 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11243 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11244 (gdb-frame-handler): Pending triggers are now automatically managed.
11245 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11246 Remove argument.
11247 (gdb-input): Automatically handles pending triggers. Update docstring.
11248 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11249 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11250 Update comments.
11251 (gdb-done-or-error): Now use gdb-handle-reply.
11252
11253 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11254
11255 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11256 gdb-debug-log.
11257
11258 2013-05-14 Glenn Morris <rgm@gnu.org>
11259
11260 * subr.el (user-emacs-directory-warning): New option.
11261 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11262
11263 2013-05-14 Leo Liu <sdl.web@gmail.com>
11264
11265 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11266 during redisplay.
11267 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11268 (octave-font-lock-texinfo-comment): Fix invalid search bound
11269 error: wrong side of point.
11270
11271 2013-05-14 Glenn Morris <rgm@gnu.org>
11272
11273 * progmodes/flymake.el (flymake-xml-program): New option.
11274 (flymake-xml-init): Use it.
11275
11276 * term/xterm.el: Provide a feature.
11277
11278 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11279
11280 2013-05-13 Glenn Morris <rgm@gnu.org>
11281
11282 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11283 Add compat aliases as a hack workaround. (Bug#14384)
11284
11285 2013-05-13 Leo Liu <sdl.web@gmail.com>
11286
11287 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11288 ###, and %!.
11289 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11290 C-M-q.
11291 (octave-comment-start-skip): Include %!.
11292 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11293
11294 2013-05-12 Leo Liu <sdl.web@gmail.com>
11295
11296 * progmodes/octave.el (inferior-octave-startup): Store the value
11297 of __octave_srcdir__ for octave-source-directories.
11298 (inferior-octave-check-process): New function refactored out of
11299 inferior-octave-send-list-and-digest.
11300 (octave-source-directories)
11301 (octave-find-definition-filename-function): New variables.
11302 (octave-source-directories)
11303 (octave-find-definition-default-filename): New functions.
11304 (octave-find-definition): Improve to find functions implemented in C++.
11305
11306 2013-05-12 Glenn Morris <rgm@gnu.org>
11307
11308 * calendar/diary-lib.el (diary-outlook-format-1):
11309 Don't include dayname in the output. (Bug#14349)
11310
11311 2013-05-11 Glenn Morris <rgm@gnu.org>
11312
11313 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11314
11315 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11316 Treat cc-provide like provide.
11317
11318 2013-05-11 Kevin Ryde <user42@zip.com.au>
11319
11320 * cus-dep.el (custom-make-dependencies):
11321 Use generated-autoload-load-name for the sake of files such
11322 such cedet/semantic/bovine/c.el, where the base file name
11323 is not in load-path. (Bug#5277)
11324
11325 2013-05-11 Glenn Morris <rgm@gnu.org>
11326
11327 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11328 Provide features.
11329
11330 2013-05-11 Leo Liu <sdl.web@gmail.com>
11331
11332 * progmodes/octave.el (octave-indent-comment): Improve.
11333 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11334 (octave-eldoc-function-signatures, octave-eldoc-function):
11335 New functions.
11336 (octave-mode, inferior-octave-mode): Add eldoc support.
11337
11338 2013-05-11 Richard Stallman <rms@gnu.org>
11339
11340 * epa.el (epa-decrypt-file): Take output file name as argument
11341 and read it using `interactive'.
11342
11343 2013-05-11 Leo Liu <sdl.web@gmail.com>
11344
11345 * progmodes/octave.el (octave-beginning-of-line)
11346 (octave-end-of-line): Check before using up-list because it jumps
11347 out of more syntactic contructs since moving to smie.
11348 (octave-indent-comment): New function.
11349 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11350 (octave-begin-keywords, octave-end-keywords)
11351 (octave-reserved-words, octave-smie-bnf-table)
11352 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11353
11354 2013-05-11 Glenn Morris <rgm@gnu.org>
11355
11356 * faces.el (internal-face-x-get-resource):
11357 * frame.el (ns-display-monitor-attributes-list):
11358 * calc/calc-aent.el (math-to-radians-2):
11359 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11360 Fix declarations.
11361
11362 * calc/calc-menu.el: Make it loadable in isolation.
11363
11364 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11365 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11366 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11367 (eudc-bbdb-query-internal): Require 'bbdb.
11368
11369 * lpr.el (lpr-headers-switches):
11370 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11371
11372 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11373
11374 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11375
11376 * term.el (term-set-escape-char): Make it idempotent.
11377
11378 2013-05-10 Leo Liu <sdl.web@gmail.com>
11379
11380 * progmodes/octave.el (inferior-octave-completion-table):
11381 No longer a function and all uses changed. Use cache to speed up
11382 completion due to bug#11906.
11383 (octave-beginning-of-defun): Re-write to be more general.
11384
11385 2013-05-10 Glenn Morris <rgm@gnu.org>
11386
11387 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11388
11389 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * comint.el (comint-redirect-send-command-to-process): Use :around
11392 rather than :override for comint-redirect-filter.
11393 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11394 Call it instead of comint-redirect-original-filter-function (which
11395 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11396
11397 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11398
11399 * frame.el (display-monitor-attributes-list): Add NS case.
11400 (ns-display-monitor-attributes-list): Declare.
11401
11402 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11403
11404 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11405
11406 2013-05-09 Glenn Morris <rgm@gnu.org>
11407
11408 * international/fontset.el (vertical-centering-font-regexp):
11409 Set standard-value.
11410
11411 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11412
11413 * bookmark.el (bookmark-search-delay):
11414 * cus-start.el (vertical-centering-font-regexp):
11415 * ps-mule.el (ps-mule-font-info-database-default):
11416 * ps-print.el (ps-default-fg, ps-default-bg):
11417 * type-break.el (type-break-good-break-interval):
11418 * whitespace.el (whitespace-indentation-regexp)
11419 (whitespace-space-after-tab-regexp):
11420 * emacs-lisp/testcover.el (testcover-1value-functions)
11421 (testcover-noreturn-functions, testcover-progn-functions)
11422 (testcover-prog1-functions):
11423 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11424 * eshell/em-glob.el (eshell-glob-translate-alist):
11425 * play/tetris.el (tetris-tty-colors):
11426 * progmodes/cpp.el (cpp-face-default-list):
11427 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11428 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11429 (idlwave-help-browser-generic-args):
11430 * progmodes/make-mode.el (makefile-special-targets-list):
11431 * progmodes/python.el (python-shell-virtualenv-path):
11432 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11433 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11434 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11435 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11436 * textmodes/reftex-vars.el (reftex-format-label-function):
11437 * textmodes/remember.el (remember-diary-file): Fix custom types.
11438
11439 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11440 Add :version.
11441
11442 2013-05-09 Leo Liu <sdl.web@gmail.com>
11443
11444 * progmodes/octave.el (inferior-octave-completion-at-point):
11445 Restore file completion. (Bug#14300)
11446 (inferior-octave-startup): Fix incorrect highlighting for the
11447 first prompt.
11448
11449 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * progmodes/ruby-mode.el: First cut at SMIE support.
11452 (ruby-use-smie): New var.
11453 (ruby-smie-grammar): New constant.
11454 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11455 (ruby-smie--forward-token, ruby-smie--backward-token)
11456 (ruby-smie-rules): New functions.
11457 (ruby-mode-variables): Setup SMIE if applicable.
11458
11459 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11460
11461 * simple.el (line-move-visual): Signal beginning/end of buffer
11462 only if vertical-motion moved less than it was requested. Avoids
11463 silly incorrect error messages when there are display strings with
11464 multiple newlines at EOL.
11465
11466 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11469 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11470 (prolog-char-quote-workaround):
11471 * progmodes/cperl-mode.el (cperl-under-as-char):
11472 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11473 Mark as obsolete.
11474 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11475 their declaration.
11476 (vhdl-mode-syntax-table-init): Remove.
11477
11478 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11479 last change.
11480
11481 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11482 syntax for "_".
11483 (ld-script-font-lock-keywords):
11484 Change regexps to use things like \_< and \_>.
11485
11486 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11487 Change all regexps to use things like \_< and \_>.
11488
11489 * progmodes/autoconf.el (autoconf-definition-regexp)
11490 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11491 Handle a _ with symbol syntax.
11492 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11493
11494 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11495 Consolidate declaration.
11496 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11497 the declaration.
11498 (ada-create-syntax-table): Remove.
11499 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11500 already has the right syntax nowadays.
11501 (ada-goto-next-word): Don't change the syntax of "_".
11502
11503 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11504 with-wrapper-hook.
11505
11506 2013-05-08 Sam Steingold <sds@gnu.org>
11507
11508 * thingatpt.el (thing-at-point): Accept optional second argument
11509 NO-PROPERTIES to strip the text properties from the return value.
11510 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11511 to `thing-at-point' instead of stripping the properties ourselves.
11512 Also, when `thing-at-point' fails to find a url, prepend "http://"
11513 to the filename at point on the assumption that the user is
11514 pointing at something like gnu.org/gnu.
11515
11516 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11517
11518 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11519 * faces.el (crm-separator):
11520 Silence byte-compiler.
11521
11522 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11523 (tool-bar-map): Remove unneeded defvars.
11524
11525 2013-05-08 Leo Liu <sdl.web@gmail.com>
11526
11527 Re-work a fix for bug#10994 based on Le Wang's patch.
11528 * ido.el (ido-remove-consecutive-dups): New helper.
11529 (ido-completing-read): Use it.
11530 (ido-chop): Revert fix for bug#10994.
11531
11532 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11533
11534 * cus-edit.el (custom-save-variables):
11535 Pretty-print long values. (Bug#14187)
11536
11537 2013-05-08 Glenn Morris <rgm@gnu.org>
11538
11539 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11540 (m4-mode-syntax-table): Init in the defvar.
11541 (m4-mode-abbrev-table): Let define-derived-mode define it.
11542
11543 2013-05-08 Tom Tromey <tromey@redhat.com>
11544
11545 * progmodes/m4-mode.el (m4-mode-syntax-table):
11546 Do not treat "_" as word constituent. (Bug#14167)
11547
11548 2013-05-07 Glenn Morris <rgm@gnu.org>
11549
11550 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11551 Remove explicit eshell-isearch-cancel-map.
11552
11553 * progmodes/f90.el (f90-smart-end-names): New option.
11554 (f90-smart-end): Doc fix.
11555 (f90-end-block-optional-name): New constant.
11556 (f90-block-match): Respect f90-smart-end-names.
11557
11558 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11559
11560 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11561 about implicit semi-colons (bug#14218).
11562
11563 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11564
11565 * frame.el (display-monitor-attributes-list)
11566 (frame-monitor-attributes): New functions.
11567
11568 2013-05-06 Leo Liu <sdl.web@gmail.com>
11569
11570 * progmodes/octave.el (octave-syntax-propertize-function): Change
11571 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11572 (octave-font-lock-keywords): Use octave-operator-regexp.
11573 (octave-completion-at-point): Rename from
11574 octave-completion-at-point-function.
11575 (inferior-octave-directory-tracker): Robustify.
11576 (octave-text-functions): Remove and fix its uses. No such things
11577 any more.
11578
11579 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11580
11581 * emacs-lisp/trace.el (trace--display-buffer): New function.
11582 (trace-make-advice): Use it.
11583
11584 2013-05-06 Juri Linkov <juri@jurta.org>
11585
11586 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11587 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11588 Doc fix.
11589 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11590 in the help string. (Bug#12985)
11591
11592 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11593
11594 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11595
11596 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * progmodes/perl-mode.el: Add support for here documents.
11599 (perl-syntax-propertize-function): Match here-doc markers.
11600 (perl-syntax-propertize-special-constructs): Find their end.
11601 (perl-imenu-generic-expression): Use [:alnum:].
11602
11603 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11604 (advice--add-function): Refresh the advice if already present
11605 (bug#14317).
11606
11607 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11608
11609 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11610
11611 2013-05-06 Glenn Morris <rgm@gnu.org>
11612
11613 * w32-fns.el (w32-charset-info-alist): Declare.
11614
11615 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11616 of its defcustom properties.
11617 (eshell-cmpl-initialize): No need to load pcomplete.
11618
11619 * generic-x.el: No need to require comint when compiling.
11620
11621 * net/eudc-export.el: Make it loadable without bbdb.
11622 (top-level): Use require rather than load-library.
11623 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11624 (eudc-batch-export-records-to-bbdb)
11625 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11626 Require bbdb.
11627
11628 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11631 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11632 some tweaks, instead.
11633
11634 2013-05-05 Leo Liu <sdl.web@gmail.com>
11635
11636 * progmodes/octave.el (octave-font-lock-keywords)
11637 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11638 (inferior-octave-send-list-and-digest): Improve error message.
11639 (octave-mode, inferior-octave-mode): Use setq-local.
11640 (octave-help): Set info-lookup-mode.
11641
11642 2013-05-05 Richard Stallman <rms@gnu.org>
11643
11644 * vc/compare-w.el (compare-windows-whitespace):
11645 Treat no-break space as whitespace.
11646
11647 * mail/rmailsum.el (rmail-summary-rmail-update):
11648 Detect empty summary and don't change selected message.
11649 (rmail-summary-goto-msg): Likewise.
11650
11651 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11652 Doc fixes, rename args.
11653
11654 2013-05-05 Alan Mackenzie <acm@muc.de>
11655
11656 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11657
11658 2013-05-05 Juri Linkov <juri@jurta.org>
11659
11660 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11661 to not add the length of the summary segment to the return value.
11662 (Bug#14125)
11663
11664 2013-05-05 Leo Liu <sdl.web@gmail.com>
11665
11666 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11667 (inferior-octave-output-filter): Remove.
11668 (octave-send-region, inferior-octave-startup): Fix callers.
11669 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11670 (octave-binary-file-extensions): New user variable.
11671 (octave-find-definition): Confirm if opening binary files.
11672 (octave-help-file): Use octave-find-definition to get the binary
11673 confirmation.
11674 (octave-help): Adjust for octave-help-file change.
11675
11676 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11677
11678 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11679 Merge the two entries that handle function definitions.
11680 (pascal--syntax-propertize): New const.
11681 (pascal-mode): Use it. Use setq-local.
11682
11683 2013-05-04 Glenn Morris <rgm@gnu.org>
11684
11685 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11686 (diary-from-outlook): Respect diary-from-outlook-function.
11687
11688 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11691 Move the declaration from C.
11692 (read-minibuffer, eval-minibuffer): Move from C.
11693 (completion-setup-function): Avoid minibuffer-completion-contents.
11694
11695 2013-05-03 Leo Liu <sdl.web@gmail.com>
11696
11697 * progmodes/octave.el (octave-font-lock-keywords): Do not
11698 dehighlight 'end' in comments or strings.
11699 (octave-completing-read, octave-goto-function-definition):
11700 New helpers.
11701 (octave-help-buffer): New user variable.
11702 (octave-help-file, octave-help-function): New button types.
11703 (octave-help): New command and bind it to C-h ;.
11704 (octave-find-definition): New command and bind it to M-.
11705 (user-error): Alias to error if not defined.
11706
11707 2013-05-02 Leo Liu <sdl.web@gmail.com>
11708
11709 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11710 for \. (bug#14332)
11711 (octave-font-lock-keywords): Include [ and {.
11712
11713 2013-05-02 Leo Liu <sdl.web@gmail.com>
11714
11715 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11716 (inferior-octave): Remove calling comint-mode and return the buffer.
11717 (inferior-octave-startup): Cosmetic changes.
11718
11719 2013-05-02 Leo Liu <sdl.web@gmail.com>
11720
11721 * progmodes/octave.el (octave-syntax-propertize-function):
11722 Include the case when ' is at line beginning. (Bug#14336)
11723
11724 2013-05-02 Glenn Morris <rgm@gnu.org>
11725
11726 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11727 * desktop.el (vc-dir-mode): Just autoload it here.
11728
11729 2013-05-02 Alan Mackenzie <acm@muc.de>
11730
11731 Eliminate variable c-standard-font-lock-fontify-region-function.
11732 * progmodes/cc-mode.el
11733 (c-standard-font-lock-fontify-region-function): Remove.
11734 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11735
11736 2013-05-01 Leo Liu <sdl.web@gmail.com>
11737
11738 * progmodes/octave.el: Compatible with older emacs-24 releases.
11739 (inferior-octave-has-built-in-variables): Remove. Built-in
11740 variables were removed from Octave in 2007.
11741 (inferior-octave-startup): Fix uses.
11742 (comint-line-beginning-position): Remove compatibility code for
11743 emacs 21.
11744
11745 2013-05-01 Juri Linkov <juri@jurta.org>
11746
11747 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11748
11749 2013-05-01 Juri Linkov <juri@jurta.org>
11750
11751 * comint.el (comint-previous-matching-input): Don't print message
11752 "History item: %d" when `isearch-mode' is active.
11753 (comint-history-isearch-message): Print message "History item: %d"
11754 when `comint-input-ring-index' is not empty and this function is
11755 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11756
11757 2013-05-01 Leo Liu <sdl.web@gmail.com>
11758
11759 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11760 definitions. Use completion-at-point to insert keywords.
11761 (octave-abbrev-start): Remove.
11762 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11763
11764 2013-04-30 Leo Liu <sdl.web@gmail.com>
11765
11766 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11767 change.
11768
11769 2013-04-30 Alan Mackenzie <acm@muc.de>
11770
11771 Handle arbitrarily long C++ member initialisation lists.
11772 * progmodes/cc-engine.el (c-back-over-member-initializers):
11773 new function.
11774 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11775 (most) member init lists.
11776
11777 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11778
11779 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11780 variable.
11781
11782 2013-04-30 Leo Liu <sdl.web@gmail.com>
11783
11784 * progmodes/octave.el (octave-variables): Remove. No builtin
11785 variables any more. All converted to functions.
11786 (octave-font-lock-keywords, octave-completion-at-point-function):
11787 Fix uses.
11788 (octave-font-lock-texinfo-comment): New user variable.
11789 (octave-texinfo-font-lock-keywords): New variable for texinfo
11790 comment block.
11791 (octave-function-comment-block): New face.
11792 (octave-font-lock-texinfo-comment): New function.
11793 (octave-mode): Font lock texinfo comment block.
11794
11795 2013-04-29 Leo Liu <sdl.web@gmail.com>
11796
11797 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11798 indexing expression.
11799 (octave-continuation-string): Do not use \.
11800 (inferior-octave-complete-impossible): Remove.
11801 (inferior-octave-completion-table)
11802 (inferior-octave-completion-at-point): Remove its uses.
11803 (inferior-octave-startup): completion_matches was introduced to
11804 Octave in 1996 so safe to assume it.
11805 (octave-function-file-comment): Improve to follow how Octave does it.
11806 (octave-update-function-file-comment): Tweak.
11807
11808 2013-04-29 Leo Liu <sdl.web@gmail.com>
11809
11810 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11811 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11812 (octave-function-file-comment): Fix typo.
11813 (octave-sync-function-file-names): Use read-char-choice.
11814
11815 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11816
11817 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11818 to t for the less important warnings.
11819
11820 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11821
11822 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11823
11824 2013-04-27 Glenn Morris <rgm@gnu.org>
11825
11826 * vc/log-view.el (log-view-current-entry):
11827 Treat "---" separator lines as part of the following rev. (Bug#14169)
11828
11829 2013-04-27 Juri Linkov <juri@jurta.org>
11830
11831 * subr.el (read-number): Doc fix about using it by interactive
11832 code letter `n'. (Bug#14254)
11833
11834 2013-04-27 Juri Linkov <juri@jurta.org>
11835
11836 * desktop.el (desktop-auto-save-timeout): New option.
11837 (desktop-file-checksum): New variable.
11838 (desktop-save): Add optional arg `auto-save' and don't auto-save
11839 if nothing changed.
11840 (desktop-auto-save-timer): New variable.
11841 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11842 (after-init-hook): Call `desktop-auto-save-set-timer'.
11843 Suggested by Reuben Thomas <rrt@sc3d.org> in
11844 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11845
11846 2013-04-27 Leo Liu <sdl.web@gmail.com>
11847
11848 * progmodes/octave.el (octave-function-file-p)
11849 (octave-skip-comment-forward, octave-function-file-comment)
11850 (octave-update-function-file-comment): New functions.
11851 (octave-mode-map): Bind C-c ; to
11852 octave-update-function-file-comment.
11853 (octave-mode-menu): Add octave-update-function-file-comment.
11854 (octave-mode, inferior-octave-mode): Fix doc-string.
11855 (octave-insert-defun): Conform to Octave's coding convention.
11856 (Bug#14285)
11857
11858 * files.el (basic-save-buffer): Don't let errors in
11859 before-save-hook prevent saving buffer.
11860
11861 2013-04-20 Roland Winkler <winkler@gnu.org>
11862
11863 * faces.el (read-face-name): Use completing-read if arg multiple
11864 is nil.
11865
11866 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11867
11868 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11869 displayed, move point to after the totals line.
11870 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11871 for the details.
11872
11873 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11876 Add current dir to the load-path.
11877 (package-generate-autoloads): Don't rely on
11878 autoload-ensure-default-file.
11879
11880 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11881
11882 * textmodes/remember.el (remember-store-in-files): Document that
11883 the file name format is passed to `format-time-string'.
11884
11885 2013-04-26 Leo Liu <sdl.web@gmail.com>
11886
11887 * progmodes/octave.el (octave-sync-function-file-names): New function.
11888 (octave-mode): Use it in before-save-hook.
11889
11890 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11891
11892 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11893 (bug#14274).
11894
11895 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11896 \n and comment, even if it's not an implicit ; (bug#14218).
11897
11898 2013-04-26 Glenn Morris <rgm@gnu.org>
11899
11900 * subr.el (read-number): Once more use `read' rather than
11901 `string-to-number', to trap non-numeric input. (Bug#14254)
11902
11903 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11904
11905 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11906 Use `syntax-multiline' text property consistently instead of
11907 `font-lock-multiline'. (Bug#14237)
11908
11909 2013-04-26 Glenn Morris <rgm@gnu.org>
11910
11911 * emacs-lisp/shadow.el (list-load-path-shadows):
11912 No longer necessary to check for duplicate simple.el, since
11913 2012-07-07 change to init_lread to not include installation lisp
11914 directories in load-path when running uninstalled. (Bug#14270)
11915
11916 2013-04-26 Leo Liu <sdl.web@gmail.com>
11917
11918 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11919 (octave-mode, inferior-octave-mode): Use setq-local.
11920 (octave-not-in-string-or-comment-p): Rename to
11921 octave-in-string-or-comment-p.
11922 (octave-in-comment-p, octave-in-string-p)
11923 (octave-in-string-or-comment-p): Replace defsubst with defun.
11924
11925 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11926
11927 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11928
11929 2013-04-25 Bastien Guerry <bzg@gnu.org>
11930
11931 * textmodes/remember.el (remember-data-directory)
11932 (remember-directory-file-name-format): Fix custom types.
11933
11934 2013-04-25 Leo Liu <sdl.web@gmail.com>
11935
11936 * progmodes/octave.el (octave-completion-at-point-function):
11937 Make use of inferior octave process.
11938 (octave-initialize-completions): Remove.
11939 (inferior-octave-completion-table): New function.
11940 (inferior-octave-completion-at-point): Use it.
11941 (octave-completion-alist): Remove.
11942
11943 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11946 (opascal-mode-syntax-table): New var.
11947 (opascal-literal-kind, opascal-is-literal-end)
11948 (opascal-literal-token-at): Rewrite.
11949 (opascal--literal-start-re, opascal-font-lock-keywords)
11950 (opascal--syntax-propertize): New constants.
11951 (opascal-font-lock-defaults): Adjust.
11952 (opascal-mode): Use them. Set comment-<foo> variables as well.
11953 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11954 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11955 (delphi-other-face, opascal-other-face): Remove face variables.
11956 (opascal-save-state): Remove macro.
11957 (opascal-fontifying-progress-step): Remove constant.
11958 (opascal--ignore-changes): Remove var.
11959 (opascal-set-token-property, opascal-parse-next-literal)
11960 (opascal-is-stable-literal, opascal-complete-literal)
11961 (opascal-is-literal-start, opascal-face-of)
11962 (opascal-parse-region, opascal-parse-region-until-stable)
11963 (opascal-fontify-region, opascal-after-change)
11964 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11965 (opascal-debug-parse-region, opascal-debug-parse-window)
11966 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11967 (opascal-debug-fontify-buffer): Remove.
11968 (opascal-debug-mode-map): Adjust accordingly.
11969
11970 2013-04-25 Leo Liu <sdl.web@gmail.com>
11971
11972 Merge octave-mod.el and octave-inf.el into octave.el with some
11973 cleanups.
11974 * progmodes/octave.el: New file renamed from octave-mod.el.
11975 * progmodes/octave-inf.el: Merged into octave.el.
11976 * progmodes/octave-mod.el: Renamed to octave.el.
11977
11978 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11979
11980 * textmodes/reftex-vars.el
11981 (reftex-label-ignored-macros-and-environments): New defcustom.
11982
11983 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11984
11985 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11988 (smie-indent-keyword): Improve the check to ensure that the next
11989 comment is really on the same line.
11990 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11991
11992 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11993 semi-colons if the line is not otherwise empty (bug#14218).
11994
11995 2013-04-25 Glenn Morris <rgm@gnu.org>
11996
11997 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11998
11999 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * progmodes/opascal.el (opascal-set-token-property): Rename from
12002 opascal-set-text-properties and only set `token' (bug#14134).
12003 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12004 (opascal-literal-text-properties): Remove.
12005 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12006 Adjust callers.
12007
12008 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12009
12010 * textmodes/remember.el (remember-handler-functions): Add an
12011 option for a new handler `remember-store-in-files'.
12012 (remember-data-directory, remember-directory-file-name-format):
12013 New options.
12014 (remember-store-in-files): New function to store remember notes
12015 as separate files within a directory.
12016
12017 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12018
12019 * progmodes/compile.el (compilation-next-error-function):
12020 Pass "formats" to compilation-find-file (bug#11777).
12021
12022 2013-04-24 Glenn Morris <rgm@gnu.org>
12023
12024 * vc/vc-bzr.el (vc-bzr-print-log):
12025 * vc/vc-hg.el (vc-hg-print-log):
12026 * vc/vc-svn.el (vc-svn-print-log):
12027 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12028
12029 * vc/vc-bzr.el (vc-bzr-print-log):
12030 * vc/vc-cvs.el (vc-cvs-print-log):
12031 * vc/vc-git.el (vc-git-print-log):
12032 * vc/vc-hg.el (vc-hg-print-log):
12033 * vc/vc-mtn.el (vc-mtn-print-log):
12034 * vc/vc-rcs.el (vc-rcs-print-log):
12035 * vc/vc-sccs.el (vc-sccs-print-log):
12036 * vc/vc-svn.el (vc-svn-print-log):
12037 * vc/vc.el (vc-print-log-internal): Doc fixes.
12038
12039 2013-04-23 Glenn Morris <rgm@gnu.org>
12040
12041 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12042 Remove venerable code attempting to avoid substitute-command-keys.
12043
12044 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12045
12046 * textmodes/reftex-vars.el (reftex-label-regexps):
12047 Call `reftex-compile-variables' after changes to this variable.
12048
12049 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12052 Use lexical-binding.
12053 (jit-lock-force-redisplay): Use markers, check buffer's continued
12054 existence and beware narrowed buffers.
12055 (jit-lock-fontify-now): Adjust call accordingly.
12056
12057 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12060 to avoid misleading the user.
12061
12062 2013-04-22 Leo Liu <sdl.web@gmail.com>
12063
12064 * info-look.el: Prefer latex2e.info. (Bug#14240)
12065
12066 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12067
12068 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12069
12070 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12071 * net/tramp.el (tramp-call-process): ... here.
12072 (tramp-set-completion-function, tramp-parse-putty):
12073 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12074 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12075 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12076 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12077 (tramp-call-local-coding-command): Use `tramp-call-process'
12078 instead of `tramp-compat-call-process'.
12079
12080 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12081 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12082 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12083 (tramp-find-inline-compress): Improve traces.
12084 (tramp-maybe-send-script): Check for Perl binary.
12085 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12086
12087 2013-04-22 Daiki Ueno <ueno@gnu.org>
12088
12089 * epg.el (epg-context-pinentry-mode): New function.
12090 (epg-context-set-pinentry-mode): New function.
12091 (epg--start): Pass --pinentry-mode option to gpg command.
12092
12093 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12094
12095 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12096 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12097 `completion-at-point'. (Bug#13774)
12098
12099 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12100 default key binding for `describe-distribution' has been moved to
12101 `C-h C-o'. (Bug#13970)
12102
12103 2013-04-21 Glenn Morris <rgm@gnu.org>
12104
12105 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12106 Add doc strings.
12107 (vc-print-log): Clarify interactive prompt.
12108
12109 2013-04-20 Glenn Morris <rgm@gnu.org>
12110
12111 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12112 No longer include timestamp etc information.
12113
12114 2013-04-20 Roland Winkler <winkler@gnu.org>
12115
12116 * faces.el (read-face-name): Bug fix, return just one face if arg
12117 multiple is nil. (Bug#14209)
12118
12119 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12122 (remove-function): Autoload.
12123
12124 * comint.el (comint-redirect-original-filter-function): Remove.
12125 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12126 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12127 (vc-cvs-annotate-command):
12128 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12129 * progmodes/prolog.el (prolog-consult-compile):
12130 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12131 Use add/remove-function instead.
12132 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12133 (gud-tooltip-process-output, gud-tooltip-tips):
12134 Use add/remove-function instead.
12135 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12136 (scheme-interaction-mode, exit-scheme-interaction-mode):
12137 Use add/remove-function instead.
12138
12139 * vc/vc-dispatcher.el: Use lexical-binding.
12140 (vc--process-sentinel): Rename from vc-process-sentinel.
12141 Change last arg to be the code to run. Don't use vc-previous-sentinel
12142 and vc-sentinel-commands any more.
12143 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12144 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12145
12146 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12147
12148 * progmodes/sh-script.el (sh-imenu-generic-expression):
12149 Handle function names with a single character. (Bug#14111)
12150
12151 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12152
12153 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12154 for subroutines defined in an eval (bug#14182).
12155
12156 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12157
12158 * bookmark.el (bookmark-completing-read): Improve handling of empty
12159 string (bug#14176).
12160
12161 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12164
12165 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12166
12167 New faster Imenu implementation (bug#14058).
12168 * progmodes/python.el:
12169 (python-imenu-prev-index-position):
12170 (python-imenu-format-item-label-function)
12171 (python-imenu-format-parent-item-label-function)
12172 (python-imenu-format-parent-item-jump-label-function):
12173 New vars.
12174 (python-imenu-format-item-label)
12175 (python-imenu-format-parent-item-label)
12176 (python-imenu-format-parent-item-jump-label)
12177 (python-imenu--put-parent, python-imenu--build-tree)
12178 (python-imenu-create-index, python-imenu-create-flat-index)
12179 (python-util-popn): New functions.
12180 (python-mode): Set imenu-create-index-function to
12181 python-imenu-create-index.
12182
12183 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 * winner.el (winner-active-region): Use region-active-p, activate-mark
12186 and deactivate-mark (bug#14225).
12187
12188 * simple.el (deactivate-mark): Don't inline it.
12189
12190 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12191
12192 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12193
12194 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12195
12196 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12197 file extensions from the archive-mode entry in order to prefer
12198 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12199
12200 2013-04-18 Leo Liu <sdl.web@gmail.com>
12201
12202 * bindings.el (help-event-list): Add ?\?.
12203
12204 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * subr.el (with-wrapper-hook): Declare obsolete.
12207 * simple.el (filter-buffer-substring-function): New hook.
12208 (filter-buffer-substring): Use it.
12209 (filter-buffer-substring-functions): Mark obsolete.
12210 * minibuffer.el (completion-in-region-function): New hook.
12211 (completion-in-region): Use it.
12212 (completion-in-region-functions): Mark obsolete.
12213 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12214 * abbrev.el (abbrev-expand-function): New hook.
12215 (expand-abbrev): Use it.
12216 (abbrev-expand-functions): Mark obsolete.
12217 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12218 and :filter-return.
12219
12220 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12221
12222 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12223 and do not care about match data.
12224
12225 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12226
12227 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12228 completion tables when completing error conditions and
12229 `declare' arguments.
12230 (lisp-complete-symbol, field-complete): Mark as obsolete.
12231 (check-parens): Unmatched parens are user errors.
12232 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12233
12234 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12235
12236 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12237 command changed buffer (ie. `flyspell-pre-buffer' is not current
12238 buffer), which prevents making decisions based on invalid value of
12239 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12240 cause an error when `flyspell-pre-point' was nil after switching
12241 buffers.
12242 (flyspell-post-command-hook): No longer needs to change buffers when
12243 checking pre-word. While at it remove unnecessary progn.
12244
12245 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12246
12247 * textmodes/ispell.el (ispell-add-per-file-word-list):
12248 Fix `flyspell-correct-word-before-point' error when accepting
12249 words and `coment-padding' is an integer by using
12250 `comment-normalize-vars' (Bug #14214).
12251
12252 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12253
12254 New defun movement commands.
12255 * progmodes/python.el (python-nav--syntactically)
12256 (python-nav--forward-defun, python-nav-backward-defun)
12257 (python-nav-forward-defun): New functions.
12258
12259 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12260
12261 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12262 (python-syntax-context): Use named compiler-macro for backwards
12263 compatibility with Emacs 24.x.
12264
12265 2013-04-17 Leo Liu <sdl.web@gmail.com>
12266
12267 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12268 octave-hide-process-buffer.
12269
12270 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12273 (bug#14216).
12274
12275 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12276
12277 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12278 Fix adjustment of offset when receiving incomplete responses from GDB
12279 (bug#14129).
12280
12281 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12284 python-mode-abbrev-table.
12285 (python-skeleton-define): Adjust accordingly.
12286 (python-mode-abbrev-table): New table that inherits from it so that
12287 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12288
12289 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12290 (abbrev-symbol): Use it.
12291 (abbrev--before-point): Use it since we already handle inheritance.
12292
12293 2013-04-16 Leo Liu <sdl.web@gmail.com>
12294
12295 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12296 binding to info-lookup-symbol.
12297
12298 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12299
12300 * minibuffer.el (completion--twq-all):
12301 * term/ns-win.el (ns-initialize-window-system):
12302 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12303
12304 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12307 global bindings.
12308
12309 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12310
12311 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12312
12313 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12314 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12315 to nil.
12316 (ruby-end-of-defun): Remove the unused arg, change the docstring
12317 to reflect that this function is only used as the value of
12318 `end-of-defun-function'.
12319 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12320 to reflect an earlier change that beginning/end-of-defun functions
12321 jump between methods in a class definition, as well as top-level
12322 functions.
12323
12324 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * minibuffer.el (minibuffer-complete): Don't just scroll
12327 a *Completions* that's been iconified.
12328 (minibuffer-force-complete): Make sure repetitions do cycle when going
12329 through completion-in-region -> minibuffer-complete.
12330
12331 2013-04-15 Alan Mackenzie <acm@muc.de>
12332
12333 Correct the placement of c-cpp-delimiters when there're #s not at
12334 col 0.
12335
12336 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12337 place a submatch around the #.
12338 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12339 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12340 on the #, not BOL.
12341
12342 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12343
12344 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12345 (advice--member-p): New arg `name'.
12346 (advice--add-function, advice-member-p): Use it (bug#14202).
12347
12348 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12349
12350 Reformulate java imenu-generic-expression.
12351 The old expression contained ill formed regexps.
12352
12353 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12354 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12355 (cc-imenu-java-method-arg-regexp): New defconsts.
12356 (cc-imenu-java-build-type-args-regex): New defun.
12357 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12358 handling of spaces in the regexp.
12359
12360 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12361
12362 * textmodes/ispell.el (ispell-command-loop): Remove
12363 flyspell highlight of a word when ispell accepts it (bug #14178).
12364
12365 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12366
12367 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12368 uses code from the previous `ange-ftp-run-real-handler'.
12369 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12370 only in case that function exist. This is needed for proper
12371 unloading of Tramp.
12372
12373 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12374
12375 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12376
12377 * textmodes/reftex.el (reftex-compile-variables): Use it.
12378
12379 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * files.el (normal-mode): Only use default major-mode if no other mode
12382 was specified.
12383
12384 * emacs-lisp/trace.el (trace-values): New function.
12385
12386 * files.el: Allow : in local variables (bug#14089).
12387 (hack-local-variable-regexp): New var.
12388 (hack-local-variables-prop-line, hack-local-variables): Use it.
12389
12390 2013-04-13 Roland Winkler <winkler@gnu.org>
12391
12392 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12393 data before it gets modified by bibtex-beginning-of-entry.
12394
12395 2013-04-13 Roland Winkler <winkler@gnu.org>
12396
12397 * textmodes/bibtex.el (bibtex-url): Doc fix.
12398
12399 2013-04-13 Roland Winkler <winkler@gnu.org>
12400
12401 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12402 does not visit a BibTeX file, exclude it from the list of buffers
12403 returned by bibtex-initialize.
12404
12405 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12406
12407 * window.el (split-window): Remove interactive form, since as a
12408 command this function is a special case of split-window-below.
12409 Correct doc string.
12410
12411 2013-04-12 Roland Winkler <winkler@gnu.org>
12412
12413 * faces.el (read-face-name): Do not override value of arg default.
12414 Allow single faces and strings as default values. Remove those
12415 elements from return value that are not faces.
12416 (describe-face): Simplify.
12417 (face-at-point): New optional args thing and multiple so that this
12418 function can provide the same functionality previously provided by
12419 read-face-name.
12420 (make-face-bold, make-face-unbold, make-face-italic)
12421 (make-face-unitalic, make-face-bold-italic, invert-face)
12422 (modify-face, read-face-and-attribute): Use face-at-point.
12423
12424 * cus-edit.el (customize-face, customize-face-other-window)
12425 * cus-theme.el (custom-theme-add-face)
12426 * face-remap.el (buffer-face-set)
12427 * facemenu.el (facemenu-set-face): Use face-at-point.
12428
12429 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12430
12431 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12432
12433 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12434
12435 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12436 off leading { and trailing } from field values.
12437
12438 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12439
12440 * emacs-lisp/timer.el (timer--check): New function.
12441 (timer--time, timer-set-function, timer-event-handler): Use it.
12442 (timer-set-idle-time): Simplify.
12443 (timer--activate): CSE.
12444 (timer-event-handler): Give more info in error message.
12445 (internal-timer-start-idle): New function, moved from C.
12446
12447 * mpc.el (mpc-proc): Add `restart' argument.
12448 (mpc-proc-cmd): Use it.
12449 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12450 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12451 less often.
12452
12453 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12454
12455 * progmodes/sh-script.el: Implement `sh-mode' own
12456 `add-log-current-defun-function' (bug#14112).
12457 (sh-current-defun-name): New function.
12458 (sh-mode): Use the function.
12459
12460 2013-04-09 Bastien Guerry <bzg@gnu.org>
12461
12462 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12463
12464 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12467
12468 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12469 timer (bug#14156).
12470
12471 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12472
12473 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12474 declaration.
12475
12476 2013-04-07 Leo Liu <sdl.web@gmail.com>
12477
12478 * pcmpl-x.el: New file.
12479
12480 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12481
12482 Do not set x-display-name until X connection is established.
12483 This is needed to prevent from weird situation described at
12484 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12485 * frame.el (make-frame): Set x-display-name after call to
12486 window system initialization function, not before.
12487 * term/x-win.el (x-initialize-window-system): Add optional
12488 display argument and use it.
12489 * term/w32-win.el (w32-initialize-window-system):
12490 * term/ns-win.el (ns-initialize-window-system):
12491 * term/pc-win.el (msdos-initialize-window-system):
12492 Add compatible optional display argument.
12493
12494 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12495
12496 * files.el (normal-backup-enable-predicate): On MS-Windows and
12497 MS-DOS compare truenames of temporary-file-directory and of the
12498 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12499 don't fail comparison by compare-strings. Also, compare file
12500 names case-insensitively on MS-Windows and MS-DOS.
12501
12502 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12505 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12506
12507 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12508
12509 * whitespace.el (whitespace-color-on, whitespace-color-off):
12510 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12511
12512 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12513
12514 * ispell.el (ispell-set-spellchecker-params):
12515 Really set `ispell-args' for all equivs.
12516
12517 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12518
12519 * ido.el (ido-completions): Use extra elements of ido-decorations
12520 (bug#14143).
12521 (ido-decorations): Update docstring.
12522
12523 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12524
12525 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12526 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12527 nil during initialization, in order not to miss changes since the
12528 file was opened. (Bug#14140)
12529
12530 2013-04-05 Leo Liu <sdl.web@gmail.com>
12531
12532 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12533
12534 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12535
12536 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12537
12538 2013-04-04 Glenn Morris <rgm@gnu.org>
12539
12540 * electric.el (electric-pair-inhibit-predicate): Add :version.
12541
12542 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12543
12544 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12545 when a package is required several times (bug#14082).
12546
12547 2013-04-04 Roland Winkler <winkler@gnu.org>
12548
12549 * faces.el (read-face-name): Behave as promised by the docstring.
12550 Assume that arg default is a list of faces.
12551 (describe-face): Call read-face-name with list of default faces.
12552
12553 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12554
12555 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12556 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12557 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12558 the header.
12559 (bookmark-exit-hook-internal): Save even if list is empty.
12560
12561 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12562
12563 * emacs-lisp/package.el (package-pinned-packages): New var.
12564 (package--add-to-archive-contents): Obey it (bug#14118).
12565
12566 2013-04-03 Alan Mackenzie <acm@muc.de>
12567
12568 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12569 Also adapt to the new values of element 7 of a parse state.
12570
12571 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12572 parameter `not-in-delimiter'. Handle being inside comment opener.
12573 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12574 character in case we're typing a '*' after a '/'.
12575 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12576 instead by passing the parameter to c-state-pp-to-literal.
12577
12578 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12579 for elt. 7 of a parse state.
12580
12581 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12582
12583 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12584 * international/latin1-disp.el, international/mule-util.el:
12585 * language/cyril-util.el, language/european.el, language/ind-util.el:
12586 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12587 * language/tibetan.el, language/viet-util.el:
12588 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12589
12590 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12593 (electric-pair-post-self-insert-function): Use it.
12594 (electric-pair-default-inhibit): New function, extracted from
12595 electric-pair-post-self-insert-function.
12596
12597 2013-03-31 Roland Winkler <winkler@gnu.org>
12598
12599 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12600
12601 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12604
12605 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12606
12607 Un-indent after "pass" and "return" statements (Bug#13888)
12608 * progmodes/python.el (python-indent-block-enders): New var.
12609 (python-indent-calculate-indentation): Use it.
12610
12611 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12612
12613 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12614 defun. Defining it as defalias could introduce too eager
12615 byte-compiler optimization. (Bug#14030)
12616
12617 2013-03-30 Chong Yidong <cyd@gnu.org>
12618
12619 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12620
12621 2013-03-30 Leo Liu <sdl.web@gmail.com>
12622
12623 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12624 (kmacro-execute-from-register): Pass the keyboard macro to
12625 kmacro-call-macro or repeating won't work correctly.
12626
12627 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12628
12629 * progmodes/subword.el: Back to using `forward-symbol'.
12630
12631 * subr.el (forward-whitespace, forward-symbol)
12632 (forward-same-syntax): Move from thingatpt.el.
12633
12634 2013-03-29 Leo Liu <sdl.web@gmail.com>
12635
12636 * kmacro.el (kmacro-to-register): New command.
12637 (kmacro-execute-from-register): New function.
12638 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12639
12640 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12641
12642 * mpc.el: Use defvar-local and setq-local.
12643 (mpc--proc-connect): Connection failures are not bugs.
12644 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12645 (mpc-volume-map): Bind to the up-events.
12646
12647 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12648
12649 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12650 instead of `forward-symbol'.
12651
12652 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12653
12654 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12655 (edebug--recursive-edit): Use it.
12656 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12657 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12658
12659 2013-03-28 Leo Liu <sdl.web@gmail.com>
12660
12661 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12662
12663 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12664
12665 * facemenu.el (list-colors-callback): New defvar.
12666 (list-colors-redisplay): New function.
12667 (list-colors-display): Install list-colors-redisplay as the
12668 revert-buffer-function. (Bug#14063)
12669
12670 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12673 and suffixes don't overlap (bug#14061).
12674
12675 * case-table.el: Use lexical-binding.
12676 (case-table-get-table): New function.
12677 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12678
12679 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12680
12681 * progmodes/subword.el: Add `superword-mode' to do word motion
12682 over symbol_words (parallels and leverages `subword-mode' which
12683 does word motion inside MixedCaseWords).
12684
12685 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12686
12687 * eshell/em-unix.el: Move su and sudo to...
12688 * eshell/em-tramp.el: ...Eshell tramp module.
12689
12690 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12693 Change return value to be a sexp. Delay `get-buffer' to after
12694 restoring the desktop (bug#13951).
12695
12696 2013-03-26 Leo Liu <sdl.web@gmail.com>
12697
12698 * register.el: Move semantic tag handling back to
12699 cedet/semantic/senator.el. (Bug#14052)
12700
12701 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12702
12703 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12704 into the prompt either (bug#13963).
12705
12706 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12709 part of "(error-foo)".
12710
12711 2013-03-24 Juri Linkov <juri@jurta.org>
12712
12713 * replace.el (list-matching-lines-prefix-face): New defcustom.
12714 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12715 `occur-engine' if `face-differs-from-default-p' returns t.
12716 (occur-engine): Add `,' inside backquote construct to evaluate
12717 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12718 Pass `prefix-face' to the functions `occur-context-lines' and
12719 `occur-engine-add-prefix'.
12720 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12721 `prefix-face' and propertize the prefix with `prefix-face'.
12722 (Bug#14017)
12723
12724 2013-03-24 Leo Liu <sdl.web@gmail.com>
12725
12726 * nxml/rng-valid.el (rng-validate-while-idle)
12727 (rng-validate-quick-while-idle): Guard against deleted buffer.
12728 (Bug#13999)
12729
12730 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12731 is the last entry in kill-buffer-hook.
12732
12733 * files.el (kill-buffer-hook): Doc fix.
12734
12735 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12736
12737 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12738 Make it safe-local.
12739
12740 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12741
12742 2013-03-23 Leo Liu <sdl.web@gmail.com>
12743
12744 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12745 Remove.
12746
12747 * nxml/rng-valid.el (rng-validate-mode)
12748 (rng-after-change-function, rng-do-some-validation):
12749 * nxml/rng-maint.el (rng-validate-buffer):
12750 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12751 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12752 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12753 (nxml-extend-after-change-region): Use with-silent-modifications.
12754
12755 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12756 timer-idle-list.
12757
12758 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12759 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12760 timer-idle-list. (Bug#13999)
12761
12762 2013-03-23 Juri Linkov <juri@jurta.org>
12763
12764 * info.el (info-index-match): New face.
12765 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12766 main pattern and add text properties with the new face to matches
12767 in index entries relative to the beginning of the index entry.
12768 (Bug#14015)
12769
12770 2013-03-21 Eric Ludlam <zappo@gnu.org>
12771
12772 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12773 Inhibit read only while inserting objects.
12774
12775 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12776
12777 * progmodes/cfengine.el: Update docs to mention
12778 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12779 symbol motion. Remove "_" from the word syntax.
12780
12781 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12782
12783 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12784 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12785
12786 2013-03-20 Juri Linkov <juri@jurta.org>
12787
12788 * info.el (Info-next-reference-or-link)
12789 (Info-prev-reference-or-link): New functions.
12790 (Info-next-reference, Info-prev-reference): Use them.
12791 (Info-try-follow-nearest-node): Handle footnote navigation.
12792 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12793
12794 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12795
12796 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12797 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12798
12799 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12800
12801 Suppress unnecessary non-ASCII chatter during build process.
12802 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12803 (batch-skkdic-convert): Suppress most of the chatter.
12804 It's not needed so much now that machines are faster,
12805 and its non-ASCII component was confusing; see Dmitry Gutov in
12806 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12807
12808 2013-03-20 Leo Liu <sdl.web@gmail.com>
12809
12810 * ido.el (ido-chop): Fix bug#10994.
12811
12812 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12813
12814 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12815 Remove vars.
12816 (whitespace-color-on, whitespace-color-off):
12817 Use `font-lock-fontify-buffer' (Bug#13817).
12818
12819 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12822 remapping in mode-line.
12823 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12824
12825 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12826
12827 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12828 value for `whitespace-line' face (Bug#13875).
12829 (whitespace-font-lock-keywords): Change description.
12830 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12831 the constructed keywords instead.
12832 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12833
12834 2013-03-19 Leo Liu <sdl.web@gmail.com>
12835
12836 * progmodes/compile.el (compilation-display-error): New command.
12837 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12838 C-o. (Bug#13992)
12839
12840 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12841
12842 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12843
12844 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12845
12846 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12847
12848 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12849
12850 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12851
12852 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12853 * net/tramp-gvfs.el (top):
12854 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12855 (tramp-handle-shell-command): Use it.
12856 (tramp-dissect-file-name): Raise an error when hostname is a
12857 method name, and neither method nor user is specified.
12858
12859 * net/trampver.el: Update release number.
12860
12861 2013-03-18 Leo Liu <sdl.web@gmail.com>
12862
12863 Make sure eldoc can be turned off properly.
12864 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12865 eldoc-mode.
12866 (eldoc-display-message-p): Revert last change.
12867 (eldoc-display-message-no-interference-p)
12868 (eldoc-print-current-symbol-info): Tweak.
12869
12870 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12871
12872 * doc-view.el (doc-view-new-window-function): Check the new window
12873 overlay's display property instead the char property of the
12874 buffer's first char. Use `with-selected-window' instead of
12875 `save-window-excursion' with `select-window'.
12876 (doc-view-document->bitmap): Check the current doc-view overlay's
12877 display property instead the char property of the buffer's first char.
12878
12879 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12880
12881 Automate the build of ja-dic.el (Bug#13984).
12882 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12883 from the input, rather than assume that it's been done for us by the
12884 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12885 the current date into a ja-dic.el comment, as that complicates
12886 regression testing.
12887
12888 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12889
12890 * whitespace.el: Fix double evaluation.
12891 (whitespace-space, whitespace-hspace, whitespace-tab)
12892 (whitespace-newline, whitespace-trailing, whitespace-line)
12893 (whitespace-space-before-tab, whitespace-indentation)
12894 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12895 obsolete defvars.
12896 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12897 (whitespace-color-on): Use a single font-lock-add-keywords call.
12898 Fix double-evaluation of face variables.
12899
12900 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12901
12902 * net/tramp-adb.el (tramp-adb-parse-device-names):
12903 Use `start-process' instead of `call-process'. Otherwise, the
12904 function might be blocked under MS Windows. (Bug#13299)
12905
12906 2013-03-17 Leo Liu <sdl.web@gmail.com>
12907
12908 Extend eldoc to display info in the mode-line. (Bug#13978)
12909 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12910 (eldoc-mode-line-string): New variable.
12911 (eldoc-minibuffer-message): New function.
12912 (eldoc-message-function): New variable.
12913 (eldoc-message): Use it.
12914 (eldoc-display-message-p)
12915 (eldoc-display-message-no-interference-p):
12916 Support eldoc-post-insert-mode.
12917
12918 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12919 (eval-expression): Run it.
12920
12921 2013-03-17 Roland Winkler <winkler@gnu.org>
12922
12923 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12924 strings in the list of return values.
12925
12926 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12927
12928 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12929 radix before checking for HMS forms.
12930
12931 2013-03-16 Leo Liu <sdl.web@gmail.com>
12932
12933 * progmodes/scheme.el: Add indentation and font-locking for λ.
12934 (Bug#13975)
12935
12936 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12939 token before point (bug#13942).
12940
12941 2013-03-16 Leo Liu <sdl.web@gmail.com>
12942
12943 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12944
12945 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12946
12947 * startup.el (command-line-normalize-file-name): Fix handling of
12948 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12949 <xfq.free@gmail.com> in
12950 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12951
12952 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12953
12954 Sync with Tramp 2.2.7.
12955
12956 * net/trampver.el: Update release number.
12957
12958 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12959
12960 * doc-view.el: Fix bug#13887.
12961 (doc-view-insert-image): Don't modify overlay associated to
12962 non-live windows, and implement horizontal centering of image in
12963 case it's smaller than the window.
12964 (doc-view-new-window-function): Force redisplay of new windows on
12965 doc-view buffers.
12966
12967 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12968
12969 * saveplace.el (save-place-alist-to-file): Don't sort
12970 `save-place-alist', just pretty-print it (bug#13882).
12971
12972 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12973
12974 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12975 Check whether `default-file-name-coding-system' is bound.
12976 It isn't in XEmacs.
12977
12978 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12979
12980 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12981 backquotes for `obsolete' (bug#13929).
12982
12983 * international/mule.el (find-auto-coding): Include file name in
12984 obsolescence warning (bug#13922).
12985
12986 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12987
12988 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12989 for CFEngine 3-specific indentation.
12990 (cfengine3-indent-line): Use it. Fix up category regex.
12991 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12992
12993 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 * type-break.el (type-break-file-name):
12996 * textmodes/remember.el (remember-data-file):
12997 * strokes.el (strokes-file):
12998 * shadowfile.el (shadow-initialize):
12999 * saveplace.el (save-place-file):
13000 * ps-bdf.el (bdf-cache-file):
13001 * progmodes/idlwave.el (idlwave-config-directory):
13002 * net/quickurl.el (quickurl-url-file):
13003 * international/kkc.el (kkc-init-file-name):
13004 * ido.el (ido-save-directory-list-file):
13005 * emulation/viper.el (viper-custom-file-name):
13006 * emulation/vip.el (vip-startup-file):
13007 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13008 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13009
13010 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13011
13012 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13013 * language/thai-word.el: Switch to UTF-8.
13014
13015 See ChangeLog.16 for earlier changes.
13016
13017 ;; Local Variables:
13018 ;; coding: utf-8
13019 ;; End:
13020
13021 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13022
13023 This file is part of GNU Emacs.
13024
13025 GNU Emacs is free software: you can redistribute it and/or modify
13026 it under the terms of the GNU General Public License as published by
13027 the Free Software Foundation, either version 3 of the License, or
13028 (at your option) any later version.
13029
13030 GNU Emacs is distributed in the hope that it will be useful,
13031 but WITHOUT ANY WARRANTY; without even the implied warranty of
13032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13033 GNU General Public License for more details.
13034
13035 You should have received a copy of the GNU General Public License
13036 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.