25c88c48996b89aa6b574debbab7d12ee51b9dd3
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-08 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-quote-char): Check character validity
4 like in `quoted-insert' (bug#16677).
5
6 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
7
8 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
9
10 * isearch.el (isearch-hide-immediately): Doc clarification
11 (bug#14723).
12
13 * simple.el (line-move): Document utility function used many
14 places in the Emacs sources (bug#14843).
15
16 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
17 (dired-prev-marked-file): Doc fix (bug#14855).
18 (dired-up-directory): Doc fix (bug#14848).
19
20 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
21
22 * files.el (file-relative-name): Doc fix (bug#15159).
23
24 * fringe.el (fringe-styles): Doc fix (bug#15239).
25
26 * isearch.el (isearch-filter-predicate): Documentation typo fix
27 (bug#15474).
28
29 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
30
31 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
32
33 * replace.el (replace-match-maybe-edit): Doc clarification
34 (bug#15632).
35
36 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
37
38 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
39
40 2014-02-08 Glenn Morris <rgm@gnu.org>
41
42 * help-fns.el (describe-variable):
43 Check {file,dir}-local-variables-alist, and buffer-file-name,
44 in the correct buffer.
45
46 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
47
48 * help-fns.el (describe-variable): Fix the case where
49 a value is directory-local with no dir-locals file. (Bug#16635)
50
51 2014-02-08 Glenn Morris <rgm@gnu.org>
52
53 * abbrev.el (edit-abbrevs-mode):
54 Derive from fundamental-mode. (Bug#16682)
55
56 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
57
58 * simple.el (quoted-insert): Check character validity (bug#16677).
59
60 2014-02-07 Juri Linkov <juri@jurta.org>
61
62 * desktop.el (desktop-read): Claim the lock when the owner is not
63 the current process. (Bug#16157)
64
65 2014-02-07 Juri Linkov <juri@jurta.org>
66
67 * desktop.el (desktop-buffers-not-to-save): Change default from nil
68 to "\\` ". (Bug#16651)
69
70 2014-02-07 Juri Linkov <juri@jurta.org>
71
72 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
73 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
74 (desktop-auto-save-cancel-timer): New function with some code from
75 `desktop-auto-save-set-timer'.
76 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
77 Instead of setting `desktop-save-mode' to nil, call
78 `desktop-save-mode' with arg 0. (Bug#16630)
79
80 2014-02-07 Glenn Morris <rgm@gnu.org>
81
82 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
83 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
84 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
85
86 * obsolete/iswitchb.el: Move to obsolete/.
87 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
88 since obsolete/ is not scanned for autoloads.
89 * emacs-lisp/authors.el (authors-valid-file-names):
90 Add iswitchb.el.
91
92 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
93 Disable now non-functional find-file-hook.
94
95 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
96
97 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
98 instead of ";" in order to avoid additional prompts. Let heredoc
99 scripts read from tty. (Bug#16582)
100 (tramp-send-command): No special handling of heredocs, it isn't
101 necessary anymore.
102
103 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
106 with a space (bug#16664). Limit the symbols considered to the ones
107 that are bound or fbound (bug#16646).
108
109 2014-02-06 Glenn Morris <rgm@gnu.org>
110
111 * epa.el (epa-mail-aliases): Doc fix.
112
113 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
114
115 * emacs-lisp/lisp.el (lisp-completion-at-point):
116 Use `completion-table-merge' instead of `completion-table-in-turn'
117 (bug#16604).
118
119 * minibuffer.el (completion-table-merge): New function.
120
121 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
124 (tramp-sh-handle-set-file-acl)
125 (tramp-sh-handle-start-file-process)
126 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
127 (tramp-find-executable, tramp-send-command): Use it.
128
129 2014-02-05 Glenn Morris <rgm@gnu.org>
130
131 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
132
133 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
134
135 * progmodes/python.el (python-shell-send-string):
136 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
137
138 2014-02-04 Anders Lindgren <andlind@gmail.com>
139
140 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
141 the names (bug#16620).
142
143 2014-02-03 Martin Rudalics <rudalics@gmx.at>
144
145 * faces.el (window-divider): New default value. Rewrite doc-string.
146 (window-divider-first-pixel, window-divider-last-pixel): New faces.
147
148 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
149
150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
151 `protected' and `public' can also be called without arguments.
152
153 2014-02-03 Glenn Morris <rgm@gnu.org>
154
155 * register.el (window-configuration-to-register)
156 (frame-configuration-to-register): Unadvertise unused argument.
157 * frameset.el (frameset-to-register): Remove unused argument.
158
159 * frameset.el (frameset-to-register):
160 * kmacro.el (kmacro-to-register):
161 * register.el (increment-register):
162 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
163 (calc-append-to-register, calc-prepend-to-register):
164 * play/gametree.el (gametree-layout-to-register)
165 (gametree-apply-register-layout):
166 * textmodes/picture.el (picture-clear-rectangle-to-register)
167 (picture-yank-rectangle-from-register):
168 * vc/emerge.el (emerge-combine-versions-register):
169 Use register-read-with-preview to read registers.
170
171 2014-02-03 João Távora <joaotavora@gmail.com>
172
173 * elec-pair.el (electric-pair-backward-delete-char): Don't error
174 when at beginning of (possibly narrowed) buffer.
175
176 2014-02-02 Daniel Colascione <dancol@dancol.org>
177
178 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
179 Also try to display local help from just before point.
180
181 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
182
183 c-parse-state. Don't "append-lower-brace-pair" in certain
184 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
185 recognised as a comment.
186
187 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
188 as well as normal comment starter.
189 (c-parse-state-get-strategy): Extra return possibility
190 'back-and-forward.
191 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
192 return value list to indicate replacement of a brace-pair cons
193 with its car.
194 (c-parse-state-1): With 'back-and-forward, only call
195 c-append-lower-brace-pair-to state-cache when cons-separated.
196
197 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
198
199 * term/ns-win.el (ns-suspend-error): New function.
200 (ns-initialize-window-system): Add ns-suspend-error to
201 suspend-hook (Bug#16612).
202
203 2014-02-02 Daniel Colascione <dancol@dancol.org>
204
205 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
206
207 2014-02-02 Daniel Colascione <dancol@dancol.org>
208
209 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
210
211 2014-02-02 Glenn Morris <rgm@gnu.org>
212
213 * register.el (register-read-with-preview, point-to-register)
214 (window-configuration-to-register, frame-configuration-to-register)
215 (jump-to-register, number-to-register, view-register, insert-register)
216 (copy-to-register, append-to-register, prepend-to-register)
217 (copy-rectangle-to-register): Doc fixes.
218
219 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
222 * emacs-lisp/find-func.el (find-function-C-source): Idem.
223 * emacs-lisp/nadvice.el (advice--cd*r): New function.
224 * help-fns.el (describe-function-1): Use it.
225
226 2014-02-02 Glenn Morris <rgm@gnu.org>
227
228 * register.el (register-preview-default): New function,
229 split from register-preview.
230 (register-preview-function): Rename from register-preview-functions,
231 make it not a hook.
232 (register-preview): Use register-preview-function.
233 (register-read-with-preview): Error on non-character event. (Bug#16595)
234
235 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
236
237 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
238 `:' before binary operators (bug#16609). Don't check for `:'
239 before `[' and `(', or their syntax status. A percent literal
240 can't end with either.
241 (ruby-font-lock-keywords): For built-ins that require arguments,
242 check that they're followed by something that looks like argument
243 (bug#16610).
244
245 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
246
247 * subr.el (butlast): Document what an omitted N means (bug#13437).
248 (nbutlast): Ditto.
249
250 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
251
252 * net/shr.el (shr-generic): Make into a defsubst to make the stack
253 depth shallower (bug#16587).
254 (shr-tag-svg): Respect `shr-inhibit-images'.
255 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
256
257 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
258
259 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
260 (ruby-smie-grammar): Make "." right-associative. Make its priority
261 lower than the ternary and all binary operators.
262 (ruby-smie-rules): Indent "(" relative to the first non-"."
263 parent, or the first "." parent at indentation.
264 Use `ruby-align-chained-calls' for indentation of "." tokens.
265 (Bug#16593)
266
267 2014-01-31 Juri Linkov <juri@jurta.org>
268
269 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
270 from `make-hash-table'.
271
272 * textmodes/ispell.el (ispell-init-process): Change message format
273 to be consistent with other messages.
274
275 2014-01-31 Glenn Morris <rgm@gnu.org>
276
277 * delsel.el (delete-selection-mode): Doc fix.
278
279 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
280 (trace-function-background): Doc fixes.
281
282 * ido.el (ido-use-virtual-buffers): Doc fix.
283 Reset :version, since the default value has not changed.
284
285 * register.el (register-preview-delay, register-read-with-preview):
286 Doc fixes.
287
288 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
289 do not mess with mail-buffer position (fixes 2009-11-03 change).
290 * progmodes/cc-mode.el (c-submit-bug-report):
291 Check auto-fill-mode is bound. (Bug#16592)
292
293 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
294
295 * startup.el (fancy-splash-image-file): New function,
296 split from fancy-splash-head.
297 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
298 so that we are both using the same image. (Bug#16574)
299
300 2014-01-30 Glenn Morris <rgm@gnu.org>
301
302 * simple.el (eval-expression): Doc fix.
303
304 * hexl.el (hexl-mode-hook):
305 * ielm.el (ielm-mode-hook):
306 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
307 (lisp-interaction-mode-hook):
308 * progmodes/cfengine.e (cfengine3-documentation-function):
309 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
310
311 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
312
313 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
314 is a symbol (bug#16584).
315
316 2014-01-30 Glenn Morris <rgm@gnu.org>
317
318 * help.el (help-for-help-internal): Add "P" to text.
319
320 2014-01-29 Glenn Morris <rgm@gnu.org>
321
322 * simple.el (just-one-space, cycle-spacing): Doc fixes.
323
324 2014-01-28 Martin Rudalics <rudalics@gmx.at>
325
326 * window.el (fit-frame-to-buffer): Fix calculations for margins and
327 height constraints.
328
329 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
330
331 * progmodes/hideif.el: Extend to full CPP expression syntax.
332 (hif-token-alist): Add missing tokens.
333 (hif-token-regexp): Add support for float/octal/hex immediates.
334 (hif-string-literal-regexp): New const.
335 (hif-tokenize): Recognize strings and float/octal/hex immediates.
336 (hif-exprlist): New function.
337 (hif-parse-if-exp): Use it.
338 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
339 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
340 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
341 (hif-logxor, hif-comma): New functions.
342
343 2014-01-28 Glenn Morris <rgm@gnu.org>
344
345 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
346
347 * indent.el (tab-stop-list): Doc fix. Add :version.
348
349 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
350 (cvs-append-to-ignore): Add compatibility alias.
351
352 2014-01-27 Glenn Morris <rgm@gnu.org>
353
354 * dired.el (dired-hide-details-mode): Don't autoload it,
355 since it cannot be used outside Dired buffers anyway.
356
357 * emulation/cua-base.el (cua-mode): Doc fix.
358
359 * dired.el (dired-hide-details-hide-symlink-targets)
360 (dired-hide-details-hide-information-lines)
361 (dired-hide-details-mode): Doc fixes.
362
363 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
364 * strokes.el (strokes-file): Doc fix. Bump :version.
365 (strokes-help): Doc fix.
366 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
367 * emulation/viper.el (viper): Doc fix for custom group.
368 (top-level): Remove oh-so-no-longer-relevant text about vip.
369 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
370
371 * ido.el (ido-save-directory-list-file):
372 * saveplace.el (save-place-file):
373 * calendar/timeclock.el (timeclock-file):
374 * net/quickurl.el (quickurl-url-file):
375 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
376 * progmodes/idlwave.el (idlwave-config-directory):
377 * textmodes/remember.el (remember-data-file):
378 Bump :version.
379
380 2014-01-26 Glenn Morris <rgm@gnu.org>
381
382 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
383 Doc fix. Make obsolete.
384 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
385
386 * sort.el (delete-duplicate-lines): Doc fix.
387
388 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
389
390 * progmodes/ada-mode.el (ada):
391 * woman.el (woman): Link to info manual and Commentary section.
392
393 * progmodes/flymake.el (flymake):
394 * nxml/nxml-mode.el (nxml):
395 * net/eww.el (eww):
396 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
397 * htmlfontify.el (htmlfontify):
398 * ses.el (ses):
399 * epa.el (epa):
400 * ido.el (ido): Link to info manual.
401
402 2014-01-25 Leo Liu <sdl.web@gmail.com>
403
404 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
405
406 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
407
408 * net/shr.el (shr-tag-img): Prefer the title over the alt text
409 (bug#16537).
410
411 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
412
413 * net/eww.el (eww-download-callback):
414 Fix reference to eww-download-directory.
415
416 * emacs-lisp/bytecomp.el (byte-compile-file):
417 Remove unused local variable `file-name'.
418
419 2014-01-24 Glenn Morris <rgm@gnu.org>
420
421 * woman.el (woman-default-faces, woman-monochrome-faces):
422 Fix obsolescence specification.
423
424 * subr.el (with-demoted-errors): Doc fix.
425
426 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
429 (cl--macroexp-fboundp): New function.
430 (cl--make-type-test): Use it.
431
432 2014-01-23 Glenn Morris <rgm@gnu.org>
433
434 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
435 * simple.el (eval-expression): Doc fixes.
436
437 2014-01-22 Glenn Morris <rgm@gnu.org>
438
439 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
440
441 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * emacs-lisp/package.el: Write files silently.
444 (package-autoload-ensure-default-file, package--write-file-no-coding)
445 (package-generate-description-file, package--download-one-archive)
446 (package-install-from-archive): Tell `write-region' to stay quiet.
447 (package-menu-mode, package-menu--print-info): Omit the Archive column
448 if there's only one archive.
449 (package-all-keywords, package--has-keyword-p): Remove dead code.
450
451 2014-01-22 Glenn Morris <rgm@gnu.org>
452
453 * version.el (emacs-bzr-version-bzr): Fix typo.
454
455 * version.el (emacs-repository-get-version):
456 Check either .bzr or .git, but not both.
457 Make the git case actually use the DIR argument, and return nil
458 rather than the empty string.
459 Avoid error if .git exists but the git executable is not found.
460
461 2014-01-22 Martin Rudalics <rudalics@gmx.at>
462
463 Fixes in window size functions around Bug#16430 and Bug#16470.
464 * window.el (window-total-size, window-size): New argument ROUND.
465 (window--min-delta-1, window-min-delta, window--max-delta-1):
466 Be more conservative when calculating the numbers of lines or
467 columns a window can shrink (Bug#16430).
468 (fit-window-to-buffer): Simplify code.
469 * term.el (term-window-width): Call window-body-width again.
470
471 2014-01-22 Glenn Morris <rgm@gnu.org>
472
473 * image.el (image-format-suffixes): Doc fix.
474
475 * international/quail.el (quail-define-package): Doc fix.
476
477 * emacs-lisp/authors.el (authors-valid-file-names):
478 (authors-renamed-files-alist): Additions.
479
480 * vc/vc-git.el (vc-git-print-log): Remove --follow;
481 reverts 2014-01-09 change. (Bug#16422)
482
483 * calc/calc-embed.el (thing-at-point-looking-at):
484 * emacs-lisp/map-ynp.el (x-popup-dialog):
485 * obsolete/lmenu.el (x-popup-dialog):
486 * emacs-lisp/package.el (url-recreate-url):
487 * mail/mailclient.el (clipboard-kill-ring-save):
488 * subr.el (x-popup-dialog): Update declaration.
489 * mail/rmail.el (rmail-mime-message-p):
490 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
491
492 2014-01-21 Daniel Colascione <dancol@dancol.org>
493
494 * progmodes/sh-script.el (sh--inside-noncommand-expression):
495 Correctly detect when we're inside an arithmetic expansion form
496 containing nested parenthesis.
497 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
498 to detect cases where we shouldn't expand "<<" to a heredoc
499 skeleton.
500
501 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
504 (eldoc--message-command-p): New function.
505 (eldoc-display-message-p): Use it.
506 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
507 message is not automatically erased for us.
508 (eldoc-print-current-symbol-info): Erase previous message, if any.
509
510 2014-01-21 Tassilo Horn <tsdh@gnu.org>
511
512 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
513 specify it's an interactive function.
514
515 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
516 Fix regex used for scanning for citation keys which failed for
517 citations with optional arguments.
518
519 2014-01-21 Leo Liu <sdl.web@gmail.com>
520
521 * simple.el (read--expression): Don't enable eldoc-mode.
522
523 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * simple.el (move-beginning-of-line): Make sure we don't move forward
526 (bug#16497).
527
528 2014-01-20 Juri Linkov <juri@jurta.org>
529
530 * saveplace.el (toggle-save-place, save-place-to-alist)
531 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
532 'dired-mode) before checking for dired-directory. (Bug#16477)
533
534 2014-01-20 Juri Linkov <juri@jurta.org>
535
536 * indent.el (indent-line-to): Use backward-to-indentation
537 instead of back-to-indentation. (Bug#16461)
538
539 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
540
541 Revert some of the CANNOT_DUMP fix (Bug#16494).
542 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
543 but fixing this can wait until after the next release.
544 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
545
546 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
547
548 * eshell/esh-mode.el (eshell-password-prompt-regexp):
549 Use `password-word-equivalents'.
550 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
551 to t. (Bug#5664, Bug#13124)
552
553 2014-01-19 Alan Mackenzie <acm@muc.de>
554
555 Bind open-paren-in-column-0-is-defun-start to nil at some entry
556 points.
557 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
558 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
559 * progmodes/cc-mode.el (c-before-change, c-after-change)
560 (c-font-lock-fontify-region): Bind it here.
561
562 2014-01-19 Martin Rudalics <rudalics@gmx.at>
563
564 * term.el (term-window-width): Call window-text-width instead of
565 window-width (Bug#16470).
566
567 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
568
569 * simple.el (password-word-equivalents): Remove duplicates.
570 Sort, to make this easier next time.
571 Downcase. Omit ": " after "jelszó".
572
573 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
574
575 * term/common-win.el (saved-region-selection): Defvar it.
576 (x-select-text): Set saved-region-selection (Bug#16382).
577
578 2014-01-18 Glenn Morris <rgm@gnu.org>
579
580 * emacs-lisp/authors.el (authors-aliases)
581 (authors-renamed-files-alist): Add some entries.
582
583 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
584
585 * net/tramp.el (tramp-password-prompt-regexp):
586 Use `password-word-equivalents' if available.
587 (tramp-action-password, tramp-process-one-action)
588 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
589
590 2014-01-17 Chong Yidong <cyd@gnu.org>
591
592 * simple.el (password-word-equivalents): New defcustom.
593 * comint.el (comint-password-prompt-regexp): Use it. Bump version
594 to 24.4.
595 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
596 to t. (Bug#13124)
597
598 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
599
600 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
601 (ruby-align-to-stmt-keywords): Change the default value.
602 Use `ruby-alignable-keywords' to generate the possible customization
603 choices.
604 (ruby-smie-rules): Instead of using a hardcoded list of alignable
605 keywords, check against the value of `ruby-alignable-keywords'
606 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
607
608 2014-01-17 Glenn Morris <rgm@gnu.org>
609
610 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
611
612 Make M-x authors return zero *Authors Errors* from current logs.
613 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
614 (authors-ignored-files): Add some entries, remove others.
615 (authors-ambiguous-files, authors-valid-file-names):
616 Add some entries.
617 (authors-renamed-files-alist): Add, remove, and adjust entries.
618 (authors-renamed-files-regexps): Add some entries.
619 Remove some very broad ones. Make some entries `lax'.
620 (authors-lax-changelogs): New constant.
621 (authors-disambiguate-file-name): Treat top-level specially.
622 (authors-lax-changelog-p): New function.
623 (authors-canonical-file-name): Check file as written against
624 authors-valid-file-names. Do not special-case etc/.
625 Handle `lax' logs and authors-renamed-files-regexps elements.
626
627 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
628
629 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
630 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
631 callers.
632
633 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
636 Assume we're already in the proper buffer.
637 Inspired by Anders Lindgren <andlind@gmail.com>.
638 (follow-post-command-hook): Call it from the right buffer.
639 (follow-comint-scroll-to-bottom): Adjust call.
640 (follow-all-followers): Use get-buffer-window-list.
641
642 2014-01-15 Daniel Colascione <dancol@dancol.org>
643
644 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
645 `buffer-file-name' in interactive-form so that we don't leave
646 pathless file names in `file-name-history'.
647
648 2014-01-15 Juri Linkov <juri@jurta.org>
649
650 * indent.el (indent-rigidly): Set deactivate-mark to nil
651 in transient indentation mode. (Bug#16438)
652
653 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
654
655 * emacs-lisp/package.el (package-desc-keywords): New function
656 (Bug#16222).
657 (describe-package-1, package-all-keywords)
658 (package--has-keyword-p): Use it.
659
660 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
661
662 * simple.el (define-alternatives): When creating the
663 COMMAND-alternatives variable, assign COMMAND as its definition
664 name so that `describe-variable' can relocate it.
665
666 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
667
668 * font-lock.el (font-lock-keywords): Fix typo in docstring
669 (bug#16307).
670
671 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
672
673 * ispell.el (ispell-region): Reset `in-comment' for new line
674 instead of wrongly reset `add-coment' (bug#13577).
675
676 2014-01-14 Daiki Ueno <ueno@gnu.org>
677
678 * epa-file.el (epa-file-write-region): Encode the region according
679 to `buffer-file-format'. Problem reported at:
680 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
681
682 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
685 so it applies in the right buffer (bug#16410).
686
687 2014-01-13 Daniel Colascione <dancol@dancol.org>
688
689 * textmodes/rst.el (rst-define-key): Provide deprecated
690 keybindings through named functions instead of anonymous ones so
691 that "??" doesn't appear in describe-mode output.
692
693 2014-01-13 Bastien Guerry <bzg@gnu.org>
694
695 * simple.el (define-alternatives): Call the selected command
696 interactively. When setting `COMMAND--implementation' for the
697 first time, tell the user how to chose another implementation.
698 Enhance the docstring.
699
700 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
703 (log-edit--match-first-line): New function.
704 (log-edit-font-lock-keywords): Use it.
705 (log-edit-mode): Make jit-lock-defer-multiline work.
706
707 2014-01-13 Bastien Guerry <bzg@gnu.org>
708
709 * rect.el (rectangle-mark-mode): When the region is not active,
710 display a message saying that the mark as been set and that
711 rectangle mode is in use.
712 (rectangle--highlight-for-redisplay): Only put an overlay with a
713 visible vertical bar when (display-graphic-p) is non-nil.
714 This partially fixes Bug#16403.
715
716 2014-01-13 Juri Linkov <juri@jurta.org>
717
718 * info.el (Info-find-file): Go to DIR before displaying the error
719 about a nonexistent file if no previous Info file is visited.
720 Use `user-error' instead of `error' for "Info file %s does not exist".
721 (Info-find-node-2): In case of a nonexistent node in unwind forms
722 go to the Top node if there is no previous node to revert to.
723 (Bug#16405)
724
725 2014-01-13 Martin Rudalics <rudalics@gmx.at>
726
727 fit-frame/window-to-buffer code fixes including one for Bug#14096.
728 * window.el (fit-frame-to-buffer): Fix doc-string.
729 Respect window-min-height/-width. Fit pixelwise when
730 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
731 when avoiding that frame goes partially off-screen.
732 (fit-window-to-buffer): Respect window-min-height/-width
733 (Bug#14096).
734
735 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
738 after an empty line.
739
740 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * net/shr.el (shr-render-region): Autoload.
743
744 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
745
746 * net/eww.el (eww-download-directory): Rename from
747 `eww-download-path' (Bug#16419).
748
749 2014-01-12 Leo Liu <sdl.web@gmail.com>
750
751 * dired-x.el (dired-mode-map): Fix last change.
752
753 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
754
755 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
756
757 Spelling fixes.
758 * emacs-lisp/generic.el (generic--normalize-comments):
759 Rename from generic--normalise-comments. All uses changed.
760 * play/bubbles.el (bubbles--neighborhood-score):
761 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
762 (bubbles--neighborhood-available)
763 (bubbles--update-neighborhood-score):
764 Rename from names with 'neighbourhood'. All uses changed.
765
766 2014-01-12 Leo Liu <sdl.web@gmail.com>
767
768 Re-implement the feature of showing eldoc info after editing.
769 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
770 (eldoc-edit-message-commands): New function.
771 (eldoc-print-after-edit): New variable.
772 (eldoc-pre-command-refresh-echo-area): Emit message only by
773 eldoc-message-commands.
774 (eldoc-mode): Restrict eldoc-message-commands to editing commands
775 if eldoc-print-after-edit is set. (Bug#16346)
776 * simple.el (read--expression): Enable eldoc-mode.
777 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
778
779 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
780 Eric S. Raymond <esr@thyrsus.com>
781
782 * version.el (emacs-repository-get-version): Enhance so the
783 function works correctly in either a Bazaar or Git repo.
784
785 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
786
787 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
788 Goes with removal of the joke manpages from /etc.
789
790 2014-01-10 K. Handa <handa@gnu.org>
791
792 * mail/rmail.el (rmail-get-coding-system):
793 Check rmail-get-coding-function before "funcall"ing it.
794
795 2014-01-10 Glenn Morris <rgm@gnu.org>
796
797 * emacs-lisp/authors.el (authors-fixed-entries):
798 Update for files that no longer exist.
799
800 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
801
802 * version.el (emacs-bzr-get-version): Restore compatibilty with
803 24.3 (Tested).
804
805 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
806
807 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
808 and Podfile.
809
810 2014-01-10 Eli Zaretskii <eliz@gnu.org>
811
812 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
813
814 2014-01-10 Chong Yidong <cyd@gnu.org>
815
816 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
817
818 2014-01-10 Anders Lindgren <andlind@gmail.com>
819
820 * follow.el (follow-cache-command-list): Include right-char and
821 left-char.
822
823 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
824
825 Spelling fixes.
826 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
827 * woman.el (woman-mark-horizontal-position):
828 Rename from woman-mark-horizonal-position. Use changed.
829
830 2014-01-10 Glenn Morris <rgm@gnu.org>
831
832 * info.el (info-initialize): If running uninstalled, ensure our
833 own info files are always found first, even if INFOPATH is set.
834
835 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
836
837 2014-01-09 David Engster <deng@randomsample.de>
838
839 * emacs-lisp/eieio-custom.el:
840 * emacs-lisp/eieio-opt.el: Set generated autoload file to
841 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
842 * emacs-lisp/eieio.el: Regenerate autoloads.
843
844 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
845
846 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
847 following renames. (Bug#8756)
848
849 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
852 (bug#16382).
853 (activate-mark): Add `no-tmm' argument.
854 (set-mark, push-mark-command): Use it instead of running
855 activate-mark-hook by hand.
856
857 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
858
859 In preparation for the move to git, sanitize out some
860 Bazaar-specific names.
861
862 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
863
864 * version.el (emacs-bzr-version): Name changed to
865 emacs-repository-version. Obsolete-variable alias made.
866 * loadup.el: Follow through on this name change.
867 * mail/emacsbug.el (report-emacs-bug): Factor out any
868 assumption about the version control system in use.
869
870 2014-01-08 David Engster <deng@randomsample.de>
871
872 * help-fns.el (help-fns-describe-function-functions):
873 New variable to call functions for augmenting help buffers.
874 (describe-function-1): Remove explicit calls to
875 `help-fns--compiler-macro', `help-fns--parent-mode' and
876 `help-fns--obsolete'. Put them in above new variable instead, and
877 call them through `run-hook-with-args'.
878 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
879 `eieio-describe-class'. Not meant for interactive use anymore,
880 but to augment existing help buffers. Remove optional second
881 argument. Create proper button for file location.
882 Rewrite function to use `insert' instead of `princ' and `prin1' where
883 possible.
884 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
885 (eieio-method-def, eieio-class-def): Move further up.
886 (describe-method, describe-generic, eieio-describe-method):
887 Remove aliases.
888 (eieio-help-constructor, eieio-help-generic): Rename from
889 `eieio-describe-constructor' and `eieio-describe-generic', resp.
890 Rewrite to use `insert' in the current buffer and use proper help
891 buttons.
892 (eieio-help-find-method-definition)
893 (eieio-help-find-class-definition): Also accept symbols as
894 arguments.
895 (eieio-help-mode-augmentation-maybee): Remove.
896 (eieio-describe-class-sb): Use `describe-function'.
897 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
898 Add `eieio-help-generic' and `eieio-help-constructor'.
899
900 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
901
902 Spelling fixes.
903 * language/china-util.el (hz-ascii-designation):
904 Rename from hz-ascii-designnation.
905 (hz-ascii-designation): Rename from hz-ascii-designnation.
906 All uses changed.
907
908 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
911 package-alist.
912
913 2014-01-08 Bastien Guerry <bzg@gnu.org>
914
915 * emacs-lisp/package.el (package-delete):
916 Correctly delete the package from package-alist.
917
918 2014-01-08 Daiki Ueno <ueno@gnu.org>
919
920 * emacs-lisp/package.el (url-recreate-url): Declare.
921 (url-http-target-url): Declare.
922 (package-handle-response): Include requested URL in the error message.
923 (package--check-signature): Don't re-signal errors from
924 package--with-work-buffer. Suggested by Stefan Monnier.
925
926 2014-01-07 Bastien Guerry <bzg@gnu.org>
927
928 * minibuffer.el (completion--try-word-completion): When both a
929 hyphen and a space are possible candidates for the character
930 following a word, display both candidates. (Bug#15980)
931
932 2014-01-07 Martin Rudalics <rudalics@gmx.at>
933
934 * window.el (balance-windows-2): While rounding don't give a
935 window more than the remainder. Bug#16351, Bug#16383.
936
937 2014-01-07 Glenn Morris <rgm@gnu.org>
938
939 * menu-bar.el (menu-bar-help-extra-packages): Remove.
940 (menu-bar-help-menu): Use view-external-packages instead.
941
942 2014-01-07 Bastien Guerry <bzg@gnu.org>
943
944 * emacs-lisp/package.el (package-delete): Also delete the package
945 name from `package-alist', not its description only.
946
947 2014-01-07 Glenn Morris <rgm@gnu.org>
948
949 * help.el (view-external-packages):
950 * menu-bar.el (menu-bar-help-extra-packages):
951 Visit efaq.info rather than etc/MORE.STUFF.
952
953 2014-01-07 Juri Linkov <juri@jurta.org>
954
955 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
956 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
957
958 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
959 that shadows RET. (Bug#16342)
960
961 2014-01-07 Chong Yidong <cyd@gnu.org>
962
963 * isearch.el (isearch-yank-char, isearch-yank-word)
964 (isearch-yank-line): Doc fix.
965
966 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
969 * emacs-lisp/elint.el (elint-find-builtins):
970 * emacs-lisp/eldoc.el (eldoc-symbol-function):
971 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
972 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
973 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
974 * apropos.el (apropos-safe-documentation):
975 * subr.el (symbol-file): Remove redundant fboundp.
976 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
977
978 2014-01-06 Bastien Guerry <bzg@gnu.org>
979
980 * hl-line.el (global-hl-line-overlay): Make a local variable.
981 (global-hl-line-overlays): New variable to store all overlays.
982 (global-hl-line-mode): Don't delete overlays from the current
983 buffer when `global-hl-line-sticky-flag' is non-nil.
984 (global-hl-line-highlight): Add new overlays to
985 `global-hl-line-overlays'.
986 (global-hl-line-unhighlight-all): New function to delete all
987 overlays when turning off `global-hl-line-mode'.
988 This fixes Bug#16183.
989
990 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
991
992 * subr.el (set-transient-map): Fix nested case and docstring.
993
994 2014-01-06 Tassilo Horn <tsdh@gnu.org>
995
996 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
997 `Texinfo' entry.
998
999 2014-01-06 Daniel Colascione <dancol@dancol.org>
1000
1001 Fix defun navigation in vc log view.
1002
1003 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1004 like `beginning-of-defun'.
1005 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1006 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1007 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1008 (log-view-extract-comment): Call `log-view-current-entry' directly
1009 instead of relying on broken `log-view-beginning-of-defun' behavior.
1010
1011 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1012
1013 Spelling fixes.
1014 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1015 * emacs-lisp/debug.el (cancel-debug-on-entry):
1016 * epg.el (epg-error-to-string):
1017 * files.el (recover-file):
1018 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1019 * mail/emacsbug.el (report-emacs-bug-hook):
1020 * mail/sendmail.el (mail-recover):
1021 * ses.el (ses-yank-resize):
1022 * term/ns-win.el (ns-print-buffer):
1023 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1024 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1025 All uses changed.
1026 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1027
1028 2014-01-06 Leo Liu <sdl.web@gmail.com>
1029
1030 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1031 to avoid shadowing global key. (Bug#16354)
1032
1033 2014-01-06 Daniel Colascione <dancol@dancol.org>
1034
1035 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1036 rst-mode.
1037
1038 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1039
1040 * window.el (balance-windows): Add mising t to fix Bug#16351.
1041
1042 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1043
1044 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1045 (bug#16285).
1046 (shr-insert): If we have a word that's longer than `shr-width',
1047 break after it anyway. Otherwise we'll do no breaking once we get
1048 such a long word.
1049
1050 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1051
1052 * net/eww.el (eww): Support single/double quote for search.
1053 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1054 (eww-history-quit): Delete and use quit-window.
1055 (eww-history-kill): Delete, because it doesn't work well and
1056 not necessary.
1057 (eww-history-mode-map): Delete some keys and add easy-menu.
1058
1059 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1060
1061 Fix misspelling of 'chinese' in rx (Bug#16237).
1062 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1063 chinese-two-byte.
1064
1065 Change subword regexps back to vars (Bug#16296).
1066 * progmodes/subword.el (subword-forward-regexp)
1067 (subword-backward-regexp): Change these back to variables.
1068
1069 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1072 syntax-begin-function (bug#16247).
1073
1074 2014-01-03 Chong Yidong <cyd@gnu.org>
1075
1076 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1077 (advice--docstring): Delete variable.
1078 (advice--make-1): Leave the docstring empty.
1079 (advice-add): Use function-documentation for advised docstring.
1080
1081 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1082 Ignore function-documentation property when getting documentation.
1083 (ad-activate-advised-definition): Use function-documentation
1084 generate the docstring.
1085 (ad-make-advised-definition): Don't call
1086 ad-make-advised-definition-docstring.
1087 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1088 Delete functions.
1089
1090 * progmodes/sql.el (sql-help): Use function-documentation instead
1091 of dynamic-docstring-function property. No need to autoload now.
1092 (sql--help-docstring): New variable.
1093 (sql--make-help-docstring): Use it.
1094
1095 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * ielm.el (ielm-tab): Retarget.
1098 (ielm-map): Use ielm-tab for tab.
1099 (ielm-complete-filename): Use comint-filename-completion.
1100 (ielm-complete-symbol): Remove.
1101 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1102 remove ielm-tab from completion-at-point-functions (bug#16224).
1103
1104 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1105 Beware signals raised by predicates (bug#16201).
1106
1107 2014-01-02 Richard Stallman <rms@gnu.org>
1108
1109 * dired-aux.el (dired-do-print): Handle printer-name.
1110
1111 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1112 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1113 (rmail-epa-decrypt): Turn off mime processing.
1114
1115 * mail/rmail.el (rmail-make-in-reply-to-field):
1116 Add parens in message-id.
1117
1118 * mail/rmail.el (rmail-get-coding-function): Variable.
1119 (rmail-get-coding-system): Use it.
1120
1121 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1122
1123 * international/mule-conf.el: Unify the charset indian-is13194.
1124 (indian-is13194): Specify unify-map.
1125
1126 2013-12-31 Leo Liu <sdl.web@gmail.com>
1127
1128 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1129
1130 2013-12-30 Daniel Colascione <dancol@dancol.org>
1131
1132 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1133 of printing a useless when we resume from sleep.
1134
1135 * progmodes/sh-script.el
1136 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1137 in indentation code. (Bug#16233)
1138
1139 2013-12-28 João Távora <joaotavora@gmail.com>
1140
1141 * elec-pair.el (electric-pair-post-self-insert-function):
1142 Don't open extra newlines at beginning of buffer. (Bug#16272)
1143
1144 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1145
1146 * frame.el (window-system-for-display): Don't allow to create a
1147 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1148
1149 2013-12-28 Glenn Morris <rgm@gnu.org>
1150
1151 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1152 Update callers.
1153
1154 * apropos.el (apropos-match-face):
1155 * calculator.el (calculator-displayer):
1156 * dabbrev.el (dabbrev-search-these-buffers-only):
1157 * face-remap.el (buffer-face-mode-face):
1158 * simple.el (yank-handled-properties):
1159 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1160 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1161 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1162 (hashcash-double-spend-database):
1163 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1164 (ruby-deep-indent-paren-style):
1165 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1166 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1167 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1168 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1169 Specify custom types.
1170
1171 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1172 * bookmark.el (bookmark-bmenu-use-header-line):
1173 * doc-view.el (doc-view-scale-internally):
1174 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1175 * register.el (register-preview-delay):
1176 * net/shr.el (shr-bullet):
1177 * progmodes/cfengine.el (cfengine-cf-promises)
1178 (cfengine-parameters-indent):
1179 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1180 * textmodes/reftex-vars.el (reftex-label-regexps):
1181 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1182
1183 * net/tls.el (tls-certtool-program): Fix default value.
1184
1185 * desktop.el (desktop-restore-in-current-display):
1186 * newcomment.el (comment-empty-lines):
1187 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1188 (idlwave-pad-keyword):
1189 * progmodes/tcl.el (tcl-tab-always-indent):
1190 * textmodes/reftex-vars.el (reftex-index-default-tag):
1191 * elec-pair.el (electric-pair-skip-whitespace):
1192 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1193
1194 * emacs-lisp/authors.el (authors-ignored-files)
1195 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1196
1197 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1198
1199 * shell.el (shell-dynamic-complete-command): Doc fix.
1200 (shell--command-completion-data): Shell completion now matches
1201 executable filenames from the current buffer's directory, on
1202 systems in which this behavior is the default (windows-nt, ms-dos).
1203
1204 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1205
1206 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1207
1208 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1211 (bug#16251).
1212
1213 * electric.el: Move all electric-pair-* to elec-pair.el.
1214 * elec-pair.el: New file, split from electric.el.
1215
1216 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1217
1218 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1219 indentation level is larger than the width, because that will
1220 infloop.
1221 (shr-insert): Fill repeatedly long texts, so that Japanese is
1222 formatted correctly (bug#16263).
1223 (shr-find-fill-point): Off by one error in comparison with the
1224 indentation.
1225
1226 2013-12-26 João Távora <joaotavora@gmail.com>
1227
1228 * electric.el (electric-pair-mode): More flexible engine for skip-
1229 and inhibit predicates, new options for pairing-related functionality.
1230 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1231 if that keeps or improves their balance in buffers.
1232 (electric-pair-delete-adjacent-pairs): Delete the pair when
1233 backspacing over adjacent matched delimiters.
1234 (electric-pair-open-extra-newline): Open extra newline when
1235 inserting newlines between adjacent matched delimiters.
1236 (electric--sort-post-self-insertion-hook):
1237 Sort post-self-insert-hook according to priority values when
1238 minor-modes are activated.
1239 * simple.el (newline-and-indent): Call newline with interactive
1240 set to t.
1241 (blink-paren-post-self-insert-function): Set priority to 100.
1242 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1243 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1244 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1245 electric-pair-open-newline-between-pairs to nil.
1246
1247 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1248
1249 * progmodes/python.el: Use lexical-binding.
1250 (python-nav-beginning-of-defun): Stop searching ASAP.
1251
1252 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1253
1254 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1255 Fix interactive spec. Doc fix. (Bug#15754)
1256
1257 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1258
1259 * emacs-lisp/byte-run.el (eval-when-compile):
1260 * progmodes/cc-defs.el (cc-eval-when-compile):
1261 Fix edebug spec (bug#16184).
1262
1263 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1264
1265 * net/shr.el (shr-visit-file): Remove debugging function.
1266 (shr-insert): Don't infloop if we can't find a good place to break
1267 the line (bug#16256).
1268
1269 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1270
1271 * progmodes/python.el:
1272 (python-nav--lisp-forward-sexp): New function.
1273 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1274 python-nav-lisp-forward-sexp-safe.
1275 (python-nav--forward-sexp): New argument SAFE allows switching
1276 forward sexp movement behavior for parens.
1277 (python-nav-forward-sexp): Throw errors on unterminated parens
1278 (Bug#16191).
1279 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1280 (python-nav-backward-sexp-safe): New functions.
1281 (python-shell-buffer-substring):
1282 Use `python-nav-forward-sexp-safe'.
1283
1284 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1285
1286 * net/shr.el (shr-find-fill-point): Don't break lines before a
1287 quotation mark.
1288 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1289 (shr-find-fill-point): Remove the special checks for the quotation
1290 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1291
1292 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1293
1294 * net/eww.el (eww-form-textarea): Use a different face for
1295 textareas than text input since they have different keymaps
1296 (bug#16142).
1297
1298 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1299
1300 * progmodes/python.el (python-nav-beginning-of-statement):
1301 Speed up (Bug#15295).
1302
1303 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1304
1305 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1306 the window configuration.
1307
1308 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1309
1310 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1311 we run on MS-Windows or MS-DOS.
1312
1313 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1314
1315 * window.el (balance-windows-area): Call window-size instead of
1316 window-height and window-width. Bug#16241.
1317
1318 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1319
1320 * net/eww.el (eww-bookmark-quit): Remove.
1321 (eww-bookmark-browse): Restore the window configuration when you
1322 choose a bookmark (bug#16144).
1323
1324 2013-12-24 Daniel Colascione <dancol@dancol.org>
1325
1326 * icomplete.el: Remove redundant :group arguments to `defcustom'
1327 throughout.
1328 (icomplete-show-matches-on-no-input): New customizable variable.
1329 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1330 we have something to show.
1331 (icomplete-exhibit): Compute completions even if we have no user input.
1332
1333 2013-12-23 Daniel Colascione <dancol@dancol.org>
1334
1335 * icomplete.el: Move `provide' to end of file.
1336
1337 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1338
1339 * net/gnutls.el (gnutls-verify-error): Add version tag.
1340
1341 2013-12-23 Chong Yidong <cyd@gnu.org>
1342
1343 * subr.el (set-transient-map): Rename from
1344 set-temporary-overlay-map. Doc fix.
1345
1346 * face-remap.el (text-scale-adjust):
1347 * indent.el (indent-rigidly):
1348 * kmacro.el (kmacro-call-macro):
1349 * minibuffer.el (minibuffer-force-complete):
1350 * repeat.el (repeat):
1351 * simple.el (universal-argument--mode):
1352 * calendar/todo-mode.el (todo-insert-item--next-param):
1353 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1354
1355 * indent.el (indent-rigidly): Use substitute-command-keys.
1356
1357 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1358
1359 * net/eww.el (eww-tag-select): Add text-property to jump to next
1360 select field.
1361 (eww): Add non-supported ftp error.
1362
1363 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1364
1365 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1366 comments. Handle electric indent after typing `?' and `!'.
1367
1368 2013-12-22 Chong Yidong <cyd@gnu.org>
1369
1370 * faces.el (face-spec-recalc): If the theme specs are not
1371 applicable to a frame, fall back on the defface spec.
1372 This prevents themes from obliterating faces on low-color terminals.
1373
1374 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1375
1376 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1377 after `{'. We need it after block openers, and it doesn't seem
1378 to hurt after hash openers.
1379
1380 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1381
1382 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1383 extracted from `ruby-smie-rules'.
1384 (ruby--electric-indent-chars): New variable.
1385 (ruby--electric-indent-p): New function.
1386 (ruby-mode): Use `electric-indent-functions' instead of
1387 `electric-indent-chars'.
1388
1389 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1390
1391 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1392 docstring.
1393 (ruby-smie-rules): Indent plus one level after `=>'.
1394
1395 2013-12-21 Richard Stallman <rms@gnu.org>
1396
1397 * simple.el (newline): Doc fix.
1398
1399 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1400
1401 * net/eww.el (eww-list-histories, eww-list-histories)
1402 (eww-history-browse, eww-history-quit, eww-history-kill)
1403 (eww-history-mode-map, eww-history-mode): New command and
1404 functions to list browser histories.
1405 (eww-form-text): Support text form with disabled
1406 and readonly attributes.
1407 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1408
1409 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1410
1411 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1412 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1413 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1414 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1415 Use `user-error'.
1416 (eww-bookmark-mode-map): Add menu.
1417 (eww-render, eww-mode): Use `setq-local'.
1418 (eww-tool-bar-map): New variable.
1419 (eww-mode): Set `tool-bar-map'.
1420 (eww-view-source): Check for `html-mode' with `fboundp'.
1421
1422 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1423
1424 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1425 elements with text inside. Also remove debugging.
1426
1427 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1428
1429 * cus-start.el (all): Add ns-use-srgb-colorspace.
1430
1431 2013-12-21 Chong Yidong <cyd@gnu.org>
1432
1433 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1434 undefined. Thus, theme settings for undefined faces do not take
1435 effect until the faces are defined with defface, the same as with
1436 theme variables.
1437
1438 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1439 (face-spec-reset-face): Don't assign extra properties in temacs.
1440 (face-spec-recalc): Apply X resources too.
1441
1442 2013-12-21 Chong Yidong <cyd@gnu.org>
1443
1444 * faces.el (face-spec-set):
1445 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1446 * custom.el (defface): Doc fixes (Bug#16203).
1447
1448 * indent.el (indent-rigidly-map): Add docstring, and move commands
1449 into named functions.
1450 (indent-rigidly-left, indent-rigidly-right)
1451 (indent-rigidly-left-to-tab-stop)
1452 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1453 indentation direction based on bidi direction, and accumulate
1454 sequential commands in a single undo boundary.
1455 (indent-rigidly--pop-undo): New utility function.
1456
1457 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1458
1459 * faces.el (read-face-name): Require crm.el when using crm-separator.
1460
1461 2013-12-20 Daniel Colascione <dancol@dancol.org>
1462
1463 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1464 so that we don't reflow comments into the shebang line.
1465
1466 2013-12-20 Juri Linkov <juri@jurta.org>
1467
1468 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1469 a position when `dired-directory' is non-nil. Check integer
1470 positions with `integerp'.
1471 (toggle-save-place, save-places-to-alist): Add check for
1472 `dired-directory'.
1473 (save-place-find-file-hook): Check integer positions with
1474 `integerp'.
1475 (save-place-dired-hook): Use `dired-goto-file' when
1476 `dired-filename' is found in the assoc list. Check integer
1477 positions with `integerp'.
1478 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1479
1480 * dired.el (dired-initial-position-hook): Rename back from
1481 `dired-initial-point-hook'.
1482 (dired-initial-position): Rename `dired-initial-point-hook' to
1483 `dired-initial-position-hook'.
1484 (dired-file-name-at-point): Doc fix. (Bug#15329)
1485
1486 2013-12-20 Juri Linkov <juri@jurta.org>
1487
1488 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1489 (read-regexp-suggestions): New function.
1490 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1491 Use `read-regexp-suggestions'. Add non-empty default to history
1492 for empty input.
1493 (occur-read-regexp-defaults-function): Remove function.
1494 (occur-read-primary-args): Use `regexp-history-last' instead of
1495 `occur-read-regexp-defaults-function'.
1496
1497 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1498 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1499 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1500 `hi-lock-read-regexp-defaults-function'. Doc fix.
1501 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1502 with `find-tag-default-as-symbol-regexp'. Doc fix.
1503 (hi-lock-read-regexp-defaults): Remove function.
1504 (hi-lock-regexp-okay): Add check for null.
1505
1506 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1507 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1508
1509 * subr.el (find-tag-default-as-symbol-regexp): New function.
1510 (find-tag-default-as-regexp): Move symbol regexp formatting to
1511 `find-tag-default-as-symbol-regexp'.
1512
1513 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1514
1515 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1516 (Bug#14179)
1517
1518 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1519
1520 * calendar/todo-mode.el: New implementation of item insertion
1521 commands and key bindings.
1522 (todo-key-prompt): New face.
1523 (todo-insert-item): New command.
1524 (todo-insert-item--parameters): New defconst, replacing defvar
1525 todo-insertion-commands-args-genlist.
1526 (todo-insert-item--param-key-alist): New defconst, replacing
1527 defvar todo-insertion-commands-arg-key-list.
1528 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1529 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1530 (todo-insert-item--next-param): New functions.
1531 (todo-insert-item--args, todo-insert-item--argleft)
1532 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1533 New variables.
1534 (todo-key-bindings-t): Change binding of "i" from
1535 todo-insertion-map to todo-insert-item.
1536 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1537 (todo-insertion-command-name, todo-insertion-commands-names)
1538 (todo-define-insertion-command, todo-insertion-commands)
1539 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1540
1541 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1542
1543 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1544 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1545 eval-when-compile.
1546 (todo-move-category): Allow choosing a non-existing todo file to
1547 move the category to, and create that file.
1548 (todo-default-priority): New user option.
1549 (todo-set-item-priority): Use it.
1550 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1551 (desktop-restore-file-buffer): Declare.
1552 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1553 (todo-modes-set-2): Locally set desktop-save-buffer to
1554 todo-desktop-save-buffer.
1555 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1556 (auto-mode-alist): Add autoload cookie.
1557
1558 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1559
1560 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1561 helpers.el was a poor choice of name.
1562 (string-remove-prefix): New function.
1563 (string-remove-suffix): New function.
1564
1565 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1566
1567 Fix assignment for new window total sizes.
1568 * window.el (window--pixel-to-size): Remove function.
1569 (window--pixel-to-total-1, window--pixel-to-total):
1570 Fix calculation of new total sizes.
1571
1572 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1573
1574 * comint.el (comint-output-filter): Fix rear-nonsticky property
1575 placement (Bug#16010).
1576
1577 2013-12-20 Chong Yidong <cyd@gnu.org>
1578
1579 * faces.el (read-color): Minor fix for completion function.
1580
1581 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1582
1583 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1584 New option. (Bug#16182)
1585 (ruby-smie--indent-to-stmt-p): Use it.
1586 (ruby-smie-rules): Revert the logic in the handling of `when'.
1587 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1588 (ruby-deep-arglist, ruby-deep-indent-paren)
1589 (ruby-deep-indent-paren-style): Update docstrings to note that the
1590 vars don't have any effect with SMIE.
1591
1592 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1593
1594 * calc/calc.el (calc-enter, calc-pop): Use the variable
1595 `calc-context-sensitive-enter'.
1596
1597 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1598
1599 * net/shr.el (shr-insert): Protect against infloops in degenerate
1600 tables.
1601
1602 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1603
1604 * progmodes/octave.el (octave): Add link to manual and octave
1605 homepage.
1606 (octave-mode-menu): Link to octave-mode manual.
1607
1608 2013-12-20 Leo Liu <sdl.web@gmail.com>
1609
1610 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1611 insertion using skeleton-end-newline. (Bug#16138)
1612
1613 2013-12-20 Juri Linkov <juri@jurta.org>
1614
1615 * replace.el (occur-engine): Use `add-face-text-property'
1616 to add the face property to matches and titles. (Bug#14645)
1617
1618 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1619 the palette of other hi-lock colors.
1620 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1621
1622 2013-12-19 Juri Linkov <juri@jurta.org>
1623
1624 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1625 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1626 (minibuffer-history-symbol): Move variable declaration closer to
1627 its usage.
1628
1629 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1630 (Bug#14785)
1631
1632 2013-12-19 Juri Linkov <juri@jurta.org>
1633
1634 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1635 New function.
1636 (log-edit-hook): Add it to :options. (Bug#16170)
1637
1638 2013-12-19 Juri Linkov <juri@jurta.org>
1639
1640 * simple.el (eval-expression-print-format): Don't check for
1641 command names and the last command. Always display additional
1642 formats of the integer result in the echo area, and insert them
1643 to the current buffer only with a zero prefix arg.
1644 Display character when char-displayable-p is non-nil.
1645 (eval-expression): With a zero prefix arg, set `print-length' and
1646 `print-level' to nil, and insert the integer values from
1647 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1648
1649 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1650 `eval-last-sexp-arg-internal'. Doc fix.
1651 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1652 `eval-last-sexp-print-value'. Doc fix.
1653 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1654 Set `print-length' and `print-level' to nil when arg is zero.
1655 (eval-last-sexp): Doc fix.
1656 (eval-defun-2): Print the integer values from
1657 `eval-expression-print-format' at the end.
1658
1659 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1660 values from `eval-expression-print-format' at the end.
1661
1662 * ielm.el (ielm-eval-input): Print the integer
1663 values from `eval-expression-print-format' at the end.
1664
1665 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1666
1667 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1668 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1669
1670 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1673 (hl-line-highlight, global-hl-line-highlight): Use it.
1674 (hl-line-overlay): Use defvar-local.
1675
1676 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1677
1678 * term/ns-win.el: Require dnd.
1679 (global-map): Remove drag items.
1680 (ns-insert-text, ns-set-foreground-at-mouse)
1681 (ns-set-background-at-mouse):
1682 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1683 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1684 New functions.
1685
1686 2013-12-19 Glenn Morris <rgm@gnu.org>
1687
1688 * emacs-lisp/ert.el (ert-select-tests):
1689 Fix string/symbol mixup. (Bug#16121)
1690
1691 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1692
1693 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1694 keywords to their parent.
1695
1696 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1697
1698 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1699 first arg to be a string (fixed dead code), or an operator symbol.
1700 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1701 operator symbols.
1702 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1703 did nothing. Don't respond to `(:after ".")', it will be called
1704 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1705 change anything. Only return indentation for binary operators
1706 when they are hanging. De-dent opening paren when its parent is
1707 `.', otherwise it looks bad when the dot is not at bol or eol
1708 (bug#16182).
1709
1710 2013-12-19 Juri Linkov <juri@jurta.org>
1711
1712 * replace.el (query-replace-read-args): Split a non-negative arg
1713 and a negative arg into separate elements.
1714 (query-replace, query-replace-regexp, replace-string)
1715 (replace-regexp): Add arg `backward'. Doc fix.
1716 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1717 move point to the beginning of the match.
1718 (replace-search, replace-highlight): Use new arg `backward'
1719 to set the value of `isearch-forward'.
1720 (perform-replace): Add arg `backward' and use it to perform
1721 replacement backward. (Bug#14979)
1722
1723 * isearch.el (isearch-query-replace): Use a negative prefix arg
1724 to call `perform-replace' with a non-nil arg `backward'.
1725
1726 2013-12-18 Juri Linkov <juri@jurta.org>
1727
1728 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1729 to the default list. Move `log-edit-show-files' to the end.
1730 Add more available functions to options.
1731 (log-edit): Move default specific settings to
1732 `log-edit-insert-message-template'. Don't move point.
1733 (log-edit-insert-message-template): New function.
1734 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1735 (Bug#16170)
1736
1737 2013-12-18 Juri Linkov <juri@jurta.org>
1738
1739 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1740 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1741
1742 2013-12-18 Leo Liu <sdl.web@gmail.com>
1743
1744 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1745 (Bug#16186)
1746
1747 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1748
1749 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1750 formats for displaying file sizes when the -s switch is given.
1751 Instead, compute a separate format for displaying the size in
1752 blocks, which is displayed in addition to the "regular" size.
1753 When -h is given in addition to -s, produce size in blocks in
1754 human-readable form as well. (Bug#16179)
1755
1756 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1757
1758 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1759 Reference tables with ~\ref{...} instead of only \ref{...}.
1760
1761 2013-12-18 Chong Yidong <cyd@gnu.org>
1762
1763 * cus-edit.el (custom-magic-alist): Fix "themed" description
1764 (Bug#14348).
1765
1766 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1767 is non-nil, do not create a new entry in the symbol's theme-value
1768 or theme-face property; update theme-settings only (Bug#14664).
1769 (custom-available-themes): Doc fix.
1770
1771 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1772 (Bug#15674).
1773
1774 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1775
1776 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1777
1778 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1779 (Bug#13914).
1780
1781 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1782
1783 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1784
1785 2013-12-18 Glenn Morris <rgm@gnu.org>
1786
1787 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1788 * cus-start.el (load-prefer-newer): New option.
1789
1790 2013-12-18 Le Wang <l26wang@gmail.com>
1791
1792 * comint.el (comint-previous-matching-input-from-input):
1793 Retain point (Bug#13404).
1794
1795 2013-12-18 Chong Yidong <cyd@gnu.org>
1796
1797 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1798
1799 2013-12-18 Glenn Morris <rgm@gnu.org>
1800
1801 * mail/emacsbug.el (report-emacs-bug):
1802 Only mention enable-multibyte-characters if non-standard.
1803
1804 2013-12-17 Juri Linkov <juri@jurta.org>
1805
1806 * arc-mode.el (archive-extract-by-file): Check if directory exists
1807 before deletion to not show irrelevant errors if it doesn't exist.
1808
1809 2013-12-17 Juri Linkov <juri@jurta.org>
1810
1811 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1812 (Bug#14751)
1813
1814 * net/eww.el (browse-web): Add alias to `eww'.
1815 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1816 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1817
1818 * net/browse-url.el (browse-url-browser-function): Move `eww'
1819 closer to similar functions.
1820
1821 * startup.el (fancy-startup-screen, fancy-about-screen):
1822 Set browse-url-browser-function to eww-browse-url locally.
1823 (Bug#14751)
1824
1825 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * window.el (window--pixel-to-total): Remove unused `mini' var.
1828 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1829 (split-window): Remove unused `new' var.
1830 (window--display-buffer): Remove unused `frame' and `delta' vars.
1831 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1832 and display-width'.
1833
1834 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1835
1836 * dired.el (dired-mark-pop-up):
1837 * register.el (register-preview): Don't bind
1838 split-height-threshold here since it's now done in
1839 display-buffer-below-selected.
1840
1841 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1842
1843 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1844 xterm-rgb-convert-to-16bit.
1845 (rxvt-register-default-colors): Standardize with
1846 xterm-register-default-colors (Bug#14078).
1847
1848 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1849
1850 * simple.el (kill-region): Pass mark first, then point, so that
1851 kill-append works right (Bug#12819).
1852 (copy-region-as-kill, kill-ring-save): Likewise.
1853
1854 2013-12-17 Leo Liu <sdl.web@gmail.com>
1855
1856 * net/rcirc.el (rcirc-add-face):
1857 * eshell/em-prompt.el (eshell-emit-prompt):
1858 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1859 (Bug#16167)
1860
1861 2013-12-17 Chong Yidong <cyd@gnu.org>
1862
1863 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1864 Suggested by Xue Fuqiao.
1865
1866 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1867
1868 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1869
1870 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * net/shr.el (shr-insert-document): Remove unused var
1873 `shr-preliminary-table-render'.
1874 (shr-rescale-image): Remove unused arg `force'.
1875 (shr-put-image): Update calls accordingly.
1876 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1877
1878 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1879
1880 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1881 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1882 :close-all, to see which indentation method to use (Bug#16116).
1883 (smie-rules-function): Document the method :close-all.
1884
1885 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1886
1887 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1888
1889 * net/eww.el (eww-display-html): If we can't find the anchor we're
1890 looking for, then go to point-min.
1891
1892 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1893
1894 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1895 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1896 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1897 Expand dir too, in case it's relative.
1898
1899 2013-12-16 Juri Linkov <juri@jurta.org>
1900
1901 * desktop.el (desktop-auto-save-timeout): Change default to
1902 `auto-save-timeout'. Doc fix.
1903 (desktop-save): Skip the timestamp in desktop-saved-frameset
1904 when checking for auto-save changes.
1905 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1906 `desktop-auto-save' is called repeatedly by the idle timer.
1907 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1908 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1909 (Bug#15331)
1910
1911 2013-12-16 Juri Linkov <juri@jurta.org>
1912
1913 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1914 (Bug#16035)
1915 (isearch-pre-command-hook): Check `this-command' for symbolp.
1916
1917 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1920
1921 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1922
1923 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1924 (cfengine3--current-function): Bring in the current-function
1925 functionality from `cfengine3--current-word'.
1926 (cfengine3-completion-function): Bring in the
1927 bounds-of-current-word functionality from
1928 `cfengine3--current-word'.
1929
1930 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1931
1932 * window.el (display-buffer-below-selected):
1933 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1934
1935 2013-12-16 Leo Liu <sdl.web@gmail.com>
1936
1937 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1938 Remove NOMSG arg and all uses changed.
1939
1940 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1943 (cua--deactivate-rectangle): Don't deactivate the mark.
1944 (cua-set-rectangle-mark): Don't set mark-active since
1945 cua--activate-rectangle already does it for us.
1946 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1947 non-rectangular region.
1948
1949 * emulation/cua-base.el (cua-repeat-replace-region):
1950 Use with-current-buffer.
1951
1952 * net/gnutls.el: Use cl-lib.
1953 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1954
1955 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1956
1957 * emacs-lisp/package.el (package-built-in-p): Support both
1958 built-in and the package.el converted package descriptions.
1959 (package-show-package-list): Allow keywords.
1960 (package-keyword-button-action): Use it instead of
1961 `finder-list-matches'.
1962 (package-menu-filter-interactive): Interactive filtering (by
1963 keyword) function.
1964 (package-menu--generate): Support keywords and change keymappings
1965 and headers when they are given.
1966 (package--has-keyword-p): Helper function.
1967 (package-menu--refresh): Use it.
1968 (package--mapc): Helper function.
1969 (package-all-keywords): Use it.
1970 (package-menu-mode-map): Set up menu items and keybindings to
1971 provide a filtering UI.
1972
1973 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1974
1975 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1976 the behavior when a certificate fails validation. Defaults to
1977 old behavior: never abort, just warn.
1978 (gnutls-negotiate): Use it.
1979
1980 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1981
1982 * window.el (display-buffer-below-selected): Never split window
1983 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1984
1985 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1986
1987 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1988 (package-buffer-info): Use it (bug#15108).
1989
1990 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * icomplete.el (icomplete-completions): Make sure the prefix is already
1993 displayed elsewhere before hiding it (bug#16219).
1994
1995 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1996
1997 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1998 open-paren tokens when preceded by a open-paren, too.
1999 (ruby-smie-rules): Handle virtual indentation after open-paren
2000 tokens specially. If there is code between it and eol, return the
2001 column where is starts (Bug#16118).
2002
2003 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2004
2005 * progmodes/cfengine.el: Fix `add-hook' doc.
2006 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2007 (cfengine3--current-word): Fix parameters.
2008 (cfengine3-make-syntax-cache): Simplify further.
2009 (cfengine3-completion-function, cfengine3--current-function):
2010 Use `assq' for symbols.
2011 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2012
2013 2013-12-13 Glenn Morris <rgm@gnu.org>
2014
2015 * loadup.el (load-path): Warn if site-load or site-init changes it.
2016 No more need to reset it when bootstrapping.
2017
2018 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2019
2020 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2021 locations for cf-promises.
2022 (cfengine-mode-syntax-functions-regex): New caching variable.
2023 (cfengine3-fallback-syntax): Fallback syntax for cases where
2024 cf-promises doesn't run.
2025 (cfengine3--current-word): Reimplement using
2026 `cfengine-mode-syntax-functions-regex'.
2027 (cfengine3-completion-function, cfengine3--current-function):
2028 Use `cfengine3-make-syntax-cache' directly.
2029 (cfengine3-clear-syntax-cache): New function.
2030 (cfengine3-make-syntax-cache): Simplify and create
2031 `cfengine-mode-syntax-functions-regex' on demand.
2032 (cfengine3-format-function-docstring): Don't call
2033 `cfengine3-make-syntax-cache' explicitly.
2034
2035 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2036
2037 Fix windmove-find-other-window broken after pixelwise resizing
2038 (Bug#16017).
2039 * windmove.el (windmove-other-window-loc): Revert change from
2040 2013-12-04.
2041 (windmove-find-other-window): Call window-in-direction.
2042 * window.el (window-in-direction): New arguments SIGN, WRAP and
2043 MINI to emulate original windmove-find-other-window behavior.
2044
2045 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * simple.el (blink-matching--overlay): New variable.
2048 (blink-matching-open): Instead of moving point, highlight the
2049 matching paren with an overlay
2050 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2051
2052 * faces.el (paren-showing-faces, show-paren-match)
2053 (show-paren-mismatch): Move from paren.el.
2054
2055 2013-12-13 Leo Liu <sdl.web@gmail.com>
2056
2057 * indent.el (indent-region): Disable progress reporter in
2058 minibuffer. (Bug#16108)
2059
2060 * bindings.el (visual-order-cursor-movement): Fix version.
2061
2062 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2063
2064 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2065 Also match after beginning of line.
2066 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2067 files. Thanks to Russell Sim. (Bug#15378)
2068
2069 2013-12-13 Juri Linkov <juri@jurta.org>
2070
2071 * simple.el <Keypad support>: Remove key bindings duplicated
2072 with bindings.el. (Bug#14397)
2073
2074 2013-12-13 Juri Linkov <juri@jurta.org>
2075
2076 * comint.el (comint-mode-map): Replace `delete-char' with
2077 `delete-forward-char'. (Bug#16109)
2078
2079 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2080
2081 * progmodes/python.el (python-indent-calculate-indentation):
2082 Fix de-denters cornercase. (Bug#15731)
2083
2084 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2087 (advice--make): Pay attention to `depth'.
2088 (advice--make-1): Don't autoload commands eagerly.
2089 * emacs-lisp/elp.el (elp-instrument-function):
2090 * emacs-lisp/trace.el (trace-function-internal):
2091 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2092
2093 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2094
2095 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2096
2097 * term/w32-win.el (w32-handle-dropped-file):
2098 * startup.el (normal-top-level):
2099 * net/browse-url.el (browse-url-file-url):
2100 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2101 decode file names using 'utf-8' rather than
2102 file-name-coding-system.
2103
2104 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2105
2106 * progmodes/python.el (python-indent-context)
2107 (python-indent-calculate-indentation): Fix auto-identation
2108 behavior for comment blocks. (Bug#15916)
2109
2110 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2111
2112 * progmodes/python.el (python-indent-calculate-indentation):
2113 When determining indentation, don't treat "return", "pass", etc., as
2114 operators when they are just string constituents. (Bug#15812)
2115
2116 2013-12-12 Juri Linkov <juri@jurta.org>
2117
2118 * uniquify.el (uniquify-buffer-name-style): Change default to
2119 `post-forward-angle-brackets'.
2120
2121 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2122 `uniquify'. Change default to `post-forward-angle-brackets'.
2123
2124 2013-12-11 Glenn Morris <rgm@gnu.org>
2125
2126 * emacs-lisp/package.el (finder-list-matches):
2127 Autoload rather than falsely declaring.
2128
2129 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2130
2131 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2132 (eww-mode-map): Use them.
2133
2134 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2135
2136 * window.el (display-buffer-in-side-window): Fix doc-string
2137 (Bug#16115).
2138
2139 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2140
2141 * vc/vc-git.el: Silence byte-compiler warnings.
2142 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2143 (log-edit-set-header): Declare.
2144
2145 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2146
2147 * Makefile.in (custom-deps, finder-data): Run output file names
2148 through unmsys--file-name. (Bug#16099)
2149
2150 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2153 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2154
2155 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2156 instead of deleting the selection "by hand" (bug#16098).
2157 Rely on insert-for-yank to yank rectangles.
2158 (cua-highlight-region-shift-only): Mark obsolete.
2159 (cua-mode): Don't enable/disable transient-mark-mode,
2160 shift-select-mode (cua-mode works both with and without them), and
2161 pc-selection-mode (obsolete).
2162 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2163 (cua--deactivate-rectangle): Deactivate it.
2164
2165 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2166 (delete-selection-helper): Make sure yank starts at the top of the
2167 deleted region.
2168 (minibuffer-keyboard-quit): Use region-active-p.
2169
2170 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2171
2172 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2173 to `delete' (bug#16109).
2174
2175 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2176
2177 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2178 info manual and show keybindings and set `:group' keyword.
2179
2180 2013-12-11 Juri Linkov <juri@jurta.org>
2181
2182 * delsel.el (delete-active-region): Let-bind `this-command'
2183 to prevent `kill-region' from changing its original value.
2184 (delete-selection-helper): Handle `overwrite-mode' for the type
2185 `kill' exactly the same way as for the type `t'.
2186 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2187 Support more commands. (Bug#13312)
2188
2189 2013-12-11 Juri Linkov <juri@jurta.org>
2190
2191 * bindings.el: Map kp keys to non-kp keys systematically
2192 with basic modifiers control, meta and shift. (Bug#14397)
2193
2194 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2195
2196 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2197 "Close browser" menu items. Fix wrong function of "List
2198 bookmarks".
2199
2200 2013-12-11 Juri Linkov <juri@jurta.org>
2201
2202 * misearch.el (multi-isearch-buffers): Set the value of
2203 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2204 arg of isearch-forward to t.
2205 (multi-isearch-buffers-regexp): Set the value of
2206 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2207 arg of isearch-forward-regexp to t.
2208 (multi-isearch-files): Set the value of
2209 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2210 arg of isearch-forward to t.
2211 (multi-isearch-files-regexp): Set the value of
2212 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2213 arg of isearch-forward-regexp to t. (Bug#16035)
2214
2215 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2216 arg of isearch-forward to t.
2217 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2218 arg of isearch-forward-regexp to t.
2219 (dired-isearch-filter-filenames): Remove unnecessary check for
2220 `dired-isearch-filenames'.
2221
2222 * comint.el (comint-history-isearch-backward):
2223 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2224 (comint-history-isearch-backward-regexp):
2225 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2226
2227 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2228
2229 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2230 unmsys--file-name. (Bug#16099)
2231
2232 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2233
2234 * emacs-lisp/package.el (package-keyword-button-action):
2235 Remove finder.el require dependency.
2236
2237 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2238
2239 * emacs-lisp/package.el: Require finder.el.
2240 (describe-package-1): Add keyword buttons.
2241 (package-make-button): New convenience function.
2242 (package-keyword-button-action): Keyword button action using
2243 `finder-list-matches'.
2244
2245 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2246
2247 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2248 last commit.
2249
2250 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2251
2252 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2253 symlinked files.
2254
2255 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2258 after the end of a percent literal.
2259
2260 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2261
2262 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2263 Handle caret-delimited strings (Bug#16079).
2264
2265 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2268 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2269 `ruby-parse-partial' (Bug#16078).
2270
2271 2013-12-09 Leo Liu <sdl.web@gmail.com>
2272
2273 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2274
2275 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2276
2277 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2278 (js-switch-indent-offset): New option.
2279 (js--proper-indentation): Use it. And handle the case when
2280 "default" is actually a key in an object literal.
2281 (js--same-line): New function.
2282 (js--multi-line-declaration-indentation): Use it.
2283 (js--indent-in-array-comp, js--array-comp-indentation):
2284 New functions.
2285 (js--proper-indentation): Use them, to handle array comprehension
2286 continuations.
2287
2288 2013-12-08 Leo Liu <sdl.web@gmail.com>
2289
2290 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2291 (flymake-make-overlay): Remove arg MOUSE-FACE.
2292 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2293
2294 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2297 New function.
2298 (redisplay-highlight-region-function): Use it.
2299
2300 * emulation/cua-base.el (cua--explicit-region-start)
2301 (cua--last-region-shifted): Remove.
2302 (cua--deactivate): Use deactivate-mark.
2303 (cua--pre-command-handler-1): Don't handle shift-selection.
2304 (cua--post-command-handler-1): Don't change transient-mark-mode.
2305 (cua--select-keymaps): Use region-active-p rather than
2306 cua--explicit-region-start or cua--last-region-shifted.
2307 (cua-mode): Enable shift-select-mode.
2308
2309 2013-12-08 Leo Liu <sdl.web@gmail.com>
2310
2311 * progmodes/flymake.el (flymake-popup-current-error-menu):
2312 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2313 (flymake-posn-at-point-as-event, flymake-popup-menu)
2314 (flymake-make-emacs-menu): Remove. (Bug#16077)
2315
2316 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * rect.el (rectangle-mark-mode): Activate mark even if
2319 transient-mark-mode is off (bug#16066).
2320 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2321 is > mark and at bolp.
2322
2323 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2324 (region-extract-function): Use it.
2325 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2326 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2327 Delete functions.
2328 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2329 kill-ring-save, kill-region, delete-char, delete-forward-char.
2330 Ignore self-insert-iso.
2331
2332 * emulation/cua-gmrk.el (cua--init-global-mark):
2333 Ignore `self-insert-iso'.
2334
2335 * emulation/cua-base.el (cua--prefix-copy-handler)
2336 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2337 checking cua--rectangle.
2338 (cua-delete-region): Use region-extract-function.
2339 (cua-replace-region): Delete function.
2340 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2341 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2342 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2343 (cua--init-keymaps): Don't remap delete-selection commands.
2344 (cua-mode): Use delete-selection-mode instead of rolling our own
2345 (bug#16085).
2346
2347 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2348 Obey region-extract-function.
2349
2350 Make registers and delete-selection-mode work on rectangles.
2351 * register.el (describe-register-1): Don't modify the register's value.
2352 (copy-to-register): Obey region-extract-function.
2353 * delsel.el (delete-active-region): Obey region-extract-function.
2354
2355 2013-12-08 Leo Liu <sdl.web@gmail.com>
2356
2357 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2358 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2359 (flymake-compilation-prevents-syntax-check)
2360 (flymake-start-syntax-check-on-newline)
2361 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2362 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2363 (flymake-xml-program, flymake-master-file-dirs)
2364 (flymake-master-file-count-limit)
2365 (flymake-allowed-file-name-masks): Relocate.
2366 (flymake-makehash, flymake-float-time)
2367 (flymake-replace-regexp-in-string, flymake-split-string)
2368 (flymake-get-temp-dir): Remove.
2369 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2370 (flymake-current-row, flymake-selected-frame)
2371 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2372 related functions. (Bug#16077)
2373
2374 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2375
2376 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2377
2378 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2379
2380 * help-fns.el (describe-function-1): Use new advice-* functions
2381 rather than old ad-* functions. Fix function type description and
2382 source links for advised functions and subrs.
2383
2384 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2385
2386 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2387
2388 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2389
2390 * progmodes/compile.el (compilation-start):
2391 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2392
2393 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2394 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2395
2396 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2397
2398 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2399 Touch up the last change.
2400
2401 2013-12-06 Leo Liu <sdl.web@gmail.com>
2402
2403 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2404 (inferior-octave-startup): Always use "octave> " for prompt.
2405 (octave-goto-function-definition)
2406 (octave-sync-function-file-names)
2407 (octave-find-definition-default-filename): Remove redundant backquotes.
2408
2409 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2410
2411 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2412 syntax for `?'.
2413 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2414 where appropriate already.
2415 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2416 end of method names (Bug#15874).
2417
2418 2013-12-06 Juri Linkov <juri@jurta.org>
2419
2420 * isearch.el (isearch--saved-overriding-local-map):
2421 New internal variable.
2422 (isearch-mode): Set it to the initial value of
2423 `overriding-terminal-local-map'.
2424 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2425 with `isearch--saved-overriding-local-map'. (Bug#16035)
2426
2427 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * progmodes/octave.el (inferior-octave-completion-table):
2430 Turn back into function, use `completion-table-with-cache'
2431 (Bug#11906). Update all references.
2432
2433 * minibuffer.el (completion-table-with-cache): New function.
2434
2435 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2436
2437 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2438
2439 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2440
2441 * net/eww.el (eww-current-source): New variable to store page
2442 source.
2443 (eww-display-html, eww-mode, eww-save-history)
2444 (eww-restore-history): Use it.
2445 (eww-view-source): New command to view page source.
2446 Opportunistically uses `html-mode' to highlight the buffer.
2447 (eww-mode-map): Install it.
2448
2449 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/dbus.el (dbus-unregister-service)
2452 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2453 Fix docstring.
2454 (dbus-unregister-service): Skip :serial entries in
2455 `dbus-registered-objects-table'.
2456 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2457
2458 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2459
2460 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2461 around keywords with extra `split-string' argument.
2462
2463 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2464
2465 * windmove.el (windmove-other-window-loc): Handle navigation
2466 between windows (excluding the minibuffer window - Bug#16017).
2467
2468 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2469
2470 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2471 in D-Bus type syntax.
2472 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2473 preserve unibyte strings. (Bug#16048)
2474
2475 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2478 Call force-mode-line-update is the proper buffer (bug#16042).
2479
2480 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2481
2482 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2483 `log-edit-remember-comment', make argument optional. Adjust all
2484 callers.
2485 (log-edit-mode): Add `log-edit-remember-comment' to
2486 `kill-buffer-hook' locally.
2487 (log-edit-kill-buffer): Don't remember comment explicitly since
2488 the buffer is killed anyway.
2489
2490 2013-12-04 Juri Linkov <juri@jurta.org>
2491
2492 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2493 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2494
2495 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2496
2497 * notifications.el (notifications-close-notification): Call the
2498 D-Bus method with ID being a `:uint32'. (Bug#16030)
2499
2500 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2501
2502 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2503
2504 2013-12-03 Juri Linkov <juri@jurta.org>
2505
2506 * progmodes/compile.el (compilation-start): Rename window alist
2507 entry `no-display-ok' to `allow-no-window'.
2508
2509 * simple.el (shell-command): Add window alist entry
2510 `allow-no-window' to `display-buffer'.
2511 (async-shell-command): Doc fix.
2512
2513 * window.el (display-buffer-no-window): New action function.
2514 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2515
2516 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2517
2518 * vc/log-edit.el (log-edit-set-header): Extract from
2519 `log-edit-toggle-header'.
2520 (log-edit-extract-headers): Separate the summary, when extracted
2521 from header, from the rest of the message with an empty line.
2522
2523 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2524 line, if present, to the Summary header.
2525
2526 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2529 in current-buffer (bug#16029).
2530
2531 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2532
2533 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2534 (debugger-mode-map): Bind it.
2535 (debugger--backtrace-base): New function.
2536 (debugger-eval-expression): Use it.
2537 (debugger-frame-number): Skip local vars when present.
2538 (debugger--locals-visible-p, debugger--insert-locals)
2539 (debugger--show-locals, debugger--hide-locals): New functions.
2540
2541 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2542
2543 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2544 "LC_ALL".
2545 (tramp-get-remote-locale): New defun.
2546 (tramp-open-connection-setup-interactive-shell): Use it.
2547
2548 2013-12-02 Leo Liu <sdl.web@gmail.com>
2549
2550 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2551
2552 * progmodes/sh-script.el (sh-shell-process):
2553 * progmodes/octave.el (inferior-octave-process-live-p):
2554 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2555 (gdb-inferior-io-sentinel):
2556 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2557
2558 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2559
2560 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2561 `save-selected-window' to `log-edit-hide-buf'. This makes
2562 `log-edit-show-files' idempotent.
2563 (log-edit-show-files): Mark the new window as dedicated.
2564
2565 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2566
2567 * vc/log-edit.el (log-edit-mode-map): Add binding for
2568 `log-edit-kill-biffer'.
2569 (log-edit-hide-buf): Add a FIXME comment.
2570 (log-edit-add-new-comment): New function, extracted from
2571 `log-edit-done'.
2572 (log-edit-done, log-edit-add-to-changelog): Use it.
2573 (log-edit-kill-buffer): New command.
2574
2575 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2576
2577 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2578 instead of killing the buffer.
2579
2580 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2583
2584 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2585
2586 * net/eww.el (eww-form-checkbox-selected-symbol)
2587 (eww-form-checkbox-symbol): New customizable variable.
2588 (eww-form-checkbox, eww-toggle-checkbox):
2589 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2590
2591 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2592 (shr--get-media-pref, shr--extract-best-source): New function.
2593 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2594 no :src tag was specified.
2595
2596 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2597 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2598 Use \\` to match beginning of string instead of ^.
2599 (eww-browse-with-external-browser): Provide optional URL parameter.
2600 (eww-render): Set `eww-current-title' back to "".
2601
2602 * net/shr.el (shr-tag-video): Display content for video if no
2603 poster is available.
2604 (shr-tag-audio): Add support for <audio> tag.
2605
2606 * net/eww.el (eww-text-input-types): New const.
2607 (eww-process-text-input): Treat input types in
2608 `eww-text-input-types' as text.
2609
2610 * net/shr.el (shr-tag-table): Fix comment typo.
2611
2612 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2613
2614 * net/eww.el (eww-follow-link): New command to avoid reloading
2615 pages when we follow #target links (bug#15243).
2616 (eww-quit): Special mode buffers shouldn't query before exiting.
2617
2618 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2619
2620 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2621 forms.
2622
2623 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2624
2625 * net/eww.el (eww-restore-history): Update the window title after
2626 moving in the history.
2627 (eww-current-dom): New variable used to save the current DOM.
2628
2629 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2630
2631 * vc/log-edit.el (log-edit-mode-map): Add binding for
2632 `log-edit-beginning-of-line'.
2633 (log-edit-setup-add-author): New user option.
2634 (log-edit-beginning-of-line): New command.
2635 (log-edit): Move major mode call above the contents setup so that
2636 the local variable values are already applied.
2637 (log-edit): Only insert "Author: " when
2638 `log-edit-setup-add-author' is non-nil.
2639 (log-edit): When SETUP is non-nil, position point after ": "
2640 instead of point-min.
2641
2642 2013-12-01 Glenn Morris <rgm@gnu.org>
2643
2644 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2645
2646 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2647
2648 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2649 redisplay to make sure the initial frame gets a chance to become
2650 visible. (Bug#16014)
2651
2652 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2653
2654 Support resizing frames and windows pixelwise.
2655 * cus-start.el (frame-resize-pixelwise)
2656 (window-resize-pixelwise): New entries.
2657 * emacs-lisp/debug.el (debug): Use window-total-height instead
2658 of window-total-size.
2659 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2660 * help.el (describe-bindings-internal): Call help-buffer
2661 (temp-buffer-max-width): New option.
2662 (resize-temp-buffer-window, help-window-setup)
2663 (with-help-window): Rewrite.
2664 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2665 dragging dividers.
2666 * window.el (frame-char-size, window-min-pixel-height)
2667 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2668 (window-min-pixel-width, window-safe-min-pixel-size)
2669 (window-combination-p, window-safe-min-size)
2670 (window-resizable-p, window--size-to-pixel)
2671 (window--pixel-to-size, window--resize-apply-p): New functions.
2672 (window-safe-min-height): Fix doc-string.
2673 (window-size, window-min-size, window--min-size-1)
2674 (window-sizable, window-sizable-p, window--min-delta-1)
2675 (window-min-delta, window--max-delta-1, window-max-delta)
2676 (window--resizable, window--resizable-p, window-resizable)
2677 (window-full-height-p, window-full-width-p, window-at-side-p)
2678 (window--in-direction-2, window-in-direction)
2679 (window--resize-reset-1, window--resize-mini-window)
2680 (window-resize, window-resize-no-error)
2681 (window--resize-child-windows-normal)
2682 (window--resize-child-windows, window--resize-siblings)
2683 (window--resize-this-window, window--resize-root-window)
2684 (window--resize-root-window-vertically)
2685 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2686 (maximize-window, minimize-window, delete-window)
2687 (quit-restore-window, window-split-min-size, split-window)
2688 (balance-windows-2, balance-windows)
2689 (balance-windows-area-adjust, balance-windows-area)
2690 (window--state-get-1, window-state-get, window--state-put-1)
2691 (window--state-put-2, window-state-put)
2692 (display-buffer-record-window, window--display-buffer):
2693 Make functions handle pixelwise sizing of windows.
2694 (display-buffer--action-function-custom-type)
2695 (display-buffer-fallback-action):
2696 Add display-buffer-in-previous-window.
2697 (display-buffer-use-some-window): Resize window to height it had
2698 before.
2699 (fit-window-to-buffer-horizontally): New option.
2700 (fit-frame-to-buffer): Describe new values.
2701 (fit-frame-to-buffer-bottom-margin): Replace with
2702 fit-frame-to-buffer-margins.
2703 (window--sanitize-margin): New function.
2704 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2705 using window-text-pixel-size.
2706
2707 2013-11-30 Glenn Morris <rgm@gnu.org>
2708
2709 * emacs-lisp/bytecomp.el (byte-compile-form):
2710 Make the `interactive-only' warning like the `obsolete' one.
2711 * comint.el (comint-run):
2712 * files.el (insert-file-literally, insert-file):
2713 * replace.el (replace-string, replace-regexp):
2714 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2715 (goto-line, insert-buffer, next-line, previous-line):
2716 Tweak `interactive-only' spec.
2717
2718 Stop keeping (most) generated cedet grammar files in the repository.
2719 * Makefile.in (semantic): New.
2720 (compile-main): Depend on semantic.
2721
2722 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2723
2724 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2725 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2726
2727 * uniquify.el (uniquify-buffer-name-style): Change default.
2728
2729 * loadup.el: Preload "uniquify".
2730
2731 * time.el (display-time-update): Update all mode lines (bug#15999).
2732
2733 * electric.el (electric-indent-mode): Enable by default.
2734 * loadup.el: Preload "electric".
2735
2736 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2737
2738 * emacs-lisp/helpers.el (string-empty-p): New function.
2739 (string-blank-p): New function.
2740
2741 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2742
2743 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2744 (Bug#14029).
2745
2746 2013-11-29 Andreas Politz <politza@fh-trier.de>
2747 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2748 allow non-lambda lists as functions.
2749 (imenu--in-alist): Don't recurse into non-subalists.
2750 (imenu): Don't pass function itself as an argument (Bug#14029).
2751
2752 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * progmodes/python.el (python-mode-map): Remove binding for ":".
2755 (python-indent-electric-colon): Remove command.
2756 (python-indent-post-self-insert-function): Integrate the previous code
2757 of python-indent-electric-colon. Make it conditional on
2758 electric-indent-mode.
2759 (python-mode): Add ?: to electric-indent-chars.
2760 Move python-indent-post-self-insert-function to the end of
2761 post-self-insert-hook.
2762
2763 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * doc-view.el (doc-view-goto-page): Update mode-line.
2766
2767 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2768
2769 2013-11-27 Glenn Morris <rgm@gnu.org>
2770
2771 * international/charprop.el, international/uni-bidi.el:
2772 * international/uni-category.el, international/uni-combining.el:
2773 * international/uni-comment.el, international/uni-decimal.el:
2774 * international/uni-decomposition.el, international/uni-digit.el:
2775 * international/uni-lowercase.el, international/uni-mirrored.el:
2776 * international/uni-name.el, international/uni-numeric.el:
2777 * international/uni-old-name.el, international/uni-titlecase.el:
2778 * international/uni-uppercase.el:
2779 Remove generated files from VCS repository.
2780
2781 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2782
2783 * filenotify.el (file-notify-add-watch): Don't special-case
2784 w32notify when computing the directory to watch.
2785
2786 2013-11-27 Glenn Morris <rgm@gnu.org>
2787
2788 Make bootstrap without generated uni-*.el files possible again.
2789 * loadup.el: Update command-line-args checking for unidata-gen.
2790 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2791 * composite.el, international/characters.el:
2792 Handle unicode tables being undefined.
2793
2794 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2795 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2796 (compile-main): Depend on leim rule.
2797 (leim): New rule.
2798 * loadup.el: Move leim-list.el to leim/ subdirectory.
2799 * startup.el (normal-top-level): No more leim directory.
2800 * international/ja-dic-cnv.el (skkdic-convert):
2801 Disable version-control and autoloads in output files.
2802 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2803 Disable version-control and autoloads in output files.
2804 * leim/quail: Move here from ../leim.
2805 * leim/quail/hangul.el (hangul-input-method-activate):
2806 Add autoload cookie.
2807 (generated-autoload-load-name): Set file-local value.
2808 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2809 (generated-autoload-load-name): Set file-local value.
2810
2811 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2812
2813 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2814 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2815 (eww-quit): Ask confirmation before quitting eww.
2816
2817 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2818
2819 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2820 reading output from Diff on MS-Windows and MS-DOS.
2821
2822 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2823
2824 * emacs-lisp/helpers.el (string-reverse): New function.
2825
2826 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2829 names on MS Windows, like "/[::1]:".
2830
2831 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2832 SWITCHES.
2833
2834 2013-11-26 Glenn Morris <rgm@gnu.org>
2835
2836 * progmodes/python.el (python-indent-guess-indent-offset):
2837 Avoid corner-case error. (Bug#15975)
2838
2839 Preload leim-list.el. (Bug#4789)
2840 * loadup.el: Load leim-list.el when found.
2841 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2842
2843 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2844
2845 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2846
2847 * emacs-lisp/helpers.el (string-join): New function.
2848
2849 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2850
2851 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2852 Mark as obsolete and replace it with a symbol property.
2853 (byte-compile-form): Use new 'interactive-only property.
2854 * comint.el, files.el, replace.el, simple.el:
2855 Apply new 'interactive-only properly.
2856
2857 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2858
2859 * window.el (display-buffer-at-bottom): Make sure that
2860 split-window-sensibly creates the new window on bottom
2861 (Bug#15961).
2862
2863 2013-11-23 David Kastrup <dak@gnu.org>
2864
2865 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2866 on the conflict markers when available.
2867 (smerge--get-marker): New function.
2868 (smerge-end-re, smerge-base-re): Add subgroup.
2869
2870 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2871
2872 * frame.el (handle-focus-in, handle-focus-out): Add missing
2873 interactive spec.
2874
2875 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2876
2877 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2878 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2879
2880 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2883 (gomoku--last-pos): New var.
2884 (gomoku--intangible-chars): New const.
2885 (gomoku--intangible): New function.
2886 (gomoku-mode): Use it. Derive from special-mode.
2887 (gomoku-move-up): Adjust line count.
2888 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2889 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2890 Simplify accordingly.
2891
2892 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2893 Remove blink-cursor code.
2894 (blink-cursor-timer-function, blink-cursor-suspend):
2895 Don't special-case GUIs.
2896 (blink-cursor-mode): Use focus-in/out-hook.
2897
2898 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2899
2900 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2901 work when annotation is invisible (Bug#13886).
2902
2903 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2904
2905 * json.el (json-alist-p): Only return non-nil if the alist has
2906 simple keys (Bug#13518).
2907
2908 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2909
2910 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2911 when control-statement is the first statement in a buffer (Bug#15956).
2912
2913 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2914
2915 * imenu.el (imenu-generic-skip-comments-and-strings):
2916 New option (Bug#15560).
2917 (imenu--generic-function): Use it.
2918
2919 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2920
2921 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2922 (Bug#13898)
2923
2924 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2925
2926 * emacs-lisp/helpers.el: Add some string helpers.
2927 (string-trim-left): Removes leading whitespace.
2928 (string-trim-right): Removes trailing whitespace.
2929 (string-trim): Removes leading and trailing whitespace.
2930
2931 * subr.el (string-suffix-p): New function.
2932
2933 2013-11-23 Glenn Morris <rgm@gnu.org>
2934
2935 * progmodes/python.el (python-shell-send-file):
2936 Add option to delete file when done. (Bug#15647)
2937 (python-shell-send-string, python-shell-send-region): Use it.
2938
2939 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2940
2941 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2942 to set buffer-read-only to t, never to nil. (Bug#15938)
2943
2944 * textmodes/tex-mode.el (latex-noindent-environments):
2945 Add safe-local-variable property. (Bug#15936)
2946
2947 2013-11-23 Glenn Morris <rgm@gnu.org>
2948
2949 * textmodes/enriched.el (enriched-mode): Doc fix.
2950 * emacs-lisp/authors.el (authors-renamed-files-alist):
2951 Add enriched.doc -> enriched.txt.
2952
2953 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2954
2955 2013-11-22 Leo Liu <sdl.web@gmail.com>
2956
2957 * progmodes/octave.el (inferior-octave-startup): Spit out error
2958 message.
2959
2960 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2961
2962 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2963 Improve docstring.
2964 Add :version.
2965 (ruby-encoding-magic-comment-style): Add :version.
2966
2967 2013-11-22 Leo Liu <sdl.web@gmail.com>
2968
2969 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2970 (Bug#15076)
2971 (octave-help-mode): Adapt to change to help-mode-finish to use
2972 derived-mode-p on 2013-09-17.
2973 (inferior-octave-prompt): Also match octave-gui.
2974 (octave-kill-process): Don't ask twice. (Bug#10564)
2975
2976 2013-11-22 Leo Liu <sdl.web@gmail.com>
2977
2978 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2979 (inferior-octave-startup, inferior-octave-check-process)
2980 (inferior-octave-track-window-width-change)
2981 (octave-completion-at-point, octave-eldoc-function): Use it.
2982 (octave-kill-process): Provide confirmation. (Bug#10564)
2983
2984 2013-11-21 Leo Liu <sdl.web@gmail.com>
2985
2986 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2987 Fix obsolete variable comment-use-global-state.
2988
2989 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2990
2991 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2992 Add `octave-source-file'.
2993 (octave-source-file): New function. (Bug#15935)
2994
2995 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2996
2997 * net/eww.el (eww-local-regex): New variable.
2998 (eww): Use it to detect localhost and similar.
2999
3000 2013-11-21 Leo Liu <sdl.web@gmail.com>
3001
3002 Add completion for command `ag'.
3003 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3004 (pcomplete/ag): New function.
3005 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3006
3007 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3010 (bug#14646).
3011 (make-obsolete): Remove interactive spec.
3012
3013 2013-11-21 Glenn Morris <rgm@gnu.org>
3014
3015 * startup.el (command-line-1): Use path-separator with -L.
3016
3017 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3018
3019 * emacs-lisp/package.el (describe-package-1): Add package archive
3020 to shown fields.
3021
3022 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3023
3024 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3025 Change default to "# encoding: %s" to differentiate it from the
3026 default Ruby encoding comment template.
3027
3028 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3029
3030 * ses.el (ses-mode): Doc fix. (Bug#14748)
3031
3032 2013-11-20 Leo Liu <sdl.web@gmail.com>
3033
3034 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3035
3036 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3037
3038 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3039 when rebase or bisect are in progress.
3040
3041 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3042
3043 * filenotify.el (file-notify-add-watch): Doc fix.
3044
3045 2013-11-19 Leo Liu <sdl.web@gmail.com>
3046
3047 * obsolete/rcompile.el: Mark obsolete.
3048
3049 * progmodes/compile.el (compilation-start)
3050 (compilation-goto-locus, compilation-find-file):
3051 Pass no-display-ok and handle nil value from display-buffer.
3052 (Bug#13594)
3053
3054 * window.el (display-buffer-alist, display-buffer): Document the
3055 new parameter no-display-ok. Return either a window or nil
3056 but never a non-window value.
3057
3058 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * electric.el (electric-indent-mode-map): Remove.
3061 (electric-indent-mode): Change the global-map instead (bug#15915).
3062
3063 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3064 Use add-function.
3065
3066 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * emacs-lisp/nadvice.el (remove-function): Align with
3069 add-function's behavior.
3070
3071 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3072 (gdb--string-regexp): New constant.
3073 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3074 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3075 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3076 submatch 1.
3077 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3078 Adjust use accordingly.
3079 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3080
3081 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3082
3083 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3084 interpolation curlies (Bug#15914).
3085
3086 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3087
3088 * calc/calc.el (calc-context-sensitive-enter): New variable.
3089 (calc-enter): Use `calc-context-sensitive-enter'.
3090
3091 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3092
3093 * progmodes/cfengine.el: Version bump.
3094 (cfengine-cf-promises): New defcustom to locate cf-promises.
3095 (cfengine3-vartypes): Add new "data" type.
3096 (cfengine3--current-word): New function to get current name-like
3097 word or its bounds.
3098 (cfengine3--current-function): New function to look up a CFEngine
3099 function's definition.
3100 (cfengine3-format-function-docstring): New function.
3101 (cfengine3-make-syntax-cache): New function.
3102 (cfengine3-documentation-function): New function: ElDoc glue.
3103 (cfengine3-completion-function): New function: completion glue.
3104 (cfengine3-mode): Set `compile-command',
3105 `eldoc-documentation-function', and add to
3106 `completion-at-point-functions'.
3107
3108 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3109
3110 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3111 `tramp-current-connection'.
3112
3113 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3114
3115 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3116 nil/self/true/false with "end of symbol".
3117
3118 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3119
3120 * subr.el (version-regexp-alist): Fix a typo.
3121
3122 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3123
3124 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3125 "en_US.utf8" and "LC_CTYPE" to "".
3126 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3127 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3128
3129 2013-11-15 Leo Liu <sdl.web@gmail.com>
3130
3131 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3132
3133 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * progmodes/gud.el (ctl-x-map):
3136 Remove C-x SPC binding. (Bug#12342)
3137 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3138
3139 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3140
3141 * subr.el (version-regexp-alist):
3142 Recognize hg, svn and darcs versions as snapshot versions.
3143
3144 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3145 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3146 (ruby--encoding-comment-required-p): Extract from
3147 `ruby-mode-set-encoding'.
3148 (ruby-mode-set-encoding): Add the ability to always insert an
3149 utf-8 encoding comment. Fix and simplify coding comment update
3150 logic.
3151
3152 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3153
3154 * net/tramp-gvfs.el (top): Run init code only when
3155 `tramp-gvfs-enabled' is not nil.
3156 (tramp-gvfs-enabled): Check also :system bus.
3157
3158 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 Sync with upstream verilog-mode revision 78e66ba.
3161 * progmodes/verilog-mode.el (verilog-end-of-defun)
3162 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3163 (verilog-get-end-of-defun): Remove unused argument.
3164 (verilog-comment-depth): Remove unused local `e'.
3165 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3166 Don't pass arg to verilog-get-end-of-defun.
3167
3168 2013-11-14 Glenn Morris <rgm@gnu.org>
3169
3170 * obsolete/assoc.el (aget): Prefix dynamic variable.
3171
3172 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3173
3174 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * widget.el, hfy-cmap.el: Remove bogus package version number.
3177
3178 2013-11-13 Glenn Morris <rgm@gnu.org>
3179
3180 * replace.el (replace-eval-replacement):
3181 Try to give more helpful error message. (Bug#15836)
3182
3183 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3184 (archive-7z-update): Avoid custom type mismatches.
3185
3186 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3187
3188 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3189
3190 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3191 address can be empty.
3192
3193 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3194 Accept nil SWITCHES.
3195 (tramp-gvfs-handle-write-region): Implement APPEND.
3196
3197 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3198
3199 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3200 binary "|" operator and closing block args delimiter.
3201 Remove FIXME comment referring to Ruby 1.8-only syntax.
3202 (ruby-smie--implicit-semi-p): Not after "|" operator.
3203 (ruby-smie--closing-pipe-p): New function.
3204 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3205 (ruby-smie-rules): Indent after "|".
3206
3207 2013-11-12 Glenn Morris <rgm@gnu.org>
3208
3209 * ps-print.el (ps-face-attribute-list):
3210 Handle anonymous faces. (Bug#15827)
3211
3212 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3213
3214 * window.el (display-buffer-other-frame): Fix doc-string.
3215 (Bug#15868)
3216
3217 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3220
3221 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3222
3223 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3224 (tramp-sh-handle-file-local-copy): Don't write a message when
3225 saving temporary files.
3226
3227 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3228 both directories are remote.
3229 (tramp-smb-handle-directory-files): Do not return double entries.
3230 Do not expand full file names.
3231 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3232 (tramp-smb-handle-write-region): Implement APPEND.
3233 (tramp-smb-get-stat-capability): Fix a stupid bug.
3234
3235 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3238
3239 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3240
3241 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3242 throwing error over malformed let/let* (bug#15814).
3243
3244 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * iswitchb.el (iswitchb-mode): Mark obsolete.
3247
3248 2013-11-11 Glenn Morris <rgm@gnu.org>
3249
3250 * international/uni-bidi.el, international/uni-category.el:
3251 * international/uni-name.el, international/uni-numeric.el:
3252 Regenerate for Unicode 6.3.0.
3253
3254 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3255
3256 * net/tramp.el (tramp-methods):
3257 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3258 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3259
3260 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3261
3262 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3263 Force highlighting text after Summary keyword in doc face for rpm.
3264
3265 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3266
3267 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3268 available and the word has no wildcards, append one to the grep pattern.
3269 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3270 (ispell-complete-word): Call `ispell-lookup-words' with the value
3271 independent of `ispell-look-p'.
3272
3273 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3274
3275 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3276 Not after "||".
3277 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3278 their parent.
3279
3280 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3283 (ruby-font-lock-keywords): Use backquote.
3284
3285 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3286
3287 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3288 (ruby-smie--backward-token): Only consider full-string matches.
3289
3290 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3291
3292 * faces.el (describe-face): Add distant-foreground.
3293
3294 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3295
3296 * progmodes/ruby-mode.el: Improve encoding comment handling.
3297 (ruby-encoding-magic-comment-style): New option.
3298 (ruby-custom-encoding-magic-comment-template): New option.
3299 (ruby--insert-coding-comment, ruby--detect-encoding):
3300 New functions extracted from `ruby-mode-set-encoding'.
3301 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3302 to control the style of the auto-inserted encoding comment.
3303
3304 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3305
3306 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3307 Use `smie-backward-sexp' with token argument.
3308
3309 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3310
3311 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3312 Remove instrumentation code.
3313
3314 2013-11-08 Glenn Morris <rgm@gnu.org>
3315
3316 * progmodes/autoconf.el (autoconf-mode):
3317 Tweak comment-start-skip. (Bug#15822)
3318
3319 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3322 at bobp (bug#15826).
3323 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3324
3325 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3326
3327 * man.el (Man-start-calling): New macro, extracted from
3328 Man-getpage-in-background.
3329 (Man-getpage-in-background): Use it.
3330 (Man-update-manpage): New command.
3331 (Man-mode-map): Bind it.
3332
3333 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3334
3335 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3336 of "and", "or", "&&" and "||".
3337 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3338 argument. Prohibit opening curly brace because it could only be a
3339 block opener in that position.
3340 (ruby-smie--forward-token, ruby-smie--backward-token):
3341 Separate "|" from "&" or "*" going after it. That can happen in block
3342 arguments.
3343 (ruby-smie--indent-to-stmt): New function, seeks the end of
3344 previous statement or beginning of buffer.
3345 (ruby-smie-rules): Use it.
3346 (ruby-smie-rules): Check if there's a ":" before a curly block
3347 opener candidate; if there is, it's a hash.
3348
3349 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3352 (cl--block-wrapper): Fix last accidental change.
3353
3354 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3355
3356 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3357 Instrument, in order to hunt failure on hydra.
3358
3359 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3360
3361 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3362 malformed bindings form (bug#15814).
3363
3364 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3365
3366 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3367 "." compared to " @ ". This incidentally fixes some indentation
3368 examples with "do".
3369 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3370 (ruby-smie-grammar): New tokens: "and" and "or".
3371 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3372 Exclude "and" and "or". Remove "do" in order to work around token
3373 priorities.
3374 (ruby-smie-rules): Add all infix tokens. Handle the case of
3375 beginning-of-buffer.
3376
3377 2013-11-06 Glenn Morris <rgm@gnu.org>
3378
3379 * Makefile.in (setwins_almost, setwins_for_subdirs):
3380 Avoid accidental matches.
3381
3382 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * menu-bar.el (popup-menu): Use key-binding.
3385
3386 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3387
3388 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3389 menus, support also the menus produced by minor modes.
3390 (Bug#15817)
3391
3392 2013-11-06 Leo Liu <sdl.web@gmail.com>
3393
3394 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3395 DISTANCE to bound the search. All uses changed. (Bug#15808)
3396
3397 2013-11-06 Glenn Morris <rgm@gnu.org>
3398
3399 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3400 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3401 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3402
3403 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * electric.el (electric-indent-just-newline): New command.
3406 (electric-indent-mode-map): New keymap.
3407 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3408 Re-add :group which weren't redundant.
3409
3410 * electric.el (electric-indent-local-mode): New minor mode.
3411 (electric-indent-functions-without-reindent): New var.
3412 (electric-indent-post-self-insert-function): Use it.
3413 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3414
3415 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3416
3417 * international/quail.el (quail-help): Be more explicit about the
3418 meaning of the labels shown on the keys. (Bug#15800)
3419
3420 * startup.el (normal-top-level): Load the subdirs.el files before
3421 setting the locale environment. (Bug#15805)
3422
3423 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3426 via arguments so as to get the right ones (bug#15418).
3427
3428 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3429
3430 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3431
3432 Fix problems found while writing a test suite.
3433
3434 * net/tramp-compat.el (tramp-compat-load): New defun.
3435 * net/tramp.el (tramp-handle-load): Use it.
3436
3437 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3438 "(numberp ok-if-already-exists)" correctly.
3439
3440 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3441
3442 * international/characters.el (glyphless-char-display-control):
3443 Add usage note.
3444
3445 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3446
3447 * progmodes/python.el (python-mode):
3448 * progmodes/scheme.el (scheme-mode):
3449 * progmodes/prolog.el (prolog-mode):
3450 * progmodes/ruby-mode.el (ruby-mode):
3451 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3452 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3453
3454 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * rect.el (rectangle--highlight-for-redisplay):
3457 * emacs-lisp/smie.el (smie--next-indent-change):
3458 Use buffer-chars-modified-tick.
3459
3460 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3461
3462 * electric.el (electric-indent-post-self-insert-function):
3463 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3464
3465 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3466
3467 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3468
3469 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3470
3471 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3472 (bug#15786).
3473
3474 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3477
3478 * progmodes/python.el: Fix up last change.
3479 (python-shell--save-temp-file): New function.
3480 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3481 `string' comes from the current buffer.
3482 (python-shell-send-string-no-output): Remove `msg' arg.
3483 (python--use-fake-loc): New var.
3484 (python-shell-buffer-substring): Obey it. Try to compensate for the
3485 extra coding line added by python-shell--save-temp-file.
3486 (python-shell-send-region): Use python-shell--save-temp-file and
3487 python-shell-send-file directly. Add `nomain' argument.
3488 (python-shell-send-buffer): Use python-shell-send-region.
3489 (python-electric-pair-string-delimiter): New function.
3490 (python-mode): Use it.
3491
3492 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3493
3494 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3495 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3496 environment and decoding all of the default-directory's to here
3497 from command-line.
3498 (command-line): Decode also argv[0].
3499
3500 * loadup.el: Error out if default-directory is a multibyte string
3501 when we are dumping.
3502
3503 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3504
3505 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3506
3507 * emacs-lisp/package.el (package-menu-mode)
3508 (package-menu--print-info, package-menu--archive-predicate):
3509 Add Archive column to package list.
3510
3511 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3512
3513 Fix problems found while writing a test suite.
3514
3515 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3516 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3517 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3518 to nil when running original file name handler. Otherwise,
3519 there are problems with constructs like "$$FOO".
3520
3521 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3522 for `localname'.
3523
3524 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3525
3526 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3527
3528 * subr.el (version<, version<=, version=):
3529 Update docstrings with information for snapshot versions.
3530
3531 * helpers.el: New library for misc helper functions.
3532 (hash-table-keys): New function returning a list of hash keys.
3533 (hash-table-values): New function returning a list of hash values.
3534
3535 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3536
3537 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3538 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3539
3540 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3541
3542 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3543 checking whether point is after a 1-letter word.
3544
3545 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3546
3547 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3548 Don't infloop when expanding region over `multiline' syntax-type that
3549 begins a line (bug#15778).
3550
3551 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3554 Make it into a proper minor mode.
3555 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3556 (rectangle-mark-mode-map): New keymap.
3557 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3558
3559 2013-11-04 Glenn Morris <rgm@gnu.org>
3560
3561 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3562
3563 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3566 (ruby-smie-rules): Use smie-rule-parent instead.
3567
3568 * emacs-lisp/smie.el (smie-rule-parent): Always call
3569 smie-indent-virtual rather than only for hanging tokens.
3570 (smie--next-indent-change): New helper command.
3571
3572 2013-11-03 Glenn Morris <rgm@gnu.org>
3573
3574 * Makefile.in (abs_srcdir): Remove.
3575 (emacs): Unset EMACSLOADPATH.
3576
3577 2013-11-02 Glenn Morris <rgm@gnu.org>
3578
3579 * Makefile.in (EMACS): Use a relative filename.
3580 (abs_top_builddir): Remove.
3581 (custom-deps, finder-data, autoloads): Use --chdir.
3582
3583 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3584
3585 Use relative filenames in TAGS files.
3586 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3587 (lisptagsfiles4, TAGS): Use relative file names.
3588 (TAGS-LISP): Remove.
3589 (maintainer-clean): No more TAGS-LISP file.
3590
3591 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3592 (lisptagsfiles4): Use absolute filenames again.
3593 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3594 Remove all *loaddefs files, not just the first. Remove esh-groups.
3595 (maintainer-clean): Delete TAGS, TAGS-LISP.
3596
3597 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3598
3599 * emacs-lisp/package.el (package-version-join):
3600 Recognize snapshot versions.
3601
3602 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3603
3604 * subr.el (version-regexp-alist): Add support for snapshot versions.
3605
3606 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3607
3608 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3609 New function, replacement for `smie-rule-parent' for when we want to
3610 skip over our direct parent if it's an assignment token..
3611 (ruby-smie-rules): Use it.
3612
3613 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3614
3615 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3616 unconditionally. Remove now unnecessary forward declarations.
3617 Remove XEmacs-specific setup.
3618 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3619 (ruby-font-lock-syntactic-keywords)
3620 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3621 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3622 (ruby-here-doc-end-syntax): Remove.
3623 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3624 defined as function.
3625
3626 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3627
3628 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3629
3630 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3631
3632 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3633 table and abbrev table, `define-derived-mode' does that for us
3634 anyway.
3635
3636 2013-11-01 Glenn Morris <rgm@gnu.org>
3637
3638 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3639 files is atomic for some time, so no parallel compilation issues).
3640
3641 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3642
3643 * faces.el (face-x-resources): Add :distant-foreground.
3644 (region): Use :distant-foreground for gtk and ns.
3645
3646 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3647
3648 Allow multiple bibliographies when BibLaTeX is used rather than
3649 BibTeX.
3650 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3651 (reftex-locate-bibliography-files): Us it.
3652
3653 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3654
3655 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3656 allow comments in pbm files.
3657
3658 * term/w32-win.el (dynamic-library-alist): Support newer versions
3659 of libjpeg starting with v7: look only for the DLL from the
3660 version against which Emacs was built.
3661 Support versions of libpng beyond 1.4.x.
3662 Support libtiff v4.x.
3663
3664 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3665
3666 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3667 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3668 Add property :safe.
3669 (ruby-deep-arglist): Add property :type.
3670
3671 2013-10-31 Glenn Morris <rgm@gnu.org>
3672
3673 * Makefile.in (custom-deps, finder-data): No need to setq the target
3674 variables, we are in the right directory and the defaults work fine.
3675
3676 2013-10-30 Glenn Morris <rgm@gnu.org>
3677
3678 * Makefile.in (autoloads): Do not use abs_lisp.
3679
3680 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3681 `newline' does not respect `standard-output', so use `princ'.
3682
3683 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3684
3685 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3686 * buff-menu.el (Buffer-menu--unmark): New function.
3687 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3688
3689 2013-10-30 Glenn Morris <rgm@gnu.org>
3690
3691 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3692
3693 * emacs-lisp/package.el (lm-homepage): Declare.
3694
3695 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3696 Fix doc typos.
3697
3698 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3699
3700 * Makefile.in (finder-data, autoloads, update-subdirs)
3701 (compile-main, compile-clean, compile-always, bootstrap-clean):
3702 Check return value of cd.
3703 (compile-calc): Remove.
3704
3705 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3708
3709 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3710 (byte-compile-and-folded): New function.
3711 (=, <, >, <=, >=): Use it.
3712
3713 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3714 (path-separator, null-device, buffer-file-coding-system)
3715 (lpr-headers-switches): Check system-type before modifying them.
3716 (find-buffer-file-type-coding-system): Mark obsolete.
3717 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3718 find-file-not-found-set-buffer-file-coding-system.
3719 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3720 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3721 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3722 (w32-direct-print-region-helper, w32-direct-print-region-function)
3723 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3724 * startup.el (normal-top-level-add-subdirs-to-load-path):
3725 * ps-print.el (ps-print-region-function):
3726 * lpr.el (print-region-function): Use new name.
3727
3728 * subr.el (custom-declare-variable-early): Remove function.
3729 (custom-declare-variable-list): Remove var.
3730 (error, user-error): Remove `while' loop.
3731 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3732 (user-emacs-directory-warning, locate-user-emacs-file):
3733 Move to files.el.
3734 * simple.el (read-quoted-char-radix, read-quoted-char):
3735 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3736 Move from subr.el.
3737 * custom.el (custom-declare-variable-list): Don't process
3738 custom-declare-variable-list.
3739
3740 * progmodes/python.el (python-shell-get-buffer): New function.
3741 (python-shell-get-process): Use it.
3742 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3743 Python which encoding was used. Don't split-string since we only care
3744 about the first line. Return the temp-file, if applicable.
3745 (python-shell-send-region): Tell compile.el how to turn locations in
3746 the temp-file into locations in the source buffer.
3747
3748 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * subr.el (undefined): Add missing behavior from the C code for
3751 unbound keys.
3752
3753 * rect.el: Use lexical-binding. Add new rectangular region support.
3754 (rectangle-mark): New command.
3755 (rectangle--region): New var.
3756 (deactivate-mark-hook): Reset rectangle--region.
3757 (rectangle--extract-region, rectangle--insert-for-yank)
3758 (rectangle--highlight-for-redisplay)
3759 (rectangle--unhighlight-for-redisplay): New functions.
3760 (region-extract-function, redisplay-unhighlight-region-function)
3761 (redisplay-highlight-region-function): Use them to handle
3762 rectangular region.
3763 * simple.el (region-extract-function): New var.
3764 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3765 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3766 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3767 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3768 (redisplay-unhighlight-region-function)
3769 (redisplay-highlight-region-function): New vars.
3770 (redisplay--update-region-highlight): New function.
3771 (pre-redisplay-function): Use it.
3772 (exchange-point-and-mark): Don't deactivate the mark before
3773 reactivate-it anyway.
3774 * comint.el (comint-kill-region): Remove yank-handler argument.
3775 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3776 (delete-char): Remove property, since it's now part of their
3777 default behavior.
3778 (self-insert-iso): Remove property since this command doesn't exist.
3779
3780 * emacs-lisp/package.el (package--download-one-archive)
3781 (describe-package-1): Don't query the user about final newline.
3782
3783 2013-10-29 Daniel Colascione <dancol@dancol.org>
3784
3785 * net/tramp.el (tramp-methods): Document new functionality.
3786 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3787 tramp-hostname-checker if method provides one instead of scanning
3788 argument list for "%h" to decide hostname acceptability.
3789
3790 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3791
3792 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3793 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3794 Handle COPY-CONTENTS. (Bug#15737)
3795
3796 2013-10-28 Daiki Ueno <ueno@gnu.org>
3797
3798 * epa-file.el
3799 (epa-file-cache-passphrase-for-symmetric-encryption):
3800 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3801
3802 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3803
3804 * image.el (defimage):
3805 (image-load-path): Doc fixes.
3806
3807 2013-10-27 Alan Mackenzie <acm@muc.de>
3808
3809 Indent statements in macros following "##" correctly.
3810 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3811 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3812
3813 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3814
3815 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3816
3817 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3818
3819 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3820 after `=' is probably a new expression.
3821
3822 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3823
3824 * man.el (man-imenu-title): New option.
3825 (Man-mode-map): Add menu. (Bug#15722)
3826 (Man-mode): Add imenu to menu.
3827
3828 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3829
3830 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3831 specific in what the first arg can be: a non-keyword word,
3832 string/regexp/percent literal opener, opening paren, or unary
3833 operator followed directly by word.
3834
3835 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3836
3837 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3838 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3839 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3840 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3841 Remove vars, they do not apply any more.
3842 (prolog-mode-abbrev-table): Remove redundant declaration.
3843 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3844 (prolog-use-smie): Remove.
3845 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3846 supported by prolog-electric-if-then-else-flag.
3847 (prolog-mode-variables, prolog-menu): Use setq-local.
3848 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3849 Remove binding to `Backspace' since this key doesn't exist anyway.
3850 Remove bindings for electric self-inserting keys.
3851 (prog-mode): Assume it's defined.
3852 (prolog-post-self-insert): New function.
3853 (prolog-mode): Use it.
3854 (prolog-indent-line, prolog-indent-level)
3855 (prolog-find-indent-of-matching-paren)
3856 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3857 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3858 (prolog-goto-next-paren, prolog-in-string-or-comment)
3859 (prolog-tokenize, prolog-inside-mline-comment)
3860 (prolog-find-start-of-mline-comment): Remove functions.
3861 (prolog-find-unmatched-paren, prolog-clause-end)
3862 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3863 (prolog-electric--if-then-else): Rename from
3864 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3865 (prolog-tokenize-searchkey): Remove const.
3866 (prolog-clause-info): Use forward-sexp.
3867 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3868 (prolog-electric-if-then-else): Remove commands.
3869 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3870 for use in post-self-insert-hook.
3871 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3872 for use in post-self-insert-hook.
3873 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3874 for use in post-self-insert-hook.
3875 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3876 adapt it for use in post-self-insert-hook.
3877
3878 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3879
3880 * emacs-lisp/ert.el (ert-run-tests-interactively):
3881 Use `completing-read'. (Bug#9756)
3882
3883 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3884
3885 * simple.el (line-move): Call line-move-1 instead of
3886 line-move-visual when the current window hscroll is zero, but
3887 temporary-goal-column indicates we will need to hscroll as result
3888 of the movement. (Bug#15712)
3889
3890 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3891
3892 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3893 capitalization. Use :visible instead of :active.
3894 Fix `ruby-indent-exp' reference. Add menu items for the generic
3895 commands that are used with SMIE.
3896 (ruby-do-end-to-brace): Insert space after `{'.
3897
3898 2013-10-25 John Anthony <john@jo.hnanthony.com>
3899
3900 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3901
3902 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3903
3904 2013-10-25 Glenn Morris <rgm@gnu.org>
3905
3906 * vc/vc.el (vc-print-log): Don't use a working revision unless
3907 one was explicitly specified. (Bug#15322)
3908
3909 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * subr.el (add-to-list): Preserve return value in compiler-macro
3912 (bug#15692).
3913
3914 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3915
3916 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3917 result. Ask user to retry using '-all' flag. (Bug#15701)
3918
3919 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * emacs-lisp/smie.el: New smie-config system.
3922 (smie-config): New defcustom.
3923 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3924 (smie-config-guess, smie-config-save): New commands.
3925 (smie-config--mode-local, smie-config--buffer-local)
3926 (smie-config--trace, smie-config--modefuns): New vars.
3927 (smie-config--advice, smie-config--mode-hook)
3928 (smie-config--setter, smie-config-local, smie-config--get-trace)
3929 (smie-config--guess-value, smie-config--guess): New functions.
3930 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3931 text properties. Treat "string fence" syntax like string syntax.
3932
3933 * progmodes/sh-script.el (sh-use-smie): Change default.
3934 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3935 (sh-var-value): Simplify by CSE.
3936 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3937 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3938 is used.
3939 (sh-guess-basic-offset): Use cl-incf.
3940 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3941
3942 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3943
3944 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3945 (bug#15699).
3946
3947 2013-10-24 Glenn Morris <rgm@gnu.org>
3948
3949 * Makefile.in (abs_top_srcdir): Remove.
3950 (update-subdirs): Use relative path to update-subdirs.
3951
3952 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3953
3954 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3955 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3956 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3957 Call unmsys--file-name before expand-file-name, not after it.
3958
3959 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3960
3961 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3962 (ert-test-skipped): New error.
3963 (ert-skip, ert-stats-skipped): New defuns.
3964 (ert--skip-unless): New macro.
3965 (ert-test-skipped): New struct.
3966 (ert--run-test-debugger, ert-test-result-type-p)
3967 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3968 (ert--stats-set-test-and-result, ert-char-for-test-result)
3969 (ert-string-for-test-result, ert-run-tests-batch)
3970 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3971 Handle skipped tests. (Bug#9803)
3972
3973 2013-10-24 Glenn Morris <rgm@gnu.org>
3974
3975 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3976
3977 * Makefile.in (abs_top_srcdir): New, set by configure.
3978 (update-subdirs): Correct build-aux location.
3979
3980 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3981
3982 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3983 value, whether we could auto-deduce `backend', or not.
3984
3985 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3986 with parameters" example. Simplify the "is it block or is it
3987 hash" check, but also make it more thorough.
3988
3989 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3990
3991 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3992
3993 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3996 { if it is hanging.
3997
3998 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3999 :before ";".
4000
4001 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4002
4003 * progmodes/compile.el (compilation-directory-matcher)
4004 (compilation-page-delimiter):
4005 Support GNU Make-4.0 directory quoting. (Bug#15678)
4006
4007 2013-10-23 Leo Liu <sdl.web@gmail.com>
4008
4009 * ido.el (ido-tidy): Handle read-only text.
4010
4011 2013-10-23 Glenn Morris <rgm@gnu.org>
4012
4013 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4014 (emacs, compile, compile-always):
4015 Quote entities that might contain whitespace.
4016 (custom-deps, finder-data, autoloads): Use abs_lisp.
4017 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4018 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4019 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4020
4021 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4022
4023 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4024 Use `following-char'.
4025
4026 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4029 * progmodes/ruby-mode.el (ruby-smie-rules):
4030 Remove corresponding workaround. Fix indentation rule of ";" so it
4031 also applies when ";" is the parent.
4032
4033 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4034
4035 * frame.el (display-screens, display-pixel-height)
4036 (display-pixel-width, display-mm-width, display-backing-store)
4037 (display-save-under, display-planes, display-color-cells)
4038 (display-visual-class, display-monitor-attributes-list):
4039 Mention the optional ‘display’ argument in doc strings.
4040
4041 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4042
4043 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4044 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4045
4046 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4047
4048 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4049 TODO. Add "." after " @ ".
4050 (ruby-smie--at-dot-call): New function. Checks if point at method
4051 call with explicit target.
4052 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4053 to the method name tokens when it precedes them.
4054 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4055 (ruby-smie-rules): Add rule for indentation before and after "."
4056 token.
4057
4058 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * textmodes/remember.el (remember-diary-extract-entries):
4061 Avoid add-to-list.
4062
4063 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4064 an instruction.
4065
4066 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4067
4068 * progmodes/ruby-mode.el (ruby-smie-grammar):
4069 Add (almost) all infix operators.
4070 (ruby-smie--implicit-semi-p): Add new operator chars.
4071
4072 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4073 `smie-down-list'.
4074 (ruby-smie--args-separator-p): Check that there's no newline
4075 between method call and its arguments.
4076
4077 2013-10-20 Alan Mackenzie <acm@muc.de>
4078
4079 Allow comma separated lists after Java "implements".
4080
4081 * progmodes/cc-engine.el (c-backward-over-enum-header):
4082 Parse commas.
4083 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4084 from a "disallowed" list in enum fontification.
4085
4086 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4087
4088 * startup.el (default-frame-background-mode): Remove unused defvar.
4089
4090 * progmodes/verilog-mode.el (verilog-mode): Don't set
4091 comment-indent-function globally.
4092
4093 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4094
4095 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4096 Move Info menu item creation to ns-win.el.
4097
4098 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4099 in menu bar.
4100
4101 * menu-bar.el: Move GNUstep specific menus...
4102
4103 * term/ns-win.el (ns-initialize-window-system): ... to here.
4104
4105 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * simple.el (newline): Only run post-self-insert-hook when
4108 called interactively.
4109
4110 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4111
4112 * icomplete.el (icomplete-with-completion-tables): Add :version.
4113
4114 2013-10-19 Alan Mackenzie <acm@muc.de>
4115
4116 Fix fontification bugs with constructors and const.
4117
4118 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4119 CASE 2) Remove the check for the absence of a suffix construct
4120 after a function declaration with only types (no identifiers) in
4121 the parentheses. Also, accept a function declaration with just a
4122 type inside the parentheses, if this type can be positively
4123 recognised as such, or if a prefix keyword like "explicit" nails
4124 down the construct as a declaration.
4125
4126 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4127
4128 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4129 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4130 the problem whereby selecting a menu item that leads to a
4131 minibuffer prompt moves the cursor out of the minibuffer window,
4132 making it hard to type at the prompt. Suggested by Stefan Monnier
4133 <monnier@iro.umontreal.ca>.
4134
4135 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4136
4137 * menu-bar.el: Don't make Services menu.
4138
4139 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4140
4141 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4142 (ffap-alist): Use ffap-c++-mode for c++-mode.
4143 (ffap-c++-path): New variable.
4144 (ffap-c++-mode): New function.
4145
4146 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4147
4148 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4149
4150 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4151
4152 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4153 introduced on 2013-09-08, which results in an infinite loop
4154 requesting a password.
4155
4156 2013-10-18 Glenn Morris <rgm@gnu.org>
4157
4158 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4159
4160 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4161
4162 Sync with upstream verilog-mode revision 1a6ecec7.
4163 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4164 (verilog-mode-release-date): Remove.
4165 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4166 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4167 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4168 (verilog-auto-tieoff-ignore-regexp)
4169 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4170 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4171 (verilog-signals-with, verilog-dir-cache-preserving)
4172 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4173 Doc fixes.
4174 (verilog-case-fold): New option, to control case folding in
4175 regexp searches, bug597.
4176 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4177 (verilog-string-match-fold, verilog-in-paren-count)
4178 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4179 (verilog-at-close-struct-p): New functions.
4180 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4181 (verilog-forward-sexp, verilog-set-auto-endcomments):
4182 (verilog-leap-to-case-head): Handle "unique0" case.
4183 (verilog-in-constraint-re): New constant.
4184 (verilog-keywords, verilog-type-font-keywords):
4185 Add some SystemVerilog 1800-2012 keywords.
4186 (verilog-label-be): Remove unimplemented argument, bug669.
4187 (verilog-batch-execute-func): When batch expanding clear
4188 create-lockfiles to prevent spurious user locks when a file ends
4189 up not changing.
4190 (verilog-calculate-indent, verilog-calc-1)
4191 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4192 (verilog-do-indent): Fix indentation of nested constraints
4193 and structures.
4194 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4195 (verilog-auto-inst-param): Use verilog-string-match-fold.
4196 (verilog-read-inst-module-matcher):
4197 Fix AUTOINST on gate primitives with #1.
4198 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4199 Reads all user-defined typed variables.
4200 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4201 (verilog-signals-matching-regexp)
4202 (verilog-signals-not-matching-regexp, verilog-auto):
4203 Respect verilog-case-fold.
4204 (verilog-diff-report): Fix line count.
4205 (verilog-auto-assign-modport): Remove unused local `modi'.
4206 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4207 better handle multidimensional arrays.
4208 Fix packed array ports misadding bit index in AUTOINST, bug637.
4209 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4210 to not double-declare existing outputs and inputs, respectively.
4211 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4212 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4213 (verilog-sk-uvm-component): New skeleton.
4214 (verilog-submit-bug-report): Add verilog-case-fold,
4215 remove verilog-mode-release-date.
4216
4217 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4218
4219 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4220 as before.
4221
4222 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4223
4224 * textmodes/remember.el (remember): Set buffer-offer-save in
4225 remember buffers (bug#13566).
4226
4227 2013-10-18 Daniel Colascione <dancol@dancol.org>
4228
4229 When evaluating forms in ielm, direct standard output to ielm
4230 buffer. Add new ielm-return-for-effect command. Remove trailing
4231 whitespace throughout.
4232
4233 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4234 (ielm-return-for-effect): New command.
4235 (ielm-send-input): Accept optional `for-effect' parameter.
4236 (ielm-eval-input): Accept optional `for-effect' parameter.
4237 Bind `standard-output' to stream we create using
4238 `ielm-standard-output-impl'. Suppress printing result when
4239 `for-effect'.
4240 (ielm-standard-output-impl): New function.
4241 (inferior-emacs-lisp-mode): Explain new features in documentation.
4242
4243 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4244
4245 Code cleanup.
4246
4247 * net/tramp.el (tramp-debug-message): Do not check for connection
4248 buffer.
4249 (tramp-message): Use "vector" connection property.
4250
4251 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4252 (tramp-equal-remote, tramp-eshell-directory-change)
4253 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4254 (tramp-adb-handle-rename-file)
4255 * net/tramp-cmds.el (tramp-list-remote-buffers)
4256 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4257 * net/tramp-compat.el (tramp-compat-process-running-p)
4258 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4259 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4260 (tramp-gvfs-handle-rename-file)
4261 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4262 (tramp-set-file-uid-gid)
4263 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4264 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4265 of `file-remote-p'.
4266
4267 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4268 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4269 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4270 (tramp-gw-open-network-stream): Suppress unrelated traces.
4271
4272 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4273 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4274 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4275 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4276 connection property.
4277
4278 * net/tramp-cache.el (top): Suppress traces when reading
4279 persistency file.
4280
4281 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4282 Refactor common code. Improve debug message.
4283 (tramp-maybe-open-connection)
4284 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4285 connection buffer too early.
4286
4287 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4288 from `tramp-smb-actions-with-acl'.
4289 (tramp-smb-actions-set-acl): New defconst.
4290 (tramp-smb-handle-copy-directory)
4291 (tramp-smb-action-get-acl): New defun, renamed from
4292 `tramp-smb-action-with-acl'.
4293 (tramp-smb-action-set-acl): New defun.
4294 (tramp-smb-handle-set-file-acl): Rewrite.
4295
4296 2013-10-17 Glenn Morris <rgm@gnu.org>
4297
4298 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4299
4300 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * skeleton.el (skeleton-newline): Remove.
4303 (skeleton-internal-1): Use (insert "\n") instead.
4304
4305 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4306 let-bindings.
4307
4308 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4309 forward-sexp-function while we redo its job (bug#15613).
4310
4311 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4312
4313 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4314 represented by lists.
4315
4316 2013-10-16 Glenn Morris <rgm@gnu.org>
4317
4318 * tmm.el (tmm--history): New dynamic variable.
4319 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4320
4321 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4322
4323 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4324 (tramp-smb-errors): Add error messages.
4325 (tramp-smb-actions-with-acl): New defconst.
4326 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4327 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4328 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4329 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4330 (tramp-smb-get-stat-capability): Fix tests.
4331
4332 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4333
4334 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4335 (bug#15580).
4336
4337 2013-10-16 Glenn Morris <rgm@gnu.org>
4338
4339 * ansi-color.el (ansi-color-drop-regexp):
4340 Add 1J, 1K, 2K. (Bug#15617)
4341
4342 * files.el (hack-local-variables--warned-lexical): New.
4343 (hack-local-variables):
4344 Warn about misplaced lexical-binding. (Bug#15616)
4345
4346 * net/eww.el (eww-render): Always set eww-current-url,
4347 and update header line. (Bug#15622)
4348 (eww-display-html): ... Rather than just doing it here.
4349
4350 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4351
4352 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4353 menu navigations commands.
4354
4355 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4356
4357 * progmodes/subword.el (subword-capitalize): Be careful when
4358 the search for [[:alpha:]] fails (bug#15580).
4359
4360 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4361
4362 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4363 to commands that scroll the menu.
4364
4365 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4366
4367 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4368 Handle methods ending with `?' and `!'.
4369
4370 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4371
4372 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4373 `japanese-cp932' to `cp932' to fix the problem where saving a
4374 source file written in Shift_JIS twice would end up having
4375 `coding: japanese-cp932' which Ruby could not recognize.
4376 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4377 in `ruby-encoding-map'.
4378 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4379 doesn't need to be explicitly declared in magic comment.
4380 (ruby-encoding-map): Add type declaration for better customize UI.
4381
4382 2013-10-13 Glenn Morris <rgm@gnu.org>
4383
4384 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4385 Occur buffers are read-only. http://bugs.debian.org/720775
4386
4387 * emacs-lisp/authors.el (authors-fixed-entries):
4388 Comment out old alpha stuff.
4389
4390 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4391
4392 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4393 to `after-save-hook' instead of `before-save-hook'.
4394 (ruby-mode-set-encoding): Use the value of coding system used to
4395 write the file. Call `basic-save-buffer-1' after modifying the
4396 buffer.
4397
4398 2013-10-13 Alan Mackenzie <acm@muc.de>
4399
4400 Fix indentation/fontification of Java enum with
4401 "implements"/generic.
4402
4403 * progmodes/cc-engine.el (c-backward-over-enum-header):
4404 Extracted from the three other places and enhanced to handle generics.
4405 (c-inside-bracelist-p): Uses new function above.
4406 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4407 function above.
4408 (c-font-lock-enum-tail): Uses new function above.
4409
4410 2013-10-13 Kenichi Handa <handa@gnu.org>
4411
4412 * international/mule-cmds.el (select-safe-coding-system): Remove a
4413 superfluous condition in chekcing whether a coding system is safe
4414 or not.
4415
4416 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4417
4418 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4419
4420 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4421
4422 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4423
4424 2013-10-13 Glenn Morris <rgm@gnu.org>
4425
4426 * menu-bar.el (menu-bar-update-buffers):
4427 Unify Buffers menu prompt string. (Bug#15576)
4428
4429 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4430
4431 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4432 Add some entries.
4433 (authors-fixed-entries): Use accented form of name.
4434
4435 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4438 method calls (bug#15594).
4439 (ruby-smie--args-separator-p): New function.
4440 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4441 recognize paren-free method calls.
4442
4443 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4444 internals of universal-argument.
4445
4446 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4447
4448 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4449 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4450 dropped menu on second mouse click on the menu bar.
4451
4452 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4455 (explicit-shell-file-name): Declare.
4456 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4457 (sh-completion-at-point-function): New function.
4458 (sh-mode): Use it.
4459 (sh-smie--keyword-p): Remove unused argument.
4460 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4461 vars.
4462 (sh-set-shell): Always setup SMIE, even if we use the
4463 old indentation code.
4464
4465 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4466
4467 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4468 cases of ? and =.
4469 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4470 predicate would return nil are almost non-existent.
4471 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4472
4473 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4474 cache also after commands that modify the buffer but don't move
4475 point.
4476
4477 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * env.el (substitute-env-in-file-name): New function.
4480 (substitute-env-vars): Extend the meaning of the optional arg.
4481
4482 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4483
4484 * term/w32-win.el (dynamic-library-alist): Define separate lists
4485 of GIF DLLs for versions before and after 5.0.0 of giflib.
4486 (Bug#15531)
4487
4488 2013-10-10 João Távora <joaotavora@gmail.com>
4489
4490 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4491 not locked, use last revision and current source as
4492 defaults. (Bug#15569)
4493
4494 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4495
4496 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4497 menu-bar is hidden.
4498
4499 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4500
4501 * window.el (pop-to-buffer-same-window): Fix doc-string.
4502 (Bug#15492)
4503
4504 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4507
4508 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4509
4510 * calendar/icalendar.el (icalendar-import-file):
4511 Fix interactive spec. (Bug#15482)
4512
4513 2013-10-10 Glenn Morris <rgm@gnu.org>
4514
4515 * desktop.el (desktop-save): Default to saving in .emacs.d,
4516 since PWD is no longer in desktop-path by default. (Bug#15319)
4517
4518 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4519 now that text mode has a menu with the same entry.
4520 (menu-bar-text-mode-auto-fill): Remove now unused func.
4521 * textmodes/text-mode.el (text-mode-map):
4522 Use auto-fill help text from menu-bar.el.
4523
4524 2013-10-10 John Anthony <john@jo.hnanthony.com>
4525
4526 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4527
4528 2013-10-09 Juri Linkov <juri@jurta.org>
4529
4530 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4531 instead of this-command-keys. Add universal-argument-more and
4532 universal-argument-minus to the list of prefix commands. (Bug#15568)
4533
4534 2013-10-09 Glenn Morris <rgm@gnu.org>
4535
4536 * vc/vc-svn.el (vc-svn-create-repo):
4537 Expand paths in file://... url. (Bug#15446)
4538
4539 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4540 Add some entries.
4541 (authors): Remove unused local variables.
4542
4543 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * profiler.el: Create a more coherent calltree from partial backtraces.
4546 (profiler-format): Hide the tail with `invisible' so that C-s can still
4547 find the hidden elements.
4548 (profiler-calltree-depth): Don't recurse so enthusiastically.
4549 (profiler-function-equal): New hash-table-test.
4550 (profiler-calltree-build-unified): New function.
4551 (profiler-calltree-build): Use it.
4552 (profiler-report-make-name-part): Indent the calltree less.
4553 (profiler-report-mode): Add visibility specs for profiler-format.
4554 (profiler-report-expand-entry, profiler-report-toggle-entry):
4555 Expand the whole subtree when provided with a prefix arg.
4556
4557 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4558
4559 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4560 iuwu-mod token.
4561 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4562 hanging iuwu-mod token.
4563 (ruby-smie--forward-token): Do not include a dot after a token in
4564 that token.
4565 (ruby-smie--backward-token): Likewise.
4566
4567 2013-10-08 Juri Linkov <juri@jurta.org>
4568
4569 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4570 to isearch-other-control-char.
4571 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4572 and isearch-post-command-hook to post-command-hook.
4573 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4574 and isearch-post-command-hook from post-command-hook.
4575 (isearch-unread-key-sequence)
4576 (isearch-reread-key-sequence-naturally)
4577 (isearch-lookup-scroll-key, isearch-other-control-char)
4578 (isearch-other-meta-char): Remove functions.
4579 (isearch-pre-command-hook, isearch-post-command-hook):
4580 New functions based on isearch-other-meta-char rewritten
4581 relying on the new behavior of overriding-terminal-local-map
4582 that does not replace the local keymaps any more. (Bug#15200)
4583
4584 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4585
4586 Support menus on text-mode terminals.
4587 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4588 functionality.
4589
4590 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4591
4592 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4593 Move here from mouse.el.
4594 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4595 and arrow keys.
4596 (tty-menu-navigation-map): New map for TTY menu navigation.
4597
4598 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4599
4600 * frame.el (display-mouse-p): Report text-mode mouse as available
4601 on w32.
4602 (display-popup-menus-p): Report availability if mouse is
4603 available; don't condition on window-system.
4604
4605 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4606 (tty-menu-selected-face): New faces.
4607
4608 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4611 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4612 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4613 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4614 New constants.
4615 (lisp-mode-variables): New `elisp' argument.
4616 (emacs-lisp-mode): Use it.
4617 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4618 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4619
4620 * indent.el: Use lexical-binding.
4621 (indent-region): Add progress reporter.
4622 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4623 last step.
4624 (indent--next-tab-stop): New function to implement this behavior.
4625 (tab-to-tab-stop, move-to-tab-stop): Use it.
4626
4627 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4628
4629 * indent.el (indent-rigidly--current-indentation): New function.
4630 (indent-rigidly-map): New var.
4631 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4632
4633 2013-10-08 Bastien Guerry <bzg@gnu.org>
4634
4635 * register.el (insert-register): Fix 2013-10-07 change.
4636
4637 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * progmodes/perl-mode.el: Use lexical-binding.
4640 Remove redundant :group args.
4641 (perl-nochange): Change default to be closer to other major modes's
4642 standard behavior.
4643 (perl-indent-line): Don't consider text on current line as a
4644 valid beginning of function from which to indent.
4645
4646 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4647 with more than one argument (bug#15538).
4648
4649 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4650
4651 * vc/pcvs.el: Use lexical-binding.
4652 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4653 environment of `eval'.
4654 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4655 than a list of expressions. Adjust callers.
4656 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4657
4658 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4659
4660 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4661 case of the dot in a chained method call being on the following line.
4662
4663 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * electric.el (electric-indent-inhibit): New var.
4666 (electric-indent-post-self-insert-function): Use it.
4667 * progmodes/python.el (python-mode): Set it.
4668
4669 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4670 open braces.
4671
4672 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4673
4674 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4675 (css-mode): Use electric-indent-chars.
4676
4677 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4678 (font-lock-beg, font-lock-end): Move before first use.
4679 (nxml-mode): Use syntax-propertize-function.
4680 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4681 (nxml-extend-after-change-region): Remove.
4682 * nxml/xmltok.el: Use lexical-binding.
4683 (xmltok-save): Use `declare'.
4684 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4685 * nxml/nxml-util.el: Use lexical-binding.
4686 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4687 Use `declare'.
4688 * nxml/nxml-ns.el: Use lexical-binding.
4689 (nxml-ns-save): Use `declare'.
4690 (nxml-ns-prefixes-for): Avoid add-to-list.
4691 * nxml/rng-match.el: Use lexical-binding.
4692 (rng--ipattern): Use cl-defstruct.
4693 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4694 (rng-cons-group-after, rng-subst-group-after)
4695 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4696 Use closures instead of `(lambda...).
4697
4698 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4701 of BEG and END.
4702
4703 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4704 Use `tramp-handle-insert-file-contents'.
4705 (tramp-gvfs-handle-insert-file-contents): Remove function.
4706
4707 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4708 Use `save-restriction' in order to keep markers.
4709
4710 * net/trampver.el: Update release number.
4711
4712 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * progmodes/compile.el (compilation-parse-errors):
4715 Use compilation--put-prop.
4716 (compilation--ensure-parse): Check compilation-multiline.
4717
4718 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4719
4720 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4721 lexical-binding.
4722
4723 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4724
4725 * progmodes/ruby-mode.el: Fix recently added tests.
4726 (ruby-smie-grammar): Add - and +.
4727 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4728 (ruby-smie--backward-id): New functions.
4729 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4730 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4731 any more.
4732
4733 2013-10-07 Leo Liu <sdl.web@gmail.com>
4734
4735 * register.el (register-preview-delay)
4736 (register-preview-functions): New variables.
4737 (register-read-with-preview, register-preview)
4738 (register-describe-oneline): New functions.
4739 (point-to-register, window-configuration-to-register)
4740 (frame-configuration-to-register, jump-to-register)
4741 (number-to-register, view-register, insert-register)
4742 (copy-to-register, append-to-register, prepend-to-register)
4743 (copy-rectangle-to-register): Use register-read-with-preview to
4744 read register. (Bug#15525)
4745
4746 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4747
4748 * net/network-stream.el (network-stream-open-starttls): Don't add
4749 --insecure if it's already present, because that gnutls-cli
4750 rejects getting that parameter twice.
4751
4752 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4753
4754 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4755 keyword, too.
4756
4757 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4758
4759 * newcomment.el (comment-use-global-state): Change default value
4760 to t, mark obsolete (Bug#15251).
4761 (comment-beginning): In addition to `comment-to-syntax', check the
4762 value of `comment-use-global-state'.
4763
4764 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4767 (ruby-comment-column): Follow the global default, by default.
4768 (ruby-smie-grammar): Add assignment syntax.
4769 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4770 open-paren, a comma, or a \.
4771 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4772 and line continuations.
4773 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4774 followed by implicit semi-colons. Add rule for string concatenation
4775 and for indentation at BOB.
4776 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4777
4778 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4779 calling next-sexp, since next-token may have skipped chars which
4780 next-sexp doesn't know should be skipped!
4781
4782 2013-10-05 Leo Liu <sdl.web@gmail.com>
4783
4784 * progmodes/octave.el (octave-send-region):
4785 Call compilation-forget-errors.
4786
4787 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4788
4789 * vc/vc-svn.el (vc-svn-find-admin-dir):
4790 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4791 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4792 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4793 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4794
4795 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4798
4799 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * subr.el (read-passwd): Hide chars even when called within a context
4802 where after-change-functions is disabled (bug#15501).
4803 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4804 until we removed ourself from overriding-terminal-local-map.
4805
4806 2013-10-04 Leo Liu <sdl.web@gmail.com>
4807
4808 * progmodes/octave.el (inferior-octave-mode):
4809 Call compilation-forget-errors.
4810
4811 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4812
4813 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4814
4815 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * net/secrets.el (secrets-create-collection): Add optional
4818 argument ALIAS. Use proper Label keyword. Append ALIAS as
4819 dbus-call-method argument. (Bug#15516)
4820
4821 2013-10-04 Leo Liu <sdl.web@gmail.com>
4822
4823 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4824 (inferior-octave-compilation-font-lock-keywords): New variables.
4825 (compilation-error-regexp-alist)
4826 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4827 (inferior-octave-mode): Use compilation-shell-minor-mode.
4828
4829 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4830
4831 * minibuffer.el (completion--replace): Be careful that `end' might be
4832 a marker.
4833
4834 2013-10-03 Daiki Ueno <ueno@gnu.org>
4835
4836 Add support for package signature checking.
4837 * emacs-lisp/package.el (url-http-file-exists-p)
4838 (epg-make-context, epg-context-set-home-directory)
4839 (epg-verify-string, epg-context-result-for)
4840 (epg-signature-status, epg-signature-to-string)
4841 (epg-check-configuration, epg-configuration)
4842 (epg-import-keys-from-file): Declare.
4843 (package-check-signature): New user option.
4844 (package-unsigned-archives): New user option.
4845 (package-desc): Add `signed' field.
4846 (package-load-descriptor): Set `signed' field if .signed file exists.
4847 (package--archive-file-exists-p): New function.
4848 (package--check-signature): New function.
4849 (package-install-from-archive): Check package signature.
4850 (package--download-one-archive): Check archive signature.
4851 (package-delete): Remove .signed file.
4852 (package-import-keyring): New command.
4853 (package-refresh-contents): Import default keyring.
4854 (package-desc-status): Add "unsigned" status.
4855 (describe-package-1, package-menu--print-info)
4856 (package-menu-mark-delete, package-menu--find-upgrades)
4857 (package-menu--status-predicate): Support "unsigned" status.
4858
4859 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4862 the new compilation scheme using the new byte-codes.
4863
4864 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4865 (byte-pophandler): New byte codes.
4866 (byte-goto-ops): Adjust accordingly.
4867 (byte-compile--use-old-handlers): New var.
4868 (byte-compile-catch): Use new byte codes depending on
4869 byte-compile--use-old-handlers.
4870 (byte-compile-condition-case--old): Rename from
4871 byte-compile-condition-case.
4872 (byte-compile-condition-case--new): New function.
4873 (byte-compile-condition-case): New function that dispatches depending
4874 on byte-compile--use-old-handlers.
4875 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4876 when we can.
4877
4878 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4879 Optimize under `condition-case' and `catch' if
4880 byte-compile--use-old-handlers is nil.
4881 (disassemble-offset): Handle new bytecodes.
4882
4883 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * subr.el (error): Use `declare'.
4886 (decode-char, encode-char): Use advertised-calling-convention instead
4887 of the docstring to discourage use of the `restriction' arg.
4888
4889 2013-10-03 Daiki Ueno <ueno@gnu.org>
4890
4891 * epg.el (epg-verify-file): Add a comment saying that it does not
4892 notify verification error as a return value nor a signal.
4893 (epg-verify-string): Ditto.
4894
4895 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4896
4897 * progmodes/compile.el (compilation-start): Try globbing the arg to
4898 `cd' (bug#15417).
4899
4900 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4901
4902 Sync with Tramp 2.2.8.
4903
4904 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4905 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4906 * net/trampver.el: Update release number.
4907
4908 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4909
4910 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4911 and default-process-coding-system for darwin only.
4912
4913 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4916
4917 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4918
4919 * vc/vc-git.el (vc-git-grep): Disable pager.
4920
4921 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4922
4923 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4924 Use :url instead of :homepage, as per
4925 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4926
4927 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4928 non-nil, use `syntax-ppss' (Bug#15251).
4929
4930 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4931
4932 * progmodes/octave.el (inferior-octave-startup-file):
4933 Prefer ~/.emacs.d/init_octave.m.
4934
4935 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4936
4937 * emacs-lisp/package.el (package-desc-from-define):
4938 Accept additional arguments as plist, convert them to an alist and store
4939 them in the `extras' slot.
4940 (package-generate-description-file): Convert extras alist back to
4941 plist and append to the `define-package' form arguments.
4942 (package--alist-to-plist): New function.
4943 (package--ac-desc): Add `extras' slot.
4944 (package--add-to-archive-contents): Check if the archive-contents
4945 vector is long enough, and if it is, pass its `extras' slot value
4946 to `package-desc-create'.
4947 (package-buffer-info): Call `lm-homepage', pass the returned value
4948 to `package-desc-from-define'.
4949 (describe-package-1): Render the homepage button (Bug#13291).
4950
4951 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4952 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4953
4954 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4955
4956 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4957 and default-process-coding-system to utf-8-unix (Bug#15402).
4958
4959 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4960
4961 * subr.el (looking-back): Do not recommend using looking-back.
4962
4963 2013-09-28 Alan Mackenzie <acm@muc.de>
4964
4965 Fix indentation/fontification of Java enum with "implements".
4966
4967 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4968 regexp which matches "implements", etc., in Java.
4969 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4970 specifier clauses coming after "enum".
4971 * progmodes/cc-fonts.el (c-font-lock-declarations)
4972 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4973 after "enum".
4974
4975 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4976
4977 * faces.el (region): Change ns_selection_color to
4978 ns_selection_fg_color, add ns_selection_bg_color.
4979
4980 2013-09-28 Leo Liu <sdl.web@gmail.com>
4981
4982 * progmodes/octave.el (inferior-octave-completion-table)
4983 (inferior-octave-completion-at-point): Minor tweaks.
4984
4985 * textmodes/ispell.el (ispell-lookup-words): Rename from
4986 lookup-words. (Bug#15460)
4987 (lookup-words): Obsolete.
4988 (ispell-complete-word, ispell-command-loop): All uses changed.
4989
4990 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4991
4992 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4993 (octave-mode-menu): Add octave-send-buffer.
4994 (octave-send-buffer): New function.
4995
4996 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4997
4998 * progmodes/octave.el (octave-mode-map): Add key binding for
4999 octave-lookfor.
5000 (octave-mode-menu): Add octave-lookfor.
5001 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5002 octave-lookfor.
5003 (octave-lookfor): New function.
5004
5005 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * emacs-lisp/cl-macs.el:
5008 (cl--loop-destr-temps): Remove.
5009 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5010 its convention.
5011 (cl--loop-set-iterator-function): New function.
5012 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5013 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5014 Bind `it' with `let' instead of substituting it with `cl-subst'.
5015 (cl--unused-var-p): New function.
5016 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5017 Eliminate some unused variable warnings (bug#15326).
5018
5019 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5020
5021 * doc-view.el (doc-view-scale-reset): Rename from
5022 `doc-view-reset-zoom-level'.
5023 (doc-view-scale-adjust): New command.
5024 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5025 `doc-view-scale-adjust'.
5026
5027 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5028
5029 * doc-view.el (doc-view-reset-zoom-level): New command.
5030 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5031 zoom commands (bug#15466).
5032
5033 2013-09-26 Kenichi Handa <handa@gnu.org>
5034
5035 * international/quail.el (quail-help): Make it not a command.
5036
5037 2013-09-26 Leo Liu <sdl.web@gmail.com>
5038
5039 * minibuffer.el (completion-all-sorted-completions): Make args
5040 optional as they are.
5041
5042 2013-09-25 Daniel Colascione <dancol@dancol.org>
5043
5044 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5045 specs are and that they're not evaluated.
5046
5047 2013-09-24 Sam Steingold <sds@gnu.org>
5048
5049 * midnight.el (clean-buffer-list-kill-regexps)
5050 (clean-buffer-list-kill-buffer-names): Update for the new Man
5051 buffer naming which includes the object name.
5052
5053 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5056 (eshell-parse-command, eshell-parse-pipeline): Use it since
5057 eshell-separate-commands requires a dynamic scoped var.
5058 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5059
5060 2013-09-23 Leo Liu <sdl.web@gmail.com>
5061
5062 * autoinsert.el (auto-insert-alist): Make the value of
5063 lexical-binding match its file setting.
5064
5065 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5066
5067 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5068
5069 * autoarg.el (autoarg-kp-digit-argument):
5070 * electric.el (Electric-command-loop):
5071 * kmacro.el (kmacro-step-edit-insert):
5072 Do not set universal-argument-num-events.
5073
5074 2013-09-22 Leo Liu <sdl.web@gmail.com>
5075
5076 * files.el (interpreter-mode-alist): Add octave.
5077
5078 2013-09-21 Alan Mackenzie <acm@muc.de>
5079
5080 C++: fontify identifier in declaration following "public:" correctly.
5081 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5082 to match "public", etc.
5083 (c-decl-prefix-re): Add ":" into the C++ value.
5084 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5085 bit. Add a check for a ":" preceded by "public", etc.
5086
5087 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5088
5089 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5090 recognized by GDB 7.5 and later.
5091
5092 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5093
5094 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5095
5096 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * subr.el (internal--call-interactively): New const.
5099 (called-interactively-p): Use it (bug#3984).
5100
5101 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5102
5103 * vc/pcvs.el (cvs-mode-ignore):
5104 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5105 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5106
5107 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5110 (eshell-ls-orig-insert-directory): Remove.
5111 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5112 (eshell-ls-use-in-dired): Use advice-add/remove.
5113 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5114 Add `orig-fun' arg for use in :around advice.
5115 Make it check (redundantly) eshell-ls-use-in-dired.
5116
5117 2013-09-19 Glenn Morris <rgm@gnu.org>
5118
5119 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5120
5121 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5122
5123 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5124
5125 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5126
5127 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5128 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5129 (tramp-get-remote-python): New defuns.
5130 (tramp-get-remote-uid-with-perl)
5131 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5132 contributed by yary <not.com@gmail.com> (tiny change).
5133 (tramp-get-remote-uid-with-python)
5134 (tramp-get-remote-gid-with-python): New defuns. Python code
5135 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5136 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5137
5138 2013-09-19 Glenn Morris <rgm@gnu.org>
5139
5140 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5141
5142 * eshell/em-unix.el (eshell-remove-entries):
5143 Rename argument to avoid name-clash with global `top-level'.
5144
5145 * eshell/esh-proc.el (eshell-kill-process-function):
5146 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5147 (eshell-reset-after-proc): Remove unused arg `proc'.
5148
5149 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5150 (directory-files-and-attributes): Mark unused arg.
5151
5152 * eshell/em-unix.el (eshell-remove-entries):
5153 Remove unused arg `path'. Update callers.
5154
5155 * eshell/em-hist.el (eshell-hist-parse-arguments):
5156 Remove unused arg `silent'. Update callers.
5157
5158 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5159 Fix (f)boundp mix-up.
5160
5161 * eshell/em-smart.el (eshell-smart-scroll-window)
5162 (eshell-disable-after-change):
5163 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5164
5165 2013-09-18 Alan Mackenzie <acm@muc.de>
5166
5167 Fix fontification of type when followed by "const".
5168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5169 "known" types from fontification.
5170
5171 2013-09-18 Glenn Morris <rgm@gnu.org>
5172
5173 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5174 (chart-face-list): Drop Emacsen without display-color-p.
5175
5176 * net/eww.el (libxml-parse-html-region): Declare.
5177 (eww-display-html): Explicit error if no libxml2 support.
5178
5179 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5180
5181 * image.el (image-type-from-buffer, image-multi-frame-p):
5182 Remove --without-x warning/error.
5183
5184 * mouse.el (mouse-yank-primary):
5185 * term.el (term-mouse-paste):
5186 Reorder to silence --without-x compilation.
5187
5188 * mpc.el (doc-view-mode): Silence --without-x compilation.
5189
5190 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5191 Silence --without-x compilation.
5192
5193 * progmodes/gud.el (gud-find-file, gud-mode):
5194 Silence --without-x compilation.
5195 (tooltip-mode): Declare.
5196
5197 * wdired.el (dired-backup-overwrite): Remove declaration.
5198 (wdired-mode-map): Add doc string.
5199
5200 * custom.el (x-get-resource): Declare.
5201
5202 * eshell/em-glob.el (ange-cache):
5203 * eshell/em-unix.el (ange-cache): Declare.
5204
5205 * faces.el (x-display-list, x-open-connection, x-get-resource):
5206 Declare.
5207
5208 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5209 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5210 Declare.
5211
5212 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5213
5214 * net/gnutls.el (gnutls-log-level): Declare.
5215
5216 * net/shr.el (image-size, image-animate): Declare.
5217
5218 * simple.el (font-info): Declare.
5219
5220 * subr.el (x-popup-dialog): Declare.
5221
5222 * term/common-win.el (x-select-enable-primary)
5223 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5224 Declare.
5225
5226 * term/ns-win.el (x-handle-args): Declare.
5227
5228 * term/x-win.el (x-select-enable-clipboard): Declare.
5229
5230 * term/w32-win.el (create-default-fontset): Declare.
5231
5232 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5233 Declare.
5234
5235 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5236 (fit-frame-to-buffer): Explicit error if --without-x.
5237 (mouse-autoselect-window-select): Silence compiler.
5238
5239 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5240
5241 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5242 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5243 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5244 * eshell/esh-util.el (eshell-sublist):
5245 Remove unused local variables.
5246
5247 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5248
5249 * textmodes/two-column.el: Make 2C-split work for --without-x.
5250 (scroll-bar-columns): Autoload.
5251 (top-level): Require fringe when compiling.
5252
5253 2013-09-18 Leo Liu <sdl.web@gmail.com>
5254
5255 * subr.el (add-hook): Robustify to handle closure as well.
5256
5257 2013-09-17 Glenn Morris <rgm@gnu.org>
5258
5259 * simple.el (messages-buffer-mode-map): Unbind "g".
5260
5261 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * help-mode.el (help-mode-finish): Use derived-mode-p.
5264 Remove obsolete highlighting.
5265
5266 * play/life.el (life-mode): Use define-derived-mode. Derive from
5267 special-mode.
5268 (life): Let-bind inhibit-read-only.
5269 (life-setup): Avoid `setq'. Use `life-mode'.
5270
5271 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5272 which should not be needed any more.
5273 (package-menu-refresh, package-menu-describe-package): Use user-error.
5274
5275 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5276 (eshell-post-rewrite-command-hook): Make obsolete.
5277 (eshell-parse-command): Simplify.
5278 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5279 (eshell--cmd): Declare.
5280 (eshell-parse-pipeline): Remove unused var `final-p'.
5281 Pass a dynvar to eshell-post-rewrite-command-hook.
5282 Implement the new eshell-post-rewrite-command-function.
5283 (eshell-invoke-directly): Remove unused arg `input'.
5284 * eshell/esh-io.el (eshell-io-initialize):
5285 Use eshell-post-rewrite-command-function (bug#15399).
5286 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5287 adjust to new calling convention.
5288 (eshell-create-handles): Rename args to avoid clashing with dynvar
5289 `standard-output'.
5290
5291 2013-09-17 Glenn Morris <rgm@gnu.org>
5292
5293 * simple.el (messages-buffer-mode): New major mode.
5294 (messages-buffer): New function.
5295 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5296 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5297 (ert-run-test): Use `messages-buffer' function.
5298 (ert--force-message-log-buffer-truncation): Ignore read-only.
5299 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5300 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5301
5302 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5305
5306 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5307
5308 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * icomplete.el (icomplete-in-buffer): New var.
5311 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5312 vars and replace them with functions.
5313 (icomplete-minibuffer-setup): Adjust accordingly.
5314 (icomplete--completion-table, icomplete--completion-predicate)
5315 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5316 New functions.
5317 (icomplete-forward-completions, icomplete-backward-completions)
5318 (icomplete-simple-completing-p, icomplete-exhibit)
5319 (icomplete-completions): Use them.
5320 (icomplete--in-region-buffer): New var.
5321 (icomplete--in-region-setup): New function.
5322 (icomplete-mode): Use it.
5323
5324 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5325 (bug#15379).
5326 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5327 return args and options.
5328 (eshell-eval-using-options): Use the new return value of
5329 eshell--do-opts to set the options's vars in their scope.
5330 (eshell--set-option): Rename from eshell-set-option.
5331 Add arg `opt-vals'.
5332 (eshell--process-option): Rename from eshell-process-option.
5333 Add arg `opt-vals'.
5334 (eshell--process-args): Use an `opt-vals' alist to store the options's
5335 values during their processing and return them additionally to the
5336 remaining args.
5337
5338 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5339
5340 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5341 continuation character an operator, as far as indentation is
5342 concerned (Bug#15369).
5343
5344 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5345
5346 * window.el (window--state-put-2): Don't process buffer state
5347 when buffer doesn't exist any more (Bug#15382).
5348
5349 2013-09-15 Glenn Morris <rgm@gnu.org>
5350
5351 * eshell/em-unix.el (eshell/rm):
5352 Make -f ignore missing files. (Bug#15373)
5353
5354 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5355 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5356 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5357
5358 2013-09-14 Glenn Morris <rgm@gnu.org>
5359
5360 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5361
5362 2013-09-13 Glenn Morris <rgm@gnu.org>
5363
5364 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5365 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5366
5367 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5368
5369 * frame.el (x-focus-frame): Mark as declared in frame.c.
5370
5371 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * ls-lisp.el: Use advice-add.
5374 (original-insert-directory): Remove.
5375 (ls-lisp--insert-directory): Rename from insert-directory; add
5376 `orig-fun' argument.
5377 (insert-directory): Advise.
5378
5379 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5380
5381 * term.el (term-emulate-terminal): Decode the command string
5382 before passing it to term-command-hook. (Bug#15337)
5383
5384 2013-09-13 Glenn Morris <rgm@gnu.org>
5385
5386 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5387
5388 * eshell/esh-ext.el (eshell-search-path): Declare.
5389
5390 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5391 Otherwise an error occurs if eshell-dirs module not loaded.
5392
5393 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5394
5395 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5396
5397 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5398 `tramp-check-proper-host'. Check for a valid method name.
5399
5400 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5401 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5402 * net/tramp-sh.el (tramp-maybe-open-connection):
5403 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5404
5405 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5406 also for hash values.
5407
5408 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * term/ns-win.el (parameters): Don't declare as dynamic.
5411 (before-make-frame-hook): Don't add ineffective function.
5412
5413 * eshell/*.el: Use lexical-binding (bug#15231).
5414
5415 2013-09-12 Kenichi Handa <handa@gnu.org>
5416
5417 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5418
5419 2013-09-12 Glenn Morris <rgm@gnu.org>
5420
5421 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5422 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5423
5424 * subr.el (do-after-load-evaluation): Also give compiler warnings
5425 when obsolete files are used (except by obsolete files).
5426
5427 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5428 in the status output, assume `filename' is the first. (Bug#15322)
5429
5430 * vc/vc.el (vc-deduce-fileset): Doc fix.
5431
5432 * calc/calc-help.el (Info-goto-node):
5433 * progmodes/cperl-mode.el (Info-find-node):
5434 * vc/ediff.el (Info-goto-node): Update declarations.
5435
5436 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5437
5438 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5439 (vc-bzr-pull): Require vc-dispatcher.
5440 * vc/vc-git.el (vc-compilation-mode): Declare.
5441 (vc-git-pull): Require vc-dispatcher.
5442
5443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5444
5445 * progmodes/octave.el (help-button-action): Declare.
5446
5447 * shell.el (shell-directory-tracker): Output error as a message
5448 rather than just returning it as a string.
5449 (shell-process-pushd): Remove useless use of message.
5450
5451 * dframe.el (dframe-timer-fn):
5452 * files.el (dir-locals-read-from-file):
5453 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5454 (mpc-format):
5455 * reveal.el (reveal-post-command):
5456 * saveplace.el (load-save-place-alist-from-file):
5457 * shell.el (shell-resync-dirs):
5458 * w32-common-fns.el (x-get-selection-value):
5459 * emacs-lisp/copyright.el (copyright-find-copyright):
5460 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5461 * emulation/tpu-edt.el (tpu-copy-keyfile):
5462 * play/bubbles.el (bubbles--mark-neighbourhood):
5463 * progmodes/executable.el
5464 (executable-make-buffer-file-executable-if-script-p):
5465 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5466
5467 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 Cleanup Eshell to rely less on dynamic scoping.
5470 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5471 last-value, and ext-command here. Bind `args' closer to `body'.
5472 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5473 (eshell--args): Declare new dynamic var.
5474 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5475 last-value, and ext-command. Pass `args' to `body'.
5476 (eshell-process-args): Bind eshell--args.
5477 (eshell-set-option): Use eshell--args.
5478 * eshell/eshell.el (eshell): Use derived-mode-p.
5479 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5480 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5481 (eshell-glob-function): Declare.
5482 * eshell/esh-util.el: Require cl-lib.
5483 (eshell-read-hosts-file): Avoid add-to-list.
5484 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5485 `err'.
5486 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5487 Declare.
5488 (eshell/diff): Remove unused var `err'.
5489 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5490 `killflag'.
5491 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5492 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5493 first use.
5494 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5495 Move declaration before first use.
5496 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5497 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5498 rely on cl-return.
5499
5500 2013-09-12 Glenn Morris <rgm@gnu.org>
5501
5502 * term/ns-win.el (global-map): Remove binding for ispell-next,
5503 deleted 1999-05-29. (Bug#15357)
5504
5505 2013-09-11 Glenn Morris <rgm@gnu.org>
5506
5507 * echistory.el (electric-command-history): Remove call to deleted func.
5508
5509 * play/landmark.el (landmark-mode): Fix typos.
5510
5511 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5512 Check cvs-sort-ignore-file is bound.
5513
5514 * savehist.el: No need for cl when compiling on Emacs.
5515
5516 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5519 (bug#15338).
5520 (eshell-self-insert-command, eshell-send-invisible):
5521 Remove unused argument.
5522 (eshell-handle-control-codes): Remove unused var `orig'.
5523 Avoid delete-backward-char.
5524
5525 * files.el (set-auto-mode): Simplify a bit further.
5526
5527 2013-09-11 Glenn Morris <rgm@gnu.org>
5528
5529 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5530 (set-auto-mode): Don't regexp-quote elements.
5531 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5532 * progmodes/cc-mode.el (interpreter-mode-alist):
5533 * progmodes/ruby-mode.el (interpreter-mode-alist):
5534 Revert previous change.
5535
5536 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * play/snake.el (snake-mode):
5539 * play/mpuz.el (mpuz-mode):
5540 * play/landmark.el (lm-mode):
5541 * play/blackbox.el (blackbox-mode):
5542 * play/5x5.el (5x5-mode):
5543 * obsolete/options.el (Edit-options-mode):
5544 * net/quickurl.el (quickurl-list-mode):
5545 * net/newst-treeview.el (newsticker-treeview-mode):
5546 * mail/rmailsum.el (rmail-summary-mode):
5547 * mail/mspools.el (mspools-mode):
5548 * locate.el (locate-mode):
5549 * ibuffer.el (ibuffer-mode):
5550 * emulation/ws-mode.el (wordstar-mode):
5551 * emacs-lisp/debug.el (debugger-mode):
5552 * array.el (array-mode):
5553 * net/eudc.el (eudc-mode): Use define-derived-mode.
5554 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5555 Move initialization into declaration.
5556 (mairix-searches-mode): Use define-derived-mode.
5557 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5558 (eudc-edit-hotlist): Use dolist.
5559 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5560 (Man-mode): Use define-derived-mode.
5561 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5562 (Info-edit-mode): Use define-derived-mode.
5563 (Info-cease-edit): Use Info-mode.
5564 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5565 into declaration.
5566 (eshell-mode): Use define-derived-mode.
5567 * chistory.el (command-history-mode-map): Rename from
5568 command-history-map.
5569 (command-history-mode): Use define-derived-mode.
5570 (Command-history-setup): Remove function.
5571 * calc/calc.el (calc-trail-mode-map): New var.
5572 (calc-trail-mode): Use define-derived-mode.
5573 (calc-trail-buffer): Set calc-main-buffer manually.
5574 * bookmark.el (bookmark-insert-annotation): New function.
5575 (bookmark-edit-annotation): Use it.
5576 (bookmark-edit-annotation-mode): Make it a proper major mode.
5577 (bookmark-send-edited-annotation): Use derived-mode-p.
5578 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5579 closer to its ideal place. Use \' to match EOS.
5580
5581 * profiler.el (profiler-calltree-find): Use function-equal.
5582
5583 2013-09-10 Glenn Morris <rgm@gnu.org>
5584
5585 * files.el (interpreter-mode-alist): Convert to regexps.
5586 (set-auto-mode): Adapt for this. (Bug#15306)
5587 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5588 Comment out unused variable.
5589 * progmodes/cc-mode.el (interpreter-mode-alist):
5590 * progmodes/python.el (interpreter-mode-alist):
5591 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5592 * progmodes/sh-script.el (sh-set-shell):
5593 No longer use interpreter-mode-alist to get list of shells.
5594
5595 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5596
5597 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * simple.el: Use set-temporary-overlay-map for universal-argument.
5600 (universal-argument-map): Don't use default-bindings (bug#15317).
5601 Bind switch-frame explicitly. Replace universal-argument-minus with
5602 a conditional binding.
5603 (universal-argument-num-events, saved-overriding-map): Remove.
5604 (restore-overriding-map): Remove.
5605 (universal-argument--mode): Rename from save&set-overriding-map,
5606 and rewrite.
5607 (universal-argument, universal-argument-more, negative-argument)
5608 (digit-argument): Adjust accordingly.
5609 (universal-argument-minus): Remove.
5610 (universal-argument-other-key): Remove.
5611
5612 * subr.el (with-demoted-errors): Add `format' argument.
5613
5614 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5615
5616 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5617 `tramp-cleanup-connection'.
5618
5619 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5620 parameters KEEP-DEBUG and KEEP-PASSWORD.
5621
5622 * net/tramp.el (tramp-file-name-handler):
5623 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5624 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5625 (tramp-maybe-open-connection):
5626 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5627 Use `tramp-cleanup-connection'.
5628
5629 * net/tramp-sh.el (tramp-maybe-open-connection):
5630 Catch 'uname-changed inside the progress reporter.
5631
5632 2013-09-10 Glenn Morris <rgm@gnu.org>
5633
5634 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5635
5636 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5637 returns "alternate access method" in mode (eg "-rw-r--r--.").
5638
5639 2013-09-08 Glenn Morris <rgm@gnu.org>
5640
5641 * saveplace.el (load-save-place-alist-from-file):
5642 Demote errors. (Bug#15305)
5643
5644 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5645
5646 Improve compatibility with older Emacsen, and XEmacs.
5647
5648 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5649 only if it is bound. It isn't for XEmacs.
5650 (with-tramp-progress-reporter): Do not let-bind `result'.
5651 This yields to scoping errors in XEmacs.
5652 (tramp-handle-make-auto-save-file-name): New function, moved from
5653 tramp-sh.el.
5654
5655 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5656 for `make-auto-save-file-name'.
5657 (tramp-adb--gnu-switches-to-ash):
5658 Use `tramp-compat-replace-regexp-in-string'.
5659
5660 * net/tramp-cache.el (tramp-cache-print): Call
5661 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5662
5663 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5664 bound. It isn't for XEmacs.
5665
5666 * net/tramp-compat.el (tramp-compat-copy-file):
5667 Catch `wrong-number-of-arguments' error.
5668 (tramp-compat-replace-regexp-in-string): New defun.
5669
5670 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5671 for `make-auto-save-file-name'.
5672 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5673 `copy-file'.
5674 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5675 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5676 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5677
5678 * net/tramp-gw.el (tramp-gw-open-network-stream):
5679 Use `tramp-compat-replace-regexp-in-string'.
5680
5681 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5682 Call `tramp-handle-make-auto-save-file-name'.
5683 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5684 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5685 (tramp-sh-file-inotifywait-process-filter):
5686 Use `tramp-compat-replace-regexp-in-string'.
5687 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5688
5689 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5690 for `make-auto-save-file-name'.
5691 (tramp-smb-handle-copy-directory):
5692 Call `tramp-compat-replace-regexp-in-string'.
5693 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5694 (tramp-smb-handle-copy-file): Improve error message.
5695 (tramp-smb-handle-rename-file): Rename directly only in case
5696 `newname' does not exist yet. This is a restriction of smbclient.
5697 (tramp-smb-maybe-open-connection): Rerun the function only when
5698 `auth-sources' is non-nil.
5699
5700 2013-09-08 Kenichi Handa <handa@gnu.org>
5701
5702 * international/characters.el: Set category "^" (Combining) for
5703 more characters.
5704
5705 2013-09-07 Alan Mackenzie <acm@muc.de>
5706
5707 Correctly fontify Java class constructors.
5708 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5709 in Java Mode.
5710 (c-recognize-typeless-decls): Set the Java value to t.
5711 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5712 While handling a "(", add a check for, effectively, Java, and handle a
5713 "typeless" declaration there.
5714
5715 2013-09-07 Roland Winkler <winkler@gnu.org>
5716
5717 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5718 field subtitle for entry type book.
5719
5720 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * minibuffer.el: Make minibuffer-complete call completion-in-region
5723 rather than other way around.
5724 (completion--some, completion-pcm--find-all-completions):
5725 Don't delay signals when debugging.
5726 (minibuffer-completion-contents): Beware fields within the
5727 minibuffer contents.
5728 (completion-all-sorted-completions): Use defvar-local.
5729 (completion--do-completion, completion--cache-all-sorted-completions)
5730 (completion-all-sorted-completions, minibuffer-force-complete):
5731 Add args `beg' and `end'.
5732 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5733 (minibuffer-complete): Use completion-in-region.
5734 (completion-complete-and-exit): New fun, extracted from
5735 minibuffer-complete-and-exit.
5736 (minibuffer-complete-and-exit): Use it.
5737 (completion--complete-and-exit): Rename from
5738 minibuffer--complete-and-exit.
5739 (completion-in-region--single-word): New function, extracted from
5740 minibuffer-complete-word.
5741 (minibuffer-complete-word): Use it.
5742 (display-completion-list): Make `common-substring' argument obsolete.
5743 (completion--in-region): Call completion--in-region-1 instead of
5744 minibuffer-complete.
5745 (completion-help-at-point): Pass boundaries to
5746 minibuffer-completion-help as args rather than via an overlay.
5747 (completion-pcm--string->pattern): Use `any-delim'.
5748 (completion-pcm--optimize-pattern): New function.
5749 (completion-pcm--pattern->regex): Handle `any-delim'.
5750 * icomplete.el (icomplete-forward-completions)
5751 (icomplete-backward-completions, icomplete-completions):
5752 Adjust calls to completion-all-sorted-completions and
5753 completion--cache-all-sorted-completions.
5754 (icomplete-with-completion-tables): Default to t.
5755 * emacs-lisp/crm.el (crm--current-element): Rename from
5756 crm--select-current-element. Don't put an overlay but return the
5757 boundaries instead.
5758 (crm--completion-command): Take two new args to bind to the boundaries.
5759 (crm-completion-help): Adjust accordingly.
5760 (crm-complete): Use completion-in-region.
5761 (crm-complete-word): Use completion-in-region--single-word.
5762 (crm-complete-and-exit): Use completion-complete-and-exit.
5763
5764 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5767 than dynamically.
5768
5769 2013-09-06 Juri Linkov <juri@jurta.org>
5770
5771 * info.el (Info-display-images-node): When image file doesn't exist
5772 display text version of the image if it's provided in the Info file.
5773 Otherwise, display the location of missing image from SRC attribute.
5774 Add help-echo text property from ALT attribute. (Bug#15279)
5775
5776 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5779 (edit-abbrevs-mode): Use define-derived-mode.
5780
5781 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5782 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5783 that it's defined.
5784 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5785 Use define-derived-mode.
5786
5787 * epg.el (epg-start-encrypt): Minor CSE simplification.
5788
5789 2013-09-06 William Xu <william.xwl@gmail.com>
5790
5791 * arc-mode.el: Add support for 7za (bug#15264).
5792 (archive-7z-program): New var.
5793 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5794 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5795 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5796
5797 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5798
5799 Remove URL syntax.
5800
5801 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5802 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5803 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5804 (tramp-postfix-host-format, tramp-file-name-regexp)
5805 (tramp-completion-file-name-regexp)
5806 (tramp-completion-dissect-file-name)
5807 (tramp-handle-substitute-in-file-name): Remove 'url case.
5808 (tramp-file-name-regexp-url)
5809 (tramp-completion-file-name-regexp-url): Remove constants.
5810
5811 2013-09-06 Glenn Morris <rgm@gnu.org>
5812
5813 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5814
5815 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5816
5817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5818 keywords" below "here-doc beginnings" (Bug#15270).
5819
5820 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5821
5822 * subr.el (pop): Use `car-safe'.
5823 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5824 to detect unused `pop' return value.
5825
5826 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5827 var `block-regexp'.
5828 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5829 (python-fill-string): Remove unused var `marker'.
5830 (python-skeleton-add-menu-items): Remove unused var `items'.
5831
5832 * international/mule-cmds.el: Require CL.
5833 (find-coding-systems-for-charsets): Avoid add-to-list.
5834 (sanitize-coding-system-list): New function, extracted from
5835 select-safe-coding-system-interactively.
5836 (select-safe-coding-system-interactively): Use it.
5837 (read-input-method-name): Accept symbols for `default'.
5838
5839 * emacs-lisp/advice.el (defadvice): Add indent rule.
5840
5841 2013-09-05 Daniel Hackney <dan@haxney.org>
5842
5843 * dired-x.el:
5844 * net/ange-ftp.el:
5845 * net/browse-url.el:
5846 * net/dbus.el:
5847 * net/eudc.el:
5848 * net/eudcb-ldap.el:
5849 * net/eww.el:
5850 * net/imap.el:
5851 * printing.el:
5852 * vc/ediff-diff.el:
5853 * vc/ediff-init.el:
5854 * vc/ediff-merg.el:
5855 * vc/ediff-mult.el:
5856 * vc/ediff-util.el:
5857 * vc/ediff-wind.el:
5858 * vc/ediff.el:
5859 * vc/emerge.el:
5860 * vc/pcvs.el:
5861 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5862 byte compiler. Remove some unused let-bound variables.
5863
5864 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5867 a "ref-cell", since it gets better optimized (bug#14883).
5868
5869 2013-09-05 Glenn Morris <rgm@gnu.org>
5870
5871 * progmodes/cc-awk.el (c-forward-sws): Declare.
5872
5873 2013-09-04 Glenn Morris <rgm@gnu.org>
5874
5875 * generic-x.el [rul-generic-mode]: Require cc-mode.
5876 (c++-mode-syntax-table): Declare.
5877 (rul-generic-mode-syntax-table): Init in the defvar.
5878
5879 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5882 (vc-do-command, vc-set-async-update):
5883 * vc/vc-mtn.el (vc-mtn-dir-status):
5884 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5885 (vc-hg-pull, vc-hg-merge-branch):
5886 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5887 (vc-git-merge-branch):
5888 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5889 (vc-cvs-dir-status-files):
5890 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5891 (vc-bzr-dir-status-files):
5892 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5893 * vc/vc-annotate.el: Use lexical-binding.
5894 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5895 (vc-sentinel-movepoint): Declare.
5896 (vc-annotate): Don't use `goto-line'.
5897 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5898 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5899 (vc-sentinel-movepoint): Declare.
5900 * vc/vc-svn.el: Use lexical-binding.
5901 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5902 * vc/vc-sccs.el:
5903 * vc/vc-rcs.el: Use lexical-binding.
5904
5905 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5906 `deleted'. Don't drop errors silently.
5907
5908 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5909
5910 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5911
5912 * vc/vc.el (vc-ignore): Rewrite.
5913 (vc-default-ignore): New function.
5914 (vc-default-ignore-completion-table): Use find-ignore-file.
5915
5916 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5917 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5918 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5919 Remove. Most code moved to vc.el.
5920
5921 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5924 * net/tramp-smb.el (tramp-smb-get-file-entries):
5925 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5926 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5927
5928 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5929 Update call to it.
5930 (eww-change-select): Remove unused var `properties'.
5931 (eww-make-unique-file-name): Remove unused var `base'.
5932
5933 * finder.el (finder-compile-keywords): Don't mess with windows.
5934
5935 * calculator.el (calculator-funcall): Fix typo in last change.
5936
5937 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5938
5939 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5940 <pkg>-autoloads.el file stop us.
5941
5942 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5943 warnings, and factor out common code.
5944
5945 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5946
5947 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5948 two-character operators and whether the character preceding them
5949 changes their meaning (Bug#15208).
5950
5951 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5952
5953 Format code sent to Python shell for robustness.
5954 * progmodes/python.el (python-shell-buffer-substring):
5955 New function.
5956 (python-shell-send-region, python-shell-send-buffer): Use it.
5957
5958 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5959
5960 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5961 * net/tramp.el (tramp-user-error): ... here.
5962 (tramp-find-method, tramp-check-proper-host)
5963 (tramp-dissect-file-name, tramp-debug-message)
5964 (tramp-handle-shell-command):
5965 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5967
5968 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5969
5970 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5971
5972 * avoid.el (mouse-avoidance-point-position)
5973 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5974 returns nil.
5975
5976 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5977
5978 * progmodes/python.el (python-shell-completion-get-completions):
5979 Drop use of deleted `comint-last-prompt-overlay'.
5980 (python-nav-if-name-main): New command.
5981
5982 2013-09-01 Glenn Morris <rgm@gnu.org>
5983
5984 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5985 Avoid leading space in $wins. Otherwise the sed command used by
5986 eg compile-main ends up containing "/*.el". (Bug#15170)
5987
5988 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5989
5990 2013-08-30 Glenn Morris <rgm@gnu.org>
5991
5992 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5993 Fix is-this-a-directory logic. (Bug#15220)
5994
5995 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * textmodes/css-mode.el: Use SMIE.
5998 (css-smie-grammar): New var.
5999 (css-smie--forward-token, css-smie--backward-token)
6000 (css-smie-rules): New functions.
6001 (css-mode): Use them.
6002 (css-navigation-syntax-table): Remove var.
6003 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6004 (css-indent-calculate, css-indent-line): Remove functions.
6005
6006 Misc changes to reduce use of `(lambda...); and other cleanups.
6007 * cus-edit.el: Use lexical-binding.
6008 (customize-push-and-save, customize-apropos)
6009 (custom-buffer-create-internal): Use closures.
6010 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6011 * progmodes/ada-xref.el: Use setq.
6012 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6013 * dframe.el: Use lexical-binding.
6014 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6015 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6016 * descr-text.el: Use lexical-binding.
6017 (describe-text-widget, describe-text-sexp, describe-property-list):
6018 Use closures.
6019 * comint.el (comint-history-isearch-push-state): Use a closure.
6020 * calculator.el: Use lexical-binding.
6021 (calculator-number-to-string): Make it work with lexical-binding.
6022 (calculator-funcall): Same and use cl-letf.
6023
6024 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6025 (lisp--company-doc-string, lisp--company-location): New functions.
6026 (lisp-completion-at-point): Use them to improve Company support.
6027
6028 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6029 params of lambda expressions.
6030 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6031 (ruby-smie--opening-pipe-p): New function.
6032 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6033 symbols and matched |...| for formal params.
6034 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6035 from being treated as hanging. Handle "rescue".
6036
6037 2013-08-29 Glenn Morris <rgm@gnu.org>
6038
6039 * progmodes/cc-engine.el (c-pull-open-brace):
6040 Move definition before use.
6041
6042 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6045 are immutable. Don't use `unsafe' any more.
6046 (cl--defsubst-expand): Don't substitute at the same time as keeping
6047 a residual unused let-binding. Don't use `unsafe' any more.
6048
6049 2013-08-29 Glenn Morris <rgm@gnu.org>
6050
6051 * calendar/cal-china.el (calendar-chinese-year-cache):
6052 Recenter on 2015.
6053
6054 * nxml/nxml-util.el (nxml-debug-clear-inside):
6055 Use cl-loop rather than loop.
6056
6057 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6058
6059 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6060
6061 2013-08-28 Glenn Morris <rgm@gnu.org>
6062
6063 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6064
6065 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6066
6067 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6068
6069 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * simple.el (repeat-complex-command--called-interactively-skip):
6072 New function.
6073 (repeat-complex-command): Use it (bug#14136).
6074
6075 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6076 (c-define-abbrev-table): Add `doc' argument.
6077 (c-mode-abbrev-table, c++-mode-abbrev-table)
6078 (objc-mode-abbrev-table, java-mode-abbrev-table)
6079 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6080 (awk-mode-abbrev-table): Use it.
6081 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6082 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6083 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6084 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6085 Move initialization into the declaration; and remove any
6086 autoload cookie.
6087
6088 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6089 and dynamic let binding.
6090
6091 * vc/smerge-mode.el: Remove redundant :group args.
6092
6093 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6094 to load-path.
6095
6096 2013-08-28 Juri Linkov <juri@jurta.org>
6097
6098 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6099 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6100 (isearch-other-meta-char): Handle an undefined shifted printing
6101 character by downshifting it. (Bug#15200)
6102
6103 2013-08-28 Juri Linkov <juri@jurta.org>
6104
6105 * isearch.el (isearch-search): Change regexp error message for
6106 non-regexp searches. (Bug#15166)
6107
6108 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6109
6110 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6111 for portability to hosts where /bin/sh has problems.
6112
6113 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6116
6117 2013-08-27 Juri Linkov <juri@jurta.org>
6118
6119 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6120 in the keyboard macro. (Bug#15126)
6121
6122 2013-08-27 Juri Linkov <juri@jurta.org>
6123
6124 * isearch.el (isearch-quote-char): Comment out converting unibyte
6125 to multibyte, thus syncing with its `quoted-insert' counterpart.
6126 (Bug#15166)
6127
6128 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6129
6130 * window.el (display-buffer-use-some-window): Add missing
6131 argument in call of get-largest-window (Bug#15185).
6132 Reported by Stephen Leake.
6133
6134 2013-08-27 Glenn Morris <rgm@gnu.org>
6135
6136 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6137
6138 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6139
6140 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6141 from a matcher-function unless there's no more matches (bug#15161).
6142
6143 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6144
6145 * minibuffer.el: Revert change from 2013-08-20.
6146
6147 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6148 with text property `tramp-default', if appropriate.
6149 (tramp-check-proper-host): New defun.
6150 (tramp-dissect-file-name): Do not check hostname. Revert change
6151 of 2013-03-18.
6152 (tramp-backtrace): Make VEC-OR-PROC optional.
6153
6154 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6155 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6156 * net/tramp-sh.el (tramp-maybe-open-connection):
6157 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6158 Apply `tramp-check-proper-host'.
6159
6160 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6161
6162 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6163 lambda expression in order to have `describe-variable' display it.
6164
6165 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6166
6167 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6168 BUF can be optional. (Bug#15186)
6169
6170 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6171
6172 * progmodes/flymake.el (flymake-get-real-file-name-function):
6173 Fix broken customization. (Bug#15184)
6174
6175 2013-08-25 Alan Mackenzie <acm@muc.de>
6176
6177 Improve indentation of bracelists defined by macros (without "=").
6178
6179 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6180 expansion begins with "{", regard it as bracelist when it doesn't
6181 contain a ";".
6182
6183 Parse C++ inher-intro when there's a template split over 2 lines.
6184
6185 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6186 rigorously the search for "class" etc. followed by ":".
6187
6188 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6189 random languages a regexp which never matches rather than nil.
6190
6191 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6192
6193 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6194 (c-awk-regexp-one-line-possibly-open-char-list-re)
6195 (c-awk-one-line-possibly-open-regexp-re)
6196 (c-awk-one-line-non-syn-ws*-re): Remove.
6197 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6198 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6199 (c-awk-space*-unclosed-regexp-/-re): New constants.
6200 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6201 aren't regexp delimiters.
6202
6203 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6204 handling for a rare situation in AWK Mode involving unterminated
6205 strings/regexps.
6206
6207 2013-08-23 Glenn Morris <rgm@gnu.org>
6208
6209 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6210
6211 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6212
6213 * files.el (create-file-buffer): If the result would begin with
6214 spaces, prepend a "|" instead of removing them. (Bug#15162)
6215
6216 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6219 text-properties (bug#15155).
6220
6221 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6222 exist any more.
6223 (calc-keypad-redraw): Remove unused var `pad'.
6224 (calc-keypad-press): Remove unused var `menu'.
6225
6226 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6227
6228 * window.el (display-buffer-pop-up-frame):
6229 Call pop-up-frame-function with BUFFER current so `make-frame' will
6230 use it as the new frame's buffer (Bug#15133).
6231
6232 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * calendar/timeclock.el: Minor cleanups.
6235 (timeclock-ask-before-exiting, timeclock-use-display-time):
6236 Use `symbol'.
6237 (timeclock-modeline-display): Define as alias before the
6238 actual definition.
6239 (timeclock-mode-line-display): Use define-minor-mode.
6240 (timeclock-day-list-template): Make it a function, add an argument.
6241 (timeclock-day-list-required, timeclock-day-list-length)
6242 (timeclock-day-list-debt, timeclock-day-list-span)
6243 (timeclock-day-list-break): Adjust calls accordingly.
6244
6245 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6248 Use read--expression so that completion works again.
6249
6250 2013-08-21 Sam Steingold <sds@gnu.org>
6251
6252 Add rudimentary inferior shell interaction
6253 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6254 (sh-set-shell): Reset it.
6255 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6256 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6257
6258 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * align.el: Use lexical-binding.
6261 (align-region): Simplify accordingly.
6262
6263 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6264
6265 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6266
6267 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6268 `non-essential' up.
6269
6270 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6271
6272 * net/tramp.el:
6273 * net/tramp-adb.el:
6274 * net/tramp-cmds.el:
6275 * net/tramp-ftp.el:
6276 * net/tramp-gvfs.el:
6277 * net/tramp-gw.el:
6278 * net/tramp-sh.el: Don't wrap external variable declarations by
6279 `eval-when-compile'.
6280
6281 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6282
6283 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6284 now that Emacs supports ImageMagick animations.
6285
6286 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6287
6288 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6289 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6290
6291 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6292
6293 * window.el (mouse-autoselect-window-select): Do autoselect when
6294 mouse pointer is on margin.
6295
6296 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6297
6298 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6299
6300 2013-08-16 Glenn Morris <rgm@gnu.org>
6301
6302 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6303 Handle "Remote Directory" response of some clients. (Bug#15058)
6304
6305 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6306 Tweak warning. (Bug#14926)
6307
6308 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6309 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6310
6311 * image-mode.el (image-mode-map): Add menu items to reverse,
6312 increase, decrease, reset animation speed.
6313 (image--set-speed, image-increase-speed, image-decrease-speed)
6314 (image-reverse-speed, image-reset-speed): New functions.
6315 (image-mode-map): Add bindings for speed commands.
6316
6317 * image.el (image-animate-get-speed, image-animate-set-speed):
6318 New functions.
6319 (image-animate-timeout): Respect image :speed property.
6320
6321 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6324 previous line (bug#15101).
6325 (debugger-eval-expression, debugger-record-expression):
6326 Use read--expression (bug#15102).
6327
6328 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6329
6330 Remove byte compiler warnings, visible when compiling with
6331 `byte-compile-force-lexical-warnings' set to t.
6332
6333 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6334 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6335 (tramp-handle-unhandled-file-name-directory)
6336 (tramp-handle-file-notify-add-watch, tramp-action-login)
6337 (tramp-action-succeed, tramp-action-permission-denied)
6338 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6339 arguments with "_".
6340
6341 * net/tramp-adb.el (tramp-adb-parse-device-names)
6342 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6343 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6344 (tramp-adb-handle-file-truename): Remove unused arguments.
6345
6346 * net/tramp-cache.el (tramp-flush-directory-property)
6347 (tramp-flush-connection-property, tramp-list-connections)
6348 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6349
6350 * net/tramp-compat.el (tramp-compat-make-temp-file):
6351 Rename FILENAME to F.
6352
6353 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6354 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6355 (tramp-zeroconf-parse-workstation-device-names)
6356 (tramp-zeroconf-parse-webdav-device-names)
6357 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6358
6359 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6360 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6361
6362 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6363 arguments.
6364 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6365 (tramp-sh-handle-insert-file-contents-literally)
6366 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6367 with "_".
6368 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6369 Remove unused variables.
6370
6371 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6372 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6373 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6374
6375 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6376 Make them a defconst.
6377 (tramp-uuencode-region): Remove unused variable.
6378
6379 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * frameset.el (frameset--prop-setter): New function.
6382 (frameset-prop): Add gv-setter declaration.
6383 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6384 parameter was already set in FILTERED. Doc fix.
6385 (frameset--record-minibuffer-relationships): Allow saving a
6386 minibufferless frame without its corresponding minibuffer frame.
6387 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6388 frame, if the frame id matches.
6389 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6390 frames before orphaned ones.
6391 (frameset-restore): Warn about orphaned windows, instead of error out.
6392
6393 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6394
6395 * window.el (window-make-atom): Don't overwrite parameter
6396 already present.
6397 (display-buffer-in-atom-window): Handle special case where we
6398 split an already atomic window.
6399 (window--major-non-side-window, display-buffer-in-side-window)
6400 (window--side-check): Ignore minibuffer window when walking
6401 window tree.
6402 (window-deletable-p): Return 'frame only if no other frame uses
6403 our minibuffer window.
6404 (record-window-buffer): Run buffer-list-update-hook.
6405 (split-window): Make sure window--check-frame won't destroy an
6406 existing atomic window in case the new window gets nested
6407 inside.
6408 (display-buffer-at-bottom): Ignore minibuffer window when
6409 walking window tree. Don't split a side window.
6410 (pop-to-buffer): Don't set-buffer here, the select-window call
6411 should do that.
6412 (mouse-autoselect-window-select): Autoselect only if we are in the
6413 text portion of the window.
6414
6415 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6416
6417 * net/shr.el (shr-parse-image-data): New function to grab both the
6418 data itself and the Content-Type.
6419 (shr-put-image): Use it.
6420
6421 * net/eww.el (eww-display-image): Ditto.
6422
6423 * image.el (image-content-type-suffixes): New variable.
6424
6425 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6426
6427 * progmodes/python.el (python-imenu--build-tree)
6428 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6429
6430 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6431
6432 * simple.el (backward-word): Mention the optional argument.
6433
6434 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * frameset.el (frameset--make): Rename constructor from make-frameset.
6437 (frameset-p, frameset-valid-p): Don't autoload.
6438 (frameset-valid-p): Use normal accessors.
6439
6440 2013-08-13 Glenn Morris <rgm@gnu.org>
6441
6442 * progmodes/compile.el (compile-command): Tweak example in doc.
6443 * obsolete/scribe.el (scribe-mode):
6444 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6445
6446 * mail/feedmail.el (feedmail-confirm-outgoing)
6447 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6448
6449 * cus-start.el (truncate-partial-width-windows): Fix type.
6450
6451 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6452
6453 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6454
6455 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/timer.el (timer--time-setter): New function.
6458 (timer--time): Use it as gv-setter.
6459
6460 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6461 setter is not a symbol.
6462
6463 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6464
6465 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6466 if sending fails. This makes debugging easier.
6467
6468 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6469
6470 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6471 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6472 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6473
6474 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6475
6476 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6477
6478 2013-08-12 Glenn Morris <rgm@gnu.org>
6479
6480 * format.el (format-annotate-function):
6481 Handle read-only text properties in the source. (Bug#14887)
6482
6483 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6484
6485 * net/eww.el (eww-display-html): Ignore coding system errors.
6486 One web site uses "utf-8lias" as the coding system.
6487
6488 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6489
6490 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6491
6492 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6493
6494 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6495 (tutorial--detailed-help): Remove unused local variables.
6496 (tutorial--save-tutorial-to): Use ignore-errors.
6497 (help-with-tutorial): Use looking-at-p.
6498
6499 * view.el (view-buffer-other-window, view-buffer-other-frame):
6500 Mark unused arguments.
6501
6502 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6503 (woman-select-symbol-fonts, woman, woman-find-file)
6504 (woman-insert-file-contents, woman-non-underline-faces):
6505 Use string-match-p.
6506 (woman1-unquote): Move declaration.
6507
6508 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6509 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6510 argument. Remove unused local variable.
6511 (xml-parse-elem-type): Use string-match-p.
6512 (xml-substitute-numeric-entities): Use ignore-errors.
6513
6514 * calculator.el (calculator): Mark unused argument.
6515 (calculator-paste, calculator-quit, calculator-integer-p):
6516 Use ignore-errors.
6517 (calculator-string-to-number, calculator-decimal, calculator-exp)
6518 (calculator-op-or-exp): Use string-match-p.
6519
6520 * dired.el (dired-buffer-more-recently-used-p): Declare.
6521 (dired-insert-set-properties, dired-insert-old-subdirs):
6522 Use ignore-errors.
6523
6524 * dired-aux.el (dired-compress): Use ignore-errors.
6525 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6526 (dired-do-async-shell-command, dired-do-shell-command)
6527 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6528 (dired-insert-subdir-validate): Use string-match-p.
6529 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6530 (dired-add-entry): Use string-match-p, looking-at-p.
6531 (dired-insert-subdir-newpos): Remove unused local variable.
6532
6533 * filenotify.el (file-notify-callback): Remove unused local variable.
6534
6535 * filesets.el (filesets-error): Mark unused argument.
6536 (filesets-which-command-p, filesets-filter-dir-names)
6537 (filesets-directory-files, filesets-get-external-viewer)
6538 (filesets-ingroup-get-data): Use string-match-p.
6539
6540 * find-file.el (ff-other-file-name, ff-other-file-name)
6541 (ff-find-the-other-file, ff-cc-hh-converter):
6542 Remove unused local variables.
6543 (ff-get-file-name): Use string-match-p.
6544 (ff-all-dirs-under): Use ignore-errors.
6545
6546 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6547 (follow-select-if-visible): Remove unused local variable.
6548
6549 * forms.el (read-file-filter): Move declaration.
6550 (forms--make-format, forms--make-parser, forms-insert-record):
6551 Quote function with #'.
6552 (forms--update): Use string-match-p. Quote function with #'.
6553
6554 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6555 (help-make-xrefs): Use looking-at-p.
6556 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6557
6558 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6559 (ibuffer-confirm-operation-on): Use string-match-p.
6560
6561 * msb.el (msb-item-handler, msb-dired-item-handler):
6562 Mark unused arguments.
6563
6564 * ses.el (ses-decode-cell-symbol)
6565 (ses-kill-override): Remove unused local variable.
6566 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6567 (ses-load): Use ignore-errors, looking-at-p.
6568 (ses-jump-safe): Use ignore-errors.
6569 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6570
6571 * tabify.el (untabify, tabify): Mark unused arguments.
6572
6573 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6574 Mark unused argument.
6575 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6576 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6577
6578 * emacs-lisp/timer.el (timer--time): Define setter with
6579 gv-define-setter to avoid deprecation warning.
6580
6581 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6582 (*record-cmpl-statistics-p*): Remove (was commented out).
6583 (cmpl-statistics-block): Remove (body was commented out).
6584 All callers changed.
6585 (add-completions-from-buffer, load-completions-from-file):
6586 Remove unused variables.
6587
6588 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * filecache.el (file-cache-delete-file-list):
6591 Print message only when told so.
6592 (file-cache-files-matching): Use #' in mapconcat argument.
6593
6594 * ffap.el (ffap-url-at-point): Fix reference to variable
6595 thing-at-point-default-mail-uri-scheme.
6596
6597 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * subr.el (define-error): New function.
6600 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6601 error-file-not-found and define with define-error.
6602 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6603 and define with define-error.
6604 * userlock.el (file-locked, file-supersession):
6605 * simple.el (mark-inactive):
6606 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6607 * progmodes/ada-mode.el (ada-mode-errors):
6608 * play/life.el (life-extinct):
6609 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6610 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6611 * nxml/rng-util.el (rng-error):
6612 * nxml/rng-uri.el (rng-uri-error):
6613 * nxml/rng-match.el (rng-compile-error):
6614 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6615 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6616 * nxml/nxml-rap.el (nxml-scan-error):
6617 * nxml/nxml-outln.el (nxml-outline-error):
6618 * net/soap-client.el (soap-error):
6619 * net/gnutls.el (gnutls-error):
6620 * net/ange-ftp.el (ftp-error):
6621 * mpc.el (mpc-proc-error):
6622 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6623 (json-number-format, json-string-escape, json-string-format)
6624 (json-key-format, json-object-format):
6625 * jka-compr.el (compression-error):
6626 * international/quail.el (quail-error):
6627 * international/kkc.el (kkc-error):
6628 * emacs-lisp/ert.el (ert-test-failed):
6629 * calc/calc.el (calc-error, inexact-result, math-overflow)
6630 (math-underflow):
6631 * bookmark.el (bookmark-error-no-filename):
6632 * epg.el (epg-error): Define with define-error.
6633
6634 * time.el (display-time-event-handler)
6635 (display-time-next-load-average): Don't call sit-for since it seems
6636 unnecessary (bug#15045).
6637
6638 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6639 Use #' instead of ' to quote functions.
6640 (checkdoc-output-mode): Use setq-local.
6641 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6642 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6643 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6644 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6645 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6646 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6647 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6648 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6649
6650 * ido.el (ido-completion-help): Fix up compiler warning.
6651
6652 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6653
6654 * frameset.el (frameset-p): Add autoload cookie.
6655 (frameset--jump-to-register): New function, based on code moved from
6656 register.el.
6657 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6658
6659 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6660 (frameset-restore, frameset-save, frameset-session-filter-alist):
6661 Remove declarations.
6662 (register-alist): Doc fix.
6663 (frameset-to-register): Move to frameset.el.
6664 (jump-to-register, describe-register-1): Remove frameset-specific code.
6665
6666 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6667
6668 * allout-widgets.el (allout-widgets-pre-command-business)
6669 (allout-widgets-post-command-business)
6670 (allout-widgets-after-change-handler)
6671 (allout-decorate-item-and-context, allout-set-boundary-marker)
6672 (allout-body-modification-handler)
6673 (allout-graphics-modification-handler): Mark ignored arguments.
6674 (allout-widgets-post-command-business)
6675 (allout-widgets-exposure-change-processor)
6676 (allout-widgets-exposure-undo-processor)
6677 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6678 (allout-parse-item-at-point, allout-decorate-item-guides)
6679 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6680 * allout.el (epa-passphrase-callback-function): Declare.
6681 (allout-overlay-insert-in-front-handler)
6682 (allout-overlay-interior-modification-handler)
6683 (allout-isearch-end-handler, allout-chart-siblings)
6684 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6685 (allout-yank-processing, allout-process-exposed)
6686 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6687 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6688 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6689 (lisp-indent-defform): Mark ignored arguments.
6690 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6691 (calculate-lisp-indent): Remove unused variables.
6692 * international/characters.el (indian-2-column, arabic-2-column)
6693 (tibetan): Mark ignored arguments.
6694 (use-cjk-char-width-table): Mark ignored arguments.
6695 Remove unused variables.
6696 * international/fontset.el (build-default-fontset-data)
6697 (x-compose-font-name, create-fontset-from-fontset-spec):
6698 Mark ignored arguments.
6699 (fontset-plain-name): Remove unused variables.
6700 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6701 (keyboard-coding-system): Mark ignored arguments.
6702 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6703 * help.el (resize-temp-buffer-window):
6704 * window.el (display-buffer-in-major-side-window)
6705 (display-buffer-in-side-window, display-buffer-in-previous-window):
6706 Remove unused variables.
6707 * isearch.el (isearch-forward-symbol):
6708 * version.el (emacs-bzr-version-bzr):
6709 * international/mule-cmds.el (current-language-environment):
6710 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6711 (x-handle-display):
6712 * term/pc-win.el (x-list-fonts, x-display-planes)
6713 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6714 (x-server-version, x-display-screens, x-display-mm-height)
6715 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6716 (x-selection-owner-p, x-own-selection-internal)
6717 (x-disown-selection-internal, x-get-selection-internal)
6718 (msdos-initialize-window-system):
6719 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6720 * term/x-win.el (x-handle-no-bitmap-icon):
6721 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6722 (vc-default-find-file-hook, vc-default-extra-menu):
6723 Mark ignored arguments.
6724
6725 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6728 break-condition in the context of the debugged code (bug#12685).
6729
6730 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6731
6732 * comint.el:
6733 Do not use an overlay to highlight the last prompt. (Bug#14744)
6734 (comint-mode): Make comint-last-prompt buffer local.
6735 (comint-last-prompt): New variable.
6736 (comint-last-prompt-overlay): Remove. Superseded by
6737 comint-last-prompt.
6738 (comint-snapshot-last-prompt, comint-output-filter):
6739 Use comint-last-prompt.
6740
6741 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6742
6743 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6744 (frameset-save): Check validity of the resulting frameset.
6745
6746 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6747
6748 * ido.el (ido-record-command): Add doc string.
6749
6750 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6751
6752 * frameset.el (frameset): Do not disable creation of the default
6753 frameset-p predicate. Doc fix.
6754 (frameset-valid-p): New function, copied from the old predicate-p.
6755 Add additional checks.
6756 (frameset-restore): Check with frameset-valid-p.
6757 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6758 (frameset-name, frameset-description, frameset-properties)
6759 (frameset-states): Add docstring.
6760 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6761 (frameset-filter-alist): Doc fixes.
6762
6763 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6764
6765 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6766
6767 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6770 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6771 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6772 (byte-compile-normal-call): Remove obsolescence check.
6773
6774 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6775
6776 * frameset.el (frameset-restore): Doc fix.
6777
6778 * register.el (frameset-frame-id, frameset-frame-with-id)
6779 (frameset-p, frameset-restore, frameset-save): Declare.
6780 (register-alist): Document framesets.
6781 (frameset-session-filter-alist): Declare.
6782 (frameset-to-register): New function.
6783 (jump-to-register): Implement jumping to framesets. Doc fix.
6784 (describe-register-1): Describe framesets.
6785
6786 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6787
6788 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6789
6790 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6791 Use lexical-binding.
6792
6793 * frameset.el (frameset): Use type vector, not list (incompatible
6794 change). Do not declare a new constructor, use the default one.
6795 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6796 `name' and `description', respectively, and add read-only slot
6797 `timestamp'. Doc fixes.
6798 (frameset-copy, frameset-persistent-filter-alist)
6799 (frameset-filter-alist, frameset-switch-to-gui-p)
6800 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6801 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6802 (frameset-filter-iconified, frameset-keep-original-display-p):
6803 Doc fixes.
6804 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6805 Rename from frameset-filter-(save|restore)-param. All callers changed.
6806 Doc fix.
6807 (frameset-p): Adapt to change to vector and be more thorough.
6808 Change arg name to OBJECT. Doc fix.
6809 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6810 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6811 All callers changed.
6812 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6813 All callers changed.
6814 (frameset--record-minibuffer-relationships): Rename from
6815 frameset--process-minibuffer-frames. All callers changed.
6816 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6817 Use new default constructor (again). Doc fix.
6818 (frameset--find-frame-if): Rename from `frameset--find-frame.
6819 All callers changed.
6820 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6821 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6822 Doc fix.
6823 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6824 PARAMETERS and WINDOW-STATE, respectively.
6825 (frameset-restore): Add new keyword argument PREDICATE.
6826 Reset frameset--target-display to nil. Doc fix.
6827
6828 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6831 (bat-mode): Use it.
6832 (bat-mode-syntax-table): Mark \n as end-of-comment.
6833 (bat-font-lock-keywords): Remove comment rule.
6834
6835 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6836 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6837
6838 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6839 (byte-compile-callargs-warn): Use `push'.
6840 (byte-compile-arglist-warn): Ignore higher-order "calls".
6841 (byte-compile-file-form-autoload): Use `pcase'.
6842 (byte-compile-function-form): If quoting a symbol, check that it exists.
6843
6844 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6845
6846 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6847 and add a few popular commands found in batch files.
6848 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6849 (dos-mode): Doc fixes.
6850
6851 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6854 (dos-mode): Use setq-local. Add space after "rem".
6855 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6856 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6857
6858 2013-08-07 Arni Magnusson <arnima@hafro.is>
6859
6860 * progmodes/dos.el: New file.
6861 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6862 dos-mode.
6863
6864 2013-08-06 Glenn Morris <rgm@gnu.org>
6865
6866 * calendar/calendar.el: Add new faces, and day-header-array.
6867 (calendar-weekday-header, calendar-weekend-header)
6868 (calendar-month-header): New faces.
6869 (calendar-day-header-construct): New function.
6870 (calendar-day-header-width): Also :set calendar-day-header-array.
6871 (calendar-american-month-header, calendar-european-month-header)
6872 (calendar-iso-month-header): Use calendar- faces.
6873 (calendar-generate-month):
6874 Use calendar-day-header-array for day headers; apply faces to them.
6875 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6876 (calendar-abbrev-construct): Add optional maxlen argument.
6877 (calendar-day-name-array): Doc fix.
6878 (calendar-day-name-array, calendar-abbrev-length)
6879 (calendar-day-abbrev-array):
6880 Also :set calendar-day-header-array, and maybe redraw.
6881 (calendar-day-header-array): New option. (Bug#15007)
6882 (calendar-font-lock-keywords): Set to nil and make obsolete.
6883 (calendar-day-name): Add option to use header array.
6884
6885 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6886
6887 * net/shr.el (shr-render-td): Remove debugging.
6888 (shr-render-td): Make width computation consistent by defaulting
6889 all zero-width columns to 10 characters. This may not be optimal,
6890 but it's at least consistent.
6891 (shr-make-table-1): Redo last change to fix the real problem in
6892 colspan handling.
6893
6894 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6895
6896 * files.el (cache-long-line-scans):
6897 Make obsolete alias to `cache-long-scans'.
6898
6899 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6900
6901 * frameset.el (frameset, frameset-filter-alist)
6902 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6903 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6904 (frameset-compute-pos): Rename from frameset--compute-pos,
6905 and add docstring.
6906 (frameset-move-onscreen): Use frameset-compute-pos.
6907 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6908
6909 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6910 Fix typos in docstrings.
6911
6912 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6913
6914 * frame.el (get-other-frame): Tiny cleanup.
6915
6916 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6917
6918 * vc/vc.el (vc-default-ignore-completion-table):
6919 Silence byte-compiler warning.
6920
6921 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6922 slot, which can indeed be nil.
6923 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6924 Move entry for `left' from persistent to live filter alist.
6925 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6926 Doc fixes.
6927 (frameset-filter-params): When restoring a frame, copy items added to
6928 `filtered', to avoid unwittingly modifying the original parameters.
6929 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6930 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6931
6932 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6933 to use looking-at-p instead of looking-at. (Bug#15028)
6934
6935 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 Revert introduction of isearch-filter-predicates (bug#14714).
6938 Rely on add-function instead.
6939 * isearch.el (isearch-filter-predicates): Rename it back to
6940 isearch-filter-predicate.
6941 (isearch-message-prefix): Use advice-function-mapc and advice
6942 properties to get the isearch-message-prefix.
6943 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6944 instead of run-hook-with-args-until-failure.
6945 (isearch-filter-visible): Not obsolete any more.
6946 * loadup.el: Preload nadvice.
6947 * replace.el (perform-replace): Revert to funcall
6948 instead of run-hook-with-args-until-failure.
6949 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6950 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6951 dired-isearch-filenames-toggle; make it into a proper minor mode.
6952 Use add/remove-function.
6953 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6954 Call the minor-mode rather than add/remove-hook.
6955 (dired-isearch-filter-filenames):
6956 Remove isearch-message-prefix property.
6957 * info.el (Info--search-loop): New function, extracted from Info-search.
6958 Funcall isearch-filter-predicate instead of
6959 run-hook-with-args-until-failure isearch-filter-predicates.
6960 (Info-search): Use it.
6961 (Info-mode): Use isearch-filter-predicate instead of
6962 isearch-filter-predicates.
6963
6964 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6965
6966 Do not call to `selected-window' where it is assumed by default.
6967 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6968 `window-hscroll', `window-width', `window-height', `window-buffer',
6969 `window-frame', `window-start', `window-point', `next-window'
6970 and `window-display-table'.
6971 * abbrev.el (abbrev--default-expand):
6972 * bs.el (bs--show-with-configuration):
6973 * buff-menu.el (Buffer-menu-mouse-select):
6974 * calc/calc.el (calc):
6975 * calendar/calendar.el (calendar-generate-window):
6976 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6977 (diary-make-entry):
6978 * comint.el (send-invisible, comint-dynamic-complete-filename)
6979 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6980 * completion.el (complete):
6981 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6982 * disp-table.el (describe-current-display-table):
6983 * doc-view.el (doc-view-insert-image):
6984 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6985 * ehelp.el (with-electric-help):
6986 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6987 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6988 * emacs-lisp/helper.el (Helper-help-scroller):
6989 * emulation/cua-base.el (cua--post-command-handler-1):
6990 * eshell/esh-mode.el (eshell-output-filter):
6991 * ffap.el (ffap-gnus-wrapper):
6992 * help-macro.el (make-help-screen):
6993 * hilit-chg.el (highlight-compare-buffers):
6994 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6995 * hl-line.el (global-hl-line-highlight):
6996 * icomplete.el (icomplete-simple-completing-p):
6997 * isearch.el (isearch-done):
6998 * jit-lock.el (jit-lock-stealth-fontify):
6999 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7000 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7001 * mpc.el (mpc-tagbrowser, mpc):
7002 * net/rcirc.el (rcirc-any-buffer):
7003 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7004 * play/landmark.el (landmark-max-width, landmark-max-height):
7005 * play/zone.el (zone):
7006 * progmodes/compile.el (compilation-goto-locus):
7007 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7008 * progmodes/etags.el (find-tag-other-window):
7009 * progmodes/fortran.el (fortran-column-ruler):
7010 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7011 * progmodes/verilog-mode.el (verilog-point-text):
7012 * reposition.el (reposition-window):
7013 * rot13.el (toggle-rot13-mode):
7014 * server.el (server-switch-buffer):
7015 * shell.el (shell-dynamic-complete-command)
7016 (shell-dynamic-complete-environment-variable):
7017 * simple.el (insert-buffer, set-selective-display)
7018 (delete-completion-window):
7019 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7020 (speedbar-recenter):
7021 * startup.el (fancy-splash-head):
7022 * textmodes/ispell.el (ispell-command-loop):
7023 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7024 * tutorial.el (help-with-tutorial):
7025 * vc/add-log.el (add-change-log-entry):
7026 * vc/compare-w.el (compare-windows):
7027 * vc/ediff-help.el (ediff-indent-help-message):
7028 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7029 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7030 (ediff-setup-control-frame):
7031 * vc/emerge.el (emerge-position-region):
7032 * vc/pcvs-util.el (cvs-bury-buffer):
7033 * window.el (walk-windows, mouse-autoselect-window-select):
7034 * winner.el (winner-set-conf, winner-undo): Related users changed.
7035
7036 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7037
7038 * frameset.el (frameset--set-id): Doc fix.
7039 (frameset-frame-id, frameset-frame-id-equal-p)
7040 (frameset-locate-frame-id): New functions.
7041 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7042 (frameset-restore): Use them.
7043
7044 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7045
7046 Do not call to `selected-frame' where it is assumed by default.
7047 Affected functions are `raise-frame', `redraw-frame',
7048 `frame-first-window', `frame-terminal' and `delete-frame'.
7049 * calendar/appt.el (appt-disp-window):
7050 * epg.el (epg-wait-for-completion):
7051 * follow.el (follow-delete-other-windows-and-split)
7052 (follow-avoid-tail-recenter):
7053 * international/mule.el (set-terminal-coding-system):
7054 * mail/rmail.el (rmail-mail-return):
7055 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7056 * progmodes/f90.el (f90-add-imenu-menu):
7057 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7058 * server.el (server-switch-buffer):
7059 * simple.el (delete-completion-window):
7060 * talk.el (talk):
7061 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7062 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7063 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7064 * vc/ediff.el (ediff-documentation): Related users changed.
7065 * frame.el (selected-terminal): Remove the leftover.
7066
7067 2013-08-05 Glenn Morris <rgm@gnu.org>
7068
7069 * calendar/calendar.el (calendar-generate-month):
7070 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7071 (calendar-generate-month, calendar-font-lock-keywords):
7072 Fix for calendar-day-header-width > length of any day name.
7073
7074 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * desktop.el (desktop-clear): Use new name of sort predicate.
7077
7078 * frameset.el (frameset): Add docstring. Move :version property to its
7079 own `version' slot.
7080 (frameset-copy): Rename from copy-frameset.
7081 (frameset-p): Check more thoroughly.
7082 (frameset-prop): Do not check for :version, which is no longer a prop.
7083 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7084 Use new :never value instead of t.
7085 (frameset-filter-alist): Expand and clarify docstring.
7086 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7087 (frameset-filter-minibuffer, frameset-filter-save-param)
7088 (frameset-filter-restore-param, frameset-filter-iconified):
7089 Add pointer to docstring of frameset-filter-alist.
7090 (frameset-filter-params): Rename filter values to be more meaningful:
7091 :never instead of t, and reverse the meanings of :save and :restore.
7092 (frameset--process-minibuffer-frames): Clarify error message.
7093 (frameset-save): Avoid unnecessary and confusing call to framep.
7094 Use new BOA constructor for framesets.
7095 (frameset--reuse-list): Doc fix.
7096 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7097 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7098 (frameset-minibufferless-first-p): Doc fix.
7099 Rename from frameset-sort-frames-for-deletion.
7100 (frameset-restore): Doc fixes. Use new function names.
7101 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7102
7103 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7104
7105 * desktop.el (desktop-restore-forces-onscreen)
7106 (desktop-restore-reuses-frames): Document :keyword constant values.
7107 (desktop-filter-parameters-alist): Remove, now identical to
7108 frameset-filter-alist.
7109 (desktop--filter-tty*): Remove, moved to frameset.el.
7110 (desktop-save-frameset, desktop-restore-frameset):
7111 Do not pass :filters argument.
7112
7113 * frameset.el (frameset-live-filter-alist)
7114 (frameset-persistent-filter-alist): New variables.
7115 (frameset-filter-alist): Use them. Add autoload cookie.
7116 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7117 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7118 `frameset--id' (it's supposed to be internal to frameset.el).
7119 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7120 (frameset--initial-params): New function.
7121 (frameset--get-frame): Use it. Doc fix.
7122 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7123 Accept :all, not 'all.
7124 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7125 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7126 with fbound symbols. Fix frame id matching, and remove matching ids if
7127 the frame being restored is deleted. Obey :delete.
7128
7129 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * subr.el (macrop): New function.
7132 (text-clone--maintaining): New var.
7133 (text-clone--maintain): Rename from text-clone-maintain. Use it
7134 instead of inhibit-modification-hooks.
7135
7136 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7137 a proxy, so as handle autoloads and redefinitions of the target.
7138 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7139
7140 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7141 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7142 (pcase--mutually-exclusive-p): New function.
7143 (pcase--split-consp): Use it.
7144 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7145 mutually exclusive with the current predicate.
7146
7147 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7148 (edebug-macrop): Remove. Use `macrop' instead.
7149 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7150 (ad-macro-p):
7151 * eshell/esh-cmd.el (eshell-macrop):
7152 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7153
7154 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7157 (advice-mapc): New function, using it.
7158 (advice-function-member-p): New function.
7159 (advice--normalize): Store the cdr in advice--saved-rewrite since
7160 that's the part that will be changed.
7161 (advice--symbol-function): New function.
7162 (advice-remove): Handle removal before the function is defined.
7163 Adjust to new advice--saved-rewrite.
7164 (advice-member-p): Use advice-function-member-p and
7165 advice--symbol-function.
7166
7167 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7168
7169 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7170 (frameset-filter-minibuffer): Doc fix.
7171 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7172 (frameset--set-id, frameset--process-minibuffer-frames)
7173 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7174 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7175
7176 * desktop.el (desktop-clear): Only delete frames when called
7177 interactively and desktop-restore-frames is non-nil. Doc fix.
7178 (desktop-read): Set desktop-saved-frameset to nil.
7179
7180 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7181
7182 * vc/vc.el (vc-ignore): Rewrite.
7183 (vc-default-ignore-completion-table):
7184 (vc--read-lines):
7185 (vc--add-line, vc--remove-regexp): New functions.
7186
7187 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7188 (vc-svn-ignore-completion-table): New function.
7189
7190 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7191 (vc-hg-ignore-completion-table):
7192 (vc-hg-find-ignore-file): New functions.
7193
7194 * vc/vc-git.el (vc-git-ignore): Rewrite.
7195 (vc-git-ignore-completion-table):
7196 (vc-git-find-ignore-file): New functions.
7197
7198 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7199
7200 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7201 (vc-bzr-ignore-completion-table):
7202 (vc-bzr-find-ignore-file): New functions.
7203
7204 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7205
7206 * frameset.el (frameset-prop): New function and setter.
7207 (frameset-save): Do not modify frame list passed by the caller.
7208
7209 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7212
7213 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7216 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7217
7218 * custom.el (custom-initialize-default, custom-initialize-set)
7219 (custom-initialize-reset, custom-initialize-changed): Affect the
7220 toplevel-default-value (bug#6275, bug#14586).
7221 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7222 for bug#6275.
7223
7224 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7225
7226 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7227 Add cl-def* expressions.
7228
7229 * frameset.el (frameset-filter-params): Fix order of arguments.
7230
7231 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7232
7233 Move code related to saving frames to frameset.el.
7234 * desktop.el: Require frameset.
7235 (desktop-restore-frames): Doc fix.
7236 (desktop-restore-reuses-frames): Rename from
7237 desktop-restoring-reuses-frames.
7238 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7239 (desktop-clear): Clear frames too.
7240 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7241 (desktop--filter-tty*, desktop-save, desktop-read):
7242 Use frameset functions.
7243 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7244 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7245 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7246 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7247 (desktop--process-minibuffer-frames, desktop-save-frames)
7248 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7249 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7250 (desktop--sort-states, desktop-restoring-frames-p)
7251 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7252 (desktop-restoring-frameset-p, desktop-restore-frameset)
7253 (desktop--check-dont-save, desktop-save-frameset): New functions.
7254 (desktop--app-id): New constant.
7255 (desktop-first-buffer, desktop-buffer-ok-count)
7256 (desktop-buffer-fail-count): Move before first use.
7257 * frameset.el: New file.
7258
7259 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * files.el: Use lexical-binding.
7262 (dir-locals-read-from-file): Remove unused `err' variable.
7263 (hack-dir-local-variables--warned-coding): New var.
7264 (hack-dir-local-variables): Use it to avoid repeated warnings.
7265 (make-backup-file-name--default-function): New function.
7266 (make-backup-file-name-function): Use it as default.
7267 (buffer-stale--default-function): New function.
7268 (buffer-stale-function): Use it as default.
7269 (revert-buffer-insert-file-contents--default-function): New function.
7270 (revert-buffer-insert-file-contents-function): Use it as default.
7271 (insert-directory): Avoid add-to-list.
7272
7273 * autorevert.el (auto-revert-handler): Simplify.
7274 Use buffer-stale--default-function.
7275
7276 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7277
7278 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7279
7280 * whitespace.el (whitespace-ensure-local-variables): New function.
7281 (whitespace-cleanup-region): Call it.
7282 (whitespace-turn-on): Call it.
7283
7284 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7285
7286 Complete file name handlers.
7287
7288 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7289 (tramp-handle-verify-visited-file-modtime)
7290 (tramp-handle-file-notify-rm-watch): New functions.
7291 (tramp-call-process): Do not bind `default-directory'.
7292
7293 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7294 Order alphabetically.
7295 [access-file, add-name-to-file, dired-call-process]:
7296 [dired-compress-file, file-acl, file-notify-rm-watch]:
7297 [file-ownership-preserved-p, file-selinux-context]:
7298 [make-directory-internal, make-symbolic-link, set-file-acl]:
7299 [set-file-selinux-context, set-visited-file-modtime]:
7300 [verify-visited-file-modtime]: Add handler.
7301 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7302
7303 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7304 [file-notify-add-watch, file-notify-rm-watch]:
7305 [set-file-times, set-visited-file-modtime]:
7306 [verify-visited-file-modtime]: Add handler.
7307 (with-tramp-gvfs-error-message)
7308 (tramp-gvfs-handle-set-visited-file-modtime)
7309 (tramp-gvfs-fuse-file-name): Remove.
7310 (tramp-gvfs-handle-file-notify-add-watch)
7311 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7312 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7313
7314 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7315 Order alphabetically.
7316 [file-notify-rm-watch ]: Use default Tramp handler.
7317 [executable-find]: Remove private handler.
7318 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7319 `default-directory'.
7320 (tramp-sh-handle-executable-find)
7321 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7322 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7323 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7324 Do not use `format' in `tramp-message'.
7325
7326 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7327 [file-notify-rm-watch, set-visited-file-modtime]:
7328 [verify-visited-file-modtime]: Add handler.
7329 (tramp-smb-call-winexe): Do not bind `default-directory'.
7330
7331 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7332
7333 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7334
7335 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7336
7337 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7338 use it.
7339 (log-view-diff-changeset): Same.
7340 (log-view-diff-common): Call backend command `previous-revision'
7341 to find out the previous revision, in both cases. Swap the
7342 variables `to' and `fr', so that `fr' usually refers to the
7343 earlier revision (Bug#14989).
7344
7345 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7346
7347 * ibuf-ext.el (ibuffer-filter-by-filename):
7348 Make it work with dired buffers too.
7349
7350 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7351
7352 * emacs-lisp/re-builder.el (reb-color-display-p):
7353 * files.el (save-buffers-kill-terminal):
7354 * net/browse-url.el (browse-url):
7355 * server.el (server-save-buffers-kill-terminal):
7356 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7357 Prefer nil to selected-frame for the first arg of frame-parameter.
7358
7359 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7360
7361 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7362
7363 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7364
7365 * minibuffer.el (completion--twq-all): Try and preserve each
7366 completion's case choice (bug#14907).
7367
7368 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7369
7370 * net/network-stream.el (open-network-stream): Mention the new
7371 :nogreeting parameter.
7372 (network-stream-open-starttls): Use the :nogreeting parameter
7373 (bug#14938).
7374
7375 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7376
7377 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7378 more natural than popping.
7379
7380 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7381 (shr-urlify): Highlight under mouse.
7382
7383 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7384
7385 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7386
7387 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7388
7389 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7390 buffer for output.
7391
7392 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7393 point-min==1. Fix search string. Fix parentheses missing.
7394
7395 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7396 assume point-min==1. Fix search string. Fix parentheses missing.
7397
7398 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7399
7400 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7401 buffer for output.
7402
7403 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7404
7405 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7406 initial frame is minibuffer-less. (Bug#14841)
7407
7408 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7409
7410 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7411 option.
7412
7413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7414 (tramp-maybe-open-connection): Use it.
7415
7416 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7417
7418 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7419 minimal set of parameters passed when creating a frame, because
7420 the minibuffer status of a frame cannot be changed later.
7421
7422 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7423
7424 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7425 replace-regexp-in-string and inadvertent omissions in previous change.
7426 (todo-filter-items): Ensure only file names are comma-separated in
7427 name of filtered items buffer.
7428
7429 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7430
7431 * desktop.el: Optionally force offscreen frames back onscreen.
7432 (desktop-restoring-reuses-frames): New option.
7433 (desktop--compute-pos, desktop--move-onscreen): New functions.
7434 (desktop--make-frame): Use desktop--move-onscreen.
7435
7436 2013-07-27 Alan Mackenzie <acm@muc.de>
7437
7438 Fontify a Java generic method as a function.
7439 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7440 value to t.
7441
7442 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7443
7444 * calendar/todo-mode.el: Add command to rename todo files.
7445 (todo-rename-file): New command.
7446 (todo-key-bindings-t): Add key binding for it. Change the
7447 bindings of todo-filter-regexp-items(-multifile) to use `x'
7448 instead of `r', since the latter is better suited to the new
7449 renaming command.
7450
7451 2013-07-27 Alan Mackenzie <acm@muc.de>
7452
7453 Make Java try-with-resources statement parse properly.
7454 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7455 (c-block-stmt-1-2-key): New language constants/variables.
7456 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7457 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7458 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7459 with c-block-stmt-1-2-key.
7460
7461 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7462
7463 * desktop.el (desktop--make-frame): Apply most frame parameters after
7464 creating the frame to force (partially or totally) offscreen frames to
7465 be restored as such.
7466
7467 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7468
7469 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7470 (Bug#14948)
7471
7472 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7475 `base' arg of backtrace-frame.
7476
7477 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7478
7479 * simple.el (list-processes): Doc fix.
7480
7481 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7482
7483 * desktop.el (desktop--select-frame):
7484 Try harder to reuse existing frames.
7485
7486 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7489 (edebug-eval): Use backtrace-eval.
7490 (edebug--display, edebug--recursive-edit): Don't let-bind the
7491 edebug-outer-* vars that keep track of variables we locally let-bind.
7492 (edebug-outside-excursion): Don't restore outside values of locally
7493 let-bound vars.
7494 (edebug--display): Use user-error.
7495 (cl-lexical-debug, cl-debug-env): Remove.
7496
7497 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7498
7499 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7500 are restored to be sure that they are visible before deleting any
7501 remaining ones.
7502
7503 2013-07-26 Matthias Meulien <orontee@gmail.com>
7504
7505 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7506 vc-print-root-log. (Bug#14948)
7507
7508 2013-07-26 Richard Stallman <rms@gnu.org>
7509
7510 Add aliases for encrypting mail.
7511 * epa.el (epa-mail-aliases): New option.
7512 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7513 Bind inhibit-read-only so read-only text doesn't ruin everything.
7514 (epa-mail-default-recipients): New subroutine broken out.
7515 Handle epa-mail-aliases.
7516
7517 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7518
7519 Add support for lexical variables to the debugger's `e' command.
7520 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7521 vars, except for debugger-outer-match-data.
7522 (debugger-frame-number): Move check for "on a function call" from
7523 callers into it. Add `skip-base' argument.
7524 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7525 (debugger-env-macro): Only reset the state stored in non-variables,
7526 i.e. current-buffer and match-data.
7527 (debugger-eval-expression): Rewrite using backtrace-eval.
7528 * subr.el (internal--called-interactively-p--get-frame): Remove.
7529 (called-interactively-p):
7530 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7531 `base' arg of backtrace-frame instead.
7532
7533 2013-07-26 Glenn Morris <rgm@gnu.org>
7534
7535 * align.el (align-regexp): Doc fix. (Bug#14857)
7536 (align-region): Explicit error if subexpression missing/does not match.
7537
7538 * simple.el (global-visual-line-mode):
7539 Do not duplicate the mode lighter. (Bug#14858)
7540
7541 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7542
7543 * window.el (display-buffer): In display-buffer bind
7544 split-window-keep-point to t, bug#14829.
7545
7546 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7547
7548 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7549 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7550 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7551 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7552 Change accordingly.
7553 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7554 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7555
7556 2013-07-25 Glenn Morris <rgm@gnu.org>
7557
7558 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7559
7560 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7561
7562 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7563 parameter to modify-frame-parameters if the value has not changed;
7564 this is a workaround for bug#14949.
7565 (desktop--make-frame): On cl-delete-if call, check parameter name,
7566 not full parameter.
7567
7568 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7569
7570 * vc/vc.el (vc-ignore): New function.
7571
7572 * vc/vc-svn.el (vc-svn-ignore): New function.
7573
7574 * vc/vc-hg.el (vc-hg-ignore): New function.
7575
7576 * vc/vc-git.el (vc-git-ignore): New function.
7577
7578 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7579 (vc-dir-ignore): New function.
7580
7581 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7582 (cvs-append-to-ignore): Move here from pcvs.el.
7583
7584 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7585
7586 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7587
7588 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7589
7590 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7591 (desktop-restore-frames): Warn when deleting an existing frame failed.
7592
7593 2013-07-24 Glenn Morris <rgm@gnu.org>
7594
7595 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7596
7597 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7598
7599 * filenotify.el (file-notify-supported-p):
7600 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7601 Remove functions.
7602
7603 * autorevert.el (auto-revert-use-notify):
7604 (auto-revert-notify-add-watch):
7605 * net/tramp.el (tramp-file-name-for-operation):
7606 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7607 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7608 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7609 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7610 Remove `file-notify-supported-p' entry.
7611
7612 2013-07-24 Glenn Morris <rgm@gnu.org>
7613
7614 * printing.el: Replace all uses of deleted ps-windows-system,
7615 ps-lp-system, ps-flatten-list with lpr- versions.
7616
7617 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7620 checked with memq (bug#14935).
7621
7622 * files.el (revert-buffer-function): Use a non-nil default.
7623 (revert-buffer-preserve-modes): Declare var to
7624 provide access to the `preserve-modes' argument.
7625 (revert-buffer): Let-bind it.
7626 (revert-buffer--default): New function, extracted from revert-buffer.
7627
7628 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * lpr.el: Signal print errors more prominently.
7631 (print-region-function): Don't default to nil.
7632 (lpr-print-region): New function, extracted from print-region-1.
7633 Check lpr's return value and signal an error in case of problem.
7634 (print-region-1): Use it.
7635 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7636 versions instead.
7637 (ps-printer-name): Default to nil.
7638 (ps-printer-name-option): Default to lpr-printer-switch.
7639 (ps-print-region-function): Don't default to nil.
7640 (ps-postscript-code-directory): Simplify default.
7641 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7642 (ps-string-list, ps-eval-switch, ps-flatten-list)
7643 (ps-flatten-list-1): Remove.
7644 (ps-multibyte-buffer): Avoid setq.
7645 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7646 (print-region-function, ps-print-region-function): Don't set them here.
7647
7648 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7649
7650 * ido.el (ido-fractionp):
7651 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7652 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7653 (ido-max-directory-size, ido-max-dir-file-cache)
7654 (ido-decorations): Doc fix.
7655
7656 * ansi-color.el: Fix old URL.
7657
7658 2013-07-23 Michael R. Mauger <michael@mauger.com>
7659
7660 * progmodes/sql.el: Version 3.3
7661 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7662 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7663 (sql-interactive-remove-continuation-prompt): Rewrite, use
7664 functions above. Fix continuation prompt and complete output line
7665 handling.
7666 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7667 redirected output buffer.
7668 (sql-mode): Restore deleted code (Bug#13591).
7669
7670 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7671
7672 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7673
7674 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7675
7676 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7677
7678 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7679 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7680 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7681
7682 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7683
7684 * desktop.el (desktop-clear): Simplify; remove useless checks
7685 against invalid buffer names.
7686 (desktop-list*): Use cl-list*.
7687 (desktop-buffer-info, desktop-create-buffer): Simplify.
7688
7689 2013-07-23 Leo Liu <sdl.web@gmail.com>
7690
7691 * bookmark.el (bookmark-make-record): Restore NAME as a default
7692 value. (Bug#14933)
7693
7694 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7697 extracted from autoload--insert-text.
7698 (autoload--insert-text): Remove.
7699 (autoload--print-cookie-text): New function, extracted from
7700 autoload--insert-cookie-text.
7701 (autoload--insert-cookie-text): Remove.
7702 (autoload-generate-file-autoloads): Adjust calls accordingly.
7703
7704 * winner.el (winner-hook-installed-p): Remove.
7705 (winner-mode): Simplify accordingly.
7706
7707 * subr.el (add-to-list): Fix compiler-macro when `append' is
7708 not constant. Don't use `cl-member' for the base case.
7709
7710 * progmodes/subword.el: Fix boundary case (bug#13758).
7711 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7712 own group.
7713 (subword-backward-regexp): Make it a constant.
7714 (subword-forward-internal): Don't treat a trailing capital as the
7715 beginning of a word.
7716
7717 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7718
7719 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7720 global value of tabulated-list-revert-hook (bug#14930).
7721
7722 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7723
7724 * desktop.el: Require 'cl-lib.
7725 (desktop-before-saving-frames-functions): New hook.
7726 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7727 for frames being saved. Rename from desktop--save-minibuffer-frames.
7728 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7729 Do not save frames with non-nil `desktop-dont-save' parameter.
7730 Filter out deleted frames.
7731 (desktop--find-frame): Use cl-find-if.
7732 (desktop--select-frame): Use cl-(first|second|third) to access values
7733 of desktop-mini.
7734 (desktop--make-frame): Use cl-delete-if.
7735 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7736 (desktop-restore-frames): Use cl-(first|second|third) to access values
7737 of desktop-mini. Look for visible frame at the end, not while
7738 restoring frames.
7739
7740 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7741 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7742 Use string-match-p, looking-at-p (bug#14927).
7743
7744 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7745
7746 * desktop.el (desktop-saved-frame-states):
7747 Rename from desktop--saved-states; all users changed.
7748 (desktop-save-frames): Rename from desktop--save-frames.
7749 Do not save state to desktop file.
7750 (desktop-save): Save desktop-saved-frame-states to desktop file
7751 and reset to nil.
7752 (desktop-restoring-frames-p): New function.
7753 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7754 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7755 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7756
7757 * desktop.el: Correctly restore iconified frames.
7758 (desktop--filter-iconified-position): New function.
7759 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7760
7761 2013-07-20 Glenn Morris <rgm@gnu.org>
7762
7763 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7764 Let `message' do the formatting.
7765 (def-gdb-preempt-display-buffer): Add explicit format.
7766
7767 * image-dired.el (image-dired-track-original-file):
7768 Use with-current-buffer.
7769 (image-dired-track-thumbnail): Use with-current-buffer.
7770 Avoid changing point of wrong window.
7771
7772 * image-dired.el (image-dired-track-original-file):
7773 Avoid changing point of wrong window. (Bug#14909)
7774
7775 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7776
7777 * progmodes/gdb-mi.el (gdb-done-or-error):
7778 Guard against "%" in gdb output. (Bug#14127)
7779
7780 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7781
7782 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7783 (Bug#14826)
7784
7785 * international/mule.el (coding-system-iso-2022-flags): Fix last
7786 change.
7787
7788 2013-07-20 Kenichi Handa <handa@gnu.org>
7789
7790 * international/mule.el (coding-system-iso-2022-flags):
7791 Add `8-bit-level-4'. (Bug#8522)
7792
7793 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794
7795 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7796 (bug#14815).
7797
7798 * net/eww.el (eww-process-text-input): Allow inputting when the
7799 point is at the start of the line, as the properties aren't
7800 front-sticky.
7801
7802 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7803 degenerate widths.
7804
7805 2013-07-19 Richard Stallman <rms@gnu.org>
7806
7807 * epa.el (epa-popup-info-window): Doc fix.
7808
7809 * subr.el (split-string): New arg TRIM.
7810
7811 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7814 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7815
7816 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7817
7818 * filenotify.el (file-notify--library): Rename from
7819 `file-notify-support'. Do not autoload. Adapt all uses.
7820 (file-notify-supported-p): New defun.
7821
7822 * autorevert.el (auto-revert-use-notify):
7823 Use `file-notify-supported-p' instead of `file-notify-support'.
7824 Adapt docstring.
7825 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7826
7827 * net/tramp.el (tramp-file-name-for-operation):
7828 Add `file-notify-supported-p'.
7829
7830 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7831 New defun.
7832 (tramp-sh-file-name-handler-alist): Add it as handler for
7833 `file-notify-supported-p '.
7834
7835 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7836 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7837 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7838 Add `ignore' as handler for `file-notify-*' functions.
7839
7840 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7841
7842 * simple.el (line-move-partial, line-move): Don't start vscroll or
7843 scroll-up if the current line is not taller than the window.
7844 (Bug#14881)
7845
7846 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7847
7848 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7849 highlight question marks in the method names as strings.
7850 (ruby-block-beg-keywords): Inline.
7851 (ruby-font-lock-keyword-beg-re): Extract from
7852 `ruby-font-lock-keywords'.
7853
7854 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7855
7856 * frame.el (blink-cursor-blinks): New defcustom.
7857 (blink-cursor-blinks-done): New defvar.
7858 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7859 (blink-cursor-timer-function): Check if number of blinks has been
7860 done on X and NS.
7861 (blink-cursor-suspend, blink-cursor-check): New defuns.
7862
7863 2013-07-15 Glenn Morris <rgm@gnu.org>
7864
7865 * edmacro.el (edmacro-format-keys): Fix previous change.
7866
7867 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7868
7869 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7870 The hack didn't work outside English locales anyway.
7871
7872 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7873
7874 * simple.el (define-alternatives): Rename from alternatives-define,
7875 per RMS' suggestion.
7876
7877 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7878
7879 * desktop.el (desktop-restore-frames): Change default to t.
7880 (desktop-restore-in-current-display): Now offer more options.
7881 (desktop-restoring-reuses-frames): New customization option.
7882 (desktop--saved-states): Doc fix.
7883 (desktop-filter-parameters-alist): New variable, renamed and expanded
7884 from desktop--excluded-frame-parameters.
7885 (desktop--target-display): New variable.
7886 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7887 (desktop--filter-tty*, desktop--filter-*-color)
7888 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7889 (desktop--filter-save-desktop-parm)
7890 (desktop-restore-in-original-display-p): New functions.
7891 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7892 (desktop--save-minibuffer-frames): New function, inspired by a similar
7893 function from Martin Rudalics.
7894 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7895 (desktop--restore-in-this-display-p): Remove.
7896 (desktop--find-frame): Rename from desktop--find-frame-in-display
7897 and add predicate argument.
7898 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7899 (desktop--reuse-list): New variable.
7900 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7901 New functions.
7902 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7903
7904 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7905
7906 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7907
7908 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7909
7910 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7911 Highlight conversion methods on Kernel.
7912
7913 2013-07-13 Alan Mackenzie <acm@muc.de>
7914
7915 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7916 and comment it out. This out-commenting enables certain C++
7917 declarations to be parsed correctly.
7918
7919 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7920
7921 * international/mule.el (define-coding-system): Doc fix.
7922
7923 * simple.el (default-font-height): Don't call font-info if the
7924 frame's default font didn't change since the frame was created.
7925 (Bug#14838)
7926
7927 2013-07-13 Leo Liu <sdl.web@gmail.com>
7928
7929 * ido.el (ido-read-file-name): Guard against non-symbol value.
7930
7931 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7932
7933 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7934 in nested defuns.
7935
7936 2013-07-13 Leo Liu <sdl.web@gmail.com>
7937
7938 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7939 ido-set-matches call. (Bug#6852)
7940
7941 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7942
7943 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7944 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7945 Ruby 2.0.
7946 (ruby-font-lock-keywords): Distinguish calls to functions with
7947 module-like names from module references. Highlight character
7948 literals.
7949
7950 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7951
7952 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7953 (gdb-send): Handle continued commands. (Bug#14847)
7954
7955 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7956
7957 * desktop.el (desktop--v2s): Remove unused local variable.
7958 (desktop-save-buffer): Make defvar-local; adjust docstring.
7959 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7960 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7961
7962 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7963
7964 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7965
7966 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7967
7968 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7969 (Bug#14842)
7970
7971 2013-07-12 Glenn Morris <rgm@gnu.org>
7972
7973 * doc-view.el: Require cl-lib at runtime too.
7974 (doc-view-remove-if): Remove.
7975 (doc-view-search-next-match, doc-view-search-previous-match):
7976 Use cl-remove-if.
7977
7978 * edmacro.el: Require cl-lib at runtime too.
7979 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7980 (edmacro-mismatch, edmacro-subseq): Remove.
7981
7982 * shadowfile.el: Require cl-lib.
7983 (shadow-remove-if): Remove.
7984 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7985 Use cl-remove-if.
7986
7987 * wid-edit.el: Require cl-lib.
7988 (widget-choose): Use cl-remove-if.
7989 (widget-remove-if): Remove.
7990
7991 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7992 (ebrowse-delete-if-not): Remove.
7993 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7994 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7995 Use cl-delete-if-not.
7996
7997 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8000 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8001
8002 2013-07-12 Leo Liu <sdl.web@gmail.com>
8003
8004 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8005
8006 2013-07-11 Glenn Morris <rgm@gnu.org>
8007
8008 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8009 (edebug-gensym-index, edebug-gensym):
8010 Remove reimplementation of cl-gensym.
8011 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8012
8013 * thumbs.el: Require cl-lib at run-time too.
8014 (thumbs-gensym-counter, thumbs-gensym):
8015 Remove reimplementation of cl-gensym.
8016 (thumbs-temp-file): Use cl-gensym.
8017
8018 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8019 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8020 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8021 (ert--union, ert--gensym-counter, ert--gensym-counter)
8022 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8023 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8024 (ert-make-test-unbound, ert--expand-should-1)
8025 (ert--expand-should, ert--should-error-handle-error)
8026 (should-error, ert--explain-equal-rec)
8027 (ert--plist-difference-explanation, ert-select-tests)
8028 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8029 Use cl-lib functions rather than reimplementations.
8030
8031 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp.el (tramp-methods): Extend docstring.
8034 (tramp-connection-timeout): New defcustom.
8035 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8036 (with-tramp-progress-reporter): Simplify.
8037 (tramp-process-actions): Improve messages.
8038
8039 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8040 * net/tramp-sh.el (tramp-maybe-open-connection):
8041 Use `tramp-connection-timeout'.
8042 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8043 (Bug#14808)
8044
8045 2013-07-11 Leo Liu <sdl.web@gmail.com>
8046
8047 * ido.el (ido-read-file-name): Conform to the requirements of
8048 read-file-name. (Bug#11861)
8049 (ido-read-directory-name): Conform to the requirements of
8050 read-directory-name.
8051
8052 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8053
8054 * subr.el (delay-warning): New function.
8055
8056 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8057
8058 * simple.el (default-line-height): New function.
8059 (line-move-partial, line-move): Use it instead of computing the
8060 line height inline.
8061 (line-move-partial): Always compute ROWH. If the last line is
8062 partially-visible, but its text is completely visible, allow
8063 cursor to enter such a partially-visible line.
8064
8065 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8066
8067 Improve error messages. (Bug#14808)
8068
8069 * net/tramp.el (tramp-current-connection): New defvar, moved from
8070 tramp-sh.el.
8071 (tramp-message-show-progress-reporter-message): Remove, not
8072 needed anymore.
8073 (tramp-error-with-buffer): Show message in minibuffer.
8074 Discard input before waiting. Reset connection timestamp.
8075 (with-tramp-progress-reporter): Improve messages.
8076 (tramp-process-actions): Use progress reporter. Delete process in
8077 case of error. Improve messages.
8078
8079 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8080 Call `tramp-error-with-buffer' with vector and buffer.
8081 (tramp-current-connection): Remove.
8082 (tramp-maybe-open-connection): The car of
8083 `tramp-current-connection' are the first 3 slots of the vector.
8084
8085 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8086
8087 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8088 inside continued strings.
8089
8090 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8091
8092 Timestamp fixes for undo (Bug#14824).
8093 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8094
8095 2013-07-10 Leo Liu <sdl.web@gmail.com>
8096
8097 * files.el (require-final-newline): Allow safe local value.
8098 (Bug#14834)
8099
8100 2013-07-09 Leo Liu <sdl.web@gmail.com>
8101
8102 * ido.el (ido-read-directory-name): Handle fallback.
8103 (ido-read-file-name): Update DIR to ido-current-directory.
8104 (Bug#1516)
8105 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8106
8107 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8108
8109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8110 "autoload". Remove "warn lower camel case" section, previously
8111 commented out. Highlight negation char. Do not highlight the
8112 target in singleton method definitions.
8113
8114 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * faces.el (tty-setup-hook): Declare the hook.
8117
8118 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8119 and detect when a guard/pred depends on local vars (bug#14773).
8120 (pcase--u1): Adjust caller.
8121
8122 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8123
8124 * simple.el (line-move-partial, line-move): Account for
8125 line-spacing.
8126 (line-move-partial): Avoid setting vscroll when the last
8127 partially-visible line in window is of default height.
8128
8129 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8130
8131 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8132 been used a while.
8133
8134 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8135
8136 * subr.el (read-quoted-char): Remove unused local variable `char'.
8137
8138 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8139
8140 * ediff.el (ediff-version): Version update.
8141 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8142 (ediff-merge-with-ancestor-command, ediff-directories-command)
8143 (ediff-directories3-command, ediff-merge-directories-command)
8144 (ediff-merge-directories-with-ancestor-command): New functions.
8145 All are command-line interfaces to ediff: to facilitate calling
8146 Emacs with the appropriate ediff functions invoked.
8147
8148 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8149 (viper-save-kill-buffer): Check if buffer is modified.
8150
8151 * viper.el (viper-version): Version update.
8152 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8153
8154 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8157 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8158 (viper-intercept-ESC-key): Simplify.
8159 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8160 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8161 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8162 (viper-setup-ESC-to-escape): New functions.
8163 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8164 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8165
8166 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8167
8168 * simple.el (default-font-height, window-screen-lines):
8169 New functions.
8170 (line-move, line-move-partial): Use them instead of
8171 frame-char-height and window-text-height. This makes scrolling
8172 text smoother when the buffer's default face uses a font that is
8173 different from the frame's default font.
8174
8175 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8176
8177 * files.el (write-file): Do not display confirm dialog for NS,
8178 it does its own dialog, which can't be canceled (Bug#14578).
8179
8180 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8181
8182 * simple.el (line-move-partial): Adjust the row returned by
8183 posn-at-point for the current window-vscroll. (Bug#14567)
8184
8185 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8186
8187 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8188 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8189 spaces.
8190
8191 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8192
8193 * window.el (window-state-put-stale-windows): New variable.
8194 (window--state-put-2): Save list of windows without matching buffer.
8195 (window-state-put): Remove "bufferless" windows if possible.
8196
8197 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8198
8199 * simple.el (alternatives-define): Remove leftover :group keyword.
8200 Tweak docstring.
8201
8202 2013-07-06 Leo Liu <sdl.web@gmail.com>
8203
8204 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8205 (ido-enable-virtual-buffers): New variable.
8206 (ido-buffer-internal, ido-toggle-virtual-buffers)
8207 (ido-make-buffer-list): Use it.
8208 (ido-exhibit): Support turning on and off virtual buffers
8209 automatically.
8210
8211 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8212
8213 * simple.el (alternatives-define): New macro.
8214
8215 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * subr.el (read-quoted-char): Use read-key.
8218 (sit-for): Let read-event decode tty input (bug#14782).
8219
8220 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8221
8222 * calendar/todo-mode.el: Add handling of file deletion, both by
8223 mode command and externally. Fix various related bugs.
8224 Clarify Commentary and improve some documentation strings and code.
8225 (todo-delete-file): New command.
8226 (todo-check-file): New function.
8227 (todo-show): Handle external deletion of the file we're trying to
8228 show (bug#14688). Replace called-interactively-p by an optional
8229 prefix argument to avoid problematic interaction with catch form
8230 when byte compiled (bug#14702).
8231 (todo-quit): Handle external deletion of the archive's todo file.
8232 Make sure the buffer that was visiting the archive file is still
8233 live before trying to bury it.
8234 (todo-category-completions): Handle external deletion of any
8235 category completion files.
8236 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8237 of todo files, in case of external deletion.
8238 (todo-add-file): Replace unnecessary setq by let-binding.
8239 (todo-find-archive): Check whether there are any archives.
8240 Replace unnecessary setq by let-binding.
8241 (todo-archive-done-item): Use find-file-noselect to get the
8242 archive buffer whether or not the archive already exists.
8243 Remove superfluous code. Use file size instead of buffer-file-name to
8244 check if the archive is new; if it is, update list of archives.
8245 (todo-default-todo-file): Allow nil to be a valid value for when
8246 there are no todo files.
8247 (todo-reevaluate-default-file-defcustom): Use corrected definition
8248 of todo-default-todo-file.
8249 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8250 (todo-delete-category, todo-show-categories-table)
8251 (todo-category-number): Clarify comment.
8252 (todo-filter-items): Clarify documentation string.
8253 (todo-show-current-file, todo-display-as-todo-file)
8254 (todo-reset-and-enable-done-separator): Tweak documentation string.
8255 (todo-done-separator): Make separator length window-width, since
8256 bug#2749 is now fixed.
8257
8258 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8259
8260 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8261 Support both "gvfs-monitor-dir" and "inotifywait".
8262 (tramp-sh-file-inotifywait-process-filter): Rename from
8263 `tramp-sh-file-notify-process-filter'.
8264 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8265 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8266
8267 2013-07-05 Leo Liu <sdl.web@gmail.com>
8268
8269 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8270
8271 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8272
8273 * frame.el (display-pixel-height, display-pixel-width)
8274 (display-mm-height, display-mm-width): Mention behavior on
8275 multi-monitor setups in docstrings.
8276 (w32-display-monitor-attributes-list): Declare function.
8277 (display-monitor-attributes-list): Use it.
8278
8279 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8280
8281 * filenotify.el: New package.
8282
8283 * autorevert.el (top): Require filenotify.el.
8284 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8285 instead.
8286 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8287 (auto-revert-notify-handler): Use `file-notify-*' functions.
8288
8289 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8290
8291 * net/tramp.el (tramp-file-name-for-operation):
8292 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8293
8294 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8295 for `file-notify-add-watch' and `file-notify-rm-watch'.
8296 (tramp-process-sentinel): Improve trace.
8297 (tramp-sh-handle-file-notify-add-watch)
8298 (tramp-sh-file-notify-process-filter)
8299 (tramp-sh-handle-file-notify-rm-watch)
8300 (tramp-get-remote-inotifywait): New defuns.
8301
8302 2013-07-03 Juri Linkov <juri@jurta.org>
8303
8304 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8305 call of `occur-read-primary-args' to interactive spec.
8306
8307 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8308 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8309
8310 2013-07-03 Matthias Meulien <orontee@gmail.com>
8311
8312 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8313 `Buffer-menu-multi-occur'. Add it to the menu.
8314 (Buffer-menu-mode): Document it in docstring.
8315 (Buffer-menu-multi-occur): New command. (Bug#14673)
8316
8317 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8318
8319 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8320 keywords and built-ins.
8321
8322 2013-07-03 Glenn Morris <rgm@gnu.org>
8323
8324 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8325
8326 Make info-xref checks case-sensitive by default
8327 * info.el (Info-find-node, Info-find-in-tag-table)
8328 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8329 Add option for exact case matching of nodes.
8330 * info-xref.el (info-xref): New custom group.
8331 (info-xref-case-fold): New option.
8332 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8333
8334 2013-07-03 Leo Liu <sdl.web@gmail.com>
8335
8336 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8337
8338 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8339
8340 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8341 middle of block statement initially, lower the depth. Remove
8342 FIXME comment, not longer valid. Remove middle of block statement
8343 detection, no need to do that anymore since we've been using
8344 `ruby-parse-region' here.
8345
8346 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8347
8348 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8349
8350 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8351
8352 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8353
8354 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8355
8356 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8357 (desktop-restore-in-current-display): New customization option.
8358 (desktop--excluded-frame-parameters): Add `font'.
8359 (desktop--save-frames): Rename from desktop--save-windows.
8360 (desktop--restore-in-this-display-p): New function.
8361 (desktop--make-full-frame): Remove unwanted width/height from
8362 full(width|height) frames.
8363 (desktop--restore-frames): Rename from desktop--restore-windows.
8364 Obey desktop-restore-current-display. Do not delete old frames or
8365 select a new frame unless we were able to restore at least one frame.
8366
8367 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8368
8369 * files.el (find-file-noselect): Simplify conditional expression.
8370
8371 * textmodes/remember.el (remember-append-to-file):
8372 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8373
8374 Add `remember-notes' function to store random notes across Emacs
8375 restarts.
8376 * textmodes/remember.el (remember-data-file): Add :set callback to
8377 affect notes buffer (if any).
8378 (remember-notes): New command.
8379 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8380 New defcustoms for the `remember-notes' function.
8381 (remember-notes-save-and-bury-buffer): New command.
8382 (remember-notes-mode-map): New variable.
8383 (remember-mode): New minor mode.
8384 (remember-notes--kill-buffer-query): New function.
8385 * startup.el (initial-buffer-choice): Add notes to custom type.
8386
8387 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8388
8389 * bindings.el (right-char, left-char): Don't call sit-for, this is
8390 no longer needed. Use arithmetic comparison only for numerical
8391 arguments.
8392
8393 * international/mule-cmds.el (select-safe-coding-system):
8394 Handle the case of FROM being a string correctly. (Bug#14755)
8395
8396 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8397
8398 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8399 progression on degenerate tables.
8400 (shr-rescale-image): ImageMagick animated images currently don't work.
8401
8402 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8403
8404 Some fixes and improvements for desktop frame restoration.
8405 It is still experimental and disabled by default.
8406 * desktop.el (desktop--save-windows): Put the selected frame at
8407 the head of the list.
8408 (desktop--make-full-frame): New function.
8409 (desktop--restore-windows): Try to re-select the frame that was
8410 selected upon saving. Do not abort if some frames fail to restore,
8411 just show an error message and continue. Set up maximized frames
8412 so they have default non-maximized dimensions.
8413
8414 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8415
8416 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8417 Don't start heredoc inside a string or comment.
8418
8419 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8420
8421 * bindings.el (visual-order-cursor-movement): New defcustom.
8422 (right-char, left-char): Provide visual-order cursor motion by
8423 calling move-point-visually. Update the doc strings.
8424
8425 2013-06-28 Kenichi Handa <handa@gnu.org>
8426
8427 * international/mule.el (define-coding-system): New coding system
8428 properties :inhibit-null-byte-detection,
8429 :inhibit-iso-escape-detection, and :prefer-utf-8.
8430 (set-buffer-file-coding-system): If :charset-list property of
8431 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8432 appropriate for setting.
8433
8434 * international/mule-cmds.el (select-safe-coding-system):
8435 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8436 multibyte characters, return utf-8 (or one of its siblings).
8437
8438 * international/mule-conf.el (prefer-utf-8): New coding system.
8439 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8440 files.
8441
8442 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8443
8444 * net/shr.el (shr-render-region): New function.
8445
8446 * net/eww.el: Autoload `eww-browse-url'.
8447
8448 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8449
8450 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8451 Adapt to `package-desc-version' being a list.
8452 Use `package--ac-desc-version' to retrieve version from a package
8453 archive element.
8454
8455 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8456
8457 New experimental feature to save&restore window and frame setup.
8458 * desktop.el (desktop-save-windows): New defcustom.
8459 (desktop--saved-states): New var.
8460 (desktop--excluded-frame-parameters): New defconst.
8461 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8462 (desktop--restore-windows, desktop--save-windows): New functions.
8463 (desktop-save): Call `desktop--save-windows'.
8464 (desktop-read): Call `desktop--restore-windows'.
8465
8466 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8467
8468 * net/shr.el (add-face-text-property): Remove compat definition.
8469
8470 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8471
8472 * info.el (Info-try-follow-nearest-node): Move search for footnote
8473 above search for node name to prevent missing a footnote (bug#14717).
8474
8475 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8476
8477 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8478
8479 2013-06-27 Leo Liu <sdl.web@gmail.com>
8480
8481 * net/eww.el (eww-read-bookmarks): Check file size.
8482
8483 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8486 advice--pending if newdef is nil or an autoload (bug#13820).
8487 (advice-mapc): New function.
8488
8489 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8490
8491 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8492 probably.
8493 (eww-mode-map): Add a menu bar.
8494 (eww-add-bookmark): New command.
8495 (eww-bookmark-mode): New mode and commands.
8496 (eww-add-bookmark): Remove newlines from the title.
8497 (eww-bookmark-browse): Don't bug out if it's the only window.
8498
8499 2013-06-26 Glenn Morris <rgm@gnu.org>
8500
8501 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8502 (hfy-size): Handle ttys. (Bug#14668)
8503
8504 * info-xref.el: Update for Texinfo 5 change in *note format.
8505 (info-xref-node-re, info-xref-note-re): New constants.
8506 (info-xref-check-buffer): Use info-xref-note-re.
8507
8508 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8511
8512 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8513 nil terminate the loop (bug#14718).
8514
8515 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8516
8517 * net/eww.el: Rework history traversal. When going forward/back,
8518 put these actions into the history, too, so that they can be
8519 replayed.
8520 (eww-render): Move the history reset to the correct buffer.
8521
8522 2013-06-25 Juri Linkov <juri@jurta.org>
8523
8524 * files-x.el (modify-dir-local-variable): Change the header comment
8525 in the file with directory local variables. (Bug#14692)
8526
8527 * files-x.el (read-file-local-variable-value): Add `default'.
8528 (Bug#14710)
8529
8530 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8531
8532 * net/eww.el (eww-make-unique-file-name): Create a unique file
8533 name before saving to entering `y' accidentally asynchronously.
8534
8535 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8536
8537 * net/eww.el (eww-download): New command and keystroke.
8538
8539 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8540
8541 * net/eww.el (eww-copy-page-url): Change name of command.
8542
8543 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8544 be more consistent with Info and dired.
8545
8546 * net/eww.el (eww-mode-map): Ditto.
8547
8548 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8551 packages from archives.
8552 (package-archive-contents): Change format; include obsolete packages.
8553 (package-desc): Use `dir' to mark builtin packages.
8554 (package--from-builtin): Set the `dir' field to `builtin'.
8555 (generated-autoload-file, version-control): Declare.
8556 (package-compute-transaction): Change first arg and return value to be
8557 lists of package-descs. Adjust to new package-archive-contents format.
8558 (package--add-to-archive-contents): Adjust to new
8559 package-archive-contents format.
8560 (package-download-transaction): Arg is now a list of package-descs.
8561 (package-install): If `pkg' is a package name, pass it as
8562 a requirement, so it is subject to the usual (e.g. disabled) checks.
8563 (describe-package): Accept package-desc as well.
8564 (describe-package-1): Describe a specific package-desc. Add links to
8565 other package-descs for the same package name.
8566 (package-menu-describe-package): Pass the actual package-desc.
8567 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8568 works correctly.
8569 (package-desc-status): New function.
8570 (package-menu--refresh): New function, extracted
8571 from package-menu--generate.
8572 (package-menu--generate): Use it.
8573 (package-delete): Update package-alist.
8574 (package-menu-execute): Don't call package-initialize.
8575
8576 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8577 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8578 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8579 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8580 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8581 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8582
8583 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8584
8585 * window.el (window--state-get-1): Workaround for bug#14527.
8586 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8587
8588 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8589
8590 * net/eww.el (eww-back-url): Implement the history by stashing all
8591 the data into a list.
8592 (eww-forward-url): Allow going forward in the history, too.
8593
8594 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8597 for values and use read--expression for expressions (bug#14710).
8598 (read-file-local-variable): Avoid setq.
8599 (read-file-local-variable-mode): Use minor-mode-list.
8600
8601 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8602
8603 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8604 for DOI URLs.
8605
8606 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8607
8608 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8609 Update imenu-support when dialect changes.
8610
8611 2013-06-25 Leo Liu <sdl.web@gmail.com>
8612
8613 * ido.el (ido-read-internal): Allow forward slash on windows.
8614
8615 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8616
8617 * net/eww.el (eww): Start of strings is \\`, not ^.
8618
8619 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8620
8621 * net/shr.el (shr-browse-url): Fix interactive spec.
8622
8623 * net/eww.el (eww): Add a trailing slash to domain names.
8624
8625 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8626
8627 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8628
8629 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8630
8631 * net/shr.el (shr-browse-url): Use an external browser if given a
8632 prefix.
8633
8634 * net/eww.el (eww-external-browser): Move to shr.
8635
8636 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8637
8638 * net/eww.el (eww): Work more correctly for file: URLs.
8639 (eww-detect-charset): Allow quoted charsets.
8640 (eww-yank-page-url): New command and keystroke.
8641
8642 2013-06-24 Daiki Ueno <ueno@gnu.org>
8643
8644 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8645 file name of gpg executable.
8646 (epg-context-program): New function.
8647 (epg-context-home-directory): New function.
8648 (epg-context-set-program): New function.
8649 (epg-context-set-home-directory): New function.
8650 (epg--start): Use `epg-context-program' instead of
8651 'epg-gpg-program'.
8652 (epg--list-keys-1): Likewise.
8653
8654 2013-06-24 Leo Liu <sdl.web@gmail.com>
8655
8656 * ido.el (ido-read-internal): Fix bug#14620.
8657
8658 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8659
8660 * faces.el (face-documentation): Simplify.
8661 (read-face-attribute, tty-find-type, x-resolve-font-name):
8662 Use `string-match-p'.
8663 (list-faces-display): Use `string-match-p'. Simplify.
8664 (face-spec-recalc): Check face to avoid face alias loops.
8665 (read-color): Use `string-match-p' and non-capturing parenthesis.
8666
8667 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8668
8669 * net/shr.el (shr-rescale-image): Use the new
8670 :max-width/:max-height functionality.
8671
8672 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8673
8674 * net/eww.el (eww-search-prefix): New variable.
8675 (eww): Use it.
8676 (eww-external-browser): New variable.
8677 (eww-mode-map): New keystroke.
8678 (eww-browse-with-external-browser): New command.
8679
8680 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8681
8682 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8683
8684 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8685 Don't skip aligning the next header field when padding is 0;
8686 otherwise, field width is not respected unless the title is as
8687 wide as the field.
8688
8689 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * emacs-lisp/package.el (package-el-version): Remove.
8692 (package-process-define-package): Fix inf-loop.
8693 (package-install): Allow symbols as arguments again.
8694
8695 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8696
8697 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8698 add some more keyword-like methods.
8699 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8700
8701 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8702
8703 * bs.el (bs-buffer-show-mark): Make defvar-local.
8704 (bs-mode): Use setq-local.
8705
8706 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8707 (emacs-lock--try-unlocking): Make defvar-local.
8708
8709 2013-06-22 Glenn Morris <rgm@gnu.org>
8710
8711 * play/cookie1.el (cookie-apropos): Minor simplification.
8712
8713 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8714
8715 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8716
8717 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8718 `regexp-opt', it breaks the build during dumping.
8719
8720 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8721
8722 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8723 Highlight keyword-like methods on Kernel and Module with
8724 font-lock-builtin-face.
8725 (auto-mode-alist): Consolidate different entries into one regexp
8726 and add more *file-s.
8727
8728 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8729
8730 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8731
8732 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8733 (diary-entry): Use it in the action of this button type instead of
8734 diary-goto-entry.
8735
8736 * calendar/todo-mode.el: New version.
8737 (todo-add-category): Append new category to end of file and give
8738 it the highest number, instead of putting it at the beginning and
8739 giving it 0. Incorporate noninteractive functionality.
8740 (todo-forward-category): Adapt to 1-based category numbering.
8741 Allow skipping over archived categories.
8742 (todo-backward-category): Derive from todo-forward-category.
8743 (todo-backward-item, todo-forward-item): Make noninteractive and
8744 delegate interactive part to new commands. Make sensitive to done items.
8745 (todo-categories): Make value an alist of category names and
8746 vectors of item counts.
8747 (todo-category-beg): Make a defconst.
8748 (todo-category-number): Use 1 instead of 0 as initial value.
8749 (todo-category-select): Make sensitive to overlays, optional item
8750 highlighting and done items.
8751 (todo-delete-item): Make sensitive to overlays and marked and done items.
8752 (todo-edit-item): Make sensitive to overlays and editing of
8753 date/time header optional. Add format checks.
8754 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8755 no-op if point is not on an item. Advertise using todo-edit-quit.
8756 (todo-edit-mode): Make sensitive to new format, font-locking, and
8757 multiple todo files.
8758 (todo-insert-item, todo-insert-item-here): Derive from
8759 todo-basic-insert-item and extend functionality.
8760 (todo-item-end, todo-item-start): Make sensitive to done items.
8761 (todo-item-string): Don't return text properties. Restore point.
8762 (todo-jump-to-category): Make sensitive to multiple todo files and
8763 todo archives. Use extended category completion.
8764 (todo-lower-item, todo-raise-item): Rename to *-priority and
8765 derive from todo-set-item-priority.
8766 (todo-mode): Derive from special-mode. Make sensitive to new
8767 format, font-locking and multiple todo files. Make read-only.
8768 (todo-mode-map): Don't suppress digit keys, so they can supply
8769 prefix arguments. Add many new key bindings.
8770 (todo-prefix): Insert as an overlay instead of file text.
8771 Change semantics from diary date expression to purely visual mark.
8772 (todo-print): Rename to todo-print-buffer. Make buffer display
8773 features printable. Remove option to restrict number of items
8774 printed. Add option to print to file.
8775 (todo-print-function): Rename to todo-print-buffer-function.
8776 (todo-quit): Extend to handle exiting new todo modes.
8777 (todo-remove-item): Make sensitive to overlays.
8778 (todo-save): Extend to buffers of filtered items.
8779 (todo-show): Make sensitive to done items, multiple todo files and
8780 new todo modes. Offer to convert legacy todo file before creating
8781 first new todo file.
8782 (todo-show-priorities): Rename to todo-top-priorities.
8783 Change semantics of value 0.
8784 (todo-top-priorities): Rename to todo-filter-top-priorities,
8785 derive from todo-filter-items and extend functionality.
8786 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8787 and extend functionality to other types of filtered items.
8788 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8789 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8790 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8791 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8792 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8793 (todo-edit-mode-hook, todo-entry-prefix-function)
8794 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8795 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8796 (todo-initials, todo-insert-threshold, todo-item-string-start)
8797 (todo-line-string, todo-menu, todo-mode-hook)
8798 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8799 (todo-print-priorities, todo-remove-separator)
8800 (todo-save-top-priorities-too, todo-string-count-lines)
8801 (todo-string-multiline-p, todo-time-string-format)
8802 (todo-tmp-buffer-name): Remove.
8803 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8804 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8805 (todo-edit-category-diary-inclusion)
8806 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8807 (todo-edit-file, todo-edit-item-date-day)
8808 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8809 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8810 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8811 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8812 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8813 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8814 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8815 (todo-filter-top-priorities-multifile, todo-find-archive)
8816 (todo-find-filtered-items-file, todo-go-to-source-item)
8817 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8818 (todo-jump-to-archive-category, todo-lower-category)
8819 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8820 (todo-move-category, todo-move-item, todo-next-button)
8821 (todo-next-item, todo-padded-string, todo-powerset)
8822 (todo-previous-button, todo-previous-item)
8823 (todo-print-buffer-to-file, todo-raise-category)
8824 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8825 (todo-set-category-number, todo-set-item-priority)
8826 (todo-set-top-priorities-in-category)
8827 (todo-set-top-priorities-in-file, todo-show-categories-table)
8828 (todo-sort-categories-alphabetically-or-numerically)
8829 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8830 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8831 (todo-toggle-item-header, todo-toggle-item-highlighting)
8832 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8833 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8834 (todo-unarchive-items, todo-unmark-category): New commands.
8835 (todo-absolute-file-name, todo-add-to-buffer-list)
8836 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8837 (todo-basic-insert-item, todo-category-completions)
8838 (todo-category-number, todo-category-string-matcher-1)
8839 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8840 (todo-check-format, todo-clear-matches)
8841 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8842 (todo-current-category, todo-date-string-matcher)
8843 (todo-define-insertion-command, todo-diary-expired-matcher)
8844 (todo-diary-goto-entry, todo-diary-item-p)
8845 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8846 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8847 (todo-done-item-section-p, todo-done-separator)
8848 (todo-done-string-matcher, todo-files, todo-filter-items)
8849 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8850 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8851 (todo-insert-category-line, todo-insert-item-from-calendar)
8852 (todo-insert-sort-button, todo-insert-with-overlays)
8853 (todo-insertion-command-name, todo-insertion-key-bindings)
8854 (todo-label-to-key, todo-longest-category-name-length)
8855 (todo-make-categories-list, todo-mode-external-set)
8856 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8857 (todo-modes-set-3, todo-multiple-filter-files)
8858 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8859 (todo-read-category, todo-read-date, todo-read-dayname)
8860 (todo-read-file-name, todo-read-time)
8861 (todo-reevaluate-category-completions-files-defcustom)
8862 (todo-reevaluate-default-file-defcustom)
8863 (todo-reevaluate-filelist-defcustoms)
8864 (todo-reevaluate-filter-files-defcustom)
8865 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8866 (todo-reset-done-separator, todo-reset-done-separator-string)
8867 (todo-reset-done-string, todo-reset-global-current-todo-file)
8868 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8869 (todo-reset-prefix, todo-set-categories)
8870 (todo-set-date-from-calendar, todo-set-show-current-file)
8871 (todo-set-top-priorities, todo-short-file-name)
8872 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8873 (todo-total-item-counts, todo-update-buffer-list)
8874 (todo-update-categories-display, todo-update-categories-sexp)
8875 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8876 New functions.
8877 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8878 New major modes.
8879 (todo-categories, todo-display, todo-edit, todo-faces)
8880 (todo-filtered): New defgroups.
8881 (todo-archived-only, todo-button, todo-category-string, todo-date)
8882 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8883 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8884 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8885 (todo-add-item-if-new-category, todo-always-add-time-string)
8886 (todo-categories-align, todo-categories-archived-label)
8887 (todo-categories-category-label, todo-categories-diary-label)
8888 (todo-categories-done-label, todo-categories-number-separator)
8889 (todo-categories-todo-label, todo-categories-totals-label)
8890 (todo-category-completions-files, todo-completion-ignore-case)
8891 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8892 (todo-done-separator-string, todo-done-string)
8893 (todo-files-function, todo-filter-done-items, todo-filter-files)
8894 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8895 (todo-initial-category, todo-initial-file, todo-item-mark)
8896 (todo-legacy-date-time-regexp, todo-mode-line-function)
8897 (todo-nondiary-marker, todo-number-prefix)
8898 (todo-print-buffer-function, todo-show-current-file)
8899 (todo-show-done-only, todo-show-first, todo-show-with-done)
8900 (todo-skip-archived-categories, todo-top-priorities-overrides)
8901 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8902 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8903 New defcustoms.
8904 (todo-category-done, todo-date-pattern, todo-date-string-start)
8905 (todo-diary-items-buffer, todo-done-string-start)
8906 (todo-filtered-items-buffer, todo-item-start)
8907 (todo-month-abbrev-array, todo-month-name-array)
8908 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8909 (todo-top-priorities-buffer): New defconsts.
8910 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8911 (todo-categories-with-marks, todo-category-string-face)
8912 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8913 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8914 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8915 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8916 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8917 (todo-font-lock-keywords, todo-global-current-todo-file)
8918 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8919 (todo-insertion-commands-args)
8920 (todo-insertion-commands-args-genlist)
8921 (todo-insertion-commands-names, todo-insertion-map)
8922 (todo-key-bindings-t, todo-key-bindings-t+a)
8923 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8924 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8925 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8926 (todo-visited): New variables.
8927
8928 2013-06-21 Glenn Morris <rgm@gnu.org>
8929
8930 * play/cookie1.el (cookie-apropos): Add optional display argument.
8931 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8932 (psychoanalyze-pinhead): Use cookie-doctor.
8933
8934 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8935
8936 * emacs-lisp/package.el (tar-get-file-descriptor)
8937 (tar--extract): Declare.
8938
8939 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8940
8941 Extend flymake's warning predicate to be a function (bug#14217).
8942 * progmodes/flymake.el (flymake-warning-predicate): New.
8943 (flymake-parse-line): Use it.
8944 (flymake-warning-re): Make obsolete alias to
8945 `flymake-warning-predicate'.
8946
8947 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8950 (package-obsolete-list): Remove.
8951 (package-activate): Remove min-version argument. Add `force' argument.
8952 Adjust to new package-alist format.
8953 (package-mark-obsolete): Remove.
8954 (package-unpack): Force reload of the package's autoloads.
8955 (package-installed-p): Check builtins if the installed package is not
8956 recent enough.
8957 (package-initialize): Don't reset package-obsolete-list.
8958 Don't specify which package version to activate.
8959 (package-process-define-package, describe-package-1)
8960 (package-menu--generate): Adjust to new package-alist format.
8961
8962 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * allout-widgets.el (allout-widgets-mode-off)
8965 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8966 (allout-widgets-post-command-business)
8967 (allout-widgets-after-copy-or-kill-function)
8968 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8969 (allout-decorate-item-and-context)
8970 (allout-graphics-modification-handler): Fix typos in docstrings.
8971 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8972
8973 * cmuscheme.el (scheme-start-file): Doc fix.
8974 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8975 (scheme-input-filter): Use `string-match-p'.
8976
8977 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8978
8979 * dired-x.el: Use Dired consistently in docstrings.
8980
8981 * dired.el: Use Dired consistently in docstrings.
8982 (dired-readin, dired-mode): Use `setq-local'.
8983 (dired-switches-alist): Make defvar-local.
8984 (dired-buffers-for-dir): Use `zerop'.
8985 (dired-safe-switches-p, dired-switches-escape-p)
8986 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8987 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8988 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8989 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8990 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8991 (dired-toggle-marks, dired-mark-files-containing-regexp)
8992 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8993 (dired-flag-auto-save-files, dired-flag-backup-files):
8994 Use `looking-at-p'.
8995 (dired-mark-files-regexp, dired-build-subdir-alist):
8996 Use `string-match-p', `looking-at-p'.
8997
8998 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8999 (direct-print-region-helper): Use `string-match-p'.
9000
9001 2013-06-21 Leo Liu <sdl.web@gmail.com>
9002
9003 * comint.el (comint-redirect-results-list-from-process):
9004 Fix infinite loop.
9005
9006 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9007
9008 * net/eww.el (eww-update-header-line-format): Quote % characters.
9009
9010 2013-06-21 Glenn Morris <rgm@gnu.org>
9011
9012 * play/cookie1.el (cookie): New custom group.
9013 (cookie-file): New option.
9014 (cookie-check-file): New function.
9015 (cookie): Make it interactive. Make start and end messages optional.
9016 Interactively, display the result. Default to cookie-file.
9017 (cookie-insert): Default to cookie-file.
9018 (cookie-snarf): Make start and end messages optional.
9019 Default to cookie-file. Use with-temp-buffer.
9020 (cookie-read): Rename from read-cookie.
9021 Make start and end messages optional. Default to cookie-file.
9022 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9023 Do not autoload it.
9024 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9025 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9026
9027 2013-06-21 Leo Liu <sdl.web@gmail.com>
9028
9029 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9030
9031 2013-06-21 Glenn Morris <rgm@gnu.org>
9032
9033 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9034
9035 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9036 Daniel Hackney <dan@haxney.org>
9037
9038 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9039 Consolidate the single-file vs tarball code.
9040 (package-desc-suffix): New function.
9041 (package-desc-full-name): Don't bother inlining it.
9042 (package-load-descriptor): Return the new package-desc.
9043 (package-mark-obsolete): Remove unused arg `package'.
9044 (package-unpack): Make it work for single files as well.
9045 Make it update package-alist.
9046 (package--make-autoloads-and-stuff): Rename from
9047 package--make-autoloads-and-compile. Don't compile any more.
9048 (package--compile): New function.
9049 (package-generate-description-file): New function, extracted from
9050 package-unpack-single.
9051 (package-unpack-single): Remove.
9052 (package--with-work-buffer): Add indentation and debugging info.
9053 (package-download-single): Remove.
9054 (package-install-from-archive): Rename from package-download-tar, make
9055 it take a pkg-desc, and make it work for single files as well.
9056 (package-download-transaction): Simplify.
9057 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9058 external tar program.
9059 (package-install-from-buffer): Remove `pkg-desc' argument.
9060 Use package-tar-file-info for tar-mode buffers.
9061 (package-install-file): Simplify accordingly.
9062 (package-archive-base): Change to take a pkg-desc.
9063 * tar-mode.el (tar--check-descriptor): New function, extracted from
9064 tar-get-descriptor.
9065 (tar-get-descriptor): Use it.
9066 (tar-get-file-descriptor): New function.
9067 (tar--extract): New function, extracted from tar-extract.
9068 (tar--extract): Use it.
9069 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9070 case the summary uses non-ascii. Adjust to new calling convention of
9071 package-tar-file-info.
9072
9073 2013-06-21 Leo Liu <sdl.web@gmail.com>
9074
9075 * comint.el (comint-redirect-results-list-from-process):
9076 Fix random delay. (Bug#14681)
9077
9078 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9079
9080 * profiler.el (profiler-format-number): Use log, not log10.
9081
9082 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9083
9084 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9085
9086 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9089 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9090 yet available.
9091 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9092 (AUTOGENEL): ... here.
9093 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9094 (cl--defsubst-expand): Use it.
9095
9096 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9097
9098 * subr.el (log10): Move here from C code, and declare as obsolete.
9099 All uses of (log10 X) replaced with (log X 10).
9100
9101 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9102
9103 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9104 Declare with `defvar-local'.
9105 (tabulated-list-use-header-line, tabulated-list-entries)
9106 (tabulated-list-padding, tabulated-list-printer)
9107 (tabulated-list-sort-key): Declare with `defvar-local'.
9108 (tabulated-list-init-header, tabulated-list-print-fake-header):
9109 Use `setq-local'.
9110
9111 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9112
9113 * arc-mode.el (archive-mode): Add `archive-write-file' to
9114 `write-contents-functions' also for remote files. (Bug#14652)
9115
9116 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9117
9118 * cus-edit.el (custom-commands): Fix typos.
9119 (custom-display): Fix tooltip text.
9120 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9121 Fix typos in docstrings.
9122 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9123 (custom-unlispify-menu-entry, custom-magic-value-create)
9124 (custom-add-see-also, custom-group-value-create): Use ?\s.
9125 (custom-guess-type, customize-apropos, editable-field)
9126 (custom-face-value-create): Use `string-match-p'.
9127 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9128
9129 * custom.el (custom-load-symbol): Use `string-match-p'.
9130
9131 * ansi-color.el: Convert to lexical binding.
9132 (ansi-colors): Fix URL.
9133 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9134 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9135 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9136
9137 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9138
9139 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9140
9141 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9142
9143 2013-06-19 Tom Tromey <tromey@redhat.com>
9144
9145 * net/eww.el (eww-top-url): Remove.
9146 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9147 (eww-render): Set new variables. Don't set eww-top-url.
9148 (eww-handle-link): Handle "prev", "home", and "contents".
9149 Downcase the rel text.
9150 (eww-top-url): Choose best top URL.
9151
9152 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9153
9154 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9155 relying in widget.el. Using widget.el leads to too many
9156 user interface inconsistencies.
9157 (eww-self-insert): Implement entering commands in text fields.
9158 (eww-process-text-input): New function to make text input field editing
9159 work.
9160 (eww-submit): Rewrite to use the new-style form methods.
9161 (eww-select-display): Display the correct selected item.
9162 (eww-change-select): Implement changing the select value.
9163 (eww-toggle-checkbox): Implement radio/checkboxes.
9164 (eww-update-field): Fix compilation error.
9165 (eww-tag-textarea): Implement <textarea>.
9166
9167 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9168 we don't shadow mode-specific bindings.
9169
9170 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9171 nothing to push.
9172
9173 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9174
9175 2013-06-19 Glenn Morris <rgm@gnu.org>
9176
9177 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9178
9179 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9180
9181 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9182 not needed.
9183
9184 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9185
9186 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9187
9188 * net/browse-url.el (browse-url-browser-function):
9189 `eww-browse-url' has the right calling signature, `eww' does not.
9190
9191 2013-06-19 Glenn Morris <rgm@gnu.org>
9192
9193 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9194 Only eval autoloaded macros.
9195 (byte-compile-autoload): Only give the macro warning for macros.
9196
9197 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9198 (ps-underlined-faces): Declare.
9199
9200 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9201 (speedbar-add-supported-extension): Declare.
9202
9203 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9204 Don't include a date stamp in the header of the generated file;
9205 it leads to needless differences between output files.
9206
9207 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9208
9209 * net/secrets.el (secrets-struct-secret-content-type):
9210 Replace check of introspection data by a test call of "CreateItem".
9211 Some servers do not offer introspection.
9212
9213 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * electric.el (electric-pair-mode): Improve interaction with
9216 electric-layout-mode.
9217 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9218 (electric-pair-syntax): Use text-mode-syntax-table in comments
9219 and strings.
9220 (electric-pair--insert): New function.
9221 (electric-pair-post-self-insert-function): Use it and
9222 electric--after-char-pos.
9223
9224 2013-06-19 Leo Liu <sdl.web@gmail.com>
9225
9226 * progmodes/octave.el (octave-help): Fix regexp.
9227
9228 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
9230 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9231 (shr-table-horizontal-line): Allow nil as a value, and change the
9232 default.
9233 (shr-insert-table-ruler): Respect the nil value.
9234
9235 2013-06-18 Tom Tromey <tromey@barimba>
9236
9237 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9238 New defvars.
9239 (eww-open-file): New defun.
9240 (eww-render): Initialize new variables.
9241 (eww-display-html): Handle "link" and "a".
9242 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9243 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9244 (eww-back-url): Rename from eww-previous-url.
9245 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9246 New defuns.
9247
9248 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9249
9250 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9251 Distinguish ternary operator tokens from slash symbol and slash
9252 char literal.
9253
9254 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9255
9256 Convert symbol prettification into minor mode and global minor mode.
9257
9258 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9259 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9260 (prettify-symbols--keywords): Rename from
9261 `prog-prettify-symbols-alist' and make a local defvar.
9262 (prettify-symbols--compose-symbol): Rename from
9263 `prog--prettify-font-lock-compose-symbol'.
9264 (prettify-symbols--make-keywords): Rename from
9265 `prog-prettify-font-lock-symbols-keywords' and simplify.
9266 (prog-prettify-install): Remove.
9267 (prettify-symbols-mode): New minor mode, based on
9268 `prog-prettify-install'.
9269 (turn-on-prettify-symbols-mode): New function.
9270 (global-prettify-symbols-mode): New globalized minor mode.
9271
9272 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9273 * progmodes/cfengine.el (cfengine3-mode):
9274 * progmodes/perl-mode.el (perl-mode): Don't call
9275 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9276
9277 2013-06-18 Juri Linkov <juri@jurta.org>
9278
9279 * files-x.el (modify-file-local-variable-message): New function.
9280 (modify-file-local-variable)
9281 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9282 and call `modify-file-local-variable-message' when it's non-nil.
9283 (add-file-local-variable, delete-file-local-variable)
9284 (add-file-local-variable-prop-line)
9285 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9286 and use it. (Bug#9820)
9287
9288 2013-06-18 Juri Linkov <juri@jurta.org>
9289
9290 * emulation/vi.el (vi-shell-op):
9291 * emulation/vip.el (vip-execute-com, ex-command):
9292 * emulation/viper-cmd.el (viper-exec-bang):
9293 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9294 the call of `shell-command-on-region'. (Bug#14637)
9295
9296 * simple.el (shell-command-on-region): Doc fix.
9297
9298 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9301 (bug#14633).
9302
9303 2013-06-18 Glenn Morris <rgm@gnu.org>
9304
9305 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9306
9307 * newcomment.el (comment-search-forward, comment-search-backward):
9308 Doc fix. (Bug#14376)
9309
9310 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9311
9312 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9313 (buffer-face-mode-invoke): Doc fix.
9314
9315 2013-06-18 Matthias Meulien <orontee@gmail.com>
9316
9317 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9318 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9319
9320 2013-06-18 Glenn Morris <rgm@gnu.org>
9321
9322 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9323 Replace obsolete function generic-make-keywords with its expansion.
9324
9325 * progmodes/python.el (ffap-alist): Declare.
9326
9327 * textmodes/reftex.el (bibtex-mode-map): Declare.
9328
9329 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9332 (package-unpack, package-unpack-single): Return the pkg-dir.
9333 (package-download-transaction): Use it to update package-alist.
9334
9335 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
9337 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9338 possible choice.
9339
9340 2013-06-17 Juri Linkov <juri@jurta.org>
9341
9342 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9343
9344 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9345
9346 * emacs-lisp/package.el (package-load-descriptor):
9347 Remove `with-syntax-table' call, `read' doesn't need it.
9348 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9349
9350 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9351
9352 * startup.el (command-line): Expand package name returned by
9353 `package--description-file' (bug#14639).
9354
9355 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9356
9357 * emacs-lisp/package.el (package-load-descriptor): Do not call
9358 `emacs-lisp-mode', just use its syntax table.
9359
9360 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9361
9362 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9363 `font-lock-extra-managed-props' if any prettifying keyword is added.
9364 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9365 (prog-mode): Use `setq-local'.
9366
9367 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * international/characters.el (standard-case-table): Set syntax of ?»
9370 and ?« to punctuation.
9371
9372 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9373
9374 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9375 Save relevant match data before calling `syntax-ppss' (bug#14595).
9376
9377 2013-06-15 Juri Linkov <juri@jurta.org>
9378
9379 * files-x.el (modify-file-local-variable-prop-line): Add local
9380 variables to the end of the existing comment on the first line.
9381 Use `file-auto-mode-skip' to skip interpreter magic line,
9382 and also skip XML declaration.
9383
9384 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9385
9386 * startup.el (package--builtin-versions): New var.
9387 (package-subdirectory-regexp): Remove.
9388 (package--description-file): Hard code its value instead.
9389
9390 * emacs-lisp/package.el: Don't activate packages older than builtin.
9391 (package-obsolete-list): Rename from package-obsolete-alist, and make
9392 it into a simple list of package-desc.
9393 (package-strip-version): Remove.
9394 (package-built-in-p): Use package--builtin-versions.
9395 (package-mark-obsolete): Simplify.
9396 (package-process-define-package): Mark it obsolete if older than the
9397 builtin version.
9398 (package-handle-response): Use line-end-position.
9399 (package-read-archive-contents, package--download-one-archive):
9400 Simplify.
9401 (package--add-to-archive-contents): Skip if older than the builtin or
9402 installed version.
9403 (package-menu-describe-package): Fix last change.
9404 (package-list-unversioned): New var.
9405 (package-menu--generate): Use it.
9406
9407 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9408 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9409 (autoload-builtin-package-versions): New variable.
9410 (autoload-generate-file-autoloads): Use them.
9411 Remove the list of autoloaded functions/macros from the
9412 (autoload...) comments.
9413
9414 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9415
9416 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9417
9418 * simple.el (line-move-partial): Don't jump to the next screen
9419 line as soon as it becomes visible. Instead, continue enlarging
9420 the vscroll until the portion of a tall screen line that's left on
9421 display is about the height of the frame's default font.
9422 (Bug#14567)
9423
9424 2013-06-15 Glenn Morris <rgm@gnu.org>
9425
9426 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9427 compilation-error-regexp-alist void, or local while let-bound.
9428
9429 * progmodes/make-mode.el (makefile-mode-syntax-table):
9430 Treat "=" as punctuation. (Bug#14614)
9431
9432 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9433
9434 * help-fns.el (describe-variable):
9435 Add extra line for permanent-local variables.
9436
9437 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9438
9439 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9440 Add export, import, library. (Bug#9164)
9441 (library): Set indent function.
9442
9443 2013-06-14 Glenn Morris <rgm@gnu.org>
9444
9445 * term/xterm.el (xterm--query):
9446 Stop after first matching handler. (Bug#14615)
9447
9448 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9449
9450 Add support for dired in saveplace.
9451 * dired.el (dired-initial-position-hook): New variable.
9452 (dired-initial-position): Call hook to place cursor position.
9453 * saveplace.el (save-place-to-alist): Add dired position.
9454 (save-place-dired-hook): New function.
9455
9456 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9459 through a symbol rather than letrec.
9460
9461 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9462 (package-desc): Add `dir' field.
9463 (package-desc-full-name): New function.
9464 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9465 (package-maybe-load-descriptor): Remove.
9466 (package-load-all-descriptors): Just call package-load-descriptor.
9467 (package--disabled-p): New function.
9468 (package-desc-vers, package-desc-doc): Remove aliases.
9469 (package--dir): Remove function.
9470 (package-activate): Check if a package is disabled.
9471 (package-process-define-package): New function, extracted from
9472 define-package.
9473 (define-package): Turn into a place holder.
9474 (package-unpack-single, package-tar-file-info):
9475 Use package--description-file.
9476 (package-compute-transaction): Use package--disabled-p.
9477 (package-download-transaction): Don't call
9478 package-maybe-load-descriptor since they're all loaded anyway.
9479 (package-install): Change argument to be a pkg-desc.
9480 (package-delete): Use a single pkg-desc argument.
9481 (describe-package-1): Use package-desc-dir instead of package--dir.
9482 Use package-desc property instead of package-symbol.
9483 (package-install-button-action): Adjust accordingly.
9484 (package--push): Rewrite.
9485 (package-menu--print-info): Adjust accordingly. Change the ID format
9486 to be a pkg-desc.
9487 (package-menu-describe-package, package-menu-get-status)
9488 (package-menu--find-upgrades, package-menu-mark-upgrades)
9489 (package-menu-execute, package-menu--name-predicate):
9490 Adjust accordingly.
9491 * startup.el (package--description-file): New function.
9492 (command-line): Use it.
9493 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9494 Use package-desc-version.
9495
9496 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9497 (byte-compile-preprocess): Use it.
9498 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9499 can't quite recognize.
9500 (byte-compile-add-to-list): Remove.
9501 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9502 (cconv-closure-convert): Add assertion.
9503
9504 * emacs-lisp/map-ynp.el: Use lexical-binding.
9505 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9506 Factor out some repeated code.
9507
9508 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * subr.el (with-eval-after-load): New macro.
9511 (eval-after-load): Allow form to be a function.
9512 take advantage of lexical-binding.
9513 (do-after-load-evaluation): Use dolist and adjust to new format.
9514 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9515
9516 2013-06-13 Juri Linkov <juri@jurta.org>
9517
9518 * replace.el (perform-replace): Display "symbol " and other search
9519 modes from `isearch-message-prefix' in the *Help* buffer.
9520
9521 * isearch.el (isearch-query-replace): Add " symbol" and other
9522 possible search modes from `isearch-message-prefix' to the prompt.
9523 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9524 when reading a regexp to collect.
9525
9526 2013-06-13 Juri Linkov <juri@jurta.org>
9527
9528 * isearch.el (word-search-regexp): Match whitespace if the search
9529 string begins or ends in whitespace. The LAX arg is applied to
9530 both ends of the search string. Use `regexp-quote' and explicit
9531 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9532 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9533 boundaries are replaced with symbol boundaries, and characters
9534 between symbols match non-word non-symbol syntax. (Bug#14602)
9535
9536 2013-06-13 Juri Linkov <juri@jurta.org>
9537
9538 * isearch.el (isearch-del-char): Don't exceed the length of
9539 `isearch-string' by the prefix arg. (Bug#14563)
9540
9541 2013-06-13 Juri Linkov <juri@jurta.org>
9542
9543 * isearch.el (isearch-yank-word, isearch-yank-line)
9544 (isearch-char-by-name, isearch-quote-char)
9545 (isearch-printing-char, isearch-process-search-char):
9546 Add optional count prefix arg. (Bug#14563)
9547
9548 * international/isearch-x.el
9549 (isearch-process-search-multibyte-characters):
9550 Add optional count prefix arg.
9551
9552 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9553
9554 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9555 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9556 lexical-binding.
9557
9558 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9559
9560 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9561
9562 2013-06-13 Glenn Morris <rgm@gnu.org>
9563
9564 * startup.el (tty-handle-args):
9565 Don't just discard "--" and anything after. (Bug#14608)
9566
9567 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9568
9569 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9570
9571 Implement changes in Secret Service API. Make it backward compatible.
9572 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9573 (secrets-create-item): Use it. Prefix properties with interface.
9574
9575 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9576
9577 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9578 (term-emulate-terminal): Respect term-suppress-hard-newline.
9579
9580 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9581
9582 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9583 Only remove a `thumb-file' overlay. (Bug#14548)
9584
9585 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9586
9587 * mail/reporter.el (reporter-submit-bug-report):
9588 Handle missing package-name. (Bug#14600)
9589
9590 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9591
9592 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9593 (reftex-citation-prompt, reftex-default-bibliography)
9594 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9595 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9596 (reftex-bib-sort-author, reftex-bib-sort-year)
9597 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9598 (reftex-extract-bib-entries-from-thebibliography)
9599 (reftex-get-bibkey-default, reftex-get-bib-names)
9600 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9601 (reftex-format-bib-entry, reftex-parse-bibitem)
9602 (reftex-format-bibitem, reftex-do-citation)
9603 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9604 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9605 (reftex-insert-bib-matches, reftex-format-citation)
9606 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9607 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9608 existing comments into docstrings.
9609
9610 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9611
9612 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9613
9614 2013-06-12 Andreas Schwab <schwab@suse.de>
9615
9616 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9617 for auto-save files.
9618
9619 2013-06-12 Glenn Morris <rgm@gnu.org>
9620
9621 * ido.el (ido-delete-ignored-files): Remove.
9622 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9623 Go back to calling ido-ignore-item-p directly.
9624
9625 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9626
9627 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9628
9629 * ido.el (ido-delete-ignored-files): New function,
9630 split from ido-make-file-list-1.
9631 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9632 (ido-make-file-list-1): Use ido-delete-ignored-files.
9633
9634 2013-06-12 Leo Liu <sdl.web@gmail.com>
9635
9636 * progmodes/octave.el (inferior-octave-startup)
9637 (inferior-octave-completion-table)
9638 (inferior-octave-track-window-width-change)
9639 (octave-eldoc-function-signatures, octave-help)
9640 (octave-find-definition): Use single quoted strings.
9641 (inferior-octave-startup-args): Change default value.
9642 (inferior-octave-startup): Do not hard code "-i" and
9643 "--no-line-editing".
9644 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9645 (inferior-octave-directory-tracker): Use it.
9646 (octave-goto-function-definition): Robustify.
9647 (octave-help): Support highlighting operators in 'See also'.
9648 (octave-find-definition): Find subfunctions only in Octave mode.
9649
9650 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * help-fns.el (help-fns--compiler-macro): If the handler function is
9653 named, then put a link to it.
9654 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9655 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9656 (cl-typep): Use it.
9657 (cl-eval-when): Simplify debug spec.
9658 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9659 compiler-macro function instead of setting `compiler-macro-file'.
9660
9661 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9662
9663 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9664 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9665
9666 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9667 Daniel Hackney <dan@haxney.org>
9668
9669 First part of Daniel Hackney's patch to package.el.
9670 * emacs-lisp/package.el: Use defstruct.
9671 (package-desc): New, main struct.
9672 (package--bi-desc, package--ac-desc): New structs, used to describe the
9673 format in external files.
9674 (package-desc-vers): Replace with package-desc-version accessor.
9675 (package-desc-doc): Replace with package-desc-summary accessor.
9676 (package-activate-1): Remove `package' arg since the pkg-vec now
9677 includes the name.
9678 (define-package): Use package-desc-from-define.
9679 (package-unpack-single): Change file-name arg to be a symbol.
9680 (package--add-to-archive-contents): Use package-desc-create and new
9681 accessor functions to package--ac-desc.
9682 (package-buffer-info, package-tar-file-info): Return a package-desc.
9683 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9684 arg to be a package-desc.
9685 (package-install-file): Adjust accordingly. Use \' to match EOS.
9686 (package--from-builtin): New function.
9687 (describe-package-1, package-menu--generate): Use it.
9688 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9689 (package-generate-autoloads): Idem and return the name of the file.
9690 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9691 Change pkg-info arg to be a package-desc.
9692 Use package-make-ac-desc.
9693 (package-upload-file): Use \' to match EOS.
9694 * finder.el (finder-compile-keywords): Use package-make-builtin.
9695
9696 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9697
9698 * vc/vc.el (vc-deduce-fileset): Change error message.
9699 (vc-read-backend): New function.
9700 (vc-next-action): Use it.
9701
9702 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9703
9704 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9705 (prolog-font-lock-keywords): Use regexp-opt instead.
9706 Don't manually highlight strings.
9707 (prolog-mode-variables): Simplify comment-start-skip.
9708 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9709
9710 * emacs-lisp/generic.el (generic--normalise-comments)
9711 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9712 (generic-mode-set-comments): Use them.
9713 (generic-bracket-support): Use setq-local.
9714 (generic-make-keywords-list): Declare obsolete.
9715
9716 2013-06-11 Glenn Morris <rgm@gnu.org>
9717
9718 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9719 Prettify after setting font-lock-defaults. (Bug#14574)
9720
9721 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9722
9723 * replace.el (query-replace, occur-read-regexp-defaults-function)
9724 (replace-search):
9725 * subr.el (declare-function, number-sequence, local-set-key)
9726 (substitute-key-definition, locate-user-emacs-file)
9727 (with-silent-modifications, split-string, eval-after-load):
9728 Fix typos, remove unneeded backslashes and reflow some docstrings.
9729
9730 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9733 default for Elisp files.
9734
9735 2013-06-11 Glenn Morris <rgm@gnu.org>
9736
9737 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9738 although define-derived-mode was doing this anyway. (Bug#14583)
9739
9740 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9741
9742 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9743 Fix make-variable-buffer-local call to refer to the correct variable.
9744
9745 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9746
9747 * eshell/em-term.el (eshell-visual-commands)
9748 (eshell-visual-subcommands, eshell-visual-options):
9749 Add summary line to docstrings. Add cross-references.
9750
9751 2013-06-10 Glenn Morris <rgm@gnu.org>
9752
9753 * epa.el (epa-read-file-name): New function. (Bug#14510)
9754 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9755
9756 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9757
9758 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9759 output redirection to be ignored with visual commands.
9760
9761 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9762
9763 * eshell/em-term.el (eshell-visual-command-p): New function.
9764 (eshell-term-initialize): Move long lambda to separate function
9765 eshell-visual-command-p.
9766 * eshell/em-dirs.el (eshell-dirs-initialise):
9767 * eshell/em-script.el (eshell-script-initialize):
9768 Add missing #' to lambda.
9769
9770 2013-06-08 Leo Liu <sdl.web@gmail.com>
9771
9772 * progmodes/octave.el (octave-add-log-current-defun): New function.
9773 (octave-mode): Set add-log-current-defun-function.
9774 (octave-goto-function-definition): Do not move point if not found.
9775 (octave-find-definition): Enhance to try subfunctions first.
9776
9777 2013-06-08 Glenn Morris <rgm@gnu.org>
9778
9779 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9780 (byte-compile-backward-char, byte-compile-backward-word):
9781 Improve previous change, to handle non-explicit nil.
9782
9783 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9786 (smie--opener/closer-at-point): New function.
9787 (smie--matching-block-data): Use it. Don't match from right after an
9788 opener or right before a closer. Obey smie-blink-matching-inners.
9789 Don't signal a mismatch for repeated inners like "switch..case..case".
9790
9791 2013-06-07 Leo Liu <sdl.web@gmail.com>
9792
9793 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9794 to t. (Bug#14303)
9795 (octave-function-header-regexp): Fix. (Bug#14570)
9796 (octave-help-mode-finish-hook, octave-help-mode-finish):
9797 Remove. Just use temp-buffer-show-hook.
9798
9799 * newcomment.el (comment-search-backward): Revert last change.
9800 (Bug#14434)
9801
9802 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9803
9804 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9805
9806 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9807 through xargs, to avoid failure due to MS-Windows limitations on
9808 command-line length.
9809
9810 2013-06-06 Glenn Morris <rgm@gnu.org>
9811
9812 * font-lock.el (lisp-font-lock-keywords-2):
9813 Treat user-error like error.
9814
9815 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9816 (byte-compile-backward-char, byte-compile-backward-word):
9817 Handle explicit nil arguments. (Bug#14565)
9818
9819 2013-06-05 Alan Mackenzie <acm@muc.de>
9820
9821 * isearch.el (isearch-allow-prefix): New user option.
9822 (isearch-other-meta-char): Don't exit isearch when a prefix
9823 argument is typed whilst `isearch-allow-prefix' is non-nil.
9824 (Bug#9706)
9825
9826 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 * autorevert.el (auto-revert-notify-handler): Use memq.
9829 Hide assertion failure.
9830
9831 * skeleton.el: Use cl-lib.
9832 (skeleton-further-elements): Use defvar-local.
9833 (skeleton-insert): Use cl-progv.
9834
9835 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9836
9837 * progmodes/prog-mode.el (prog-prettify-symbols)
9838 (prog-prettify-install): Update docstrings.
9839
9840 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * simple.el: Move all the prog-mode code to prog-mode.el.
9843 * progmodes/prog-mode.el: New file.
9844 * loadup.el: Add prog-mode.el.
9845
9846 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9847
9848 * simple.el (prog-prettify-symbols): Add version.
9849 (prog-prettify-install): Add convenience function to prettify symbols.
9850
9851 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9852 (perl--augmented-font-lock-keywords-1)
9853 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9854 variables and use it.
9855
9856 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9857 (cfengine3-mode): Remove unneeded variable and use it.
9858
9859 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9860 (lisp--augmented-font-lock-keywords-1)
9861 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9862 Remove unneeded variables and use it.
9863
9864 2013-06-05 João Távora <joaotavora@gmail.com>
9865
9866 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9867 to point when opening the connection. (Bug#14380)
9868
9869 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * subr.el (load-history-regexp, load-history-filename-element)
9872 (eval-after-load, after-load-functions, do-after-load-evaluation)
9873 (eval-next-after-load, display-delayed-warnings)
9874 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9875 definition of save-match-data.
9876 (overriding-local-map): Remove accidental obsolescence declaration.
9877
9878 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9879
9880 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9881
9882 Generalize symbol prettify support to prog-mode and implement it
9883 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9884 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9885 (prog--prettify-font-lock-compose-symbol)
9886 (prog-prettify-font-lock-symbols-keywords): New variables and
9887 functions to support symbol prettification.
9888 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9889 (lisp--augmented-font-lock-keywords-1)
9890 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9891 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9892 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9893 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9894 Implement prettify of -> => :: strings.
9895 * progmodes/perl-mode.el (perl-prettify-symbols)
9896 (perl--font-lock-compose-symbol)
9897 (perl--font-lock-symbols-keywords): Move to prog-mode.
9898 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9899 (perl-font-lock-keywords-1)
9900 (perl-font-lock-keywords-2): Remove explicit prettify support.
9901 (perl--augmented-font-lock-keywords)
9902 (perl--augmented-font-lock-keywords-1)
9903 (perl--augmented-font-lock-keywords-2, perl-mode):
9904 Implement prettify support.
9905
9906 2013-06-05 Leo Liu <sdl.web@gmail.com>
9907
9908 Re-implement smie matching block highlight using
9909 show-paren-data-function. (Bug#14395)
9910 * emacs-lisp/smie.el (smie-matching-block-highlight)
9911 (smie--highlight-matching-block-overlay)
9912 (smie--highlight-matching-block-lastpos)
9913 (smie-highlight-matching-block)
9914 (smie-highlight-matching-block-mode): Remove.
9915 (smie--matching-block-data-cache): New variable.
9916 (smie--matching-block-data): New function.
9917 (smie-setup): Use smie--matching-block-data for
9918 show-paren-data-function.
9919
9920 * progmodes/octave.el (octave-mode-menu): Fix.
9921 (octave-find-definition): Skip garbage lines.
9922
9923 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 Fix compilation error with simultaneous dynamic+lexical scoping.
9926 Add warning when a defvar appears after the first let-binding.
9927 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9928 (byte-compile-close-variables): Initialize it.
9929 (byte-compile--declare-var): New function.
9930 (byte-compile-file-form-defvar)
9931 (byte-compile-file-form-define-abbrev-table)
9932 (byte-compile-file-form-custom-declare-variable): Use it.
9933 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9934 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9935 (byte-compile-bind): Handle dynamic bindings that shadow
9936 lexical bindings.
9937 (byte-compile-unbind): Make arg non-optional.
9938 (byte-compile-let): Simplify.
9939 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9940 (cconv--analyse-function, cconv-analyse-form): Populate it.
9941 Protect byte-compile-bound-variables to limit the scope of defvars.
9942 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9943 Remove unneeded rule for `declare'.
9944
9945 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9946 so as to avoid depending on cl-adjoin at run-time.
9947 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9948
9949 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9950 (macroexp--warn-and-return): Use it.
9951
9952 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * subr.el: Convert to lexical binding.
9955 (overriding-local-map): Make obsolete.
9956 (add-to-list): Doc fix. Add compiler macro.
9957 (read-key): Swap values of local maps.
9958
9959 2013-06-05 Leo Liu <sdl.web@gmail.com>
9960
9961 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9962
9963 2013-06-04 Leo Liu <sdl.web@gmail.com>
9964
9965 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9966 (compilation-auto-jump): Suppress the "Mark set" message to give
9967 way to exit message.
9968
9969 2013-06-04 Alan Mackenzie <acm@muc.de>
9970
9971 Remove faulty optimisation from indentation calculation.
9972 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9973 search limit based on 2000 characters back from indent-point.
9974
9975 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9976
9977 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9978
9979 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * emacs-lisp/lisp.el: Use lexical-binding.
9982 (lisp--local-variables-1, lisp--local-variables): New functions.
9983 (lisp--local-variables-completion-table): New var.
9984 (lisp-completion-at-point): Use it complete let-bound vars.
9985
9986 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9987 eagerly (bug#14422).
9988
9989 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9990
9991 * autorevert.el (auto-revert-notify-enabled)
9992 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9993 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9994 (auto-revert-notify-handler): Handle also gfilenotify.
9995
9996 * subr.el (file-notify-handle-event): New defun. Replacing ...
9997 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9998 Remove.
9999
10000 2013-06-03 Juri Linkov <juri@jurta.org>
10001
10002 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10003 `M-s h .'. (Bug#14427)
10004
10005 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10006 command `hi-lock-face-symbol-at-point'.
10007 (hi-lock-face-symbol-at-point): New command.
10008 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10009 (hi-lock-menu): Add `highlight-symbol-at-point'.
10010 (hi-lock-mode): Doc fix.
10011
10012 * isearch.el (isearch-forward-symbol-at-point): New command.
10013 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10014 (isearch-highlight-regexp): Add a regexp which matches
10015 words/symbols for word/symbol mode.
10016
10017 * subr.el (find-tag-default-bounds): New function with the body
10018 mostly moved from `find-tag-default'.
10019 (find-tag-default): Move most code to `find-tag-default-bounds',
10020 call it and apply `buffer-substring-no-properties' afterwards.
10021
10022 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10023
10024 * eshell/em-term.el (eshell-term-initialize):
10025 Use `cl-intersection' rather than `intersection'.
10026
10027 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10028
10029 * vc/log-view.el: Doc fix.
10030 (log-view-mode-map): Copy keymap from `special-mode-map'.
10031
10032 2013-06-02 Eric Ludlam <zappo@gnu.org>
10033
10034 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10035 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10036 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10037 (eieio-unbound, eieio-default-superclass)
10038 (eieio--define-field-accessors, method-static, method-before)
10039 (method-primary, method-after, method-num-lists)
10040 (method-generic-before, method-generic-primary)
10041 (method-generic-after, method-num-slots)
10042 (eieio-specialized-key-to-generic-key)
10043 (eieio--check-type, class-v, class-p)
10044 (eieio-class-name, define-obsolete-function-alias)
10045 (eieio-class-parents-fast, eieio-class-children-fast)
10046 (same-class-fast-p, class-constructor, generic-p)
10047 (generic-primary-only-p, generic-primary-only-one-p)
10048 (class-option-assoc, class-option, eieio-object-p)
10049 (class-abstract-p, class-method-invocation-order)
10050 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10051 (eieio-class-un-autoload, eieio-defclass)
10052 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10053 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10054 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10055 (eieio-defgeneric-reset-generic-form)
10056 (eieio-defgeneric-form-primary-only)
10057 (eieio-defgeneric-reset-generic-form-primary-only)
10058 (eieio-defgeneric-form-primary-only-one)
10059 (eieio-defgeneric-reset-generic-form-primary-only-one)
10060 (eieio-unbind-method-implementations)
10061 (eieio--defmethod, eieio--typep)
10062 (eieio-perform-slot-validation, eieio-validate-slot-value)
10063 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10064 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10065 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10066 (eieio-slot-name-index, eieio-class-slot-name-index)
10067 (eieio-set-defaults, eieio-initarg-to-attribute)
10068 (eieio-attribute-to-initarg, eieio-c3-candidate)
10069 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10070 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10071 (eieio-class-precedence-list, eieio-generic-call-methodname)
10072 (eieio-generic-call-arglst, eieio-generic-call-key)
10073 (eieio-generic-call-next-method-list)
10074 (eieio-pre-method-execution-functions, eieio-generic-call)
10075 (eieio-generic-call-primary-only, eieiomt-method-list)
10076 (eieiomt-optimizing-obarray, eieiomt-install)
10077 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10078 (eieio-generic-form, eieio-defmethod, make-obsolete)
10079 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10080 (defclass): Remove `eval-and-compile' from macro.
10081 (call-next-method, shared-initialize): Instead of using
10082 `scoped-class' variable, use new eieio--scoped-class, and
10083 eieio--with-scoped-class.
10084 (initialize-instance): Rename local variable 'scoped-class' to
10085 'this-class' to remove ambiguitity from old global.
10086
10087 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10088 eieio.el.
10089 (eieio--scoped-class-stack): New variable.
10090 (eieio--scoped-class): New fcn.
10091 (eieio--with-scoped-class): New scoping macro.
10092 (eieio-defclass): Use pushnew instead of add-to-list.
10093 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10094 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10095 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10096 `scoped-class' variable, use new eieio--scoped-class, and
10097 eieio--with-scoped-class.
10098
10099 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10100
10101 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10102
10103 * eshell/esh-ext.el (eshell-external-command): Pass args to
10104 `eshell-find-interpreter'.
10105 (eshell-find-interpreter): Add new second parameter ARGS.
10106
10107 * eshell/em-script.el (eshell-script-initialize): Add second arg
10108 to the function added as MATCH to `eshell-interpreter-alist'.
10109
10110 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10111 the function added as MATCH to `eshell-interpreter-alist'.
10112
10113 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10114 (eshell-visual-options): New defcustom.
10115 (eshell-escape-control-x): Adapt docstring.
10116 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10117 `eshell-visual-options' in addition to `eshell-visual-commands'.
10118 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10119
10120 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10121
10122 * progmodes/python.el (python-indent-block-enders): Add break,
10123 continue and raise keywords.
10124
10125 2013-06-01 Glenn Morris <rgm@gnu.org>
10126
10127 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10128
10129 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10130 * progmodes/cc-cmds.el (delete-forward-p):
10131 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10132 * progmodes/cc-engine.el (buffer-syntactic-context):
10133 * progmodes/cc-fonts.el (face-property-instance):
10134 * progmodes/cc-mode.el (set-keymap-parents):
10135 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10136 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10137 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10138 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10139 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10140
10141 * progmodes/cc-vars.el (other): Emacs has this widget since
10142 at least 21.1, so don't (re)define it.
10143
10144 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10145 Replace the obsolete alias pcomplete-arg-quote-list.
10146
10147 2013-06-01 Leo Liu <sdl.web@gmail.com>
10148
10149 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10150 punctuation syntax.
10151 (inferior-octave-minimal-columns)
10152 (inferior-octave-last-column-width): New variables.
10153 (inferior-octave-track-window-width-change): New function.
10154 (inferior-octave-mode): Adjust column width so that Octave output,
10155 for example from 'ls', can fit into the window nicely.
10156
10157 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10158
10159 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10160 Highlight expansions inside regexp literals.
10161
10162 2013-05-31 Glenn Morris <rgm@gnu.org>
10163
10164 * obsolete/sym-comp.el (symbol-complete):
10165 Replace obsolete completion-annotate-function.
10166
10167 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10168
10169 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10170
10171 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10172 New function, checks if point is inside a literal that allows
10173 expression expansion.
10174 (ruby-syntax-propertize-expansion): Use it.
10175 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10176 around the body.
10177
10178 2013-05-30 Juri Linkov <juri@jurta.org>
10179
10180 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10181 to "\M-si".
10182 (isearch-invisible): New variable.
10183 (isearch-forward): Doc fix.
10184 (isearch-mode): Set `isearch-invisible'
10185 to the value of `search-invisible'.
10186 (isearch-toggle-case-fold): Doc fix.
10187 (isearch-toggle-invisible): New command.
10188 (isearch-query-replace): Let-bind `search-invisible'
10189 to the value of `isearch-invisible'.
10190 (isearch-search): Use `isearch-invisible' instead of
10191 `search-invisible'. Let-bind `search-invisible'
10192 to the value of `isearch-invisible'. (Bug#11378)
10193
10194 2013-05-30 Juri Linkov <juri@jurta.org>
10195
10196 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10197 call when `query-flag' is nil and `search-invisible' is non-nil.
10198 (Bug#11746)
10199
10200 2013-05-30 Glenn Morris <rgm@gnu.org>
10201
10202 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10203
10204 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10205 (cc-require): Suppress spurious "noruntime" warnings.
10206 (cc-require-when-compile): Use fboundp, for sake of compiler.
10207
10208 * progmodes/cc-mode.el: Move load of cc-vars before that of
10209 cc-langs (which in turn loads cc-vars), to quieten compiler.
10210
10211 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * paren.el: Simplify the code.
10214 (show-paren-mode): Always start the timer.
10215 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10216 (show-paren--overlay, show-paren--overlay-1): Rename from
10217 show-paren-overlay and show-paren-overlay-1, and initialize to an
10218 overlay rather than to nil.
10219 (show-paren-function): Misc cleanup and simplifications.
10220
10221 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * paren.el (show-paren-data-function): New hook.
10224 (show-paren--default): New function, extracted from show-paren-function.
10225 (show-paren-function): Use show-paren-data-function.
10226
10227 2013-05-30 Glenn Morris <rgm@gnu.org>
10228
10229 * ielm.el (ielm-map, ielm-complete-symbol):
10230 Use completion-at-point rather than obsolete functions.
10231 (inferior-emacs-lisp-mode): Doc fix.
10232 Set completion-at-point-functions, rather than
10233 comint-dynamic-complete-functions.
10234
10235 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10236 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10237 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10238
10239 * image.el (image-animated-p): Tweak definition.
10240
10241 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10242 (rlogin-process-connection-type): Tweak default. Add set-after.
10243 (rlogin-host): Doc fix.
10244 (rlogin): Tweak prompt.
10245 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10246
10247 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10248 * progmodes/tcl.el (inferior-tcl-mode-map):
10249 Use completion-at-point rather than obsolete alias.
10250
10251 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10252
10253 * minibuffer.el (read-file-name-completion-ignore-case):
10254 Move before completion--in-region, for eager macro expansion.
10255
10256 2013-05-29 Juri Linkov <juri@jurta.org>
10257
10258 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10259 for total count of matching lines. Add `global-matches' for total
10260 count of matches. Rename `matches' to `lines' for count of
10261 matching lines. Add `matches' for count of matches.
10262 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10263 to `prev-line' for line number of prev match endpt.
10264 Increment `matches' for every match. Print the number of
10265 matching lines in the header.
10266 (occur-context-lines): Rename `lines' to `curr-line'.
10267 Rename `prev-lines' to `prev-line'. (Bug#14017)
10268
10269 2013-05-29 Juri Linkov <juri@jurta.org>
10270
10271 * replace.el (perform-replace): Add `skip-read-only-count',
10272 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10273 Increment them for corresponding conditions and report the number
10274 of skipped occurrences in the final message. (Bug#11746)
10275 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10276 (replace-string, replace-regexp): Doc fix.
10277
10278 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10281
10282 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10283 prog-mode-map (bug#14504).
10284
10285 2013-05-29 Leo Liu <sdl.web@gmail.com>
10286
10287 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10288 (octave-help): Small simplification.
10289
10290 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10291 off the highlight first.
10292
10293 2013-05-29 Glenn Morris <rgm@gnu.org>
10294
10295 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10296 Handle idlwave-last-system-routine-info-cons-cell being nil.
10297
10298 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10299 (idlwave-write-paths): Simplify via with-temp-buffer.
10300
10301 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10302 * emulation/cua-rect.el: Also load cua-base at run time.
10303
10304 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10305 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10306 (cperl-imenu-on-info): Require imenu.
10307
10308 2013-05-28 Alan Mackenzie <acm@muc.de>
10309
10310 Handle "capitalised keywords" correctly.
10311 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10312
10313 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10314
10315 * eshell/em-unix.el: Add -r option to cp.
10316
10317 2013-05-28 Glenn Morris <rgm@gnu.org>
10318
10319 * vc/vc-arch.el (vc-exec-after): Declare.
10320 (vc-switches): Autoload.
10321 * vc/vc-bzr.el: No need to require vc when compiling.
10322 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10323 (vc-resynch-buffer, vc-dir-refresh): Declare.
10324 (vc-setup-buffer, vc-switches): Autoload.
10325 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10326 (vc-resynch-buffer): Declare.
10327 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10328 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10329 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10330 (grep-read-regexp, grep-read-files, grep-expand-template)
10331 (vc-dir-refresh): Declare.
10332 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10333 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10334 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10335 * vc/vc-mtn.el (vc-exec-after): Declare.
10336 (vc-switches): Autoload.
10337 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10338 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10339 (vc-file-tree-walk): Declare.
10340 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10341 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10342 (vc-tag-precondition, vc-rename-master): Autoload.
10343 * vc/vc-svn.el (vc-exec-after): Declare.
10344 (vc-switches, vc-setup-buffer): Autoload.
10345 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10346 Autoload.
10347 (vc-resynch-buffer): Declare.
10348
10349 * obsolete/fast-lock.el (byte-compile-warnings):
10350 Don't warn about obsolete features in this obsolete file.
10351
10352 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10353 Move definition before use.
10354
10355 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10356 (dun-unix-verbs): Remove dun-zippy.
10357 (dun-zippy): Remove function.
10358
10359 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10360
10361 2013-05-27 Juri Linkov <juri@jurta.org>
10362
10363 * replace.el (replace-search): New function with code moved out
10364 from `perform-replace'.
10365 (replace-highlight, replace-dehighlight): Move function definitions
10366 up closer to `replace-search'. (Bug#11746)
10367
10368 2013-05-27 Juri Linkov <juri@jurta.org>
10369
10370 * replace.el (perform-replace): Ignore invisible matches.
10371 In addition to checking `query-replace-skip-read-only', also
10372 filter out matches by calling `run-hook-with-args-until-failure'
10373 on `isearch-filter-predicates', and also check `search-invisible'
10374 for t or call `isearch-range-invisible'.
10375 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10376
10377 2013-05-27 Juri Linkov <juri@jurta.org>
10378
10379 * isearch.el (isearch-filter-predicates): Rename from
10380 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10381 (isearch-message-prefix): Display text from the property
10382 `isearch-message-prefix' of the currently active filters.
10383 (isearch-search): Don't compare `isearch-filter-predicate' with
10384 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10385 on `isearch-filter-predicates'. Also check `search-invisible' for t
10386 or call `isearch-range-invisible'.
10387 (isearch-filter-visible): Make obsolete.
10388 (isearch-lazy-highlight-search):
10389 Call `run-hook-with-args-until-failure' on
10390 `isearch-filter-predicates' and use `isearch-range-invisible'.
10391
10392 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10393 `isearch-filter-predicates' instead of `funcall'ing
10394 `isearch-filter-predicate'.
10395 (Info-mode): Set `Info-isearch-filter' to
10396 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10397
10398 * dired-aux.el (dired-isearch-filter-predicate-orig):
10399 Remove variable.
10400 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10401 (dired-isearch-filenames-end): Add and remove
10402 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10403 instead of changing the value of `isearch-filter-predicate'.
10404 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10405 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10406 Put property `isearch-message-prefix' to "filename " on
10407 `dired-isearch-filter-filenames'.
10408
10409 * wdired.el (wdired-change-to-wdired-mode):
10410 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10411 locally instead of changing `isearch-filter-predicate'.
10412 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10413
10414 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10415
10416 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10417 return the commit hash (Bug#14459). Also set the
10418 `vc-git-detached' property.
10419 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10420 (vc-git-mode-line-string): Use the same help-echo format whether
10421 in detached mode or not, because we know the actual revision now.
10422 When in detached mode, shorten the revision to 7 chars.
10423
10424 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * emacs-lisp/easy-mmode.el (define-minor-mode):
10427 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10428 mode hook and provide a docstring.
10429
10430 2013-05-27 Alan Mackenzie <acm@muc.de>
10431
10432 Remove spurious syntax-table text properties inserted by C-y.
10433 * progmodes/cc-mode.el (c-after-change): Also clear hard
10434 syntax-table property with value nil.
10435
10436 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10437
10438 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10439 when reading the events; the buffer layout shall not be changed.
10440
10441 2013-05-27 Leo Liu <sdl.web@gmail.com>
10442
10443 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10444 New variable.
10445 (inferior-octave-directory-tracker): Automatically re-sync
10446 default-directory.
10447 (octave-help): Improve handling of 'See also'.
10448
10449 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10450
10451 * doc-view.el: Minor naming convention tweaks.
10452 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10453
10454 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10455 even if there's no `display' property yet (bug#14435).
10456
10457 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10458
10459 * subr.el (unmsys--file-name): Rename from reveal-filename.
10460
10461 * Makefile.in (custom-deps, finder-data, autoloads)
10462 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10463 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10464 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10465
10466 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10469 error-completion on the first 2 args of condition-case (bug#14446).
10470 Don't burp at EOB.
10471
10472 2013-05-25 Leo Liu <sdl.web@gmail.com>
10473
10474 * comint.el (comint-previous-matching-input): Do not flood the
10475 *Messages* buffer with trivial messages.
10476
10477 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10478
10479 * progmodes/flymake.el (flymake-nop): Don't return a string.
10480 (flymake-set-at): Fix typo.
10481
10482 * simple.el (read--expression): New function, extracted from
10483 eval-expression. Set completion-at-point-functions (bug#14465).
10484 (eval-expression, eval-minibuffer): Use it.
10485
10486 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10487
10488 * progmodes/flymake.el (flymake-save-buffer-in-file)
10489 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10490 (flymake-selected-frame, flymake-log, flymake-ins-after)
10491 (flymake-set-at, flymake-get-buildfile-from-cache)
10492 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10493 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10494 Refine the doc string.
10495 (flymake-get-file-name-mode-and-masks): Reformat.
10496 (flymake-get-real-file-name-function): Fix a minor bug.
10497
10498 2013-05-24 Juri Linkov <juri@jurta.org>
10499
10500 * progmodes/grep.el (grep-mode-font-lock-keywords):
10501 Support =linenumber= format used by git-grep for lines with
10502 function names. (Bug#13549)
10503
10504 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10505
10506 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10507 0 after a semi-colon; it works better for smie-auto-fill.
10508 (octave--indent-new-comment-line): New function.
10509 (octave-indent-new-comment-line): Use it (indirectly).
10510 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10511 modify comment-line-break-function.
10512
10513 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10514 (smie-setup): Use add-function to set it.
10515
10516 2013-05-24 Sam Steingold <sds@gnu.org>
10517
10518 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10519 argument (before the `interactive' argument).
10520
10521 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * image-mode.el (image-mode-winprops): Add winprops to
10524 image-mode-winprops-alist before running
10525 image-mode-new-window-functions.
10526 * doc-view.el (doc-view-new-window-function): Don't delay
10527 doc-view-goto-page via timers (bug#14435).
10528
10529 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10530
10531 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10532 (doc-view-desktop-save-buffer): New function.
10533 (doc-view-restore-desktop-buffer): New function.
10534 (desktop-buffer-mode-handlers):
10535 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10536 handler.
10537 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10538 `desktop-save-buffer' function.
10539
10540 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10541
10542 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10543 (tramp-gvfs-file-name-handler): Raise a user error when
10544 `tramp-gvfs-enabled' is nil.
10545 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10546 Do not raise a user error when loading package. (Bug#14447)
10547
10548 * net/xesam.el: Move to obsolete/.
10549
10550 2013-05-24 Glenn Morris <rgm@gnu.org>
10551
10552 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10553
10554 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10555
10556 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10557 (Info-find-node, Man-getpage-in-background): Declare.
10558
10559 * mail/unrmail.el (unrmail):
10560 Replace obsolete detect-coding-with-priority.
10561
10562 * net/socks.el (socks-split-string): Use this rather than split-string.
10563 (socks-nslookup-host): Update for above change.
10564 (dynamic-choice, s5-dynamic-choice-match)
10565 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10566 Comment out unused code.
10567
10568 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10569 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10570 (gud-tooltip-echo-area): Make obsolete.
10571 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10572
10573 * progmodes/js.el (js--optimize-arglist): Declare.
10574
10575 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10576
10577 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10578 (ediff-window-C): Declare.
10579
10580 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10581 Tweak requires to silence compiler.
10582
10583 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10584 (he-search-string, he-tried-table, he-expand-list)
10585 (he-init-string, he-string-member, he-substitute-string)
10586 (he-reset-string): Declare.
10587
10588 * obsolete/options.el (list-options): Use custom-variable-p,
10589 rather than obsolete alias.
10590
10591 2013-05-23 Sam Steingold <sds@gnu.org>
10592
10593 * simple.el (shell-command-on-region): Pass the `replace' argument
10594 down to `call-process-region' to comply with the doc as reported on
10595 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10596
10597 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * emacs-lisp/smie.el (smie-indent-forward-token)
10600 (smie-indent-backward-token): Handle string tokens (bug#14381).
10601
10602 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10603
10604 * ielm.el (ielm-menu): New menu.
10605 (inferior-emacs-lisp-mode): Set comment-start.
10606
10607 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10608
10609 * textmodes/reftex.el (reftex-ref-style-toggle):
10610 Fix deactivate action.
10611
10612 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10613 Add cleveref macros.
10614
10615 * textmodes/reftex-parse.el
10616 (reftex-locate-bibliography-files): Accept options for
10617 bibliography commands.
10618 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10619 Add addbibresource. Basic Biblatex support.
10620
10621 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10622
10623 * net/tramp-gvfs.el (top):
10624 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10625 when loading package. (Bug#14447)
10626
10627 2013-05-23 Glenn Morris <rgm@gnu.org>
10628
10629 * progmodes/js.el: No need to load comint when compiling.
10630 (ring-insert, comint-send-string, comint-send-input)
10631 (comint-last-input-end, ido-chop): Declare.
10632
10633 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10634 * vc/ediff-mult.el: Adjust requires.
10635 (ediff-directories-internal, ediff-directory-revisions-internal)
10636 (ediff-patch-file-internal): Declare.
10637 * vc/ediff-ptch.el: Adjust requires.
10638 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10639 (ediff-find-file): Autoload.
10640 * vc/ediff-util.el: No need to load ediff when compiling.
10641 (ediff-regions-internal): Declare.
10642 * vc/ediff-wind.el: Adjust requires.
10643 (ediff-compute-toolbar-width): Define when compiling.
10644 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10645 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10646 (dired-get-filename, dired-get-marked-files)
10647 (ediff-last-dir-patch, ediff-patch-default-directory)
10648 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10649 (ediff-patch-buffer-internal): Declare.
10650
10651 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10652 (ispell-process, ispell-buffer-local-words, lm-summary)
10653 (lm-section-start, lm-section-end): Declare.
10654 (checkdoc-ispell-init): Simplify.
10655
10656 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10657 (he-string-member, he-reset-string, he-substitute-string): Declare.
10658
10659 * eshell/em-ls.el: Adjust requires.
10660 (eshell-glob-regexp): Declare.
10661 * eshell/em-tramp.el: Adjust requires.
10662 (eshell-parse-command): Autoload.
10663 * eshell/em-xtra.el: Adjust requires.
10664 (eshell-parse-command): Autoload.
10665 * eshell/esh-ext.el: Adjust requires.
10666 (eshell-parse-command, eshell-close-handles): Autoload.
10667 * eshell/esh-io.el: Adjust requires.
10668 (eshell-output-filter): Autoload.
10669 * eshell/esh-util.el: No need to load tramp when compiling.
10670 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10671 Declare.
10672 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10673 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10674 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10675 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10676 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10677 * eshell/esh-opt.el, eshell/esh-proc.el:
10678 * eshell/esh-var.el: Adjust requires.
10679 * eshell/eshell.el: Do not require esh-util twice.
10680 (eshell-add-input-to-history): Declare.
10681 (eshell-command): Check history module is active before using it.
10682
10683 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10684
10685 2013-05-22 Leo Liu <sdl.web@gmail.com>
10686
10687 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10688
10689 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10690
10691 * autorevert.el (auto-revert-notify-add-watch)
10692 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10693 it indicates changes in file modification time.
10694
10695 2013-05-22 Glenn Morris <rgm@gnu.org>
10696
10697 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10698 Always delete the autoloaded function from the noruntime and
10699 unresolved functions lists.
10700
10701 * allout.el: No need to load epa, epg, overlay when compiling.
10702 (epg-context-set-passphrase-callback, epg-list-keys)
10703 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10704 (epg-key-user-id-list): Declare.
10705
10706 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10707 (viper-set-parsing-style-toggling-macro)
10708 (viper-set-emacs-state-searchstyle-macros):
10709 Use called-interactively-p on Emacs.
10710 (viper-looking-back): Make it an obsolete alias. Update callers.
10711 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10712 Use looking-back rather than viper-looking-back.
10713 (viper-tmp-insert-at-eob, viper-enlarge-region)
10714 (viper-read-string-with-history, viper-register-to-point)
10715 (viper-append-to-register, viper-change-state-to-vi)
10716 (viper-backward-char-carefully, viper-forward-char-carefully)
10717 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10718 (viper-change-state-to-emacs): Declare.
10719 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10720 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10721 * emulation/viper-mous.el: Do not load viper-cmd.
10722 (viper-backward-char-carefully, viper-forward-char-carefully)
10723 (viper-forward-word, viper-adjust-window): Declare.
10724
10725 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10726
10727 * progmodes/idlw-help.el (idlwave-help-fontify):
10728 Use called-interactively-p.
10729
10730 * term/w32console.el (w32-get-console-codepage)
10731 (w32-get-console-output-codepage): Declare.
10732
10733 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10734 Remove unnecessary declarations.
10735 (dframe-message): Doc fix.
10736
10737 * info.el (dframe-select-attached-frame, dframe-current-frame):
10738 Declare.
10739
10740 * speedbar.el (speedbar-message): Make it an obsolete alias.
10741 Update all callers.
10742 (speedbar-with-attached-buffer)
10743 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10744 (speedbar-with-writable): Use backquote.
10745 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10746 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10747 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10748 rather than speedbar- aliases.
10749 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10750 (speedbar-make-specialized-keymap, speedbar-insert-button)
10751 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10752 (speedbar-do-function-pointer): Declare.
10753 (rmail-speedbar-button, rmail-speedbar-find-file)
10754 (rmail-speedbar-move-message):
10755 Use dframe-with-attached-buffer rather than speedbar- alias.
10756 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10757 (dframe-message, speedbar-make-specialized-keymap)
10758 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10759 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10760 (speedbar-insert-button, dframe-select-attached-frame)
10761 (dframe-maybee-jump-to-attached-frame)
10762 (speedbar-change-initial-expansion-list)
10763 (speedbar-previously-used-expansion-list-name): Declare.
10764 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10765 Use dframe-message, dframe-with-attached-buffer rather than
10766 speedbar- aliases.
10767 (gud-sentinel): Silence compiler.
10768 * progmodes/vhdl-mode.el (speedbar-refresh)
10769 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10770 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10771 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10772 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10773 (speedbar-file-lists, speedbar-make-tag-line)
10774 (speedbar-line-directory, speedbar-goto-this-file)
10775 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10776 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10777 (speedbar-make-button, speedbar-reset-scanners)
10778 (speedbar-files-item-info, speedbar-line-text)
10779 (speedbar-find-file-in-frame, speedbar-set-timer)
10780 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10781 (speedbar-with-writable): Do not (re)define it.
10782 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10783 rather than speedbar- alias.
10784
10785 2013-05-21 Leo Liu <sdl.web@gmail.com>
10786
10787 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10788 menu items.
10789 (octave-mode): Tweak fill-nobreak-predicate.
10790 (inferior-octave-startup): Check process to avoid infinite loop.
10791 (inferior-octave): Pop to buffer first to show abornmal process
10792 exit information.
10793
10794 2013-05-21 Glenn Morris <rgm@gnu.org>
10795
10796 * printing.el (pr-menu-bar): Define when compiling.
10797
10798 2013-05-21 Leo Liu <sdl.web@gmail.com>
10799
10800 * progmodes/octave.el (octave-auto-fill): Remove.
10801 (octave-indent-new-comment-line): Improve.
10802 (octave-mode): Use auto fill mode through
10803 comment-line-break-function and fill-nobreak-predicate.
10804 (octave-goto-function-definition): Support DEFUN_DLD.
10805 (octave-beginning-of-defun): Small tweak.
10806 (octave-help): Show parent directory.
10807
10808 2013-05-21 Glenn Morris <rgm@gnu.org>
10809
10810 * files.el (dired-unmark):
10811 * progmodes/gud.el (gdb-input): Update declarations.
10812
10813 * calculator.el (electric, ehelp): No need to load when compiling.
10814 (Electric-command-loop, electric-describe-mode): Declare.
10815
10816 * doc-view.el (doc-view-current-converter-processes): Move before use.
10817
10818 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10819 Move MODE-set-explicitly definition before use.
10820
10821 * international/mule-diag.el (mule-diag):
10822 Don't use obsolete window-system-version.
10823
10824 * mail/feedmail.el (smtpmail): No need to load when compiling.
10825 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10826
10827 * mail/mail-utils.el (rfc822): No need to load when compiling.
10828 (rfc822-addresses): Autoload it.
10829 (mail-strip-quoted-names): Trivial simplification.
10830
10831 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10832 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10833
10834 * net/snmp-mode.el (tempo): Don't duplicate requires.
10835
10836 * progmodes/prolog.el (info): No need to load when compiling.
10837 (comint): Require before shell requires it.
10838 (Info-goto-node): Autoload it.
10839 (Info-follow-nearest-node): Declare.
10840 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10841
10842 * textmodes/artist.el (picture-mode-exit): Declare.
10843
10844 * textmodes/reftex-parse.el (reftex-parse-from-file):
10845 Trivial rewrite so the compiler can parse it better.
10846
10847 2013-05-20 Leo Liu <sdl.web@gmail.com>
10848
10849 * progmodes/octave.el (octave-help-mode-map)
10850 (octave-help-mode-finish-hook): New variables.
10851 (octave-help-mode, octave-help-mode-finish): New functions.
10852 (octave-help): Use octave-help-mode.
10853
10854 2013-05-20 Glenn Morris <rgm@gnu.org>
10855
10856 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10857
10858 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10859
10860 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10861 start at point, so that expansion starting right after opening
10862 slash in a regexp is recognized.
10863 (ruby-syntax-before-regexp-re): New defvar, extracted from
10864 ruby-syntax-propertize-function. Since the value of this regexp
10865 is looked up at runtime now, we should be able to turn
10866 `ruby-syntax-methods-before-regexp' into a defcustom later.
10867 (ruby-syntax-propertize-function): Split regexp matching into two
10868 parts, for opening and closing slashes. That allows us to skip
10869 over string interpolations and support multiline regexps.
10870 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10871 for them, which calls `ruby-syntax-propertize-expansion'.
10872 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10873 call to `ruby-syntax-propertize-function'.
10874 (ruby-syntax-propertize-expansion): Extracted from
10875 `ruby-syntax-propertize-expansions'. Handles one expansion.
10876 (ruby-syntax-propertize-percent-literal): Leave point right after
10877 the percent symbol, so that the expression expansion rule can
10878 propertize the contents.
10879 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10880 heredoc openers.
10881 (ruby-syntax-propertize-expansions): Remove.
10882
10883 2013-05-18 Juri Linkov <juri@jurta.org>
10884
10885 * man.el (Man-default-man-entry): Remove `-' from the end
10886 of the default value. (Bug#14400)
10887
10888 2013-05-18 Glenn Morris <rgm@gnu.org>
10889
10890 * comint.el (comint-password-prompt-regexp):
10891 Allow "password for XXX" where XXX contains colons (eg https://...).
10892
10893 2013-05-18 Leo Liu <sdl.web@gmail.com>
10894
10895 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10896 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10897 (octave-source-directories): Don't check process.
10898 (octave-source-directories, octave-find-definition): Doc fix.
10899
10900 2013-05-18 Glenn Morris <rgm@gnu.org>
10901
10902 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10903 Remove backspace/delete bindings. (Bug#14392)
10904
10905 * cus-dep.el (custom-make-dependencies): Sort the output.
10906 (custom-versions-load-alist): Convert comment to doc.
10907
10908 2013-05-17 Leo Liu <sdl.web@gmail.com>
10909
10910 * newcomment.el (comment-search-backward): Stricter in finding
10911 comment start. (Bug#14303)
10912
10913 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10914 (octave-comment-start-skip): Properly anchored.
10915
10916 2013-05-17 Leo Liu <sdl.web@gmail.com>
10917
10918 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10919 Clean up when turned off. (Bug#14395)
10920 (smie--highlight-matching-block-overlay): No longer buffer-local.
10921 (smie-highlight-matching-block): Adjust.
10922
10923 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10924
10925 Doc string fix for "nanoseconds" (Bug#14406).
10926 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10927 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10928
10929 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10930
10931 * calc/calc-units.el (math-extract-units): Preserve powers
10932 of units.
10933
10934 2013-05-17 Leo Liu <sdl.web@gmail.com>
10935
10936 * subr.el (delete-consecutive-dups): New function.
10937 * ido.el (ido-set-matches-1): Use it.
10938 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10939 * ido.el (ido-remove-consecutive-dups): Remove.
10940
10941 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10944 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10945 regexp-opt's `words'.
10946
10947 2013-05-16 Leo Liu <sdl.web@gmail.com>
10948
10949 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10950 (smie--highlight-matching-block-overlay)
10951 (smie--highlight-matching-block-lastpos)
10952 (smie--highlight-matching-block-timer): New variables.
10953 (smie-highlight-matching-block): New function.
10954 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10955 (smie-setup): Conditionally enable smie-blink-matching-open.
10956
10957 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10958
10959 Sync with upstream verilog-mode r840.
10960 * progmodes/verilog-mode.el (verilog-mode-version)
10961 (verilog-mode-release-date): Update.
10962 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10963 (verilog-sig-tieoff): Fix string error on
10964 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10965 (verilog-read-decls): Fix parameters confusing
10966 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10967
10968 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10969
10970 * subr.el (reveal-filename): New function.
10971
10972 * loadup.el: Compute Emacs executable versions on MS-Windows,
10973 where executables have the .exe extension. Add a hard link
10974 emacs-XX.YY.ZZ.exe on MS-Windows.
10975
10976 * Makefile.in (XARGS_LIMIT): New variable.
10977 (custom-deps, finder-data, autoloads)
10978 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10979 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10980 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10981 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10982
10983 2013-05-16 Leo Liu <sdl.web@gmail.com>
10984
10985 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10986 (octave-mode-menu, octave-mode-map): Remove its uses.
10987
10988 2013-05-16 Reto Zimmermann <reto@gnu.org>
10989
10990 Sync with upstream vhdl mode v3.34.2.
10991 * progmodes/vhdl-mode.el: Use `push' throughout.
10992 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10993 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10994 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10995 (vhdl-actual-generic-name): New option to derive actual generic name.
10996 (vhdl-port-paste-signals): Replace formal by actual generics.
10997 (vhdl-beautify): New name for old group vhdl-align. Update users.
10998 (vhdl-beautify-options): New option.
10999 (vhdl-last-input-event): New compat alias. Use throughout.
11000 (vhdl-goto-line): Replace user level function `goto-line'.
11001 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11002 vhdl-fix-statement-buffer.
11003 (vhdl-create-mode-menu): Add some entries.
11004 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11005 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11006 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11007 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11008 to force statements on one line.
11009 (vhdl-remove-trailing-spaces-region):
11010 New, split from vhdl-remove-trailing-spaces.
11011 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11012 Respect vhdl-beautify-options.
11013 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11014 (vhdl-update-sensitivity-list): Not add with index if exists without.
11015 Not include array index with signal. Ignore keywords in comments.
11016 (vhdl-get-visible-signals): Regexp tweaks.
11017 (vhdl-template-component-inst): Handle empty library.
11018 (vhdl-template-type): Add template for 'enum' type.
11019 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11020 Use vhdl-replace-string.
11021 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11022 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11023 (vhdl-speedbar-initialize): Update for above name change.
11024 (vhdl-compose-wire-components): Fix in handling of constants.
11025 (vhdl-error-regexp-emacs-alist): New variable.
11026 (vhdl-error-regexp-add-emacs): New function;
11027 adds support for new compile.el (Emacs 22+)
11028 (vhdl-generate-makefile-1): Change target order for single lib. units.
11029 Allow use of absolute file names.
11030
11031 2013-05-16 Leo Liu <sdl.web@gmail.com>
11032
11033 * simple.el (prog-indent-sexp): Indent enclosing defun.
11034
11035 2013-05-15 Glenn Morris <rgm@gnu.org>
11036
11037 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11038 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11039 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11040 (whitespace-highlight): Move to whitespace group.
11041
11042 * comint.el (comint-source):
11043 * pcmpl-linux.el (pcmpl-linux):
11044 * shell.el (shell-faces):
11045 * eshell/esh-opt.el (eshell-opt):
11046 * international/ccl.el (ccl): Remove empty custom groups.
11047
11048 * completion.el (dynamic-completion-mode):
11049 * jit-lock.el (jit-lock-debug-mode):
11050 * minibuffer.el (completion-in-region-mode):
11051 * type-break.el (type-break-mode-line-message-mode)
11052 (type-break-query-mode):
11053 * emulation/tpu-edt.el (tpu-edt-mode):
11054 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11055 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11056 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11057
11058 * term/xterm.el (xterm): Change parent group to terminals.
11059
11060 * master.el (master): Remove empty custom group.
11061 (master-mode): Remove unused :group argument.
11062 * textmodes/refill.el (refill): Remove empty custom group.
11063 (refill-mode): Remove unused :group argument.
11064
11065 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11066
11067 * cus-dep.el: Provide a feature.
11068 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11069 Don't mistakenly ignore files whose basenames match a basename
11070 from preloaded-file-list (eg cedet/ede/simple.el).
11071 Add a fallback method for getting :group.
11072
11073 2013-05-15 Juri Linkov <juri@jurta.org>
11074
11075 * isearch.el (isearch-char-by-name): Rename from
11076 `isearch-insert-char-by-name'. Doc fix.
11077 (isearch-forward): Mention `isearch-char-by-name' in
11078 the docstring. (Bug#13348)
11079
11080 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11081 `exit-minibuffer' instead of
11082 `isearch-nonincremental-exit-minibuffer'.
11083 (isearch-edit-string): Remove mention of
11084 `isearch-nonincremental-exit-minibuffer' from docstring.
11085 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11086 (isearch-forward-exit-minibuffer)
11087 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11088
11089 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * loadup.el: Just use unversioned DOC.
11092
11093 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11094 literals as extending to EOB.
11095 (nxml-last-fontify-end): Remove unused variable.
11096 (nxml-after-change1): Use with-silent-modifications.
11097 (nxml-extend-after-change-region): Simplify.
11098 (nxml-extend-after-change-region1): Remove function.
11099 (nxml-after-change1): Don't adjust for dependent regions.
11100 (nxml-fontify-matcher): Simplify.
11101 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11102 (xmltok-add-dependent): Remove function.
11103 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11104 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11105 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11106 unclosed <[[, <?, comment, and other literals as extending to EOB.
11107 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11108 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11109 Remove functions.
11110 (rng-do-some-validation-1): Don't mark dependent regions.
11111 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11112 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11113 (nxml-clear-dependent-regions): Remove functions.
11114 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11115 (nxml-ensure-scan-up-to-date):
11116 Don't clear&mark dependent regions.
11117
11118 2013-05-15 Leo Liu <sdl.web@gmail.com>
11119
11120 * progmodes/octave.el (octave-goto-function-definition):
11121 Improve and fix callers.
11122
11123 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11126 the setter (bug#14387).
11127
11128 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11129 surrounding group (bug#14402).
11130
11131 2013-05-14 Juri Linkov <juri@jurta.org>
11132
11133 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11134 (Bug#14390)
11135
11136 2013-05-14 Glenn Morris <rgm@gnu.org>
11137
11138 * progmodes/f90.el (f90-imenu-generic-expression):
11139 Fix typo in 2013-05-08 change. (Bug#14402)
11140
11141 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11142
11143 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11144 Remove signals for which replies are never received.
11145
11146 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11147
11148 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11149 (gdb-handler-alist, gdb-handler-number): Remove variables.
11150 (gdb-handler-list): New variable.
11151 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11152 (gdb-pending-handler-p, gdb-handle-reply)
11153 (gdb-remove-all-pending-triggers): New functions.
11154 (gdb-discard-unordered-replies): New defcustom.
11155 (gdb-handler): New defstruct.
11156 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11157 instead of gdb-pending-triggers. Update docstring.
11158 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11159 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11160 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11161 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11162 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11163 (gdb-frame-handler): Pending triggers are now automatically managed.
11164 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11165 Remove argument.
11166 (gdb-input): Automatically handles pending triggers. Update docstring.
11167 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11168 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11169 Update comments.
11170 (gdb-done-or-error): Now use gdb-handle-reply.
11171
11172 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11173
11174 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11175 gdb-debug-log.
11176
11177 2013-05-14 Glenn Morris <rgm@gnu.org>
11178
11179 * subr.el (user-emacs-directory-warning): New option.
11180 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11181
11182 2013-05-14 Leo Liu <sdl.web@gmail.com>
11183
11184 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11185 during redisplay.
11186 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11187 (octave-font-lock-texinfo-comment): Fix invalid search bound
11188 error: wrong side of point.
11189
11190 2013-05-14 Glenn Morris <rgm@gnu.org>
11191
11192 * progmodes/flymake.el (flymake-xml-program): New option.
11193 (flymake-xml-init): Use it.
11194
11195 * term/xterm.el: Provide a feature.
11196
11197 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11198
11199 2013-05-13 Glenn Morris <rgm@gnu.org>
11200
11201 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11202 Add compat aliases as a hack workaround. (Bug#14384)
11203
11204 2013-05-13 Leo Liu <sdl.web@gmail.com>
11205
11206 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11207 ###, and %!.
11208 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11209 C-M-q.
11210 (octave-comment-start-skip): Include %!.
11211 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11212
11213 2013-05-12 Leo Liu <sdl.web@gmail.com>
11214
11215 * progmodes/octave.el (inferior-octave-startup): Store the value
11216 of __octave_srcdir__ for octave-source-directories.
11217 (inferior-octave-check-process): New function refactored out of
11218 inferior-octave-send-list-and-digest.
11219 (octave-source-directories)
11220 (octave-find-definition-filename-function): New variables.
11221 (octave-source-directories)
11222 (octave-find-definition-default-filename): New functions.
11223 (octave-find-definition): Improve to find functions implemented in C++.
11224
11225 2013-05-12 Glenn Morris <rgm@gnu.org>
11226
11227 * calendar/diary-lib.el (diary-outlook-format-1):
11228 Don't include dayname in the output. (Bug#14349)
11229
11230 2013-05-11 Glenn Morris <rgm@gnu.org>
11231
11232 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11233
11234 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11235 Treat cc-provide like provide.
11236
11237 2013-05-11 Kevin Ryde <user42@zip.com.au>
11238
11239 * cus-dep.el (custom-make-dependencies):
11240 Use generated-autoload-load-name for the sake of files such
11241 such cedet/semantic/bovine/c.el, where the base file name
11242 is not in load-path. (Bug#5277)
11243
11244 2013-05-11 Glenn Morris <rgm@gnu.org>
11245
11246 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11247 Provide features.
11248
11249 2013-05-11 Leo Liu <sdl.web@gmail.com>
11250
11251 * progmodes/octave.el (octave-indent-comment): Improve.
11252 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11253 (octave-eldoc-function-signatures, octave-eldoc-function):
11254 New functions.
11255 (octave-mode, inferior-octave-mode): Add eldoc support.
11256
11257 2013-05-11 Richard Stallman <rms@gnu.org>
11258
11259 * epa.el (epa-decrypt-file): Take output file name as argument
11260 and read it using `interactive'.
11261
11262 2013-05-11 Leo Liu <sdl.web@gmail.com>
11263
11264 * progmodes/octave.el (octave-beginning-of-line)
11265 (octave-end-of-line): Check before using up-list because it jumps
11266 out of more syntactic contructs since moving to smie.
11267 (octave-indent-comment): New function.
11268 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11269 (octave-begin-keywords, octave-end-keywords)
11270 (octave-reserved-words, octave-smie-bnf-table)
11271 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11272
11273 2013-05-11 Glenn Morris <rgm@gnu.org>
11274
11275 * faces.el (internal-face-x-get-resource):
11276 * frame.el (ns-display-monitor-attributes-list):
11277 * calc/calc-aent.el (math-to-radians-2):
11278 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11279 Fix declarations.
11280
11281 * calc/calc-menu.el: Make it loadable in isolation.
11282
11283 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11284 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11285 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11286 (eudc-bbdb-query-internal): Require 'bbdb.
11287
11288 * lpr.el (lpr-headers-switches):
11289 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11290
11291 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11292
11293 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11294
11295 * term.el (term-set-escape-char): Make it idempotent.
11296
11297 2013-05-10 Leo Liu <sdl.web@gmail.com>
11298
11299 * progmodes/octave.el (inferior-octave-completion-table):
11300 No longer a function and all uses changed. Use cache to speed up
11301 completion due to bug#11906.
11302 (octave-beginning-of-defun): Re-write to be more general.
11303
11304 2013-05-10 Glenn Morris <rgm@gnu.org>
11305
11306 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11307
11308 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * comint.el (comint-redirect-send-command-to-process): Use :around
11311 rather than :override for comint-redirect-filter.
11312 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11313 Call it instead of comint-redirect-original-filter-function (which
11314 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11315
11316 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11317
11318 * frame.el (display-monitor-attributes-list): Add NS case.
11319 (ns-display-monitor-attributes-list): Declare.
11320
11321 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11322
11323 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11324
11325 2013-05-09 Glenn Morris <rgm@gnu.org>
11326
11327 * international/fontset.el (vertical-centering-font-regexp):
11328 Set standard-value.
11329
11330 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11331
11332 * bookmark.el (bookmark-search-delay):
11333 * cus-start.el (vertical-centering-font-regexp):
11334 * ps-mule.el (ps-mule-font-info-database-default):
11335 * ps-print.el (ps-default-fg, ps-default-bg):
11336 * type-break.el (type-break-good-break-interval):
11337 * whitespace.el (whitespace-indentation-regexp)
11338 (whitespace-space-after-tab-regexp):
11339 * emacs-lisp/testcover.el (testcover-1value-functions)
11340 (testcover-noreturn-functions, testcover-progn-functions)
11341 (testcover-prog1-functions):
11342 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11343 * eshell/em-glob.el (eshell-glob-translate-alist):
11344 * play/tetris.el (tetris-tty-colors):
11345 * progmodes/cpp.el (cpp-face-default-list):
11346 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11347 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11348 (idlwave-help-browser-generic-args):
11349 * progmodes/make-mode.el (makefile-special-targets-list):
11350 * progmodes/python.el (python-shell-virtualenv-path):
11351 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11352 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11353 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11354 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11355 * textmodes/reftex-vars.el (reftex-format-label-function):
11356 * textmodes/remember.el (remember-diary-file): Fix custom types.
11357
11358 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11359 Add :version.
11360
11361 2013-05-09 Leo Liu <sdl.web@gmail.com>
11362
11363 * progmodes/octave.el (inferior-octave-completion-at-point):
11364 Restore file completion. (Bug#14300)
11365 (inferior-octave-startup): Fix incorrect highlighting for the
11366 first prompt.
11367
11368 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 * progmodes/ruby-mode.el: First cut at SMIE support.
11371 (ruby-use-smie): New var.
11372 (ruby-smie-grammar): New constant.
11373 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11374 (ruby-smie--forward-token, ruby-smie--backward-token)
11375 (ruby-smie-rules): New functions.
11376 (ruby-mode-variables): Setup SMIE if applicable.
11377
11378 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11379
11380 * simple.el (line-move-visual): Signal beginning/end of buffer
11381 only if vertical-motion moved less than it was requested. Avoids
11382 silly incorrect error messages when there are display strings with
11383 multiple newlines at EOL.
11384
11385 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11388 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11389 (prolog-char-quote-workaround):
11390 * progmodes/cperl-mode.el (cperl-under-as-char):
11391 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11392 Mark as obsolete.
11393 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11394 their declaration.
11395 (vhdl-mode-syntax-table-init): Remove.
11396
11397 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11398 last change.
11399
11400 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11401 syntax for "_".
11402 (ld-script-font-lock-keywords):
11403 Change regexps to use things like \_< and \_>.
11404
11405 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11406 Change all regexps to use things like \_< and \_>.
11407
11408 * progmodes/autoconf.el (autoconf-definition-regexp)
11409 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11410 Handle a _ with symbol syntax.
11411 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11412
11413 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11414 Consolidate declaration.
11415 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11416 the declaration.
11417 (ada-create-syntax-table): Remove.
11418 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11419 already has the right syntax nowadays.
11420 (ada-goto-next-word): Don't change the syntax of "_".
11421
11422 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11423 with-wrapper-hook.
11424
11425 2013-05-08 Sam Steingold <sds@gnu.org>
11426
11427 * thingatpt.el (thing-at-point): Accept optional second argument
11428 NO-PROPERTIES to strip the text properties from the return value.
11429 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11430 to `thing-at-point' instead of stripping the properties ourselves.
11431 Also, when `thing-at-point' fails to find a url, prepend "http://"
11432 to the filename at point on the assumption that the user is
11433 pointing at something like gnu.org/gnu.
11434
11435 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11436
11437 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11438 * faces.el (crm-separator):
11439 Silence byte-compiler.
11440
11441 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11442 (tool-bar-map): Remove unneeded defvars.
11443
11444 2013-05-08 Leo Liu <sdl.web@gmail.com>
11445
11446 Re-work a fix for bug#10994 based on Le Wang's patch.
11447 * ido.el (ido-remove-consecutive-dups): New helper.
11448 (ido-completing-read): Use it.
11449 (ido-chop): Revert fix for bug#10994.
11450
11451 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11452
11453 * cus-edit.el (custom-save-variables):
11454 Pretty-print long values. (Bug#14187)
11455
11456 2013-05-08 Glenn Morris <rgm@gnu.org>
11457
11458 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11459 (m4-mode-syntax-table): Init in the defvar.
11460 (m4-mode-abbrev-table): Let define-derived-mode define it.
11461
11462 2013-05-08 Tom Tromey <tromey@redhat.com>
11463
11464 * progmodes/m4-mode.el (m4-mode-syntax-table):
11465 Do not treat "_" as word constituent. (Bug#14167)
11466
11467 2013-05-07 Glenn Morris <rgm@gnu.org>
11468
11469 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11470 Remove explicit eshell-isearch-cancel-map.
11471
11472 * progmodes/f90.el (f90-smart-end-names): New option.
11473 (f90-smart-end): Doc fix.
11474 (f90-end-block-optional-name): New constant.
11475 (f90-block-match): Respect f90-smart-end-names.
11476
11477 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11480 about implicit semi-colons (bug#14218).
11481
11482 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11483
11484 * frame.el (display-monitor-attributes-list)
11485 (frame-monitor-attributes): New functions.
11486
11487 2013-05-06 Leo Liu <sdl.web@gmail.com>
11488
11489 * progmodes/octave.el (octave-syntax-propertize-function): Change
11490 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11491 (octave-font-lock-keywords): Use octave-operator-regexp.
11492 (octave-completion-at-point): Rename from
11493 octave-completion-at-point-function.
11494 (inferior-octave-directory-tracker): Robustify.
11495 (octave-text-functions): Remove and fix its uses. No such things
11496 any more.
11497
11498 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 * emacs-lisp/trace.el (trace--display-buffer): New function.
11501 (trace-make-advice): Use it.
11502
11503 2013-05-06 Juri Linkov <juri@jurta.org>
11504
11505 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11506 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11507 Doc fix.
11508 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11509 in the help string. (Bug#12985)
11510
11511 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11512
11513 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11514
11515 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * progmodes/perl-mode.el: Add support for here documents.
11518 (perl-syntax-propertize-function): Match here-doc markers.
11519 (perl-syntax-propertize-special-constructs): Find their end.
11520 (perl-imenu-generic-expression): Use [:alnum:].
11521
11522 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11523 (advice--add-function): Refresh the advice if already present
11524 (bug#14317).
11525
11526 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11527
11528 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11529
11530 2013-05-06 Glenn Morris <rgm@gnu.org>
11531
11532 * w32-fns.el (w32-charset-info-alist): Declare.
11533
11534 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11535 of its defcustom properties.
11536 (eshell-cmpl-initialize): No need to load pcomplete.
11537
11538 * generic-x.el: No need to require comint when compiling.
11539
11540 * net/eudc-export.el: Make it loadable without bbdb.
11541 (top-level): Use require rather than load-library.
11542 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11543 (eudc-batch-export-records-to-bbdb)
11544 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11545 Require bbdb.
11546
11547 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11548
11549 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11550 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11551 some tweaks, instead.
11552
11553 2013-05-05 Leo Liu <sdl.web@gmail.com>
11554
11555 * progmodes/octave.el (octave-font-lock-keywords)
11556 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11557 (inferior-octave-send-list-and-digest): Improve error message.
11558 (octave-mode, inferior-octave-mode): Use setq-local.
11559 (octave-help): Set info-lookup-mode.
11560
11561 2013-05-05 Richard Stallman <rms@gnu.org>
11562
11563 * vc/compare-w.el (compare-windows-whitespace):
11564 Treat no-break space as whitespace.
11565
11566 * mail/rmailsum.el (rmail-summary-rmail-update):
11567 Detect empty summary and don't change selected message.
11568 (rmail-summary-goto-msg): Likewise.
11569
11570 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11571 Doc fixes, rename args.
11572
11573 2013-05-05 Alan Mackenzie <acm@muc.de>
11574
11575 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11576
11577 2013-05-05 Juri Linkov <juri@jurta.org>
11578
11579 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11580 to not add the length of the summary segment to the return value.
11581 (Bug#14125)
11582
11583 2013-05-05 Leo Liu <sdl.web@gmail.com>
11584
11585 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11586 (inferior-octave-output-filter): Remove.
11587 (octave-send-region, inferior-octave-startup): Fix callers.
11588 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11589 (octave-binary-file-extensions): New user variable.
11590 (octave-find-definition): Confirm if opening binary files.
11591 (octave-help-file): Use octave-find-definition to get the binary
11592 confirmation.
11593 (octave-help): Adjust for octave-help-file change.
11594
11595 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11598 Merge the two entries that handle function definitions.
11599 (pascal--syntax-propertize): New const.
11600 (pascal-mode): Use it. Use setq-local.
11601
11602 2013-05-04 Glenn Morris <rgm@gnu.org>
11603
11604 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11605 (diary-from-outlook): Respect diary-from-outlook-function.
11606
11607 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11608
11609 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11610 Move the declaration from C.
11611 (read-minibuffer, eval-minibuffer): Move from C.
11612 (completion-setup-function): Avoid minibuffer-completion-contents.
11613
11614 2013-05-03 Leo Liu <sdl.web@gmail.com>
11615
11616 * progmodes/octave.el (octave-font-lock-keywords): Do not
11617 dehighlight 'end' in comments or strings.
11618 (octave-completing-read, octave-goto-function-definition):
11619 New helpers.
11620 (octave-help-buffer): New user variable.
11621 (octave-help-file, octave-help-function): New button types.
11622 (octave-help): New command and bind it to C-h ;.
11623 (octave-find-definition): New command and bind it to M-.
11624 (user-error): Alias to error if not defined.
11625
11626 2013-05-02 Leo Liu <sdl.web@gmail.com>
11627
11628 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11629 for \. (bug#14332)
11630 (octave-font-lock-keywords): Include [ and {.
11631
11632 2013-05-02 Leo Liu <sdl.web@gmail.com>
11633
11634 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11635 (inferior-octave): Remove calling comint-mode and return the buffer.
11636 (inferior-octave-startup): Cosmetic changes.
11637
11638 2013-05-02 Leo Liu <sdl.web@gmail.com>
11639
11640 * progmodes/octave.el (octave-syntax-propertize-function):
11641 Include the case when ' is at line beginning. (Bug#14336)
11642
11643 2013-05-02 Glenn Morris <rgm@gnu.org>
11644
11645 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11646 * desktop.el (vc-dir-mode): Just autoload it here.
11647
11648 2013-05-02 Alan Mackenzie <acm@muc.de>
11649
11650 Eliminate variable c-standard-font-lock-fontify-region-function.
11651 * progmodes/cc-mode.el
11652 (c-standard-font-lock-fontify-region-function): Remove.
11653 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11654
11655 2013-05-01 Leo Liu <sdl.web@gmail.com>
11656
11657 * progmodes/octave.el: Compatible with older emacs-24 releases.
11658 (inferior-octave-has-built-in-variables): Remove. Built-in
11659 variables were removed from Octave in 2007.
11660 (inferior-octave-startup): Fix uses.
11661 (comint-line-beginning-position): Remove compatibility code for
11662 emacs 21.
11663
11664 2013-05-01 Juri Linkov <juri@jurta.org>
11665
11666 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11667
11668 2013-05-01 Juri Linkov <juri@jurta.org>
11669
11670 * comint.el (comint-previous-matching-input): Don't print message
11671 "History item: %d" when `isearch-mode' is active.
11672 (comint-history-isearch-message): Print message "History item: %d"
11673 when `comint-input-ring-index' is not empty and this function is
11674 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11675
11676 2013-05-01 Leo Liu <sdl.web@gmail.com>
11677
11678 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11679 definitions. Use completion-at-point to insert keywords.
11680 (octave-abbrev-start): Remove.
11681 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11682
11683 2013-04-30 Leo Liu <sdl.web@gmail.com>
11684
11685 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11686 change.
11687
11688 2013-04-30 Alan Mackenzie <acm@muc.de>
11689
11690 Handle arbitrarily long C++ member initialisation lists.
11691 * progmodes/cc-engine.el (c-back-over-member-initializers):
11692 new function.
11693 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11694 (most) member init lists.
11695
11696 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11697
11698 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11699 variable.
11700
11701 2013-04-30 Leo Liu <sdl.web@gmail.com>
11702
11703 * progmodes/octave.el (octave-variables): Remove. No builtin
11704 variables any more. All converted to functions.
11705 (octave-font-lock-keywords, octave-completion-at-point-function):
11706 Fix uses.
11707 (octave-font-lock-texinfo-comment): New user variable.
11708 (octave-texinfo-font-lock-keywords): New variable for texinfo
11709 comment block.
11710 (octave-function-comment-block): New face.
11711 (octave-font-lock-texinfo-comment): New function.
11712 (octave-mode): Font lock texinfo comment block.
11713
11714 2013-04-29 Leo Liu <sdl.web@gmail.com>
11715
11716 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11717 indexing expression.
11718 (octave-continuation-string): Do not use \.
11719 (inferior-octave-complete-impossible): Remove.
11720 (inferior-octave-completion-table)
11721 (inferior-octave-completion-at-point): Remove its uses.
11722 (inferior-octave-startup): completion_matches was introduced to
11723 Octave in 1996 so safe to assume it.
11724 (octave-function-file-comment): Improve to follow how Octave does it.
11725 (octave-update-function-file-comment): Tweak.
11726
11727 2013-04-29 Leo Liu <sdl.web@gmail.com>
11728
11729 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11730 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11731 (octave-function-file-comment): Fix typo.
11732 (octave-sync-function-file-names): Use read-char-choice.
11733
11734 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11735
11736 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11737 to t for the less important warnings.
11738
11739 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11740
11741 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11742
11743 2013-04-27 Glenn Morris <rgm@gnu.org>
11744
11745 * vc/log-view.el (log-view-current-entry):
11746 Treat "---" separator lines as part of the following rev. (Bug#14169)
11747
11748 2013-04-27 Juri Linkov <juri@jurta.org>
11749
11750 * subr.el (read-number): Doc fix about using it by interactive
11751 code letter `n'. (Bug#14254)
11752
11753 2013-04-27 Juri Linkov <juri@jurta.org>
11754
11755 * desktop.el (desktop-auto-save-timeout): New option.
11756 (desktop-file-checksum): New variable.
11757 (desktop-save): Add optional arg `auto-save' and don't auto-save
11758 if nothing changed.
11759 (desktop-auto-save-timer): New variable.
11760 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11761 (after-init-hook): Call `desktop-auto-save-set-timer'.
11762 Suggested by Reuben Thomas <rrt@sc3d.org> in
11763 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11764
11765 2013-04-27 Leo Liu <sdl.web@gmail.com>
11766
11767 * progmodes/octave.el (octave-function-file-p)
11768 (octave-skip-comment-forward, octave-function-file-comment)
11769 (octave-update-function-file-comment): New functions.
11770 (octave-mode-map): Bind C-c ; to
11771 octave-update-function-file-comment.
11772 (octave-mode-menu): Add octave-update-function-file-comment.
11773 (octave-mode, inferior-octave-mode): Fix doc-string.
11774 (octave-insert-defun): Conform to Octave's coding convention.
11775 (Bug#14285)
11776
11777 * files.el (basic-save-buffer): Don't let errors in
11778 before-save-hook prevent saving buffer.
11779
11780 2013-04-20 Roland Winkler <winkler@gnu.org>
11781
11782 * faces.el (read-face-name): Use completing-read if arg multiple
11783 is nil.
11784
11785 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11786
11787 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11788 displayed, move point to after the totals line.
11789 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11790 for the details.
11791
11792 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11795 Add current dir to the load-path.
11796 (package-generate-autoloads): Don't rely on
11797 autoload-ensure-default-file.
11798
11799 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11800
11801 * textmodes/remember.el (remember-store-in-files): Document that
11802 the file name format is passed to `format-time-string'.
11803
11804 2013-04-26 Leo Liu <sdl.web@gmail.com>
11805
11806 * progmodes/octave.el (octave-sync-function-file-names): New function.
11807 (octave-mode): Use it in before-save-hook.
11808
11809 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11812 (bug#14274).
11813
11814 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11815 \n and comment, even if it's not an implicit ; (bug#14218).
11816
11817 2013-04-26 Glenn Morris <rgm@gnu.org>
11818
11819 * subr.el (read-number): Once more use `read' rather than
11820 `string-to-number', to trap non-numeric input. (Bug#14254)
11821
11822 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11823
11824 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11825 Use `syntax-multiline' text property consistently instead of
11826 `font-lock-multiline'. (Bug#14237)
11827
11828 2013-04-26 Glenn Morris <rgm@gnu.org>
11829
11830 * emacs-lisp/shadow.el (list-load-path-shadows):
11831 No longer necessary to check for duplicate simple.el, since
11832 2012-07-07 change to init_lread to not include installation lisp
11833 directories in load-path when running uninstalled. (Bug#14270)
11834
11835 2013-04-26 Leo Liu <sdl.web@gmail.com>
11836
11837 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11838 (octave-mode, inferior-octave-mode): Use setq-local.
11839 (octave-not-in-string-or-comment-p): Rename to
11840 octave-in-string-or-comment-p.
11841 (octave-in-comment-p, octave-in-string-p)
11842 (octave-in-string-or-comment-p): Replace defsubst with defun.
11843
11844 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11845
11846 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11847
11848 2013-04-25 Bastien Guerry <bzg@gnu.org>
11849
11850 * textmodes/remember.el (remember-data-directory)
11851 (remember-directory-file-name-format): Fix custom types.
11852
11853 2013-04-25 Leo Liu <sdl.web@gmail.com>
11854
11855 * progmodes/octave.el (octave-completion-at-point-function):
11856 Make use of inferior octave process.
11857 (octave-initialize-completions): Remove.
11858 (inferior-octave-completion-table): New function.
11859 (inferior-octave-completion-at-point): Use it.
11860 (octave-completion-alist): Remove.
11861
11862 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11865 (opascal-mode-syntax-table): New var.
11866 (opascal-literal-kind, opascal-is-literal-end)
11867 (opascal-literal-token-at): Rewrite.
11868 (opascal--literal-start-re, opascal-font-lock-keywords)
11869 (opascal--syntax-propertize): New constants.
11870 (opascal-font-lock-defaults): Adjust.
11871 (opascal-mode): Use them. Set comment-<foo> variables as well.
11872 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11873 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11874 (delphi-other-face, opascal-other-face): Remove face variables.
11875 (opascal-save-state): Remove macro.
11876 (opascal-fontifying-progress-step): Remove constant.
11877 (opascal--ignore-changes): Remove var.
11878 (opascal-set-token-property, opascal-parse-next-literal)
11879 (opascal-is-stable-literal, opascal-complete-literal)
11880 (opascal-is-literal-start, opascal-face-of)
11881 (opascal-parse-region, opascal-parse-region-until-stable)
11882 (opascal-fontify-region, opascal-after-change)
11883 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11884 (opascal-debug-parse-region, opascal-debug-parse-window)
11885 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11886 (opascal-debug-fontify-buffer): Remove.
11887 (opascal-debug-mode-map): Adjust accordingly.
11888
11889 2013-04-25 Leo Liu <sdl.web@gmail.com>
11890
11891 Merge octave-mod.el and octave-inf.el into octave.el with some
11892 cleanups.
11893 * progmodes/octave.el: New file renamed from octave-mod.el.
11894 * progmodes/octave-inf.el: Merged into octave.el.
11895 * progmodes/octave-mod.el: Renamed to octave.el.
11896
11897 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11898
11899 * textmodes/reftex-vars.el
11900 (reftex-label-ignored-macros-and-environments): New defcustom.
11901
11902 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11903
11904 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11907 (smie-indent-keyword): Improve the check to ensure that the next
11908 comment is really on the same line.
11909 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11910
11911 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11912 semi-colons if the line is not otherwise empty (bug#14218).
11913
11914 2013-04-25 Glenn Morris <rgm@gnu.org>
11915
11916 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11917
11918 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * progmodes/opascal.el (opascal-set-token-property): Rename from
11921 opascal-set-text-properties and only set `token' (bug#14134).
11922 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11923 (opascal-literal-text-properties): Remove.
11924 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11925 Adjust callers.
11926
11927 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11928
11929 * textmodes/remember.el (remember-handler-functions): Add an
11930 option for a new handler `remember-store-in-files'.
11931 (remember-data-directory, remember-directory-file-name-format):
11932 New options.
11933 (remember-store-in-files): New function to store remember notes
11934 as separate files within a directory.
11935
11936 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11937
11938 * progmodes/compile.el (compilation-next-error-function):
11939 Pass "formats" to compilation-find-file (bug#11777).
11940
11941 2013-04-24 Glenn Morris <rgm@gnu.org>
11942
11943 * vc/vc-bzr.el (vc-bzr-print-log):
11944 * vc/vc-hg.el (vc-hg-print-log):
11945 * vc/vc-svn.el (vc-svn-print-log):
11946 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11947
11948 * vc/vc-bzr.el (vc-bzr-print-log):
11949 * vc/vc-cvs.el (vc-cvs-print-log):
11950 * vc/vc-git.el (vc-git-print-log):
11951 * vc/vc-hg.el (vc-hg-print-log):
11952 * vc/vc-mtn.el (vc-mtn-print-log):
11953 * vc/vc-rcs.el (vc-rcs-print-log):
11954 * vc/vc-sccs.el (vc-sccs-print-log):
11955 * vc/vc-svn.el (vc-svn-print-log):
11956 * vc/vc.el (vc-print-log-internal): Doc fixes.
11957
11958 2013-04-23 Glenn Morris <rgm@gnu.org>
11959
11960 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11961 Remove venerable code attempting to avoid substitute-command-keys.
11962
11963 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11964
11965 * textmodes/reftex-vars.el (reftex-label-regexps):
11966 Call `reftex-compile-variables' after changes to this variable.
11967
11968 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11971 Use lexical-binding.
11972 (jit-lock-force-redisplay): Use markers, check buffer's continued
11973 existence and beware narrowed buffers.
11974 (jit-lock-fontify-now): Adjust call accordingly.
11975
11976 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11979 to avoid misleading the user.
11980
11981 2013-04-22 Leo Liu <sdl.web@gmail.com>
11982
11983 * info-look.el: Prefer latex2e.info. (Bug#14240)
11984
11985 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11986
11987 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11988
11989 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11990 * net/tramp.el (tramp-call-process): ... here.
11991 (tramp-set-completion-function, tramp-parse-putty):
11992 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11993 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11994 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11995 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11996 (tramp-call-local-coding-command): Use `tramp-call-process'
11997 instead of `tramp-compat-call-process'.
11998
11999 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12000 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12001 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12002 (tramp-find-inline-compress): Improve traces.
12003 (tramp-maybe-send-script): Check for Perl binary.
12004 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12005
12006 2013-04-22 Daiki Ueno <ueno@gnu.org>
12007
12008 * epg.el (epg-context-pinentry-mode): New function.
12009 (epg-context-set-pinentry-mode): New function.
12010 (epg--start): Pass --pinentry-mode option to gpg command.
12011
12012 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12013
12014 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12015 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12016 `completion-at-point'. (Bug#13774)
12017
12018 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12019 default key binding for `describe-distribution' has been moved to
12020 `C-h C-o'. (Bug#13970)
12021
12022 2013-04-21 Glenn Morris <rgm@gnu.org>
12023
12024 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12025 Add doc strings.
12026 (vc-print-log): Clarify interactive prompt.
12027
12028 2013-04-20 Glenn Morris <rgm@gnu.org>
12029
12030 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12031 No longer include timestamp etc information.
12032
12033 2013-04-20 Roland Winkler <winkler@gnu.org>
12034
12035 * faces.el (read-face-name): Bug fix, return just one face if arg
12036 multiple is nil. (Bug#14209)
12037
12038 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12041 (remove-function): Autoload.
12042
12043 * comint.el (comint-redirect-original-filter-function): Remove.
12044 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12045 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12046 (vc-cvs-annotate-command):
12047 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12048 * progmodes/prolog.el (prolog-consult-compile):
12049 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12050 Use add/remove-function instead.
12051 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12052 (gud-tooltip-process-output, gud-tooltip-tips):
12053 Use add/remove-function instead.
12054 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12055 (scheme-interaction-mode, exit-scheme-interaction-mode):
12056 Use add/remove-function instead.
12057
12058 * vc/vc-dispatcher.el: Use lexical-binding.
12059 (vc--process-sentinel): Rename from vc-process-sentinel.
12060 Change last arg to be the code to run. Don't use vc-previous-sentinel
12061 and vc-sentinel-commands any more.
12062 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12063 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12064
12065 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12066
12067 * progmodes/sh-script.el (sh-imenu-generic-expression):
12068 Handle function names with a single character. (Bug#14111)
12069
12070 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12071
12072 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12073 for subroutines defined in an eval (bug#14182).
12074
12075 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12076
12077 * bookmark.el (bookmark-completing-read): Improve handling of empty
12078 string (bug#14176).
12079
12080 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12081
12082 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12083
12084 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12085
12086 New faster Imenu implementation (bug#14058).
12087 * progmodes/python.el:
12088 (python-imenu-prev-index-position):
12089 (python-imenu-format-item-label-function)
12090 (python-imenu-format-parent-item-label-function)
12091 (python-imenu-format-parent-item-jump-label-function):
12092 New vars.
12093 (python-imenu-format-item-label)
12094 (python-imenu-format-parent-item-label)
12095 (python-imenu-format-parent-item-jump-label)
12096 (python-imenu--put-parent, python-imenu--build-tree)
12097 (python-imenu-create-index, python-imenu-create-flat-index)
12098 (python-util-popn): New functions.
12099 (python-mode): Set imenu-create-index-function to
12100 python-imenu-create-index.
12101
12102 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12103
12104 * winner.el (winner-active-region): Use region-active-p, activate-mark
12105 and deactivate-mark (bug#14225).
12106
12107 * simple.el (deactivate-mark): Don't inline it.
12108
12109 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12110
12111 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12112
12113 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12114
12115 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12116 file extensions from the archive-mode entry in order to prefer
12117 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12118
12119 2013-04-18 Leo Liu <sdl.web@gmail.com>
12120
12121 * bindings.el (help-event-list): Add ?\?.
12122
12123 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * subr.el (with-wrapper-hook): Declare obsolete.
12126 * simple.el (filter-buffer-substring-function): New hook.
12127 (filter-buffer-substring): Use it.
12128 (filter-buffer-substring-functions): Mark obsolete.
12129 * minibuffer.el (completion-in-region-function): New hook.
12130 (completion-in-region): Use it.
12131 (completion-in-region-functions): Mark obsolete.
12132 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12133 * abbrev.el (abbrev-expand-function): New hook.
12134 (expand-abbrev): Use it.
12135 (abbrev-expand-functions): Mark obsolete.
12136 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12137 and :filter-return.
12138
12139 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12140
12141 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12142 and do not care about match data.
12143
12144 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12147 completion tables when completing error conditions and
12148 `declare' arguments.
12149 (lisp-complete-symbol, field-complete): Mark as obsolete.
12150 (check-parens): Unmatched parens are user errors.
12151 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12152
12153 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12154
12155 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12156 command changed buffer (ie. `flyspell-pre-buffer' is not current
12157 buffer), which prevents making decisions based on invalid value of
12158 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12159 cause an error when `flyspell-pre-point' was nil after switching
12160 buffers.
12161 (flyspell-post-command-hook): No longer needs to change buffers when
12162 checking pre-word. While at it remove unnecessary progn.
12163
12164 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12165
12166 * textmodes/ispell.el (ispell-add-per-file-word-list):
12167 Fix `flyspell-correct-word-before-point' error when accepting
12168 words and `coment-padding' is an integer by using
12169 `comment-normalize-vars' (Bug #14214).
12170
12171 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12172
12173 New defun movement commands.
12174 * progmodes/python.el (python-nav--syntactically)
12175 (python-nav--forward-defun, python-nav-backward-defun)
12176 (python-nav-forward-defun): New functions.
12177
12178 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12179
12180 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12181 (python-syntax-context): Use named compiler-macro for backwards
12182 compatibility with Emacs 24.x.
12183
12184 2013-04-17 Leo Liu <sdl.web@gmail.com>
12185
12186 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12187 octave-hide-process-buffer.
12188
12189 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12190
12191 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12192 (bug#14216).
12193
12194 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12195
12196 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12197 Fix adjustment of offset when receiving incomplete responses from GDB
12198 (bug#14129).
12199
12200 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12203 python-mode-abbrev-table.
12204 (python-skeleton-define): Adjust accordingly.
12205 (python-mode-abbrev-table): New table that inherits from it so that
12206 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12207
12208 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12209 (abbrev-symbol): Use it.
12210 (abbrev--before-point): Use it since we already handle inheritance.
12211
12212 2013-04-16 Leo Liu <sdl.web@gmail.com>
12213
12214 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12215 binding to info-lookup-symbol.
12216
12217 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12218
12219 * minibuffer.el (completion--twq-all):
12220 * term/ns-win.el (ns-initialize-window-system):
12221 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12222
12223 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12224
12225 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12226 global bindings.
12227
12228 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12229
12230 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12231
12232 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12233 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12234 to nil.
12235 (ruby-end-of-defun): Remove the unused arg, change the docstring
12236 to reflect that this function is only used as the value of
12237 `end-of-defun-function'.
12238 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12239 to reflect an earlier change that beginning/end-of-defun functions
12240 jump between methods in a class definition, as well as top-level
12241 functions.
12242
12243 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * minibuffer.el (minibuffer-complete): Don't just scroll
12246 a *Completions* that's been iconified.
12247 (minibuffer-force-complete): Make sure repetitions do cycle when going
12248 through completion-in-region -> minibuffer-complete.
12249
12250 2013-04-15 Alan Mackenzie <acm@muc.de>
12251
12252 Correct the placement of c-cpp-delimiters when there're #s not at
12253 col 0.
12254
12255 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12256 place a submatch around the #.
12257 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12258 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12259 on the #, not BOL.
12260
12261 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12264 (advice--member-p): New arg `name'.
12265 (advice--add-function, advice-member-p): Use it (bug#14202).
12266
12267 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12268
12269 Reformulate java imenu-generic-expression.
12270 The old expression contained ill formed regexps.
12271
12272 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12273 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12274 (cc-imenu-java-method-arg-regexp): New defconsts.
12275 (cc-imenu-java-build-type-args-regex): New defun.
12276 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12277 handling of spaces in the regexp.
12278
12279 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12280
12281 * textmodes/ispell.el (ispell-command-loop): Remove
12282 flyspell highlight of a word when ispell accepts it (bug #14178).
12283
12284 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12285
12286 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12287 uses code from the previous `ange-ftp-run-real-handler'.
12288 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12289 only in case that function exist. This is needed for proper
12290 unloading of Tramp.
12291
12292 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12293
12294 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12295
12296 * textmodes/reftex.el (reftex-compile-variables): Use it.
12297
12298 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12299
12300 * files.el (normal-mode): Only use default major-mode if no other mode
12301 was specified.
12302
12303 * emacs-lisp/trace.el (trace-values): New function.
12304
12305 * files.el: Allow : in local variables (bug#14089).
12306 (hack-local-variable-regexp): New var.
12307 (hack-local-variables-prop-line, hack-local-variables): Use it.
12308
12309 2013-04-13 Roland Winkler <winkler@gnu.org>
12310
12311 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12312 data before it gets modified by bibtex-beginning-of-entry.
12313
12314 2013-04-13 Roland Winkler <winkler@gnu.org>
12315
12316 * textmodes/bibtex.el (bibtex-url): Doc fix.
12317
12318 2013-04-13 Roland Winkler <winkler@gnu.org>
12319
12320 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12321 does not visit a BibTeX file, exclude it from the list of buffers
12322 returned by bibtex-initialize.
12323
12324 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12325
12326 * window.el (split-window): Remove interactive form, since as a
12327 command this function is a special case of split-window-below.
12328 Correct doc string.
12329
12330 2013-04-12 Roland Winkler <winkler@gnu.org>
12331
12332 * faces.el (read-face-name): Do not override value of arg default.
12333 Allow single faces and strings as default values. Remove those
12334 elements from return value that are not faces.
12335 (describe-face): Simplify.
12336 (face-at-point): New optional args thing and multiple so that this
12337 function can provide the same functionality previously provided by
12338 read-face-name.
12339 (make-face-bold, make-face-unbold, make-face-italic)
12340 (make-face-unitalic, make-face-bold-italic, invert-face)
12341 (modify-face, read-face-and-attribute): Use face-at-point.
12342
12343 * cus-edit.el (customize-face, customize-face-other-window)
12344 * cus-theme.el (custom-theme-add-face)
12345 * face-remap.el (buffer-face-set)
12346 * facemenu.el (facemenu-set-face): Use face-at-point.
12347
12348 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12349
12350 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12351
12352 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12353
12354 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12355 off leading { and trailing } from field values.
12356
12357 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * emacs-lisp/timer.el (timer--check): New function.
12360 (timer--time, timer-set-function, timer-event-handler): Use it.
12361 (timer-set-idle-time): Simplify.
12362 (timer--activate): CSE.
12363 (timer-event-handler): Give more info in error message.
12364 (internal-timer-start-idle): New function, moved from C.
12365
12366 * mpc.el (mpc-proc): Add `restart' argument.
12367 (mpc-proc-cmd): Use it.
12368 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12369 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12370 less often.
12371
12372 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12373
12374 * progmodes/sh-script.el: Implement `sh-mode' own
12375 `add-log-current-defun-function' (bug#14112).
12376 (sh-current-defun-name): New function.
12377 (sh-mode): Use the function.
12378
12379 2013-04-09 Bastien Guerry <bzg@gnu.org>
12380
12381 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12382
12383 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12386
12387 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12388 timer (bug#14156).
12389
12390 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12391
12392 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12393 declaration.
12394
12395 2013-04-07 Leo Liu <sdl.web@gmail.com>
12396
12397 * pcmpl-x.el: New file.
12398
12399 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12400
12401 Do not set x-display-name until X connection is established.
12402 This is needed to prevent from weird situation described at
12403 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12404 * frame.el (make-frame): Set x-display-name after call to
12405 window system initialization function, not before.
12406 * term/x-win.el (x-initialize-window-system): Add optional
12407 display argument and use it.
12408 * term/w32-win.el (w32-initialize-window-system):
12409 * term/ns-win.el (ns-initialize-window-system):
12410 * term/pc-win.el (msdos-initialize-window-system):
12411 Add compatible optional display argument.
12412
12413 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12414
12415 * files.el (normal-backup-enable-predicate): On MS-Windows and
12416 MS-DOS compare truenames of temporary-file-directory and of the
12417 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12418 don't fail comparison by compare-strings. Also, compare file
12419 names case-insensitively on MS-Windows and MS-DOS.
12420
12421 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12422
12423 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12424 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12425
12426 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12427
12428 * whitespace.el (whitespace-color-on, whitespace-color-off):
12429 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12430
12431 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12432
12433 * ispell.el (ispell-set-spellchecker-params):
12434 Really set `ispell-args' for all equivs.
12435
12436 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12437
12438 * ido.el (ido-completions): Use extra elements of ido-decorations
12439 (bug#14143).
12440 (ido-decorations): Update docstring.
12441
12442 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12443
12444 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12445 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12446 nil during initialization, in order not to miss changes since the
12447 file was opened. (Bug#14140)
12448
12449 2013-04-05 Leo Liu <sdl.web@gmail.com>
12450
12451 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12452
12453 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12454
12455 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12456
12457 2013-04-04 Glenn Morris <rgm@gnu.org>
12458
12459 * electric.el (electric-pair-inhibit-predicate): Add :version.
12460
12461 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12464 when a package is required several times (bug#14082).
12465
12466 2013-04-04 Roland Winkler <winkler@gnu.org>
12467
12468 * faces.el (read-face-name): Behave as promised by the docstring.
12469 Assume that arg default is a list of faces.
12470 (describe-face): Call read-face-name with list of default faces.
12471
12472 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12473
12474 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12475 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12476 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12477 the header.
12478 (bookmark-exit-hook-internal): Save even if list is empty.
12479
12480 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12481
12482 * emacs-lisp/package.el (package-pinned-packages): New var.
12483 (package--add-to-archive-contents): Obey it (bug#14118).
12484
12485 2013-04-03 Alan Mackenzie <acm@muc.de>
12486
12487 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12488 Also adapt to the new values of element 7 of a parse state.
12489
12490 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12491 parameter `not-in-delimiter'. Handle being inside comment opener.
12492 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12493 character in case we're typing a '*' after a '/'.
12494 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12495 instead by passing the parameter to c-state-pp-to-literal.
12496
12497 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12498 for elt. 7 of a parse state.
12499
12500 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12501
12502 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12503 * international/latin1-disp.el, international/mule-util.el:
12504 * language/cyril-util.el, language/european.el, language/ind-util.el:
12505 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12506 * language/tibetan.el, language/viet-util.el:
12507 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12508
12509 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12512 (electric-pair-post-self-insert-function): Use it.
12513 (electric-pair-default-inhibit): New function, extracted from
12514 electric-pair-post-self-insert-function.
12515
12516 2013-03-31 Roland Winkler <winkler@gnu.org>
12517
12518 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12519
12520 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12523
12524 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12525
12526 Un-indent after "pass" and "return" statements (Bug#13888)
12527 * progmodes/python.el (python-indent-block-enders): New var.
12528 (python-indent-calculate-indentation): Use it.
12529
12530 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12531
12532 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12533 defun. Defining it as defalias could introduce too eager
12534 byte-compiler optimization. (Bug#14030)
12535
12536 2013-03-30 Chong Yidong <cyd@gnu.org>
12537
12538 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12539
12540 2013-03-30 Leo Liu <sdl.web@gmail.com>
12541
12542 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12543 (kmacro-execute-from-register): Pass the keyboard macro to
12544 kmacro-call-macro or repeating won't work correctly.
12545
12546 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12547
12548 * progmodes/subword.el: Back to using `forward-symbol'.
12549
12550 * subr.el (forward-whitespace, forward-symbol)
12551 (forward-same-syntax): Move from thingatpt.el.
12552
12553 2013-03-29 Leo Liu <sdl.web@gmail.com>
12554
12555 * kmacro.el (kmacro-to-register): New command.
12556 (kmacro-execute-from-register): New function.
12557 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12558
12559 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12560
12561 * mpc.el: Use defvar-local and setq-local.
12562 (mpc--proc-connect): Connection failures are not bugs.
12563 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12564 (mpc-volume-map): Bind to the up-events.
12565
12566 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12567
12568 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12569 instead of `forward-symbol'.
12570
12571 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12574 (edebug--recursive-edit): Use it.
12575 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12576 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12577
12578 2013-03-28 Leo Liu <sdl.web@gmail.com>
12579
12580 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12581
12582 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12583
12584 * facemenu.el (list-colors-callback): New defvar.
12585 (list-colors-redisplay): New function.
12586 (list-colors-display): Install list-colors-redisplay as the
12587 revert-buffer-function. (Bug#14063)
12588
12589 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12592 and suffixes don't overlap (bug#14061).
12593
12594 * case-table.el: Use lexical-binding.
12595 (case-table-get-table): New function.
12596 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12597
12598 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12599
12600 * progmodes/subword.el: Add `superword-mode' to do word motion
12601 over symbol_words (parallels and leverages `subword-mode' which
12602 does word motion inside MixedCaseWords).
12603
12604 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12605
12606 * eshell/em-unix.el: Move su and sudo to...
12607 * eshell/em-tramp.el: ...Eshell tramp module.
12608
12609 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12610
12611 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12612 Change return value to be a sexp. Delay `get-buffer' to after
12613 restoring the desktop (bug#13951).
12614
12615 2013-03-26 Leo Liu <sdl.web@gmail.com>
12616
12617 * register.el: Move semantic tag handling back to
12618 cedet/semantic/senator.el. (Bug#14052)
12619
12620 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12623 into the prompt either (bug#13963).
12624
12625 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12628 part of "(error-foo)".
12629
12630 2013-03-24 Juri Linkov <juri@jurta.org>
12631
12632 * replace.el (list-matching-lines-prefix-face): New defcustom.
12633 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12634 `occur-engine' if `face-differs-from-default-p' returns t.
12635 (occur-engine): Add `,' inside backquote construct to evaluate
12636 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12637 Pass `prefix-face' to the functions `occur-context-lines' and
12638 `occur-engine-add-prefix'.
12639 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12640 `prefix-face' and propertize the prefix with `prefix-face'.
12641 (Bug#14017)
12642
12643 2013-03-24 Leo Liu <sdl.web@gmail.com>
12644
12645 * nxml/rng-valid.el (rng-validate-while-idle)
12646 (rng-validate-quick-while-idle): Guard against deleted buffer.
12647 (Bug#13999)
12648
12649 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12650 is the last entry in kill-buffer-hook.
12651
12652 * files.el (kill-buffer-hook): Doc fix.
12653
12654 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12655
12656 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12657 Make it safe-local.
12658
12659 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12660
12661 2013-03-23 Leo Liu <sdl.web@gmail.com>
12662
12663 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12664 Remove.
12665
12666 * nxml/rng-valid.el (rng-validate-mode)
12667 (rng-after-change-function, rng-do-some-validation):
12668 * nxml/rng-maint.el (rng-validate-buffer):
12669 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12670 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12671 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12672 (nxml-extend-after-change-region): Use with-silent-modifications.
12673
12674 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12675 timer-idle-list.
12676
12677 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12678 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12679 timer-idle-list. (Bug#13999)
12680
12681 2013-03-23 Juri Linkov <juri@jurta.org>
12682
12683 * info.el (info-index-match): New face.
12684 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12685 main pattern and add text properties with the new face to matches
12686 in index entries relative to the beginning of the index entry.
12687 (Bug#14015)
12688
12689 2013-03-21 Eric Ludlam <zappo@gnu.org>
12690
12691 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12692 Inhibit read only while inserting objects.
12693
12694 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12695
12696 * progmodes/cfengine.el: Update docs to mention
12697 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12698 symbol motion. Remove "_" from the word syntax.
12699
12700 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12701
12702 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12703 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12704
12705 2013-03-20 Juri Linkov <juri@jurta.org>
12706
12707 * info.el (Info-next-reference-or-link)
12708 (Info-prev-reference-or-link): New functions.
12709 (Info-next-reference, Info-prev-reference): Use them.
12710 (Info-try-follow-nearest-node): Handle footnote navigation.
12711 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12712
12713 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12716 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12717
12718 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12719
12720 Suppress unnecessary non-ASCII chatter during build process.
12721 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12722 (batch-skkdic-convert): Suppress most of the chatter.
12723 It's not needed so much now that machines are faster,
12724 and its non-ASCII component was confusing; see Dmitry Gutov in
12725 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12726
12727 2013-03-20 Leo Liu <sdl.web@gmail.com>
12728
12729 * ido.el (ido-chop): Fix bug#10994.
12730
12731 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12732
12733 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12734 Remove vars.
12735 (whitespace-color-on, whitespace-color-off):
12736 Use `font-lock-fontify-buffer' (Bug#13817).
12737
12738 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12741 remapping in mode-line.
12742 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12743
12744 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12745
12746 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12747 value for `whitespace-line' face (Bug#13875).
12748 (whitespace-font-lock-keywords): Change description.
12749 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12750 the constructed keywords instead.
12751 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12752
12753 2013-03-19 Leo Liu <sdl.web@gmail.com>
12754
12755 * progmodes/compile.el (compilation-display-error): New command.
12756 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12757 C-o. (Bug#13992)
12758
12759 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12760
12761 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12762
12763 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12764
12765 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12766
12767 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12768
12769 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12770
12771 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12772 * net/tramp-gvfs.el (top):
12773 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12774 (tramp-handle-shell-command): Use it.
12775 (tramp-dissect-file-name): Raise an error when hostname is a
12776 method name, and neither method nor user is specified.
12777
12778 * net/trampver.el: Update release number.
12779
12780 2013-03-18 Leo Liu <sdl.web@gmail.com>
12781
12782 Make sure eldoc can be turned off properly.
12783 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12784 eldoc-mode.
12785 (eldoc-display-message-p): Revert last change.
12786 (eldoc-display-message-no-interference-p)
12787 (eldoc-print-current-symbol-info): Tweak.
12788
12789 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12790
12791 * doc-view.el (doc-view-new-window-function): Check the new window
12792 overlay's display property instead the char property of the
12793 buffer's first char. Use `with-selected-window' instead of
12794 `save-window-excursion' with `select-window'.
12795 (doc-view-document->bitmap): Check the current doc-view overlay's
12796 display property instead the char property of the buffer's first char.
12797
12798 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12799
12800 Automate the build of ja-dic.el (Bug#13984).
12801 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12802 from the input, rather than assume that it's been done for us by the
12803 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12804 the current date into a ja-dic.el comment, as that complicates
12805 regression testing.
12806
12807 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12808
12809 * whitespace.el: Fix double evaluation.
12810 (whitespace-space, whitespace-hspace, whitespace-tab)
12811 (whitespace-newline, whitespace-trailing, whitespace-line)
12812 (whitespace-space-before-tab, whitespace-indentation)
12813 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12814 obsolete defvars.
12815 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12816 (whitespace-color-on): Use a single font-lock-add-keywords call.
12817 Fix double-evaluation of face variables.
12818
12819 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12820
12821 * net/tramp-adb.el (tramp-adb-parse-device-names):
12822 Use `start-process' instead of `call-process'. Otherwise, the
12823 function might be blocked under MS Windows. (Bug#13299)
12824
12825 2013-03-17 Leo Liu <sdl.web@gmail.com>
12826
12827 Extend eldoc to display info in the mode-line. (Bug#13978)
12828 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12829 (eldoc-mode-line-string): New variable.
12830 (eldoc-minibuffer-message): New function.
12831 (eldoc-message-function): New variable.
12832 (eldoc-message): Use it.
12833 (eldoc-display-message-p)
12834 (eldoc-display-message-no-interference-p):
12835 Support eldoc-post-insert-mode.
12836
12837 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12838 (eval-expression): Run it.
12839
12840 2013-03-17 Roland Winkler <winkler@gnu.org>
12841
12842 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12843 strings in the list of return values.
12844
12845 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12846
12847 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12848 radix before checking for HMS forms.
12849
12850 2013-03-16 Leo Liu <sdl.web@gmail.com>
12851
12852 * progmodes/scheme.el: Add indentation and font-locking for λ.
12853 (Bug#13975)
12854
12855 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12858 token before point (bug#13942).
12859
12860 2013-03-16 Leo Liu <sdl.web@gmail.com>
12861
12862 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12863
12864 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12865
12866 * startup.el (command-line-normalize-file-name): Fix handling of
12867 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12868 <xfq.free@gmail.com> in
12869 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12870
12871 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12872
12873 Sync with Tramp 2.2.7.
12874
12875 * net/trampver.el: Update release number.
12876
12877 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12878
12879 * doc-view.el: Fix bug#13887.
12880 (doc-view-insert-image): Don't modify overlay associated to
12881 non-live windows, and implement horizontal centering of image in
12882 case it's smaller than the window.
12883 (doc-view-new-window-function): Force redisplay of new windows on
12884 doc-view buffers.
12885
12886 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12887
12888 * saveplace.el (save-place-alist-to-file): Don't sort
12889 `save-place-alist', just pretty-print it (bug#13882).
12890
12891 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12892
12893 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12894 Check whether `default-file-name-coding-system' is bound.
12895 It isn't in XEmacs.
12896
12897 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12900 backquotes for `obsolete' (bug#13929).
12901
12902 * international/mule.el (find-auto-coding): Include file name in
12903 obsolescence warning (bug#13922).
12904
12905 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12906
12907 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12908 for CFEngine 3-specific indentation.
12909 (cfengine3-indent-line): Use it. Fix up category regex.
12910 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12911
12912 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * type-break.el (type-break-file-name):
12915 * textmodes/remember.el (remember-data-file):
12916 * strokes.el (strokes-file):
12917 * shadowfile.el (shadow-initialize):
12918 * saveplace.el (save-place-file):
12919 * ps-bdf.el (bdf-cache-file):
12920 * progmodes/idlwave.el (idlwave-config-directory):
12921 * net/quickurl.el (quickurl-url-file):
12922 * international/kkc.el (kkc-init-file-name):
12923 * ido.el (ido-save-directory-list-file):
12924 * emulation/viper.el (viper-custom-file-name):
12925 * emulation/vip.el (vip-startup-file):
12926 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12927 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12928
12929 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12930
12931 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12932 * language/thai-word.el: Switch to UTF-8.
12933
12934 See ChangeLog.16 for earlier changes.
12935
12936 ;; Local Variables:
12937 ;; coding: utf-8
12938 ;; End:
12939
12940 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12941
12942 This file is part of GNU Emacs.
12943
12944 GNU Emacs is free software: you can redistribute it and/or modify
12945 it under the terms of the GNU General Public License as published by
12946 the Free Software Foundation, either version 3 of the License, or
12947 (at your option) any later version.
12948
12949 GNU Emacs is distributed in the hope that it will be useful,
12950 but WITHOUT ANY WARRANTY; without even the implied warranty of
12951 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12952 GNU General Public License for more details.
12953
12954 You should have received a copy of the GNU General Public License
12955 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.