Replace some colons in Texinfo index entries
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2
3 * emacs-lisp/lisp.el (lisp-completion-at-point): Use
4 `completion-table-merge' instead of `completion-table-in-turn'
5 (bug#16604).
6
7 * minibuffer.el (completion-table-merge): New function.
8
92014-02-05 Michael Albinus <michael.albinus@gmx.de>
10
11 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12 (tramp-sh-handle-set-file-acl)
13 (tramp-sh-handle-start-file-process)
14 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
15 (tramp-find-executable, tramp-send-command): Use it.
16
172014-02-05 Glenn Morris <rgm@gnu.org>
18
19 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
20
212014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
22
23 * progmodes/python.el (python-shell-send-string):
24 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
25
262014-02-04 Anders Lindgren <andlind@gmail.com>
27
28 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
29 the names (bug#16620).
30
312014-02-03 Martin Rudalics <rudalics@gmx.at>
32
33 * faces.el (window-divider): New default value. Rewrite doc-string.
34 (window-divider-first-pixel, window-divider-last-pixel): New faces.
35
362014-02-03 Dmitry Gutov <dgutov@yandex.ru>
37
38 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
39 `protected' and `public' can also be called without arguments.
40
412014-02-03 Glenn Morris <rgm@gnu.org>
42
43 * register.el (window-configuration-to-register)
44 (frame-configuration-to-register): Unadvertise unused argument.
45 * frameset.el (frameset-to-register): Remove unused argument.
46
47 * kmacro.el (kmacro-to-register):
48 * register.el (increment-register):
49 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
50 (calc-append-to-register, calc-prepend-to-register):
51 * play/gametree.el (gametree-layout-to-register)
52 (gametree-apply-register-layout):
53 * textmodes/picture.el (picture-clear-rectangle-to-register)
54 (picture-yank-rectangle-from-register):
55 * vc/emerge.el (emerge-combine-versions-register):
56 Use register-read-with-preview to read registers.
57
582014-02-03 João Távora <joaotavora@gmail.com>
59
60 * elec-pair.el (electric-pair-backward-delete-char): Don't error
61 when at beginning of (possibly narrowed) buffer.
62
632014-02-02 Daniel Colascione <dancol@dancol.org>
64
65 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
66 Also try to display local help from just before point.
67
682014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
69
70 c-parse-state. Don't "append-lower-brace-pair" in certain
71 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
72 recognised as a comment.
73
74 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
75 as well as normal comment starter.
76 (c-parse-state-get-strategy): Extra return possibility
77 'back-and-forward.
78 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
79 return value list to indicate replacement of a brace-pair cons
80 with its car.
81 (c-parse-state-1): With 'back-and-forward, only call
82 c-append-lower-brace-pair-to state-cache when cons-separated.
83
842014-02-02 Jan Djärv <jan.h.d@swipnet.se>
85
86 * term/ns-win.el (ns-suspend-error): New function.
87 (ns-initialize-window-system): Add ns-suspend-error to
88 suspend-hook (Bug#16612).
89
902014-02-02 Daniel Colascione <dancol@dancol.org>
91
92 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
93
942014-02-02 Daniel Colascione <dancol@dancol.org>
95
96 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
97
982014-02-02 Glenn Morris <rgm@gnu.org>
99
100 * register.el (register-read-with-preview, point-to-register)
101 (window-configuration-to-register, frame-configuration-to-register)
102 (jump-to-register, number-to-register, view-register, insert-register)
103 (copy-to-register, append-to-register, prepend-to-register)
104 (copy-rectangle-to-register): Doc fixes.
105
1062014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
109 * emacs-lisp/find-func.el (find-function-C-source): Idem.
110 * emacs-lisp/nadvice.el (advice--cd*r): New function.
111 * help-fns.el (describe-function-1): Use it.
112
1132014-02-02 Glenn Morris <rgm@gnu.org>
114
115 * register.el (register-preview-default): New function,
116 split from register-preview.
117 (register-preview-function): Rename from register-preview-functions,
118 make it not a hook.
119 (register-preview): Use register-preview-function.
120 (register-read-with-preview): Error on non-character event. (Bug#16595)
121
1222014-02-01 Dmitry Gutov <dgutov@yandex.ru>
123
124 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
125 `:' before binary operators (bug#16609). Don't check for `:'
126 before `[' and `(', or their syntax status. A percent literal
127 can't end with either.
128 (ruby-font-lock-keywords): For built-ins that require arguments,
129 check that they're followed by something that looks like argument
130 (bug#16610).
131
1322014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
133
134 * subr.el (butlast): Document what an omitted N means (bug#13437).
135 (nbutlast): Ditto.
136
1372014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
138
139 * net/shr.el (shr-generic): Make into a defsubst to make the stack
140 depth shallower (bug#16587).
141 (shr-tag-svg): Respect `shr-inhibit-images'.
142 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
143
1442014-01-31 Dmitry Gutov <dgutov@yandex.ru>
145
146 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
147 (ruby-smie-grammar): Make "." right-associative. Make its priority
148 lower than the ternary and all binary operators.
149 (ruby-smie-rules): Indent "(" relative to the first non-"."
150 parent, or the first "." parent at indentation.
151 Use `ruby-align-chained-calls' for indentation of "." tokens.
152 (Bug#16593)
153
1542014-01-31 Juri Linkov <juri@jurta.org>
155
156 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
157 from `make-hash-table'.
158
159 * textmodes/ispell.el (ispell-init-process): Change message format
160 to be consistent with other messages.
161
1622014-01-31 Glenn Morris <rgm@gnu.org>
163
164 * delsel.el (delete-selection-mode): Doc fix.
165
166 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
167 (trace-function-background): Doc fixes.
168
169 * ido.el (ido-use-virtual-buffers): Doc fix.
170 Reset :version, since the default value has not changed.
171
172 * register.el (register-preview-delay, register-read-with-preview):
173 Doc fixes.
174
175 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
176 do not mess with mail-buffer position (fixes 2009-11-03 change).
177 * progmodes/cc-mode.el (c-submit-bug-report):
178 Check auto-fill-mode is bound. (Bug#16592)
179
1802014-01-31 Darren Hoo <darren.hoo@gmail.com>
181
182 * startup.el (fancy-splash-image-file): New function,
183 split from fancy-splash-head.
184 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
185 so that we are both using the same image. (Bug#16574)
186
1872014-01-30 Glenn Morris <rgm@gnu.org>
188
189 * simple.el (eval-expression): Doc fix.
190
191 * hexl.el (hexl-mode-hook):
192 * ielm.el (ielm-mode-hook):
193 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
194 (lisp-interaction-mode-hook):
195 * progmodes/cfengine.e (cfengine3-documentation-function):
196 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
197
1982014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
201 is a symbol (bug#16584).
202
2032014-01-30 Glenn Morris <rgm@gnu.org>
204
205 * help.el (help-for-help-internal): Add "P" to text.
206
2072014-01-29 Glenn Morris <rgm@gnu.org>
208
209 * simple.el (just-one-space, cycle-spacing): Doc fixes.
210
2112014-01-28 Martin Rudalics <rudalics@gmx.at>
212
213 * window.el (fit-frame-to-buffer): Fix calculations for margins and
214 height constraints.
215
2162014-01-28 Luke Lee <luke.yx.lee@gmail.com>
217
218 * progmodes/hideif.el: Extend to full CPP expression syntax.
219 (hif-token-alist): Add missing tokens.
220 (hif-token-regexp): Add support for float/octal/hex immediates.
221 (hif-string-literal-regexp): New const.
222 (hif-tokenize): Recognize strings and float/octal/hex immediates.
223 (hif-exprlist): New function.
224 (hif-parse-if-exp): Use it.
225 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
226 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
227 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
228 (hif-logxor, hif-comma): New functions.
229
2302014-01-28 Glenn Morris <rgm@gnu.org>
231
232 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
233
234 * indent.el (tab-stop-list): Doc fix. Add :version.
235
236 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
237 (cvs-append-to-ignore): Add compatibility alias.
238
2392014-01-27 Glenn Morris <rgm@gnu.org>
240
241 * dired.el (dired-hide-details-mode): Don't autoload it,
242 since it cannot be used outside Dired buffers anyway.
243
244 * emulation/cua-base.el (cua-mode): Doc fix.
245
246 * dired.el (dired-hide-details-hide-symlink-targets)
247 (dired-hide-details-hide-information-lines)
248 (dired-hide-details-mode): Doc fixes.
249
250 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
251 * strokes.el (strokes-file): Doc fix. Bump :version.
252 (strokes-help): Doc fix.
253 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
254 * emulation/viper.el (viper): Doc fix for custom group.
255 (top-level): Remove oh-so-no-longer-relevant text about vip.
256 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
257
258 * ido.el (ido-save-directory-list-file):
259 * saveplace.el (save-place-file):
260 * calendar/timeclock.el (timeclock-file):
261 * net/quickurl.el (quickurl-url-file):
262 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
263 * progmodes/idlwave.el (idlwave-config-directory):
264 * textmodes/remember.el (remember-data-file):
265 Bump :version.
266
2672014-01-26 Glenn Morris <rgm@gnu.org>
268
269 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
270 Doc fix. Make obsolete.
271 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
272
273 * sort.el (delete-duplicate-lines): Doc fix.
274
2752014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
276
277 * progmodes/ada-mode.el (ada):
278 * woman.el (woman): Link to info manual and Commentary section.
279
280 * progmodes/flymake.el (flymake):
281 * nxml/nxml-mode.el (nxml):
282 * net/eww.el (eww):
283 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
284 * htmlfontify.el (htmlfontify):
285 * ses.el (ses):
286 * epa.el (epa):
287 * ido.el (ido): Link to info manual.
288
2892014-01-25 Leo Liu <sdl.web@gmail.com>
290
291 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
292
2932014-01-25 Adam Sjøgren <asjo@koldfront.dk>
294
295 * net/shr.el (shr-tag-img): Prefer the title over the alt text
296 (bug#16537).
297
2982014-01-24 Juanma Barranquero <lekktu@gmail.com>
299
300 * net/eww.el (eww-download-callback):
301 Fix reference to eww-download-directory.
302
303 * emacs-lisp/bytecomp.el (byte-compile-file):
304 Remove unused local variable `file-name'.
305
3062014-01-24 Glenn Morris <rgm@gnu.org>
307
308 * woman.el (woman-default-faces, woman-monochrome-faces):
309 Fix obsolescence specification.
310
311 * subr.el (with-demoted-errors): Doc fix.
312
3132014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
316 (cl--macroexp-fboundp): New function.
317 (cl--make-type-test): Use it.
318
3192014-01-23 Glenn Morris <rgm@gnu.org>
320
321 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
322 * simple.el (eval-expression): Doc fixes.
323
3242014-01-22 Glenn Morris <rgm@gnu.org>
325
326 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
327
3282014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * emacs-lisp/package.el: Write files silently.
331 (package-autoload-ensure-default-file, package--write-file-no-coding)
332 (package-generate-description-file, package--download-one-archive)
333 (package-install-from-archive): Tell `write-region' to stay quiet.
334 (package-menu-mode, package-menu--print-info): Omit the Archive column
335 if there's only one archive.
336 (package-all-keywords, package--has-keyword-p): Remove dead code.
337
3382014-01-22 Glenn Morris <rgm@gnu.org>
339
340 * version.el (emacs-bzr-version-bzr): Fix typo.
341
342 * version.el (emacs-repository-get-version):
343 Check either .bzr or .git, but not both.
344 Make the git case actually use the DIR argument, and return nil
345 rather than the empty string.
346 Avoid error if .git exists but the git executable is not found.
347
3482014-01-22 Martin Rudalics <rudalics@gmx.at>
349
350 Fixes in window size functions around Bug#16430 and Bug#16470.
351 * window.el (window-total-size, window-size): New argument ROUND.
352 (window--min-delta-1, window-min-delta, window--max-delta-1):
353 Be more conservative when calculating the numbers of lines or
354 columns a window can shrink (Bug#16430).
355 (fit-window-to-buffer): Simplify code.
356 * term.el (term-window-width): Call window-body-width again.
357
3582014-01-22 Glenn Morris <rgm@gnu.org>
359
360 * image.el (image-format-suffixes): Doc fix.
361
362 * international/quail.el (quail-define-package): Doc fix.
363
364 * emacs-lisp/authors.el (authors-valid-file-names):
365 (authors-renamed-files-alist): Additions.
366
367 * vc/vc-git.el (vc-git-print-log): Remove --follow;
368 reverts 2014-01-09 change. (Bug#16422)
369
370 * calc/calc-embed.el (thing-at-point-looking-at):
371 * emacs-lisp/map-ynp.el (x-popup-dialog):
372 * obsolete/lmenu.el (x-popup-dialog):
373 * emacs-lisp/package.el (url-recreate-url):
374 * mail/mailclient.el (clipboard-kill-ring-save):
375 * subr.el (x-popup-dialog): Update declaration.
376 * mail/rmail.el (rmail-mime-message-p):
377 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
378
3792014-01-21 Daniel Colascione <dancol@dancol.org>
380
381 * progmodes/sh-script.el (sh--inside-noncommand-expression):
382 Correctly detect when we're inside an arithmetic expansion form
383 containing nested parenthesis.
384 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
385 to detect cases where we shouldn't expand "<<" to a heredoc
386 skeleton.
387
3882014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
391 (eldoc--message-command-p): New function.
392 (eldoc-display-message-p): Use it.
393 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
394 message is not automatically erased for us.
395 (eldoc-print-current-symbol-info): Erase previous message, if any.
396
3972014-01-21 Tassilo Horn <tsdh@gnu.org>
398
399 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
400 specify it's an interactive function.
401
402 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
403 Fix regex used for scanning for citation keys which failed for
404 citations with optional arguments.
405
4062014-01-21 Leo Liu <sdl.web@gmail.com>
407
408 * simple.el (read--expression): Don't enable eldoc-mode.
409
4102014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * simple.el (move-beginning-of-line): Make sure we don't move forward
413 (bug#16497).
414
4152014-01-20 Juri Linkov <juri@jurta.org>
416
417 * saveplace.el (toggle-save-place, save-place-to-alist)
418 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
419 'dired-mode) before checking for dired-directory. (Bug#16477)
420
4212014-01-20 Juri Linkov <juri@jurta.org>
422
423 * indent.el (indent-line-to): Use backward-to-indentation
424 instead of back-to-indentation. (Bug#16461)
425
4262014-01-20 Paul Eggert <eggert@cs.ucla.edu>
427
428 Revert some of the CANNOT_DUMP fix (Bug#16494).
429 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
430 but fixing this can wait until after the next release.
431 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
432
4332014-01-19 Michael Albinus <michael.albinus@gmx.de>
434
435 * eshell/esh-mode.el (eshell-password-prompt-regexp):
436 Use `password-word-equivalents'.
437 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
438 to t. (Bug#5664, Bug#13124)
439
4402014-01-19 Alan Mackenzie <acm@muc.de>
441
442 Bind open-paren-in-column-0-is-defun-start to nil at some entry
443 points.
444 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
445 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
446 * progmodes/cc-mode.el (c-before-change, c-after-change)
447 (c-font-lock-fontify-region): Bind it here.
448
4492014-01-19 Martin Rudalics <rudalics@gmx.at>
450
451 * term.el (term-window-width): Call window-text-width instead of
452 window-width (Bug#16470).
453
4542014-01-18 Paul Eggert <eggert@cs.ucla.edu>
455
456 * simple.el (password-word-equivalents): Remove duplicates.
457 Sort, to make this easier next time.
458 Downcase. Omit ": " after "jelszó".
459
4602014-01-18 Jan Djärv <jan.h.d@swipnet.se>
461
462 * term/common-win.el (saved-region-selection): Defvar it.
463 (x-select-text): Set saved-region-selection (Bug#16382).
464
4652014-01-18 Glenn Morris <rgm@gnu.org>
466
467 * emacs-lisp/authors.el (authors-aliases)
468 (authors-renamed-files-alist): Add some entries.
469
4702014-01-17 Michael Albinus <michael.albinus@gmx.de>
471
472 * net/tramp.el (tramp-password-prompt-regexp):
473 Use `password-word-equivalents' if available.
474 (tramp-action-password, tramp-process-one-action)
475 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
476
4772014-01-17 Chong Yidong <cyd@gnu.org>
478
479 * simple.el (password-word-equivalents): New defcustom.
480 * comint.el (comint-password-prompt-regexp): Use it. Bump version
481 to 24.4.
482 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
483 to t. (Bug#13124)
484
4852014-01-17 Dmitry Gutov <dgutov@yandex.ru>
486
487 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
488 (ruby-align-to-stmt-keywords): Change the default value.
489 Use `ruby-alignable-keywords' to generate the possible customization
490 choices.
491 (ruby-smie-rules): Instead of using a hardcoded list of alignable
492 keywords, check against the value of `ruby-alignable-keywords'
493 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
494
4952014-01-17 Glenn Morris <rgm@gnu.org>
496
497 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
498
499 Make M-x authors return zero *Authors Errors* from current logs.
500 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
501 (authors-ignored-files): Add some entries, remove others.
502 (authors-ambiguous-files, authors-valid-file-names):
503 Add some entries.
504 (authors-renamed-files-alist): Add, remove, and adjust entries.
505 (authors-renamed-files-regexps): Add some entries.
506 Remove some very broad ones. Make some entries `lax'.
507 (authors-lax-changelogs): New constant.
508 (authors-disambiguate-file-name): Treat top-level specially.
509 (authors-lax-changelog-p): New function.
510 (authors-canonical-file-name): Check file as written against
511 authors-valid-file-names. Do not special-case etc/.
512 Handle `lax' logs and authors-renamed-files-regexps elements.
513
5142014-01-16 Dmitry Gutov <dgutov@yandex.ru>
515
516 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
517 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
518 callers.
519
5202014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
523 Assume we're already in the proper buffer.
524 Inspired by Anders Lindgren <andlind@gmail.com>.
525 (follow-post-command-hook): Call it from the right buffer.
526 (follow-comint-scroll-to-bottom): Adjust call.
527 (follow-all-followers): Use get-buffer-window-list.
528
5292014-01-15 Daniel Colascione <dancol@dancol.org>
530
531 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
532 `buffer-file-name' in interactive-form so that we don't leave
533 pathless file names in `file-name-history'.
534
5352014-01-15 Juri Linkov <juri@jurta.org>
536
537 * indent.el (indent-rigidly): Set deactivate-mark to nil
538 in transient indentation mode. (Bug#16438)
539
5402014-01-15 Dmitry Gutov <dgutov@yandex.ru>
541
542 * emacs-lisp/package.el (package-desc-keywords): New function
543 (Bug#16222).
544 (describe-package-1, package-all-keywords)
545 (package--has-keyword-p): Use it.
546
5472014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
548
549 * simple.el (define-alternatives): When creating the
550 COMMAND-alternatives variable, assign COMMAND as its definition
551 name so that `describe-variable' can relocate it.
552
5532014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
554
555 * font-lock.el (font-lock-keywords): Fix typo in docstring
556 (bug#16307).
557
5582014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
559
560 * ispell.el (ispell-region): Reset `in-comment' for new line
561 instead of wrongly reset `add-coment' (bug#13577).
562
5632014-01-14 Daiki Ueno <ueno@gnu.org>
564
565 * epa-file.el (epa-file-write-region): Encode the region according
566 to `buffer-file-format'. Problem reported at:
567 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
568
5692014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
572 so it applies in the right buffer (bug#16410).
573
5742014-01-13 Daniel Colascione <dancol@dancol.org>
575
576 * textmodes/rst.el (rst-define-key): Provide deprecated
577 keybindings through named functions instead of anonymous ones so
578 that "??" doesn't appear in describe-mode output.
579
5802014-01-13 Bastien Guerry <bzg@gnu.org>
581
582 * simple.el (define-alternatives): Call the selected command
583 interactively. When setting `COMMAND--implementation' for the
584 first time, tell the user how to chose another implementation.
585 Enhance the docstring.
586
5872014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
590 (log-edit--match-first-line): New function.
591 (log-edit-font-lock-keywords): Use it.
592 (log-edit-mode): Make jit-lock-defer-multiline work.
593
5942014-01-13 Bastien Guerry <bzg@gnu.org>
595
596 * rect.el (rectangle-mark-mode): When the region is not active,
597 display a message saying that the mark as been set and that
598 rectangle mode is in use.
599 (rectangle--highlight-for-redisplay): Only put an overlay with a
600 visible vertical bar when (display-graphic-p) is non-nil.
601 This partially fixes Bug#16403.
602
6032014-01-13 Juri Linkov <juri@jurta.org>
604
605 * info.el (Info-find-file): Go to DIR before displaying the error
606 about a nonexistent file if no previous Info file is visited.
607 Use `user-error' instead of `error' for "Info file %s does not exist".
608 (Info-find-node-2): In case of a nonexistent node in unwind forms
609 go to the Top node if there is no previous node to revert to.
610 (Bug#16405)
611
6122014-01-13 Martin Rudalics <rudalics@gmx.at>
613
614 fit-frame/window-to-buffer code fixes including one for Bug#14096.
615 * window.el (fit-frame-to-buffer): Fix doc-string.
616 Respect window-min-height/-width. Fit pixelwise when
617 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
618 when avoiding that frame goes partially off-screen.
619 (fit-window-to-buffer): Respect window-min-height/-width
620 (Bug#14096).
621
6222014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
625 after an empty line.
626
6272014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * net/shr.el (shr-render-region): Autoload.
630
6312014-01-12 Xue Fuqiao <xfq.free@gmail.com>
632
633 * net/eww.el (eww-download-directory): Rename from
634 `eww-download-path' (Bug#16419).
635
6362014-01-12 Leo Liu <sdl.web@gmail.com>
637
638 * dired-x.el (dired-mode-map): Fix last change.
639
640 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
641
6422014-01-12 Paul Eggert <eggert@cs.ucla.edu>
643
644 Spelling fixes.
645 * emacs-lisp/generic.el (generic--normalize-comments):
646 Rename from generic--normalise-comments. All uses changed.
647 * play/bubbles.el (bubbles--neighborhood-score):
648 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
649 (bubbles--neighborhood-available)
650 (bubbles--update-neighborhood-score):
651 Rename from names with 'neighbourhood'. All uses changed.
652
6532014-01-12 Leo Liu <sdl.web@gmail.com>
654
655 Re-implement the feature of showing eldoc info after editing.
656 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
657 (eldoc-edit-message-commands): New function.
658 (eldoc-print-after-edit): New variable.
659 (eldoc-pre-command-refresh-echo-area): Emit message only by
660 eldoc-message-commands.
661 (eldoc-mode): Restrict eldoc-message-commands to editing commands
662 if eldoc-print-after-edit is set. (Bug#16346)
663 * simple.el (read--expression): Enable eldoc-mode.
664 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
665
6662014-01-11 Dani Moncayo <dmoncayo@gmail.com>
667 Eric S. Raymond <esr@thyrsus.com>
668
669 * version.el (emacs-repository-get-version): Enhance so the
670 function works correctly in either a Bazaar or Git repo.
671
6722014-01-11 Eric S. Raymond <esr@thyrsus.com>
673
674 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
675 Goes with removal of the joke manpages from /etc.
676
6772014-01-10 K. Handa <handa@gnu.org>
678
679 * mail/rmail.el (rmail-get-coding-system):
680 Check rmail-get-coding-function before "funcall"ing it.
681
6822014-01-10 Glenn Morris <rgm@gnu.org>
683
684 * emacs-lisp/authors.el (authors-fixed-entries):
685 Update for files that no longer exist.
686
6872014-01-10 Eric S. Raymond <esr@thyrsus.com>
688
689 * version.el (emacs-bzr-get-version): Restore compatibilty with
690 24.3 (Tested).
691
6922014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
693
694 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
695 and Podfile.
696
6972014-01-10 Eli Zaretskii <eliz@gnu.org>
698
699 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
700
7012014-01-10 Chong Yidong <cyd@gnu.org>
702
703 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
704
7052014-01-10 Anders Lindgren <andlind@gmail.com>
706
707 * follow.el (follow-cache-command-list): Include right-char and
708 left-char.
709
7102014-01-10 Paul Eggert <eggert@cs.ucla.edu>
711
712 Spelling fixes.
713 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
714 * woman.el (woman-mark-horizontal-position):
715 Rename from woman-mark-horizonal-position. Use changed.
716
7172014-01-10 Glenn Morris <rgm@gnu.org>
718
719 * info.el (info-initialize): If running uninstalled, ensure our
720 own info files are always found first, even if INFOPATH is set.
721
722 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
723
7242014-01-09 David Engster <deng@randomsample.de>
725
726 * emacs-lisp/eieio-custom.el:
727 * emacs-lisp/eieio-opt.el: Set generated autoload file to
728 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
729 * emacs-lisp/eieio.el: Regenerate autoloads.
730
7312014-01-09 Eric S. Raymond <esr@thyrsus.com>
732
733 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
734 following renames. (Bug#8756)
735
7362014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
739 (bug#16382).
740 (activate-mark): Add `no-tmm' argument.
741 (set-mark, push-mark-command): Use it instead of running
742 activate-mark-hook by hand.
743
7442014-01-08 Eric S. Raymond <esr@thyrsus.com>
745
746 In preparation for the move to git, sanitize out some
747 Bazaar-specific names.
748
749 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
750
751 * version.el (emacs-bzr-version): Name changed to
752 emacs-repository-version. Obsolete-variable alias made.
753 * loadup.el: Follow through on this name change.
754 * mail/emacsbug.el (report-emacs-bug): Factor out any
755 assumption about the version control system in use.
756
7572014-01-08 David Engster <deng@randomsample.de>
758
759 * help-fns.el (help-fns-describe-function-functions):
760 New variable to call functions for augmenting help buffers.
761 (describe-function-1): Remove explicit calls to
762 `help-fns--compiler-macro', `help-fns--parent-mode' and
763 `help-fns--obsolete'. Put them in above new variable instead, and
764 call them through `run-hook-with-args'.
765 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
766 `eieio-describe-class'. Not meant for interactive use anymore,
767 but to augment existing help buffers. Remove optional second
768 argument. Create proper button for file location.
769 Rewrite function to use `insert' instead of `princ' and `prin1' where
770 possible.
771 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
772 (eieio-method-def, eieio-class-def): Move further up.
773 (describe-method, describe-generic, eieio-describe-method):
774 Remove aliases.
775 (eieio-help-constructor, eieio-help-generic): Rename from
776 `eieio-describe-constructor' and `eieio-describe-generic', resp.
777 Rewrite to use `insert' in the current buffer and use proper help
778 buttons.
779 (eieio-help-find-method-definition)
780 (eieio-help-find-class-definition): Also accept symbols as
781 arguments.
782 (eieio-help-mode-augmentation-maybee): Remove.
783 (eieio-describe-class-sb): Use `describe-function'.
784 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
785 Add `eieio-help-generic' and `eieio-help-constructor'.
786
7872014-01-08 Paul Eggert <eggert@cs.ucla.edu>
788
789 Spelling fixes.
790 * language/china-util.el (hz-ascii-designation):
791 Rename from hz-ascii-designnation.
792 (hz-ascii-designation): Rename from hz-ascii-designnation.
793 All uses changed.
794
7952014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
798 package-alist.
799
8002014-01-08 Bastien Guerry <bzg@gnu.org>
801
802 * emacs-lisp/package.el (package-delete):
803 Correctly delete the package from package-alist.
804
8052014-01-08 Daiki Ueno <ueno@gnu.org>
806
807 * emacs-lisp/package.el (url-recreate-url): Declare.
808 (url-http-target-url): Declare.
809 (package-handle-response): Include requested URL in the error message.
810 (package--check-signature): Don't re-signal errors from
811 package--with-work-buffer. Suggested by Stefan Monnier.
812
8132014-01-07 Bastien Guerry <bzg@gnu.org>
814
815 * minibuffer.el (completion--try-word-completion): When both a
816 hyphen and a space are possible candidates for the character
817 following a word, display both candidates. (Bug#15980)
818
8192014-01-07 Martin Rudalics <rudalics@gmx.at>
820
821 * window.el (balance-windows-2): While rounding don't give a
822 window more than the remainder. Bug#16351, Bug#16383.
823
8242014-01-07 Glenn Morris <rgm@gnu.org>
825
826 * menu-bar.el (menu-bar-help-extra-packages): Remove.
827 (menu-bar-help-menu): Use view-external-packages instead.
828
8292014-01-07 Bastien Guerry <bzg@gnu.org>
830
831 * emacs-lisp/package.el (package-delete): Also delete the package
832 name from `package-alist', not its description only.
833
8342014-01-07 Glenn Morris <rgm@gnu.org>
835
836 * help.el (view-external-packages):
837 * menu-bar.el (menu-bar-help-extra-packages):
838 Visit efaq.info rather than etc/MORE.STUFF.
839
8402014-01-07 Juri Linkov <juri@jurta.org>
841
842 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
843 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
844
845 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
846 that shadows RET. (Bug#16342)
847
8482014-01-07 Chong Yidong <cyd@gnu.org>
849
850 * isearch.el (isearch-yank-char, isearch-yank-word)
851 (isearch-yank-line): Doc fix.
852
8532014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
854
855 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
856 * emacs-lisp/elint.el (elint-find-builtins):
857 * emacs-lisp/eldoc.el (eldoc-symbol-function):
858 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
859 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
860 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
861 * apropos.el (apropos-safe-documentation):
862 * subr.el (symbol-file): Remove redundant fboundp.
863 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
864
8652014-01-06 Bastien Guerry <bzg@gnu.org>
866
867 * hl-line.el (global-hl-line-overlay): Make a local variable.
868 (global-hl-line-overlays): New variable to store all overlays.
869 (global-hl-line-mode): Don't delete overlays from the current
870 buffer when `global-hl-line-sticky-flag' is non-nil.
871 (global-hl-line-highlight): Add new overlays to
872 `global-hl-line-overlays'.
873 (global-hl-line-unhighlight-all): New function to delete all
874 overlays when turning off `global-hl-line-mode'.
875 This fixes Bug#16183.
876
8772014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * subr.el (set-transient-map): Fix nested case and docstring.
880
8812014-01-06 Tassilo Horn <tsdh@gnu.org>
882
883 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
884 `Texinfo' entry.
885
8862014-01-06 Daniel Colascione <dancol@dancol.org>
887
888 Fix defun navigation in vc log view.
889
890 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
891 like `beginning-of-defun'.
892 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
893 log-view-end-of-defun to log-view-end-of-defun-1. Replace
894 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
895 (log-view-extract-comment): Call `log-view-current-entry' directly
896 instead of relying on broken `log-view-beginning-of-defun' behavior.
897
8982014-01-06 Paul Eggert <eggert@cs.ucla.edu>
899
900 Spelling fixes.
901 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
902 * emacs-lisp/debug.el (cancel-debug-on-entry):
903 * epg.el (epg-error-to-string):
904 * files.el (recover-file):
905 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
906 * mail/emacsbug.el (report-emacs-bug-hook):
907 * mail/sendmail.el (mail-recover):
908 * ses.el (ses-yank-resize):
909 * term/ns-win.el (ns-print-buffer):
910 Spelling fixes in diagnostics, mostly for "canceled" with one L.
911 * epg.el (epg-key-capability-alist): Rename from misspelled version.
912 All uses changed.
913 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
914
9152014-01-06 Leo Liu <sdl.web@gmail.com>
916
917 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
918 to avoid shadowing global key. (Bug#16354)
919
9202014-01-06 Daniel Colascione <dancol@dancol.org>
921
922 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
923 rst-mode.
924
9252014-01-05 Martin Rudalics <rudalics@gmx.at>
926
927 * window.el (balance-windows): Add mising t to fix Bug#16351.
928
9292014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
930
931 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
932 (bug#16285).
933 (shr-insert): If we have a word that's longer than `shr-width',
934 break after it anyway. Otherwise we'll do no breaking once we get
935 such a long word.
936
9372014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
938
939 * net/eww.el (eww): Support single/double quote for search.
940 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
941 (eww-history-quit): Delete and use quit-window.
942 (eww-history-kill): Delete, because it doesn't work well and
943 not necessary.
944 (eww-history-mode-map): Delete some keys and add easy-menu.
945
9462014-01-05 Paul Eggert <eggert@cs.ucla.edu>
947
948 Fix misspelling of 'chinese' in rx (Bug#16237).
949 * emacs-lisp/rx.el (rx-categories): Correct spelling of
950 chinese-two-byte.
951
952 Change subword regexps back to vars (Bug#16296).
953 * progmodes/subword.el (subword-forward-regexp)
954 (subword-backward-regexp): Change these back to variables.
955
9562014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
959 syntax-begin-function (bug#16247).
960
9612014-01-03 Chong Yidong <cyd@gnu.org>
962
963 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
964 (advice--docstring): Delete variable.
965 (advice--make-1): Leave the docstring empty.
966 (advice-add): Use function-documentation for advised docstring.
967
968 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
969 Ignore function-documentation property when getting documentation.
970 (ad-activate-advised-definition): Use function-documentation
971 generate the docstring.
972 (ad-make-advised-definition): Don't call
973 ad-make-advised-definition-docstring.
974 (ad-make-advised-definition-docstring, ad-advised-definition-p):
975 Delete functions.
976
977 * progmodes/sql.el (sql-help): Use function-documentation instead
978 of dynamic-docstring-function property. No need to autoload now.
979 (sql--help-docstring): New variable.
980 (sql--make-help-docstring): Use it.
981
9822014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * ielm.el (ielm-tab): Retarget.
985 (ielm-map): Use ielm-tab for tab.
986 (ielm-complete-filename): Use comint-filename-completion.
987 (ielm-complete-symbol): Remove.
988 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
989 remove ielm-tab from completion-at-point-functions (bug#16224).
990
991 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
992 Beware signals raised by predicates (bug#16201).
993
9942014-01-02 Richard Stallman <rms@gnu.org>
995
996 * dired-aux.el (dired-do-print): Handle printer-name.
997
998 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
999 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1000 (rmail-epa-decrypt): Turn off mime processing.
1001
1002 * mail/rmail.el (rmail-make-in-reply-to-field):
1003 Add parens in message-id.
1004
1005 * mail/rmail.el (rmail-get-coding-function): Variable.
1006 (rmail-get-coding-system): Use it.
1007
10082013-12-31 Eli Zaretskii <eliz@gnu.org>
1009
1010 * international/mule-conf.el: Unify the charset indian-is13194.
1011 (indian-is13194): Specify unify-map.
1012
10132013-12-31 Leo Liu <sdl.web@gmail.com>
1014
1015 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1016
10172013-12-30 Daniel Colascione <dancol@dancol.org>
1018
1019 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1020 of printing a useless when we resume from sleep.
1021
1022 * progmodes/sh-script.el
1023 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1024 in indentation code. (Bug#16233)
1025
10262013-12-28 João Távora <joaotavora@gmail.com>
1027
1028 * elec-pair.el (electric-pair-post-self-insert-function):
1029 Don't open extra newlines at beginning of buffer. (Bug#16272)
1030
10312013-12-28 Eli Zaretskii <eliz@gnu.org>
1032
1033 * frame.el (window-system-for-display): Don't allow to create a
1034 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1035
10362013-12-28 Glenn Morris <rgm@gnu.org>
1037
1038 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1039 Update callers.
1040
1041 * apropos.el (apropos-match-face):
1042 * calculator.el (calculator-displayer):
1043 * dabbrev.el (dabbrev-search-these-buffers-only):
1044 * face-remap.el (buffer-face-mode-face):
1045 * simple.el (yank-handled-properties):
1046 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1047 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1048 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1049 (hashcash-double-spend-database):
1050 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1051 (ruby-deep-indent-paren-style):
1052 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1053 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1054 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1055 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1056 Specify custom types.
1057
1058 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1059 * bookmark.el (bookmark-bmenu-use-header-line):
1060 * doc-view.el (doc-view-scale-internally):
1061 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1062 * register.el (register-preview-delay):
1063 * net/shr.el (shr-bullet):
1064 * progmodes/cfengine.el (cfengine-cf-promises)
1065 (cfengine-parameters-indent):
1066 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1067 * textmodes/reftex-vars.el (reftex-label-regexps):
1068 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1069
1070 * net/tls.el (tls-certtool-program): Fix default value.
1071
1072 * desktop.el (desktop-restore-in-current-display):
1073 * newcomment.el (comment-empty-lines):
1074 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1075 (idlwave-pad-keyword):
1076 * progmodes/tcl.el (tcl-tab-always-indent):
1077 * textmodes/reftex-vars.el (reftex-index-default-tag):
1078 * elec-pair.el (electric-pair-skip-whitespace):
1079 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1080
1081 * emacs-lisp/authors.el (authors-ignored-files)
1082 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1083
10842013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1085
1086 * shell.el (shell-dynamic-complete-command): Doc fix.
1087 (shell--command-completion-data): Shell completion now matches
1088 executable filenames from the current buffer's directory, on
1089 systems in which this behavior is the default (windows-nt, ms-dos).
1090
10912013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1092
1093 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1094
10952013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1098 (bug#16251).
1099
1100 * electric.el: Move all electric-pair-* to elec-pair.el.
1101 * elec-pair.el: New file, split from electric.el.
1102
11032013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1104
1105 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1106 indentation level is larger than the width, because that will
1107 infloop.
1108 (shr-insert): Fill repeatedly long texts, so that Japanese is
1109 formatted correctly (bug#16263).
1110 (shr-find-fill-point): Off by one error in comparison with the
1111 indentation.
1112
11132013-12-26 João Távora <joaotavora@gmail.com>
1114
1115 * electric.el (electric-pair-mode): More flexible engine for skip-
1116 and inhibit predicates, new options for pairing-related functionality.
1117 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1118 if that keeps or improves their balance in buffers.
1119 (electric-pair-delete-adjacent-pairs): Delete the pair when
1120 backspacing over adjacent matched delimiters.
1121 (electric-pair-open-extra-newline): Open extra newline when
1122 inserting newlines between adjacent matched delimiters.
1123 (electric--sort-post-self-insertion-hook):
1124 Sort post-self-insert-hook according to priority values when
1125 minor-modes are activated.
1126 * simple.el (newline-and-indent): Call newline with interactive
1127 set to t.
1128 (blink-paren-post-self-insert-function): Set priority to 100.
1129 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1130 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1131 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1132 electric-pair-open-newline-between-pairs to nil.
1133
11342013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1135
1136 * progmodes/python.el: Use lexical-binding.
1137 (python-nav-beginning-of-defun): Stop searching ASAP.
1138
11392013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1140
1141 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1142 Fix interactive spec. Doc fix. (Bug#15754)
1143
11442013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1145
1146 * emacs-lisp/byte-run.el (eval-when-compile):
1147 * progmodes/cc-defs.el (cc-eval-when-compile):
1148 Fix edebug spec (bug#16184).
1149
11502013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1151
1152 * net/shr.el (shr-visit-file): Remove debugging function.
1153 (shr-insert): Don't infloop if we can't find a good place to break
1154 the line (bug#16256).
1155
11562013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1157
1158 * progmodes/python.el:
1159 (python-nav--lisp-forward-sexp): New function.
1160 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1161 python-nav-lisp-forward-sexp-safe.
1162 (python-nav--forward-sexp): New argument SAFE allows switching
1163 forward sexp movement behavior for parens.
1164 (python-nav-forward-sexp): Throw errors on unterminated parens
1165 (Bug#16191).
1166 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1167 (python-nav-backward-sexp-safe): New functions.
1168 (python-shell-buffer-substring):
1169 Use `python-nav-forward-sexp-safe'.
1170
11712013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1172
1173 * net/shr.el (shr-find-fill-point): Don't break lines before a
1174 quotation mark.
1175 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1176 (shr-find-fill-point): Remove the special checks for the quotation
1177 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1178
11792013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1180
1181 * net/eww.el (eww-form-textarea): Use a different face for
1182 textareas than text input since they have different keymaps
1183 (bug#16142).
1184
11852013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1186
1187 * progmodes/python.el (python-nav-beginning-of-statement):
1188 Speed up (Bug#15295).
1189
11902013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1191
1192 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1193 the window configuration.
1194
11952013-12-24 Eli Zaretskii <eliz@gnu.org>
1196
1197 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1198 we run on MS-Windows or MS-DOS.
1199
12002013-12-24 Martin Rudalics <rudalics@gmx.at>
1201
1202 * window.el (balance-windows-area): Call window-size instead of
1203 window-height and window-width. Bug#16241.
1204
12052013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1206
1207 * net/eww.el (eww-bookmark-quit): Remove.
1208 (eww-bookmark-browse): Restore the window configuration when you
1209 choose a bookmark (bug#16144).
1210
12112013-12-24 Daniel Colascione <dancol@dancol.org>
1212
1213 * icomplete.el: Remove redundant :group arguments to `defcustom'
1214 throughout.
1215 (icomplete-show-matches-on-no-input): New customizable variable.
1216 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1217 we have something to show.
1218 (icomplete-exhibit): Compute completions even if we have no user input.
1219
12202013-12-23 Daniel Colascione <dancol@dancol.org>
1221
1222 * icomplete.el: Move `provide' to end of file.
1223
12242013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1225
1226 * net/gnutls.el (gnutls-verify-error): Add version tag.
1227
12282013-12-23 Chong Yidong <cyd@gnu.org>
1229
1230 * subr.el (set-transient-map): Rename from
1231 set-temporary-overlay-map. Doc fix.
1232
1233 * face-remap.el (text-scale-adjust):
1234 * indent.el (indent-rigidly):
1235 * kmacro.el (kmacro-call-macro):
1236 * minibuffer.el (minibuffer-force-complete):
1237 * repeat.el (repeat):
1238 * simple.el (universal-argument--mode):
1239 * calendar/todo-mode.el (todo-insert-item--next-param):
1240 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1241
1242 * indent.el (indent-rigidly): Use substitute-command-keys.
1243
12442013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1245
1246 * net/eww.el (eww-tag-select): Add text-property to jump to next
1247 select field.
1248 (eww): Add non-supported ftp error.
1249
12502013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1251
1252 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1253 comments. Handle electric indent after typing `?' and `!'.
1254
12552013-12-22 Chong Yidong <cyd@gnu.org>
1256
1257 * faces.el (face-spec-recalc): If the theme specs are not
1258 applicable to a frame, fall back on the defface spec.
1259 This prevents themes from obliterating faces on low-color terminals.
1260
12612013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1262
1263 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1264 after `{'. We need it after block openers, and it doesn't seem
1265 to hurt after hash openers.
1266
12672013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1268
1269 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1270 extracted from `ruby-smie-rules'.
1271 (ruby--electric-indent-chars): New variable.
1272 (ruby--electric-indent-p): New function.
1273 (ruby-mode): Use `electric-indent-functions' instead of
1274 `electric-indent-chars'.
1275
12762013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1277
1278 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1279 docstring.
1280 (ruby-smie-rules): Indent plus one level after `=>'.
1281
12822013-12-21 Richard Stallman <rms@gnu.org>
1283
1284 * simple.el (newline): Doc fix.
1285
12862013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1287
1288 * net/eww.el (eww-list-histories, eww-list-histories)
1289 (eww-history-browse, eww-history-quit, eww-history-kill)
1290 (eww-history-mode-map, eww-history-mode): New command and
1291 functions to list browser histories.
1292 (eww-form-text): Support text form with disabled
1293 and readonly attributes.
1294 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1295
12962013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1297
1298 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1299 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1300 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1301 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1302 Use `user-error'.
1303 (eww-bookmark-mode-map): Add menu.
1304 (eww-render, eww-mode): Use `setq-local'.
1305 (eww-tool-bar-map): New variable.
1306 (eww-mode): Set `tool-bar-map'.
1307 (eww-view-source): Check for `html-mode' with `fboundp'.
1308
13092013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1310
1311 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1312 elements with text inside. Also remove debugging.
1313
13142013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1315
1316 * cus-start.el (all): Add ns-use-srgb-colorspace.
1317
13182013-12-21 Chong Yidong <cyd@gnu.org>
1319
1320 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1321 undefined. Thus, theme settings for undefined faces do not take
1322 effect until the faces are defined with defface, the same as with
1323 theme variables.
1324
1325 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1326 (face-spec-reset-face): Don't assign extra properties in temacs.
1327 (face-spec-recalc): Apply X resources too.
1328
13292013-12-21 Chong Yidong <cyd@gnu.org>
1330
1331 * faces.el (face-spec-set):
1332 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1333 * custom.el (defface): Doc fixes (Bug#16203).
1334
1335 * indent.el (indent-rigidly-map): Add docstring, and move commands
1336 into named functions.
1337 (indent-rigidly-left, indent-rigidly-right)
1338 (indent-rigidly-left-to-tab-stop)
1339 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1340 indentation direction based on bidi direction, and accumulate
1341 sequential commands in a single undo boundary.
1342 (indent-rigidly--pop-undo): New utility function.
1343
13442013-12-20 Juanma Barranquero <lekktu@gmail.com>
1345
1346 * faces.el (read-face-name): Require crm.el when using crm-separator.
1347
13482013-12-20 Daniel Colascione <dancol@dancol.org>
1349
1350 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1351 so that we don't reflow comments into the shebang line.
1352
13532013-12-20 Juri Linkov <juri@jurta.org>
1354
1355 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1356 a position when `dired-directory' is non-nil. Check integer
1357 positions with `integerp'.
1358 (toggle-save-place, save-places-to-alist): Add check for
1359 `dired-directory'.
1360 (save-place-find-file-hook): Check integer positions with
1361 `integerp'.
1362 (save-place-dired-hook): Use `dired-goto-file' when
1363 `dired-filename' is found in the assoc list. Check integer
1364 positions with `integerp'.
1365 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1366
1367 * dired.el (dired-initial-position-hook): Rename back from
1368 `dired-initial-point-hook'.
1369 (dired-initial-position): Rename `dired-initial-point-hook' to
1370 `dired-initial-position-hook'.
1371 (dired-file-name-at-point): Doc fix. (Bug#15329)
1372
13732013-12-20 Juri Linkov <juri@jurta.org>
1374
1375 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1376 (read-regexp-suggestions): New function.
1377 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1378 Use `read-regexp-suggestions'. Add non-empty default to history
1379 for empty input.
1380 (occur-read-regexp-defaults-function): Remove function.
1381 (occur-read-primary-args): Use `regexp-history-last' instead of
1382 `occur-read-regexp-defaults-function'.
1383
1384 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1385 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1386 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1387 `hi-lock-read-regexp-defaults-function'. Doc fix.
1388 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1389 with `find-tag-default-as-symbol-regexp'. Doc fix.
1390 (hi-lock-read-regexp-defaults): Remove function.
1391 (hi-lock-regexp-okay): Add check for null.
1392
1393 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1394 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1395
1396 * subr.el (find-tag-default-as-symbol-regexp): New function.
1397 (find-tag-default-as-regexp): Move symbol regexp formatting to
1398 `find-tag-default-as-symbol-regexp'.
1399
14002013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1401
1402 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1403 (Bug#14179)
1404
14052013-12-20 Stephen Berman <stephen.berman@gmx.net>
1406
1407 * calendar/todo-mode.el: New implementation of item insertion
1408 commands and key bindings.
1409 (todo-key-prompt): New face.
1410 (todo-insert-item): New command.
1411 (todo-insert-item--parameters): New defconst, replacing defvar
1412 todo-insertion-commands-args-genlist.
1413 (todo-insert-item--param-key-alist): New defconst, replacing
1414 defvar todo-insertion-commands-arg-key-list.
1415 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1416 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1417 (todo-insert-item--next-param): New functions.
1418 (todo-insert-item--args, todo-insert-item--argleft)
1419 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1420 New variables.
1421 (todo-key-bindings-t): Change binding of "i" from
1422 todo-insertion-map to todo-insert-item.
1423 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1424 (todo-insertion-command-name, todo-insertion-commands-names)
1425 (todo-define-insertion-command, todo-insertion-commands)
1426 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1427
14282013-12-20 Stephen Berman <stephen.berman@gmx.net>
1429
1430 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1431 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1432 eval-when-compile.
1433 (todo-move-category): Allow choosing a non-existing todo file to
1434 move the category to, and create that file.
1435 (todo-default-priority): New user option.
1436 (todo-set-item-priority): Use it.
1437 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1438 (desktop-restore-file-buffer): Declare.
1439 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1440 (todo-modes-set-2): Locally set desktop-save-buffer to
1441 todo-desktop-save-buffer.
1442 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1443 (auto-mode-alist): Add autoload cookie.
1444
14452013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1446
1447 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1448 helpers.el was a poor choice of name.
1449 (string-remove-prefix): New function.
1450 (string-remove-suffix): New function.
1451
14522013-12-20 Martin Rudalics <rudalics@gmx.at>
1453
1454 Fix assignment for new window total sizes.
1455 * window.el (window--pixel-to-size): Remove function.
1456 (window--pixel-to-total-1, window--pixel-to-total):
1457 Fix calculation of new total sizes.
1458
14592013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1460
1461 * comint.el (comint-output-filter): Fix rear-nonsticky property
1462 placement (Bug#16010).
1463
14642013-12-20 Chong Yidong <cyd@gnu.org>
1465
1466 * faces.el (read-color): Minor fix for completion function.
1467
14682013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1469
1470 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1471 New option. (Bug#16182)
1472 (ruby-smie--indent-to-stmt-p): Use it.
1473 (ruby-smie-rules): Revert the logic in the handling of `when'.
1474 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1475 (ruby-deep-arglist, ruby-deep-indent-paren)
1476 (ruby-deep-indent-paren-style): Update docstrings to note that the
1477 vars don't have any effect with SMIE.
1478
14792013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1480
1481 * calc/calc.el (calc-enter, calc-pop): Use the variable
1482 `calc-context-sensitive-enter'.
1483
14842013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1485
1486 * net/shr.el (shr-insert): Protect against infloops in degenerate
1487 tables.
1488
14892013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1490
1491 * progmodes/octave.el (octave): Add link to manual and octave
1492 homepage.
1493 (octave-mode-menu): Link to octave-mode manual.
1494
14952013-12-20 Leo Liu <sdl.web@gmail.com>
1496
1497 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1498 insertion using skeleton-end-newline. (Bug#16138)
1499
15002013-12-20 Juri Linkov <juri@jurta.org>
1501
1502 * replace.el (occur-engine): Use `add-face-text-property'
1503 to add the face property to matches and titles. (Bug#14645)
1504
1505 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1506 the palette of other hi-lock colors.
1507 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1508
15092013-12-19 Juri Linkov <juri@jurta.org>
1510
1511 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1512 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1513 (minibuffer-history-symbol): Move variable declaration closer to
1514 its usage.
1515
1516 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1517 (Bug#14785)
1518
15192013-12-19 Juri Linkov <juri@jurta.org>
1520
1521 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1522 New function.
1523 (log-edit-hook): Add it to :options. (Bug#16170)
1524
15252013-12-19 Juri Linkov <juri@jurta.org>
1526
1527 * simple.el (eval-expression-print-format): Don't check for
1528 command names and the last command. Always display additional
1529 formats of the integer result in the echo area, and insert them
1530 to the current buffer only with a zero prefix arg.
1531 Display character when char-displayable-p is non-nil.
1532 (eval-expression): With a zero prefix arg, set `print-length' and
1533 `print-level' to nil, and insert the integer values from
1534 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1535
1536 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1537 `eval-last-sexp-arg-internal'. Doc fix.
1538 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1539 `eval-last-sexp-print-value'. Doc fix.
1540 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1541 Set `print-length' and `print-level' to nil when arg is zero.
1542 (eval-last-sexp): Doc fix.
1543 (eval-defun-2): Print the integer values from
1544 `eval-expression-print-format' at the end.
1545
1546 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1547 values from `eval-expression-print-format' at the end.
1548
1549 * ielm.el (ielm-eval-input): Print the integer
1550 values from `eval-expression-print-format' at the end.
1551
15522013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1553
1554 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1555 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1556
15572013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1560 (hl-line-highlight, global-hl-line-highlight): Use it.
1561 (hl-line-overlay): Use defvar-local.
1562
15632013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1564
1565 * term/ns-win.el: Require dnd.
1566 (global-map): Remove drag items.
1567 (ns-insert-text, ns-set-foreground-at-mouse)
1568 (ns-set-background-at-mouse):
1569 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1570 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1571 New functions.
1572
15732013-12-19 Glenn Morris <rgm@gnu.org>
1574
1575 * emacs-lisp/ert.el (ert-select-tests):
1576 Fix string/symbol mixup. (Bug#16121)
1577
15782013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1579
1580 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1581 keywords to their parent.
1582
15832013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1584
1585 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1586 first arg to be a string (fixed dead code), or an operator symbol.
1587 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1588 operator symbols.
1589 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1590 did nothing. Don't respond to `(:after ".")', it will be called
1591 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1592 change anything. Only return indentation for binary operators
1593 when they are hanging. De-dent opening paren when its parent is
1594 `.', otherwise it looks bad when the dot is not at bol or eol
1595 (bug#16182).
1596
15972013-12-19 Juri Linkov <juri@jurta.org>
1598
1599 * replace.el (query-replace-read-args): Split a non-negative arg
1600 and a negative arg into separate elements.
1601 (query-replace, query-replace-regexp, replace-string)
1602 (replace-regexp): Add arg `backward'. Doc fix.
1603 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1604 move point to the beginning of the match.
1605 (replace-search, replace-highlight): Use new arg `backward'
1606 to set the value of `isearch-forward'.
1607 (perform-replace): Add arg `backward' and use it to perform
1608 replacement backward. (Bug#14979)
1609
1610 * isearch.el (isearch-query-replace): Use a negative prefix arg
1611 to call `perform-replace' with a non-nil arg `backward'.
1612
16132013-12-18 Juri Linkov <juri@jurta.org>
1614
1615 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1616 to the default list. Move `log-edit-show-files' to the end.
1617 Add more available functions to options.
1618 (log-edit): Move default specific settings to
1619 `log-edit-insert-message-template'. Don't move point.
1620 (log-edit-insert-message-template): New function.
1621 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1622 (Bug#16170)
1623
16242013-12-18 Juri Linkov <juri@jurta.org>
1625
1626 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1627 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1628
16292013-12-18 Leo Liu <sdl.web@gmail.com>
1630
1631 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1632 (Bug#16186)
1633
16342013-12-18 Eli Zaretskii <eliz@gnu.org>
1635
1636 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1637 formats for displaying file sizes when the -s switch is given.
1638 Instead, compute a separate format for displaying the size in
1639 blocks, which is displayed in addition to the "regular" size.
1640 When -h is given in addition to -s, produce size in blocks in
1641 human-readable form as well. (Bug#16179)
1642
16432013-12-18 Tassilo Horn <tsdh@gnu.org>
1644
1645 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1646 Reference tables with ~\ref{...} instead of only \ref{...}.
1647
16482013-12-18 Chong Yidong <cyd@gnu.org>
1649
1650 * cus-edit.el (custom-magic-alist): Fix "themed" description
1651 (Bug#14348).
1652
1653 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1654 is non-nil, do not create a new entry in the symbol's theme-value
1655 or theme-face property; update theme-settings only (Bug#14664).
1656 (custom-available-themes): Doc fix.
1657
1658 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1659 (Bug#15674).
1660
1661 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1662
16632013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1664
1665 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1666 (Bug#13914).
1667
16682013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1669
1670 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1671
16722013-12-18 Glenn Morris <rgm@gnu.org>
1673
1674 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1675 * cus-start.el (load-prefer-newer): New option.
1676
16772013-12-18 Le Wang <l26wang@gmail.com>
1678
1679 * comint.el (comint-previous-matching-input-from-input):
1680 Retain point (Bug#13404).
1681
16822013-12-18 Chong Yidong <cyd@gnu.org>
1683
1684 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1685
16862013-12-18 Glenn Morris <rgm@gnu.org>
1687
1688 * mail/emacsbug.el (report-emacs-bug):
1689 Only mention enable-multibyte-characters if non-standard.
1690
16912013-12-17 Juri Linkov <juri@jurta.org>
1692
1693 * arc-mode.el (archive-extract-by-file): Check if directory exists
1694 before deletion to not show irrelevant errors if it doesn't exist.
1695
16962013-12-17 Juri Linkov <juri@jurta.org>
1697
1698 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1699 (Bug#14751)
1700
1701 * net/eww.el (browse-web): Add alias to `eww'.
1702 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1703 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1704
1705 * net/browse-url.el (browse-url-browser-function): Move `eww'
1706 closer to similar functions.
1707
1708 * startup.el (fancy-startup-screen, fancy-about-screen):
1709 Set browse-url-browser-function to eww-browse-url locally.
1710 (Bug#14751)
1711
17122013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1713
1714 * window.el (window--pixel-to-total): Remove unused `mini' var.
1715 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1716 (split-window): Remove unused `new' var.
1717 (window--display-buffer): Remove unused `frame' and `delta' vars.
1718 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1719 and display-width'.
1720
17212013-12-17 Martin Rudalics <rudalics@gmx.at>
1722
1723 * dired.el (dired-mark-pop-up):
1724 * register.el (register-preview): Don't bind
1725 split-height-threshold here since it's now done in
1726 display-buffer-below-selected.
1727
17282013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1729
1730 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1731 xterm-rgb-convert-to-16bit.
1732 (rxvt-register-default-colors): Standardize with
1733 xterm-register-default-colors (Bug#14078).
1734
17352013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1736
1737 * simple.el (kill-region): Pass mark first, then point, so that
1738 kill-append works right (Bug#12819).
1739 (copy-region-as-kill, kill-ring-save): Likewise.
1740
17412013-12-17 Leo Liu <sdl.web@gmail.com>
1742
1743 * net/rcirc.el (rcirc-add-face):
1744 * eshell/em-prompt.el (eshell-emit-prompt):
1745 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1746 (Bug#16167)
1747
17482013-12-17 Chong Yidong <cyd@gnu.org>
1749
1750 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1751 Suggested by Xue Fuqiao.
1752
17532013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1754
1755 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1756
17572013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * net/shr.el (shr-insert-document): Remove unused var
1760 `shr-preliminary-table-render'.
1761 (shr-rescale-image): Remove unused arg `force'.
1762 (shr-put-image): Update calls accordingly.
1763 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1764
17652013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1766
1767 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1768 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1769 :close-all, to see which indentation method to use (Bug#16116).
1770 (smie-rules-function): Document the method :close-all.
1771
17722013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1773
1774 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1775
1776 * net/eww.el (eww-display-html): If we can't find the anchor we're
1777 looking for, then go to point-min.
1778
17792013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1780
1781 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1782 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1783 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1784 Expand dir too, in case it's relative.
1785
17862013-12-16 Juri Linkov <juri@jurta.org>
1787
1788 * desktop.el (desktop-auto-save-timeout): Change default to
1789 `auto-save-timeout'. Doc fix.
1790 (desktop-save): Skip the timestamp in desktop-saved-frameset
1791 when checking for auto-save changes.
1792 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1793 `desktop-auto-save' is called repeatedly by the idle timer.
1794 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1795 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1796 (Bug#15331)
1797
17982013-12-16 Juri Linkov <juri@jurta.org>
1799
1800 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1801 (Bug#16035)
1802 (isearch-pre-command-hook): Check `this-command' for symbolp.
1803
18042013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1807
18082013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1809
1810 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1811 (cfengine3--current-function): Bring in the current-function
1812 functionality from `cfengine3--current-word'.
1813 (cfengine3-completion-function): Bring in the
1814 bounds-of-current-word functionality from
1815 `cfengine3--current-word'.
1816
18172013-12-16 Martin Rudalics <rudalics@gmx.at>
1818
1819 * window.el (display-buffer-below-selected):
1820 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1821
18222013-12-16 Leo Liu <sdl.web@gmail.com>
1823
1824 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1825 Remove NOMSG arg and all uses changed.
1826
18272013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1830 (cua--deactivate-rectangle): Don't deactivate the mark.
1831 (cua-set-rectangle-mark): Don't set mark-active since
1832 cua--activate-rectangle already does it for us.
1833 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1834 non-rectangular region.
1835
1836 * emulation/cua-base.el (cua-repeat-replace-region):
1837 Use with-current-buffer.
1838
1839 * net/gnutls.el: Use cl-lib.
1840 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1841
18422013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1843
1844 * emacs-lisp/package.el (package-built-in-p): Support both
1845 built-in and the package.el converted package descriptions.
1846 (package-show-package-list): Allow keywords.
1847 (package-keyword-button-action): Use it instead of
1848 `finder-list-matches'.
1849 (package-menu-filter-interactive): Interactive filtering (by
1850 keyword) function.
1851 (package-menu--generate): Support keywords and change keymappings
1852 and headers when they are given.
1853 (package--has-keyword-p): Helper function.
1854 (package-menu--refresh): Use it.
1855 (package--mapc): Helper function.
1856 (package-all-keywords): Use it.
1857 (package-menu-mode-map): Set up menu items and keybindings to
1858 provide a filtering UI.
1859
18602013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1861
1862 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1863 the behavior when a certificate fails validation. Defaults to
1864 old behavior: never abort, just warn.
1865 (gnutls-negotiate): Use it.
1866
18672013-12-14 Martin Rudalics <rudalics@gmx.at>
1868
1869 * window.el (display-buffer-below-selected): Never split window
1870 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1871
18722013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1873
1874 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1875 (package-buffer-info): Use it (bug#15108).
1876
18772013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * icomplete.el (icomplete-completions): Make sure the prefix is already
1880 displayed elsewhere before hiding it (bug#16219).
1881
18822013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1883
1884 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1885 open-paren tokens when preceded by a open-paren, too.
1886 (ruby-smie-rules): Handle virtual indentation after open-paren
1887 tokens specially. If there is code between it and eol, return the
1888 column where is starts (Bug#16118).
1889
18902013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1891
1892 * progmodes/cfengine.el: Fix `add-hook' doc.
1893 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1894 (cfengine3--current-word): Fix parameters.
1895 (cfengine3-make-syntax-cache): Simplify further.
1896 (cfengine3-completion-function, cfengine3--current-function):
1897 Use `assq' for symbols.
1898 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1899
19002013-12-13 Glenn Morris <rgm@gnu.org>
1901
1902 * loadup.el (load-path): Warn if site-load or site-init changes it.
1903 No more need to reset it when bootstrapping.
1904
19052013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1906
1907 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1908 locations for cf-promises.
1909 (cfengine-mode-syntax-functions-regex): New caching variable.
1910 (cfengine3-fallback-syntax): Fallback syntax for cases where
1911 cf-promises doesn't run.
1912 (cfengine3--current-word): Reimplement using
1913 `cfengine-mode-syntax-functions-regex'.
1914 (cfengine3-completion-function, cfengine3--current-function):
1915 Use `cfengine3-make-syntax-cache' directly.
1916 (cfengine3-clear-syntax-cache): New function.
1917 (cfengine3-make-syntax-cache): Simplify and create
1918 `cfengine-mode-syntax-functions-regex' on demand.
1919 (cfengine3-format-function-docstring): Don't call
1920 `cfengine3-make-syntax-cache' explicitly.
1921
19222013-12-13 Martin Rudalics <rudalics@gmx.at>
1923
1924 Fix windmove-find-other-window broken after pixelwise resizing
1925 (Bug#16017).
1926 * windmove.el (windmove-other-window-loc): Revert change from
1927 2013-12-04.
1928 (windmove-find-other-window): Call window-in-direction.
1929 * window.el (window-in-direction): New arguments SIGN, WRAP and
1930 MINI to emulate original windmove-find-other-window behavior.
1931
19322013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1933
1934 * simple.el (blink-matching--overlay): New variable.
1935 (blink-matching-open): Instead of moving point, highlight the
1936 matching paren with an overlay
1937 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1938
1939 * faces.el (paren-showing-faces, show-paren-match)
1940 (show-paren-mismatch): Move from paren.el.
1941
19422013-12-13 Leo Liu <sdl.web@gmail.com>
1943
1944 * indent.el (indent-region): Disable progress reporter in
1945 minibuffer. (Bug#16108)
1946
1947 * bindings.el (visual-order-cursor-movement): Fix version.
1948
19492013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1950
1951 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1952 Also match after beginning of line.
1953 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1954 files. Thanks to Russell Sim. (Bug#15378)
1955
19562013-12-13 Juri Linkov <juri@jurta.org>
1957
1958 * simple.el <Keypad support>: Remove key bindings duplicated
1959 with bindings.el. (Bug#14397)
1960
19612013-12-13 Juri Linkov <juri@jurta.org>
1962
1963 * comint.el (comint-mode-map): Replace `delete-char' with
1964 `delete-forward-char'. (Bug#16109)
1965
19662013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1967
1968 * progmodes/python.el (python-indent-calculate-indentation):
1969 Fix de-denters cornercase. (Bug#15731)
1970
19712013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1974 (advice--make): Pay attention to `depth'.
1975 (advice--make-1): Don't autoload commands eagerly.
1976 * emacs-lisp/elp.el (elp-instrument-function):
1977 * emacs-lisp/trace.el (trace-function-internal):
1978 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1979
1980 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1981
19822013-12-12 Eli Zaretskii <eliz@gnu.org>
1983
1984 * term/w32-win.el (w32-handle-dropped-file):
1985 * startup.el (normal-top-level):
1986 * net/browse-url.el (browse-url-file-url):
1987 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1988 decode file names using 'utf-8' rather than
1989 file-name-coding-system.
1990
19912013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1992
1993 * progmodes/python.el (python-indent-context)
1994 (python-indent-calculate-indentation): Fix auto-identation
1995 behavior for comment blocks. (Bug#15916)
1996
19972013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1998
1999 * progmodes/python.el (python-indent-calculate-indentation):
2000 When determining indentation, don't treat "return", "pass", etc., as
2001 operators when they are just string constituents. (Bug#15812)
2002
20032013-12-12 Juri Linkov <juri@jurta.org>
2004
2005 * uniquify.el (uniquify-buffer-name-style): Change default to
2006 `post-forward-angle-brackets'.
2007
2008 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2009 `uniquify'. Change default to `post-forward-angle-brackets'.
2010
20112013-12-11 Glenn Morris <rgm@gnu.org>
2012
2013 * emacs-lisp/package.el (finder-list-matches):
2014 Autoload rather than falsely declaring.
2015
20162013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2017
2018 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2019 (eww-mode-map): Use them.
2020
20212013-12-11 Martin Rudalics <rudalics@gmx.at>
2022
2023 * window.el (display-buffer-in-side-window): Fix doc-string
2024 (Bug#16115).
2025
20262013-12-11 Juanma Barranquero <lekktu@gmail.com>
2027
2028 * vc/vc-git.el: Silence byte-compiler warnings.
2029 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2030 (log-edit-set-header): Declare.
2031
20322013-12-11 Eli Zaretskii <eliz@gnu.org>
2033
2034 * Makefile.in (custom-deps, finder-data): Run output file names
2035 through unmsys--file-name. (Bug#16099)
2036
20372013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2040 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2041
2042 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2043 instead of deleting the selection "by hand" (bug#16098).
2044 Rely on insert-for-yank to yank rectangles.
2045 (cua-highlight-region-shift-only): Mark obsolete.
2046 (cua-mode): Don't enable/disable transient-mark-mode,
2047 shift-select-mode (cua-mode works both with and without them), and
2048 pc-selection-mode (obsolete).
2049 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2050 (cua--deactivate-rectangle): Deactivate it.
2051
2052 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2053 (delete-selection-helper): Make sure yank starts at the top of the
2054 deleted region.
2055 (minibuffer-keyboard-quit): Use region-active-p.
2056
2057 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2058
2059 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2060 to `delete' (bug#16109).
2061
20622013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2063
2064 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2065 info manual and show keybindings and set `:group' keyword.
2066
20672013-12-11 Juri Linkov <juri@jurta.org>
2068
2069 * delsel.el (delete-active-region): Let-bind `this-command'
2070 to prevent `kill-region' from changing its original value.
2071 (delete-selection-helper): Handle `overwrite-mode' for the type
2072 `kill' exactly the same way as for the type `t'.
2073 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2074 Support more commands. (Bug#13312)
2075
20762013-12-11 Juri Linkov <juri@jurta.org>
2077
2078 * bindings.el: Map kp keys to non-kp keys systematically
2079 with basic modifiers control, meta and shift. (Bug#14397)
2080
20812013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2082
2083 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2084 "Close browser" menu items. Fix wrong function of "List
2085 bookmarks".
2086
20872013-12-11 Juri Linkov <juri@jurta.org>
2088
2089 * misearch.el (multi-isearch-buffers): Set the value of
2090 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2091 arg of isearch-forward to t.
2092 (multi-isearch-buffers-regexp): Set the value of
2093 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2094 arg of isearch-forward-regexp to t.
2095 (multi-isearch-files): Set the value of
2096 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2097 arg of isearch-forward to t.
2098 (multi-isearch-files-regexp): Set the value of
2099 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2100 arg of isearch-forward-regexp to t. (Bug#16035)
2101
2102 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2103 arg of isearch-forward to t.
2104 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2105 arg of isearch-forward-regexp to t.
2106 (dired-isearch-filter-filenames): Remove unnecessary check for
2107 `dired-isearch-filenames'.
2108
2109 * comint.el (comint-history-isearch-backward):
2110 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2111 (comint-history-isearch-backward-regexp):
2112 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2113
21142013-12-10 Eli Zaretskii <eliz@gnu.org>
2115
2116 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2117 unmsys--file-name. (Bug#16099)
2118
21192013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2120
2121 * emacs-lisp/package.el (package-keyword-button-action):
2122 Remove finder.el require dependency.
2123
21242013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2125
2126 * emacs-lisp/package.el: Require finder.el.
2127 (describe-package-1): Add keyword buttons.
2128 (package-make-button): New convenience function.
2129 (package-keyword-button-action): Keyword button action using
2130 `finder-list-matches'.
2131
21322013-12-09 Eli Zaretskii <eliz@gnu.org>
2133
2134 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2135 last commit.
2136
21372013-12-09 Michael Albinus <michael.albinus@gmx.de>
2138
2139 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2140 symlinked files.
2141
21422013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2143
2144 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2145 after the end of a percent literal.
2146
21472013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2148
2149 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2150 Handle caret-delimited strings (Bug#16079).
2151
21522013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2153
2154 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2155 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2156 `ruby-parse-partial' (Bug#16078).
2157
21582013-12-09 Leo Liu <sdl.web@gmail.com>
2159
2160 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2161
21622013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2163
2164 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2165 (js-switch-indent-offset): New option.
2166 (js--proper-indentation): Use it. And handle the case when
2167 "default" is actually a key in an object literal.
2168 (js--same-line): New function.
2169 (js--multi-line-declaration-indentation): Use it.
2170 (js--indent-in-array-comp, js--array-comp-indentation):
2171 New functions.
2172 (js--proper-indentation): Use them, to handle array comprehension
2173 continuations.
2174
21752013-12-08 Leo Liu <sdl.web@gmail.com>
2176
2177 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2178 (flymake-make-overlay): Remove arg MOUSE-FACE.
2179 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2180
21812013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2184 New function.
2185 (redisplay-highlight-region-function): Use it.
2186
2187 * emulation/cua-base.el (cua--explicit-region-start)
2188 (cua--last-region-shifted): Remove.
2189 (cua--deactivate): Use deactivate-mark.
2190 (cua--pre-command-handler-1): Don't handle shift-selection.
2191 (cua--post-command-handler-1): Don't change transient-mark-mode.
2192 (cua--select-keymaps): Use region-active-p rather than
2193 cua--explicit-region-start or cua--last-region-shifted.
2194 (cua-mode): Enable shift-select-mode.
2195
21962013-12-08 Leo Liu <sdl.web@gmail.com>
2197
2198 * progmodes/flymake.el (flymake-popup-current-error-menu):
2199 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2200 (flymake-posn-at-point-as-event, flymake-popup-menu)
2201 (flymake-make-emacs-menu): Remove. (Bug#16077)
2202
22032013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * rect.el (rectangle-mark-mode): Activate mark even if
2206 transient-mark-mode is off (bug#16066).
2207 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2208 is > mark and at bolp.
2209
2210 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2211 (region-extract-function): Use it.
2212 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2213 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2214 Delete functions.
2215 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2216 kill-ring-save, kill-region, delete-char, delete-forward-char.
2217 Ignore self-insert-iso.
2218
2219 * emulation/cua-gmrk.el (cua--init-global-mark):
2220 Ignore `self-insert-iso'.
2221
2222 * emulation/cua-base.el (cua--prefix-copy-handler)
2223 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2224 checking cua--rectangle.
2225 (cua-delete-region): Use region-extract-function.
2226 (cua-replace-region): Delete function.
2227 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2228 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2229 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2230 (cua--init-keymaps): Don't remap delete-selection commands.
2231 (cua-mode): Use delete-selection-mode instead of rolling our own
2232 (bug#16085).
2233
2234 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2235 Obey region-extract-function.
2236
2237 Make registers and delete-selection-mode work on rectangles.
2238 * register.el (describe-register-1): Don't modify the register's value.
2239 (copy-to-register): Obey region-extract-function.
2240 * delsel.el (delete-active-region): Obey region-extract-function.
2241
22422013-12-08 Leo Liu <sdl.web@gmail.com>
2243
2244 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2245 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2246 (flymake-compilation-prevents-syntax-check)
2247 (flymake-start-syntax-check-on-newline)
2248 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2249 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2250 (flymake-xml-program, flymake-master-file-dirs)
2251 (flymake-master-file-count-limit)
2252 (flymake-allowed-file-name-masks): Relocate.
2253 (flymake-makehash, flymake-float-time)
2254 (flymake-replace-regexp-in-string, flymake-split-string)
2255 (flymake-get-temp-dir): Remove.
2256 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2257 (flymake-current-row, flymake-selected-frame)
2258 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2259 related functions. (Bug#16077)
2260
22612013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2262
2263 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2264
22652013-12-07 Tassilo Horn <tsdh@gnu.org>
2266
2267 * help-fns.el (describe-function-1): Use new advice-* functions
2268 rather than old ad-* functions. Fix function type description and
2269 source links for advised functions and subrs.
2270
22712013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2272
2273 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2274
22752013-12-06 Michael Albinus <michael.albinus@gmx.de>
2276
2277 * progmodes/compile.el (compilation-start):
2278 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2279
2280 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2281 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2282
22832013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2284
2285 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2286 Touch up the last change.
2287
22882013-12-06 Leo Liu <sdl.web@gmail.com>
2289
2290 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2291 (inferior-octave-startup): Always use "octave> " for prompt.
2292 (octave-goto-function-definition)
2293 (octave-sync-function-file-names)
2294 (octave-find-definition-default-filename): Remove redundant backquotes.
2295
22962013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2297
2298 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2299 syntax for `?'.
2300 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2301 where appropriate already.
2302 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2303 end of method names (Bug#15874).
2304
23052013-12-06 Juri Linkov <juri@jurta.org>
2306
2307 * isearch.el (isearch--saved-overriding-local-map):
2308 New internal variable.
2309 (isearch-mode): Set it to the initial value of
2310 `overriding-terminal-local-map'.
2311 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2312 with `isearch--saved-overriding-local-map'. (Bug#16035)
2313
23142013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2315
2316 * progmodes/octave.el (inferior-octave-completion-table):
2317 Turn back into function, use `completion-table-with-cache'
2318 (Bug#11906). Update all references.
2319
2320 * minibuffer.el (completion-table-with-cache): New function.
2321
23222013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2323
2324 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2325
23262013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2327
2328 * net/eww.el (eww-current-source): New variable to store page
2329 source.
2330 (eww-display-html, eww-mode, eww-save-history)
2331 (eww-restore-history): Use it.
2332 (eww-view-source): New command to view page source.
2333 Opportunistically uses `html-mode' to highlight the buffer.
2334 (eww-mode-map): Install it.
2335
23362013-12-05 Michael Albinus <michael.albinus@gmx.de>
2337
2338 * net/dbus.el (dbus-unregister-service)
2339 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2340 Fix docstring.
2341 (dbus-unregister-service): Skip :serial entries in
2342 `dbus-registered-objects-table'.
2343 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2344
23452013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2346
2347 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2348 around keywords with extra `split-string' argument.
2349
23502013-12-04 Martin Rudalics <rudalics@gmx.at>
2351
2352 * windmove.el (windmove-other-window-loc): Handle navigation
2353 between windows (excluding the minibuffer window - Bug#16017).
2354
23552013-12-04 Michael Albinus <michael.albinus@gmx.de>
2356
2357 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2358 in D-Bus type syntax.
2359 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2360 preserve unibyte strings. (Bug#16048)
2361
23622013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2365 Call force-mode-line-update is the proper buffer (bug#16042).
2366
23672013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2368
2369 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2370 `log-edit-remember-comment', make argument optional. Adjust all
2371 callers.
2372 (log-edit-mode): Add `log-edit-remember-comment' to
2373 `kill-buffer-hook' locally.
2374 (log-edit-kill-buffer): Don't remember comment explicitly since
2375 the buffer is killed anyway.
2376
23772013-12-04 Juri Linkov <juri@jurta.org>
2378
2379 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2380 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2381
23822013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2383
2384 * notifications.el (notifications-close-notification): Call the
2385 D-Bus method with ID being a `:uint32'. (Bug#16030)
2386
23872013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2388
2389 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2390
23912013-12-03 Juri Linkov <juri@jurta.org>
2392
2393 * progmodes/compile.el (compilation-start): Rename window alist
2394 entry `no-display-ok' to `allow-no-window'.
2395
2396 * simple.el (shell-command): Add window alist entry
2397 `allow-no-window' to `display-buffer'.
2398 (async-shell-command): Doc fix.
2399
2400 * window.el (display-buffer-no-window): New action function.
2401 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2402
24032013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2404
2405 * vc/log-edit.el (log-edit-set-header): Extract from
2406 `log-edit-toggle-header'.
2407 (log-edit-extract-headers): Separate the summary, when extracted
2408 from header, from the rest of the message with an empty line.
2409
2410 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2411 line, if present, to the Summary header.
2412
24132013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2416 in current-buffer (bug#16029).
2417
24182013-12-02 Helmut Eller <eller.helmut@gmail.com>
2419
2420 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2421 (debugger-mode-map): Bind it.
2422 (debugger--backtrace-base): New function.
2423 (debugger-eval-expression): Use it.
2424 (debugger-frame-number): Skip local vars when present.
2425 (debugger--locals-visible-p, debugger--insert-locals)
2426 (debugger--show-locals, debugger--hide-locals): New functions.
2427
24282013-12-02 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2431 "LC_ALL".
2432 (tramp-get-remote-locale): New defun.
2433 (tramp-open-connection-setup-interactive-shell): Use it.
2434
24352013-12-02 Leo Liu <sdl.web@gmail.com>
2436
2437 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2438
2439 * progmodes/sh-script.el (sh-shell-process):
2440 * progmodes/octave.el (inferior-octave-process-live-p):
2441 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2442 (gdb-inferior-io-sentinel):
2443 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2444
24452013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2446
2447 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2448 `save-selected-window' to `log-edit-hide-buf'. This makes
2449 `log-edit-show-files' idempotent.
2450 (log-edit-show-files): Mark the new window as dedicated.
2451
24522013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * vc/log-edit.el (log-edit-mode-map): Add binding for
2455 `log-edit-kill-biffer'.
2456 (log-edit-hide-buf): Add a FIXME comment.
2457 (log-edit-add-new-comment): New function, extracted from
2458 `log-edit-done'.
2459 (log-edit-done, log-edit-add-to-changelog): Use it.
2460 (log-edit-kill-buffer): New command.
2461
24622013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2463
2464 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2465 instead of killing the buffer.
2466
24672013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2470
24712013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2472
2473 * net/eww.el (eww-form-checkbox-selected-symbol)
2474 (eww-form-checkbox-symbol): New customizable variable.
2475 (eww-form-checkbox, eww-toggle-checkbox):
2476 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2477
2478 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2479 (shr--get-media-pref, shr--extract-best-source): New function.
2480 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2481 no :src tag was specified.
2482
2483 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2484 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2485 Use \\` to match beginning of string instead of ^.
2486 (eww-browse-with-external-browser): Provide optional URL parameter.
2487 (eww-render): Set `eww-current-title' back to "".
2488
2489 * net/shr.el (shr-tag-video): Display content for video if no
2490 poster is available.
2491 (shr-tag-audio): Add support for <audio> tag.
2492
2493 * net/eww.el (eww-text-input-types): New const.
2494 (eww-process-text-input): Treat input types in
2495 `eww-text-input-types' as text.
2496
2497 * net/shr.el (shr-tag-table): Fix comment typo.
2498
24992013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2500
2501 * net/eww.el (eww-follow-link): New command to avoid reloading
2502 pages when we follow #target links (bug#15243).
2503 (eww-quit): Special mode buffers shouldn't query before exiting.
2504
25052013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2506
2507 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2508 forms.
2509
25102013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2511
2512 * net/eww.el (eww-restore-history): Update the window title after
2513 moving in the history.
2514 (eww-current-dom): New variable used to save the current DOM.
2515
25162013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2517
2518 * vc/log-edit.el (log-edit-mode-map): Add binding for
2519 `log-edit-beginning-of-line'.
2520 (log-edit-setup-add-author): New user option.
2521 (log-edit-beginning-of-line): New command.
2522 (log-edit): Move major mode call above the contents setup so that
2523 the local variable values are already applied.
2524 (log-edit): Only insert "Author: " when
2525 `log-edit-setup-add-author' is non-nil.
2526 (log-edit): When SETUP is non-nil, position point after ": "
2527 instead of point-min.
2528
25292013-12-01 Glenn Morris <rgm@gnu.org>
2530
2531 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2532
25332013-11-30 Eli Zaretskii <eliz@gnu.org>
2534
2535 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2536 redisplay to make sure the initial frame gets a chance to become
2537 visible. (Bug#16014)
2538
25392013-11-30 Martin Rudalics <rudalics@gmx.at>
2540
2541 Support resizing frames and windows pixelwise.
2542 * cus-start.el (frame-resize-pixelwise)
2543 (window-resize-pixelwise): New entries.
2544 * emacs-lisp/debug.el (debug): Use window-total-height instead
2545 of window-total-size.
2546 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2547 * help.el (describe-bindings-internal): Call help-buffer
2548 (temp-buffer-max-width): New option.
2549 (resize-temp-buffer-window, help-window-setup)
2550 (with-help-window): Rewrite.
2551 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2552 dragging dividers.
2553 * window.el (frame-char-size, window-min-pixel-height)
2554 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2555 (window-min-pixel-width, window-safe-min-pixel-size)
2556 (window-combination-p, window-safe-min-size)
2557 (window-resizable-p, window--size-to-pixel)
2558 (window--pixel-to-size, window--resize-apply-p): New functions.
2559 (window-safe-min-height): Fix doc-string.
2560 (window-size, window-min-size, window--min-size-1)
2561 (window-sizable, window-sizable-p, window--min-delta-1)
2562 (window-min-delta, window--max-delta-1, window-max-delta)
2563 (window--resizable, window--resizable-p, window-resizable)
2564 (window-full-height-p, window-full-width-p, window-at-side-p)
2565 (window--in-direction-2, window-in-direction)
2566 (window--resize-reset-1, window--resize-mini-window)
2567 (window-resize, window-resize-no-error)
2568 (window--resize-child-windows-normal)
2569 (window--resize-child-windows, window--resize-siblings)
2570 (window--resize-this-window, window--resize-root-window)
2571 (window--resize-root-window-vertically)
2572 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2573 (maximize-window, minimize-window, delete-window)
2574 (quit-restore-window, window-split-min-size, split-window)
2575 (balance-windows-2, balance-windows)
2576 (balance-windows-area-adjust, balance-windows-area)
2577 (window--state-get-1, window-state-get, window--state-put-1)
2578 (window--state-put-2, window-state-put)
2579 (display-buffer-record-window, window--display-buffer):
2580 Make functions handle pixelwise sizing of windows.
2581 (display-buffer--action-function-custom-type)
2582 (display-buffer-fallback-action):
2583 Add display-buffer-in-previous-window.
2584 (display-buffer-use-some-window): Resize window to height it had
2585 before.
2586 (fit-window-to-buffer-horizontally): New option.
2587 (fit-frame-to-buffer): Describe new values.
2588 (fit-frame-to-buffer-bottom-margin): Replace with
2589 fit-frame-to-buffer-margins.
2590 (window--sanitize-margin): New function.
2591 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2592 using window-text-pixel-size.
2593
25942013-11-30 Glenn Morris <rgm@gnu.org>
2595
2596 * emacs-lisp/bytecomp.el (byte-compile-form):
2597 Make the `interactive-only' warning like the `obsolete' one.
2598 * comint.el (comint-run):
2599 * files.el (insert-file-literally, insert-file):
2600 * replace.el (replace-string, replace-regexp):
2601 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2602 (goto-line, insert-buffer, next-line, previous-line):
2603 Tweak `interactive-only' spec.
2604
2605 Stop keeping (most) generated cedet grammar files in the repository.
2606 * Makefile.in (semantic): New.
2607 (compile-main): Depend on semantic.
2608
26092013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2612 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2613
2614 * uniquify.el (uniquify-buffer-name-style): Change default.
2615
2616 * loadup.el: Preload "uniquify".
2617
2618 * time.el (display-time-update): Update all mode lines (bug#15999).
2619
2620 * electric.el (electric-indent-mode): Enable by default.
2621 * loadup.el: Preload "electric".
2622
26232013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2624
2625 * emacs-lisp/helpers.el (string-empty-p): New function.
2626 (string-blank-p): New function.
2627
26282013-11-29 Andreas Politz <politza@hochschule-trier.de>
2629
2630 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2631 (Bug#14029).
2632
26332013-11-29 Andreas Politz <politza@fh-trier.de>
2634 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2635 allow non-lambda lists as functions.
2636 (imenu--in-alist): Don't recurse into non-subalists.
2637 (imenu): Don't pass function itself as an argument (Bug#14029).
2638
26392013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * progmodes/python.el (python-mode-map): Remove binding for ":".
2642 (python-indent-electric-colon): Remove command.
2643 (python-indent-post-self-insert-function): Integrate the previous code
2644 of python-indent-electric-colon. Make it conditional on
2645 electric-indent-mode.
2646 (python-mode): Add ?: to electric-indent-chars.
2647 Move python-indent-post-self-insert-function to the end of
2648 post-self-insert-hook.
2649
26502013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * doc-view.el (doc-view-goto-page): Update mode-line.
2653
2654 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2655
26562013-11-27 Glenn Morris <rgm@gnu.org>
2657
2658 * international/charprop.el, international/uni-bidi.el:
2659 * international/uni-category.el, international/uni-combining.el:
2660 * international/uni-comment.el, international/uni-decimal.el:
2661 * international/uni-decomposition.el, international/uni-digit.el:
2662 * international/uni-lowercase.el, international/uni-mirrored.el:
2663 * international/uni-name.el, international/uni-numeric.el:
2664 * international/uni-old-name.el, international/uni-titlecase.el:
2665 * international/uni-uppercase.el:
2666 Remove generated files from VCS repository.
2667
26682013-11-27 Eli Zaretskii <eliz@gnu.org>
2669
2670 * filenotify.el (file-notify-add-watch): Don't special-case
2671 w32notify when computing the directory to watch.
2672
26732013-11-27 Glenn Morris <rgm@gnu.org>
2674
2675 Make bootstrap without generated uni-*.el files possible again.
2676 * loadup.el: Update command-line-args checking for unidata-gen.
2677 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2678 * composite.el, international/characters.el:
2679 Handle unicode tables being undefined.
2680
2681 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2682 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2683 (compile-main): Depend on leim rule.
2684 (leim): New rule.
2685 * loadup.el: Move leim-list.el to leim/ subdirectory.
2686 * startup.el (normal-top-level): No more leim directory.
2687 * international/ja-dic-cnv.el (skkdic-convert):
2688 Disable version-control and autoloads in output files.
2689 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2690 Disable version-control and autoloads in output files.
2691 * leim/quail: Move here from ../leim.
2692 * leim/quail/hangul.el (hangul-input-method-activate):
2693 Add autoload cookie.
2694 (generated-autoload-load-name): Set file-local value.
2695 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2696 (generated-autoload-load-name): Set file-local value.
2697
26982013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2699
2700 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2701 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2702 (eww-quit): Ask confirmation before quitting eww.
2703
27042013-11-26 Eli Zaretskii <eliz@gnu.org>
2705
2706 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2707 reading output from Diff on MS-Windows and MS-DOS.
2708
27092013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2710
2711 * emacs-lisp/helpers.el (string-reverse): New function.
2712
27132013-11-26 Michael Albinus <michael.albinus@gmx.de>
2714
2715 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2716 names on MS Windows, like "/[::1]:".
2717
2718 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2719 SWITCHES.
2720
27212013-11-26 Glenn Morris <rgm@gnu.org>
2722
2723 * progmodes/python.el (python-indent-guess-indent-offset):
2724 Avoid corner-case error. (Bug#15975)
2725
2726 Preload leim-list.el. (Bug#4789)
2727 * loadup.el: Load leim-list.el when found.
2728 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2729
27302013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2731
2732 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2733
2734 * emacs-lisp/helpers.el (string-join): New function.
2735
27362013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2737
2738 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2739 Mark as obsolete and replace it with a symbol property.
2740 (byte-compile-form): Use new 'interactive-only property.
2741 * comint.el, files.el, replace.el, simple.el:
2742 Apply new 'interactive-only properly.
2743
27442013-11-25 Martin Rudalics <rudalics@gmx.at>
2745
2746 * window.el (display-buffer-at-bottom): Make sure that
2747 split-window-sensibly creates the new window on bottom
2748 (Bug#15961).
2749
27502013-11-23 David Kastrup <dak@gnu.org>
2751
2752 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2753 on the conflict markers when available.
2754 (smerge--get-marker): New function.
2755 (smerge-end-re, smerge-base-re): Add subgroup.
2756
27572013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * frame.el (handle-focus-in, handle-focus-out): Add missing
2760 interactive spec.
2761
27622013-11-25 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2765 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2766
27672013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2770 (gomoku--last-pos): New var.
2771 (gomoku--intangible-chars): New const.
2772 (gomoku--intangible): New function.
2773 (gomoku-mode): Use it. Derive from special-mode.
2774 (gomoku-move-up): Adjust line count.
2775 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2776 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2777 Simplify accordingly.
2778
2779 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2780 Remove blink-cursor code.
2781 (blink-cursor-timer-function, blink-cursor-suspend):
2782 Don't special-case GUIs.
2783 (blink-cursor-mode): Use focus-in/out-hook.
2784
27852013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2786
2787 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2788 work when annotation is invisible (Bug#13886).
2789
27902013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2791
2792 * json.el (json-alist-p): Only return non-nil if the alist has
2793 simple keys (Bug#13518).
2794
27952013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2796
2797 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2798 when control-statement is the first statement in a buffer (Bug#15956).
2799
28002013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2801
2802 * imenu.el (imenu-generic-skip-comments-and-strings):
2803 New option (Bug#15560).
2804 (imenu--generic-function): Use it.
2805
28062013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2807
2808 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2809 (Bug#13898)
2810
28112013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2812
2813 * emacs-lisp/helpers.el: Add some string helpers.
2814 (string-trim-left): Removes leading whitespace.
2815 (string-trim-right): Removes trailing whitespace.
2816 (string-trim): Removes leading and trailing whitespace.
2817
2818 * subr.el (string-suffix-p): New function.
2819
28202013-11-23 Glenn Morris <rgm@gnu.org>
2821
2822 * progmodes/python.el (python-shell-send-file):
2823 Add option to delete file when done. (Bug#15647)
2824 (python-shell-send-string, python-shell-send-region): Use it.
2825
28262013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2827
2828 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2829 to set buffer-read-only to t, never to nil. (Bug#15938)
2830
2831 * textmodes/tex-mode.el (latex-noindent-environments):
2832 Add safe-local-variable property. (Bug#15936)
2833
28342013-11-23 Glenn Morris <rgm@gnu.org>
2835
2836 * textmodes/enriched.el (enriched-mode): Doc fix.
2837 * emacs-lisp/authors.el (authors-renamed-files-alist):
2838 Add enriched.doc -> enriched.txt.
2839
2840 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2841
28422013-11-22 Leo Liu <sdl.web@gmail.com>
2843
2844 * progmodes/octave.el (inferior-octave-startup): Spit out error
2845 message.
2846
28472013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2848
2849 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2850 Improve docstring.
2851 Add :version.
2852 (ruby-encoding-magic-comment-style): Add :version.
2853
28542013-11-22 Leo Liu <sdl.web@gmail.com>
2855
2856 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2857 (Bug#15076)
2858 (octave-help-mode): Adapt to change to help-mode-finish to use
2859 derived-mode-p on 2013-09-17.
2860 (inferior-octave-prompt): Also match octave-gui.
2861 (octave-kill-process): Don't ask twice. (Bug#10564)
2862
28632013-11-22 Leo Liu <sdl.web@gmail.com>
2864
2865 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2866 (inferior-octave-startup, inferior-octave-check-process)
2867 (inferior-octave-track-window-width-change)
2868 (octave-completion-at-point, octave-eldoc-function): Use it.
2869 (octave-kill-process): Provide confirmation. (Bug#10564)
2870
28712013-11-21 Leo Liu <sdl.web@gmail.com>
2872
2873 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2874 Fix obsolete variable comment-use-global-state.
2875
28762013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2877
2878 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2879 Add `octave-source-file'.
2880 (octave-source-file): New function. (Bug#15935)
2881
28822013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2883
2884 * net/eww.el (eww-local-regex): New variable.
2885 (eww): Use it to detect localhost and similar.
2886
28872013-11-21 Leo Liu <sdl.web@gmail.com>
2888
2889 Add completion for command `ag'.
2890 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2891 (pcomplete/ag): New function.
2892 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2893
28942013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2897 (bug#14646).
2898 (make-obsolete): Remove interactive spec.
2899
29002013-11-21 Glenn Morris <rgm@gnu.org>
2901
2902 * startup.el (command-line-1): Use path-separator with -L.
2903
29042013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2905
2906 * emacs-lisp/package.el (describe-package-1): Add package archive
2907 to shown fields.
2908
29092013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2910
2911 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2912 Change default to "# encoding: %s" to differentiate it from the
2913 default Ruby encoding comment template.
2914
29152013-11-20 era eriksson <era+emacsbugs@iki.fi>
2916
2917 * ses.el (ses-mode): Doc fix. (Bug#14748)
2918
29192013-11-20 Leo Liu <sdl.web@gmail.com>
2920
2921 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2922
29232013-11-19 Dan Nicolaescu <dann@gnu.org>
2924
2925 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2926 when rebase or bisect are in progress.
2927
29282013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2929
2930 * filenotify.el (file-notify-add-watch): Doc fix.
2931
29322013-11-19 Leo Liu <sdl.web@gmail.com>
2933
2934 * obsolete/rcompile.el: Mark obsolete.
2935
2936 * progmodes/compile.el (compilation-start)
2937 (compilation-goto-locus, compilation-find-file):
2938 Pass no-display-ok and handle nil value from display-buffer.
2939 (Bug#13594)
2940
2941 * window.el (display-buffer-alist, display-buffer): Document the
2942 new parameter no-display-ok. Return either a window or nil
2943 but never a non-window value.
2944
29452013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2946
2947 * electric.el (electric-indent-mode-map): Remove.
2948 (electric-indent-mode): Change the global-map instead (bug#15915).
2949
2950 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2951 Use add-function.
2952
29532013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * emacs-lisp/nadvice.el (remove-function): Align with
2956 add-function's behavior.
2957
2958 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2959 (gdb--string-regexp): New constant.
2960 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2961 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2962 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2963 submatch 1.
2964 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2965 Adjust use accordingly.
2966 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2967
29682013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2969
2970 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2971 interpolation curlies (Bug#15914).
2972
29732013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2974
2975 * calc/calc.el (calc-context-sensitive-enter): New variable.
2976 (calc-enter): Use `calc-context-sensitive-enter'.
2977
29782013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2979
2980 * progmodes/cfengine.el: Version bump.
2981 (cfengine-cf-promises): New defcustom to locate cf-promises.
2982 (cfengine3-vartypes): Add new "data" type.
2983 (cfengine3--current-word): New function to get current name-like
2984 word or its bounds.
2985 (cfengine3--current-function): New function to look up a CFEngine
2986 function's definition.
2987 (cfengine3-format-function-docstring): New function.
2988 (cfengine3-make-syntax-cache): New function.
2989 (cfengine3-documentation-function): New function: ElDoc glue.
2990 (cfengine3-completion-function): New function: completion glue.
2991 (cfengine3-mode): Set `compile-command',
2992 `eldoc-documentation-function', and add to
2993 `completion-at-point-functions'.
2994
29952013-11-16 Michael Albinus <michael.albinus@gmx.de>
2996
2997 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2998 `tramp-current-connection'.
2999
30002013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3001
3002 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3003 nil/self/true/false with "end of symbol".
3004
30052013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3006
3007 * subr.el (version-regexp-alist): Fix a typo.
3008
30092013-11-15 Michael Albinus <michael.albinus@gmx.de>
3010
3011 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3012 "en_US.utf8" and "LC_CTYPE" to "".
3013 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3014 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3015
30162013-11-15 Leo Liu <sdl.web@gmail.com>
3017
3018 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3019
30202013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * progmodes/gud.el (ctl-x-map):
3023 Remove C-x SPC binding. (Bug#12342)
3024 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3025
30262013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3027
3028 * subr.el (version-regexp-alist):
3029 Recognize hg, svn and darcs versions as snapshot versions.
3030
3031 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3032 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3033 (ruby--encoding-comment-required-p): Extract from
3034 `ruby-mode-set-encoding'.
3035 (ruby-mode-set-encoding): Add the ability to always insert an
3036 utf-8 encoding comment. Fix and simplify coding comment update
3037 logic.
3038
30392013-11-14 Michael Albinus <michael.albinus@gmx.de>
3040
3041 * net/tramp-gvfs.el (top): Run init code only when
3042 `tramp-gvfs-enabled' is not nil.
3043 (tramp-gvfs-enabled): Check also :system bus.
3044
30452013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 Sync with upstream verilog-mode revision 78e66ba.
3048 * progmodes/verilog-mode.el (verilog-end-of-defun)
3049 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3050 (verilog-get-end-of-defun): Remove unused argument.
3051 (verilog-comment-depth): Remove unused local `e'.
3052 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3053 Don't pass arg to verilog-get-end-of-defun.
3054
30552013-11-14 Glenn Morris <rgm@gnu.org>
3056
3057 * obsolete/assoc.el (aget): Prefix dynamic variable.
3058
3059 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3060
30612013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * widget.el, hfy-cmap.el: Remove bogus package version number.
3064
30652013-11-13 Glenn Morris <rgm@gnu.org>
3066
3067 * replace.el (replace-eval-replacement):
3068 Try to give more helpful error message. (Bug#15836)
3069
3070 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3071 (archive-7z-update): Avoid custom type mismatches.
3072
3073 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3074
30752013-11-13 Michael Albinus <michael.albinus@gmx.de>
3076
3077 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3078 address can be empty.
3079
3080 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3081 Accept nil SWITCHES.
3082 (tramp-gvfs-handle-write-region): Implement APPEND.
3083
30842013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3085
3086 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3087 binary "|" operator and closing block args delimiter.
3088 Remove FIXME comment referring to Ruby 1.8-only syntax.
3089 (ruby-smie--implicit-semi-p): Not after "|" operator.
3090 (ruby-smie--closing-pipe-p): New function.
3091 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3092 (ruby-smie-rules): Indent after "|".
3093
30942013-11-12 Glenn Morris <rgm@gnu.org>
3095
3096 * ps-print.el (ps-face-attribute-list):
3097 Handle anonymous faces. (Bug#15827)
3098
30992013-11-12 Martin Rudalics <rudalics@gmx.at>
3100
3101 * window.el (display-buffer-other-frame): Fix doc-string.
3102 (Bug#15868)
3103
31042013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3107
31082013-11-11 Michael Albinus <michael.albinus@gmx.de>
3109
3110 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3111 (tramp-sh-handle-file-local-copy): Don't write a message when
3112 saving temporary files.
3113
3114 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3115 both directories are remote.
3116 (tramp-smb-handle-directory-files): Do not return double entries.
3117 Do not expand full file names.
3118 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3119 (tramp-smb-handle-write-region): Implement APPEND.
3120 (tramp-smb-get-stat-capability): Fix a stupid bug.
3121
31222013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3125
31262013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3127
3128 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3129 throwing error over malformed let/let* (bug#15814).
3130
31312013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * iswitchb.el (iswitchb-mode): Mark obsolete.
3134
31352013-11-11 Glenn Morris <rgm@gnu.org>
3136
3137 * international/uni-bidi.el, international/uni-category.el:
3138 * international/uni-name.el, international/uni-numeric.el:
3139 Regenerate for Unicode 6.3.0.
3140
31412013-11-10 Michael Albinus <michael.albinus@gmx.de>
3142
3143 * net/tramp.el (tramp-methods):
3144 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3145 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3146
31472013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3148
3149 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3150 Force highlighting text after Summary keyword in doc face for rpm.
3151
31522013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3153
3154 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3155 available and the word has no wildcards, append one to the grep pattern.
3156 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3157 (ispell-complete-word): Call `ispell-lookup-words' with the value
3158 independent of `ispell-look-p'.
3159
31602013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3161
3162 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3163 Not after "||".
3164 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3165 their parent.
3166
31672013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3168
3169 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3170 (ruby-font-lock-keywords): Use backquote.
3171
31722013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3173
3174 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3175 (ruby-smie--backward-token): Only consider full-string matches.
3176
31772013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3178
3179 * faces.el (describe-face): Add distant-foreground.
3180
31812013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3182
3183 * progmodes/ruby-mode.el: Improve encoding comment handling.
3184 (ruby-encoding-magic-comment-style): New option.
3185 (ruby-custom-encoding-magic-comment-template): New option.
3186 (ruby--insert-coding-comment, ruby--detect-encoding):
3187 New functions extracted from `ruby-mode-set-encoding'.
3188 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3189 to control the style of the auto-inserted encoding comment.
3190
31912013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3192
3193 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3194 Use `smie-backward-sexp' with token argument.
3195
31962013-11-08 Michael Albinus <michael.albinus@gmx.de>
3197
3198 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3199 Remove instrumentation code.
3200
32012013-11-08 Glenn Morris <rgm@gnu.org>
3202
3203 * progmodes/autoconf.el (autoconf-mode):
3204 Tweak comment-start-skip. (Bug#15822)
3205
32062013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3209 at bobp (bug#15826).
3210 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3211
32122013-11-08 Darren Hoo <darren.hoo@gmail.com>
3213
3214 * man.el (Man-start-calling): New macro, extracted from
3215 Man-getpage-in-background.
3216 (Man-getpage-in-background): Use it.
3217 (Man-update-manpage): New command.
3218 (Man-mode-map): Bind it.
3219
32202013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3221
3222 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3223 of "and", "or", "&&" and "||".
3224 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3225 argument. Prohibit opening curly brace because it could only be a
3226 block opener in that position.
3227 (ruby-smie--forward-token, ruby-smie--backward-token):
3228 Separate "|" from "&" or "*" going after it. That can happen in block
3229 arguments.
3230 (ruby-smie--indent-to-stmt): New function, seeks the end of
3231 previous statement or beginning of buffer.
3232 (ruby-smie-rules): Use it.
3233 (ruby-smie-rules): Check if there's a ":" before a curly block
3234 opener candidate; if there is, it's a hash.
3235
32362013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3239 (cl--block-wrapper): Fix last accidental change.
3240
32412013-11-07 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3244 Instrument, in order to hunt failure on hydra.
3245
32462013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3247
3248 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3249 malformed bindings form (bug#15814).
3250
32512013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3252
3253 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3254 "." compared to " @ ". This incidentally fixes some indentation
3255 examples with "do".
3256 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3257 (ruby-smie-grammar): New tokens: "and" and "or".
3258 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3259 Exclude "and" and "or". Remove "do" in order to work around token
3260 priorities.
3261 (ruby-smie-rules): Add all infix tokens. Handle the case of
3262 beginning-of-buffer.
3263
32642013-11-06 Glenn Morris <rgm@gnu.org>
3265
3266 * Makefile.in (setwins_almost, setwins_for_subdirs):
3267 Avoid accidental matches.
3268
32692013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * menu-bar.el (popup-menu): Use key-binding.
3272
32732013-11-06 Eli Zaretskii <eliz@gnu.org>
3274
3275 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3276 menus, support also the menus produced by minor modes.
3277 (Bug#15817)
3278
32792013-11-06 Leo Liu <sdl.web@gmail.com>
3280
3281 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3282 DISTANCE to bound the search. All uses changed. (Bug#15808)
3283
32842013-11-06 Glenn Morris <rgm@gnu.org>
3285
3286 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3287 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3288 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3289
32902013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * electric.el (electric-indent-just-newline): New command.
3293 (electric-indent-mode-map): New keymap.
3294 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3295 Re-add :group which weren't redundant.
3296
3297 * electric.el (electric-indent-local-mode): New minor mode.
3298 (electric-indent-functions-without-reindent): New var.
3299 (electric-indent-post-self-insert-function): Use it.
3300 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3301
33022013-11-05 Eli Zaretskii <eliz@gnu.org>
3303
3304 * international/quail.el (quail-help): Be more explicit about the
3305 meaning of the labels shown on the keys. (Bug#15800)
3306
3307 * startup.el (normal-top-level): Load the subdirs.el files before
3308 setting the locale environment. (Bug#15805)
3309
33102013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3313 via arguments so as to get the right ones (bug#15418).
3314
3315 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3316
33172013-11-05 Michael Albinus <michael.albinus@gmx.de>
3318
3319 Fix problems found while writing a test suite.
3320
3321 * net/tramp-compat.el (tramp-compat-load): New defun.
3322 * net/tramp.el (tramp-handle-load): Use it.
3323
3324 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3325 "(numberp ok-if-already-exists)" correctly.
3326
33272013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3328
3329 * international/characters.el (glyphless-char-display-control):
3330 Add usage note.
3331
33322013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3333
3334 * progmodes/python.el (python-mode):
3335 * progmodes/scheme.el (scheme-mode):
3336 * progmodes/prolog.el (prolog-mode):
3337 * progmodes/ruby-mode.el (ruby-mode):
3338 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3339 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3340
33412013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * rect.el (rectangle--highlight-for-redisplay):
3344 * emacs-lisp/smie.el (smie--next-indent-change):
3345 Use buffer-chars-modified-tick.
3346
3347 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3348
3349 * electric.el (electric-indent-post-self-insert-function):
3350 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3351
33522013-11-04 Helmut Eller <eller.helmut@gmail.com>
3353
3354 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3355
33562013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3357
3358 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3359 (bug#15786).
3360
33612013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3364
3365 * progmodes/python.el: Fix up last change.
3366 (python-shell--save-temp-file): New function.
3367 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3368 `string' comes from the current buffer.
3369 (python-shell-send-string-no-output): Remove `msg' arg.
3370 (python--use-fake-loc): New var.
3371 (python-shell-buffer-substring): Obey it. Try to compensate for the
3372 extra coding line added by python-shell--save-temp-file.
3373 (python-shell-send-region): Use python-shell--save-temp-file and
3374 python-shell-send-file directly. Add `nomain' argument.
3375 (python-shell-send-buffer): Use python-shell-send-region.
3376 (python-electric-pair-string-delimiter): New function.
3377 (python-mode): Use it.
3378
33792013-11-04 Eli Zaretskii <eliz@gnu.org>
3380
3381 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3382 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3383 environment and decoding all of the default-directory's to here
3384 from command-line.
3385 (command-line): Decode also argv[0].
3386
3387 * loadup.el: Error out if default-directory is a multibyte string
3388 when we are dumping.
3389
3390 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3391
33922013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3393
3394 * emacs-lisp/package.el (package-menu-mode)
3395 (package-menu--print-info, package-menu--archive-predicate):
3396 Add Archive column to package list.
3397
33982013-11-04 Michael Albinus <michael.albinus@gmx.de>
3399
3400 Fix problems found while writing a test suite.
3401
3402 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3403 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3404 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3405 to nil when running original file name handler. Otherwise,
3406 there are problems with constructs like "$$FOO".
3407
3408 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3409 for `localname'.
3410
34112013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3412
3413 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3414
3415 * subr.el (version<, version<=, version=):
3416 Update docstrings with information for snapshot versions.
3417
3418 * helpers.el: New library for misc helper functions.
3419 (hash-table-keys): New function returning a list of hash keys.
3420 (hash-table-values): New function returning a list of hash values.
3421
34222013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3423
3424 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3425 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3426
34272013-11-04 Michal Nazarewicz <mina86@mina86.com>
3428
3429 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3430 checking whether point is after a 1-letter word.
3431
34322013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3433
3434 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3435 Don't infloop when expanding region over `multiline' syntax-type that
3436 begins a line (bug#15778).
3437
34382013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3441 Make it into a proper minor mode.
3442 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3443 (rectangle-mark-mode-map): New keymap.
3444 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3445
34462013-11-04 Glenn Morris <rgm@gnu.org>
3447
3448 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3449
34502013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3453 (ruby-smie-rules): Use smie-rule-parent instead.
3454
3455 * emacs-lisp/smie.el (smie-rule-parent): Always call
3456 smie-indent-virtual rather than only for hanging tokens.
3457 (smie--next-indent-change): New helper command.
3458
34592013-11-03 Glenn Morris <rgm@gnu.org>
3460
3461 * Makefile.in (abs_srcdir): Remove.
3462 (emacs): Unset EMACSLOADPATH.
3463
34642013-11-02 Glenn Morris <rgm@gnu.org>
3465
3466 * Makefile.in (EMACS): Use a relative filename.
3467 (abs_top_builddir): Remove.
3468 (custom-deps, finder-data, autoloads): Use --chdir.
3469
3470 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3471
3472 Use relative filenames in TAGS files.
3473 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3474 (lisptagsfiles4, TAGS): Use relative file names.
3475 (TAGS-LISP): Remove.
3476 (maintainer-clean): No more TAGS-LISP file.
3477
3478 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3479 (lisptagsfiles4): Use absolute filenames again.
3480 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3481 Remove all *loaddefs files, not just the first. Remove esh-groups.
3482 (maintainer-clean): Delete TAGS, TAGS-LISP.
3483
34842013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3485
3486 * emacs-lisp/package.el (package-version-join):
3487 Recognize snapshot versions.
3488
34892013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3490
3491 * subr.el (version-regexp-alist): Add support for snapshot versions.
3492
34932013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3494
3495 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3496 New function, replacement for `smie-rule-parent' for when we want to
3497 skip over our direct parent if it's an assignment token..
3498 (ruby-smie-rules): Use it.
3499
35002013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3501
3502 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3503 unconditionally. Remove now unnecessary forward declarations.
3504 Remove XEmacs-specific setup.
3505 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3506 (ruby-font-lock-syntactic-keywords)
3507 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3508 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3509 (ruby-here-doc-end-syntax): Remove.
3510 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3511 defined as function.
3512
35132013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3514
3515 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3516
35172013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3518
3519 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3520 table and abbrev table, `define-derived-mode' does that for us
3521 anyway.
3522
35232013-11-01 Glenn Morris <rgm@gnu.org>
3524
3525 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3526 files is atomic for some time, so no parallel compilation issues).
3527
35282013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3529
3530 * faces.el (face-x-resources): Add :distant-foreground.
3531 (region): Use :distant-foreground for gtk and ns.
3532
35332013-11-01 Tassilo Horn <tsdh@gnu.org>
3534
3535 Allow multiple bibliographies when BibLaTeX is used rather than
3536 BibTeX.
3537 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3538 (reftex-locate-bibliography-files): Us it.
3539
35402013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3541
3542 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3543 allow comments in pbm files.
3544
3545 * term/w32-win.el (dynamic-library-alist): Support newer versions
3546 of libjpeg starting with v7: look only for the DLL from the
3547 version against which Emacs was built.
3548 Support versions of libpng beyond 1.4.x.
3549 Support libtiff v4.x.
3550
35512013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3552
3553 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3554 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3555 Add property :safe.
3556 (ruby-deep-arglist): Add property :type.
3557
35582013-10-31 Glenn Morris <rgm@gnu.org>
3559
3560 * Makefile.in (custom-deps, finder-data): No need to setq the target
3561 variables, we are in the right directory and the defaults work fine.
3562
35632013-10-30 Glenn Morris <rgm@gnu.org>
3564
3565 * Makefile.in (autoloads): Do not use abs_lisp.
3566
3567 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3568 `newline' does not respect `standard-output', so use `princ'.
3569
35702013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3571
3572 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3573 * buff-menu.el (Buffer-menu--unmark): New function.
3574 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3575
35762013-10-30 Glenn Morris <rgm@gnu.org>
3577
3578 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3579
3580 * emacs-lisp/package.el (lm-homepage): Declare.
3581
3582 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3583 Fix doc typos.
3584
3585 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3586
3587 * Makefile.in (finder-data, autoloads, update-subdirs)
3588 (compile-main, compile-clean, compile-always, bootstrap-clean):
3589 Check return value of cd.
3590 (compile-calc): Remove.
3591
35922013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3595
3596 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3597 (byte-compile-and-folded): New function.
3598 (=, <, >, <=, >=): Use it.
3599
3600 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3601 (path-separator, null-device, buffer-file-coding-system)
3602 (lpr-headers-switches): Check system-type before modifying them.
3603 (find-buffer-file-type-coding-system): Mark obsolete.
3604 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3605 find-file-not-found-set-buffer-file-coding-system.
3606 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3607 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3608 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3609 (w32-direct-print-region-helper, w32-direct-print-region-function)
3610 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3611 * startup.el (normal-top-level-add-subdirs-to-load-path):
3612 * ps-print.el (ps-print-region-function):
3613 * lpr.el (print-region-function): Use new name.
3614
3615 * subr.el (custom-declare-variable-early): Remove function.
3616 (custom-declare-variable-list): Remove var.
3617 (error, user-error): Remove `while' loop.
3618 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3619 (user-emacs-directory-warning, locate-user-emacs-file):
3620 Move to files.el.
3621 * simple.el (read-quoted-char-radix, read-quoted-char):
3622 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3623 Move from subr.el.
3624 * custom.el (custom-declare-variable-list): Don't process
3625 custom-declare-variable-list.
3626
3627 * progmodes/python.el (python-shell-get-buffer): New function.
3628 (python-shell-get-process): Use it.
3629 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3630 Python which encoding was used. Don't split-string since we only care
3631 about the first line. Return the temp-file, if applicable.
3632 (python-shell-send-region): Tell compile.el how to turn locations in
3633 the temp-file into locations in the source buffer.
3634
36352013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * subr.el (undefined): Add missing behavior from the C code for
3638 unbound keys.
3639
3640 * rect.el: Use lexical-binding. Add new rectangular region support.
3641 (rectangle-mark): New command.
3642 (rectangle--region): New var.
3643 (deactivate-mark-hook): Reset rectangle--region.
3644 (rectangle--extract-region, rectangle--insert-for-yank)
3645 (rectangle--highlight-for-redisplay)
3646 (rectangle--unhighlight-for-redisplay): New functions.
3647 (region-extract-function, redisplay-unhighlight-region-function)
3648 (redisplay-highlight-region-function): Use them to handle
3649 rectangular region.
3650 * simple.el (region-extract-function): New var.
3651 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3652 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3653 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3654 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3655 (redisplay-unhighlight-region-function)
3656 (redisplay-highlight-region-function): New vars.
3657 (redisplay--update-region-highlight): New function.
3658 (pre-redisplay-function): Use it.
3659 (exchange-point-and-mark): Don't deactivate the mark before
3660 reactivate-it anyway.
3661 * comint.el (comint-kill-region): Remove yank-handler argument.
3662 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3663 (delete-char): Remove property, since it's now part of their
3664 default behavior.
3665 (self-insert-iso): Remove property since this command doesn't exist.
3666
3667 * emacs-lisp/package.el (package--download-one-archive)
3668 (describe-package-1): Don't query the user about final newline.
3669
36702013-10-29 Daniel Colascione <dancol@dancol.org>
3671
3672 * net/tramp.el (tramp-methods): Document new functionality.
3673 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3674 tramp-hostname-checker if method provides one instead of scanning
3675 argument list for "%h" to decide hostname acceptability.
3676
36772013-10-28 Michael Albinus <michael.albinus@gmx.de>
3678
3679 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3680 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3681 Handle COPY-CONTENTS. (Bug#15737)
3682
36832013-10-28 Daiki Ueno <ueno@gnu.org>
3684
3685 * epa-file.el
3686 (epa-file-cache-passphrase-for-symmetric-encryption):
3687 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3688
36892013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3690
3691 * image.el (defimage):
3692 (image-load-path): Doc fixes.
3693
36942013-10-27 Alan Mackenzie <acm@muc.de>
3695
3696 Indent statements in macros following "##" correctly.
3697 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3698 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3699
37002013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3701
3702 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3703
37042013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3705
3706 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3707 after `=' is probably a new expression.
3708
37092013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3710
3711 * man.el (man-imenu-title): New option.
3712 (Man-mode-map): Add menu. (Bug#15722)
3713 (Man-mode): Add imenu to menu.
3714
37152013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3716
3717 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3718 specific in what the first arg can be: a non-keyword word,
3719 string/regexp/percent literal opener, opening paren, or unary
3720 operator followed directly by word.
3721
37222013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3725 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3726 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3727 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3728 Remove vars, they do not apply any more.
3729 (prolog-mode-abbrev-table): Remove redundant declaration.
3730 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3731 (prolog-use-smie): Remove.
3732 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3733 supported by prolog-electric-if-then-else-flag.
3734 (prolog-mode-variables, prolog-menu): Use setq-local.
3735 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3736 Remove binding to `Backspace' since this key doesn't exist anyway.
3737 Remove bindings for electric self-inserting keys.
3738 (prog-mode): Assume it's defined.
3739 (prolog-post-self-insert): New function.
3740 (prolog-mode): Use it.
3741 (prolog-indent-line, prolog-indent-level)
3742 (prolog-find-indent-of-matching-paren)
3743 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3744 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3745 (prolog-goto-next-paren, prolog-in-string-or-comment)
3746 (prolog-tokenize, prolog-inside-mline-comment)
3747 (prolog-find-start-of-mline-comment): Remove functions.
3748 (prolog-find-unmatched-paren, prolog-clause-end)
3749 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3750 (prolog-electric--if-then-else): Rename from
3751 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3752 (prolog-tokenize-searchkey): Remove const.
3753 (prolog-clause-info): Use forward-sexp.
3754 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3755 (prolog-electric-if-then-else): Remove commands.
3756 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3757 for use in post-self-insert-hook.
3758 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3759 for use in post-self-insert-hook.
3760 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3761 for use in post-self-insert-hook.
3762 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3763 adapt it for use in post-self-insert-hook.
3764
37652013-10-25 Michael Albinus <michael.albinus@gmx.de>
3766
3767 * emacs-lisp/ert.el (ert-run-tests-interactively):
3768 Use `completing-read'. (Bug#9756)
3769
37702013-10-25 Eli Zaretskii <eliz@gnu.org>
3771
3772 * simple.el (line-move): Call line-move-1 instead of
3773 line-move-visual when the current window hscroll is zero, but
3774 temporary-goal-column indicates we will need to hscroll as result
3775 of the movement. (Bug#15712)
3776
37772013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3778
3779 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3780 capitalization. Use :visible instead of :active.
3781 Fix `ruby-indent-exp' reference. Add menu items for the generic
3782 commands that are used with SMIE.
3783 (ruby-do-end-to-brace): Insert space after `{'.
3784
37852013-10-25 John Anthony <john@jo.hnanthony.com>
3786
3787 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3788
3789 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3790
37912013-10-25 Glenn Morris <rgm@gnu.org>
3792
3793 * vc/vc.el (vc-print-log): Don't use a working revision unless
3794 one was explicitly specified. (Bug#15322)
3795
37962013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * subr.el (add-to-list): Preserve return value in compiler-macro
3799 (bug#15692).
3800
38012013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3802
3803 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3804 result. Ask user to retry using '-all' flag. (Bug#15701)
3805
38062013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * emacs-lisp/smie.el: New smie-config system.
3809 (smie-config): New defcustom.
3810 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3811 (smie-config-guess, smie-config-save): New commands.
3812 (smie-config--mode-local, smie-config--buffer-local)
3813 (smie-config--trace, smie-config--modefuns): New vars.
3814 (smie-config--advice, smie-config--mode-hook)
3815 (smie-config--setter, smie-config-local, smie-config--get-trace)
3816 (smie-config--guess-value, smie-config--guess): New functions.
3817 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3818 text properties. Treat "string fence" syntax like string syntax.
3819
3820 * progmodes/sh-script.el (sh-use-smie): Change default.
3821 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3822 (sh-var-value): Simplify by CSE.
3823 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3824 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3825 is used.
3826 (sh-guess-basic-offset): Use cl-incf.
3827 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3828
38292013-10-24 Helmut Eller <eller.helmut@gmail.com>
3830
3831 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3832 (bug#15699).
3833
38342013-10-24 Glenn Morris <rgm@gnu.org>
3835
3836 * Makefile.in (abs_top_srcdir): Remove.
3837 (update-subdirs): Use relative path to update-subdirs.
3838
38392013-10-24 Eli Zaretskii <eliz@gnu.org>
3840
3841 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3842 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3843 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3844 Call unmsys--file-name before expand-file-name, not after it.
3845
38462013-10-24 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3849 (ert-test-skipped): New error.
3850 (ert-skip, ert-stats-skipped): New defuns.
3851 (ert--skip-unless): New macro.
3852 (ert-test-skipped): New struct.
3853 (ert--run-test-debugger, ert-test-result-type-p)
3854 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3855 (ert--stats-set-test-and-result, ert-char-for-test-result)
3856 (ert-string-for-test-result, ert-run-tests-batch)
3857 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3858 Handle skipped tests. (Bug#9803)
3859
38602013-10-24 Glenn Morris <rgm@gnu.org>
3861
3862 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3863
3864 * Makefile.in (abs_top_srcdir): New, set by configure.
3865 (update-subdirs): Correct build-aux location.
3866
38672013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3868
3869 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3870 value, whether we could auto-deduce `backend', or not.
3871
3872 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3873 with parameters" example. Simplify the "is it block or is it
3874 hash" check, but also make it more thorough.
3875
38762013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3877
3878 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3879
38802013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3883 { if it is hanging.
3884
3885 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3886 :before ";".
3887
38882013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3889
3890 * progmodes/compile.el (compilation-directory-matcher)
3891 (compilation-page-delimiter):
3892 Support GNU Make-4.0 directory quoting. (Bug#15678)
3893
38942013-10-23 Leo Liu <sdl.web@gmail.com>
3895
3896 * ido.el (ido-tidy): Handle read-only text.
3897
38982013-10-23 Glenn Morris <rgm@gnu.org>
3899
3900 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3901 (emacs, compile, compile-always):
3902 Quote entities that might contain whitespace.
3903 (custom-deps, finder-data, autoloads): Use abs_lisp.
3904 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3905 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3906 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3907
39082013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3909
3910 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3911 Use `following-char'.
3912
39132013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3916 * progmodes/ruby-mode.el (ruby-smie-rules):
3917 Remove corresponding workaround. Fix indentation rule of ";" so it
3918 also applies when ";" is the parent.
3919
39202013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3921
3922 * frame.el (display-screens, display-pixel-height)
3923 (display-pixel-width, display-mm-width, display-backing-store)
3924 (display-save-under, display-planes, display-color-cells)
3925 (display-visual-class, display-monitor-attributes-list):
3926 Mention the optional ‘display’ argument in doc strings.
3927
39282013-10-22 Michael Gauland <mikelygee@amuri.net>
3929
3930 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3931 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3932
39332013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3934
3935 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3936 TODO. Add "." after " @ ".
3937 (ruby-smie--at-dot-call): New function. Checks if point at method
3938 call with explicit target.
3939 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3940 to the method name tokens when it precedes them.
3941 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3942 (ruby-smie-rules): Add rule for indentation before and after "."
3943 token.
3944
39452013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * textmodes/remember.el (remember-diary-extract-entries):
3948 Avoid add-to-list.
3949
3950 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3951 an instruction.
3952
39532013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3954
3955 * progmodes/ruby-mode.el (ruby-smie-grammar):
3956 Add (almost) all infix operators.
3957 (ruby-smie--implicit-semi-p): Add new operator chars.
3958
3959 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3960 `smie-down-list'.
3961 (ruby-smie--args-separator-p): Check that there's no newline
3962 between method call and its arguments.
3963
39642013-10-20 Alan Mackenzie <acm@muc.de>
3965
3966 Allow comma separated lists after Java "implements".
3967
3968 * progmodes/cc-engine.el (c-backward-over-enum-header):
3969 Parse commas.
3970 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3971 from a "disallowed" list in enum fontification.
3972
39732013-10-20 Johan Bockgård <bojohan@gnu.org>
3974
3975 * startup.el (default-frame-background-mode): Remove unused defvar.
3976
3977 * progmodes/verilog-mode.el (verilog-mode): Don't set
3978 comment-indent-function globally.
3979
39802013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3981
3982 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3983 Move Info menu item creation to ns-win.el.
3984
3985 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3986 in menu bar.
3987
3988 * menu-bar.el: Move GNUstep specific menus...
3989
3990 * term/ns-win.el (ns-initialize-window-system): ... to here.
3991
39922013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * simple.el (newline): Only run post-self-insert-hook when
3995 called interactively.
3996
39972013-10-19 Johan Bockgård <bojohan@gnu.org>
3998
3999 * icomplete.el (icomplete-with-completion-tables): Add :version.
4000
40012013-10-19 Alan Mackenzie <acm@muc.de>
4002
4003 Fix fontification bugs with constructors and const.
4004
4005 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4006 CASE 2) Remove the check for the absence of a suffix construct
4007 after a function declaration with only types (no identifiers) in
4008 the parentheses. Also, accept a function declaration with just a
4009 type inside the parentheses, if this type can be positively
4010 recognised as such, or if a prefix keyword like "explicit" nails
4011 down the construct as a declaration.
4012
40132013-10-19 Eli Zaretskii <eliz@gnu.org>
4014
4015 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4016 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4017 the problem whereby selecting a menu item that leads to a
4018 minibuffer prompt moves the cursor out of the minibuffer window,
4019 making it hard to type at the prompt. Suggested by Stefan Monnier
4020 <monnier@iro.umontreal.ca>.
4021
40222013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4023
4024 * menu-bar.el: Don't make Services menu.
4025
40262013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4027
4028 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4029 (ffap-alist): Use ffap-c++-mode for c++-mode.
4030 (ffap-c++-path): New variable.
4031 (ffap-c++-mode): New function.
4032
40332013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4034
4035 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4036
40372013-10-18 Michael Albinus <michael.albinus@gmx.de>
4038
4039 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4040 introduced on 2013-09-08, which results in an infinite loop
4041 requesting a password.
4042
40432013-10-18 Glenn Morris <rgm@gnu.org>
4044
4045 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4046
40472013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4048
4049 Sync with upstream verilog-mode revision 1a6ecec7.
4050 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4051 (verilog-mode-release-date): Remove.
4052 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4053 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4054 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4055 (verilog-auto-tieoff-ignore-regexp)
4056 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4057 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4058 (verilog-signals-with, verilog-dir-cache-preserving)
4059 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4060 Doc fixes.
4061 (verilog-case-fold): New option, to control case folding in
4062 regexp searches, bug597.
4063 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4064 (verilog-string-match-fold, verilog-in-paren-count)
4065 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4066 (verilog-at-close-struct-p): New functions.
4067 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4068 (verilog-forward-sexp, verilog-set-auto-endcomments):
4069 (verilog-leap-to-case-head): Handle "unique0" case.
4070 (verilog-in-constraint-re): New constant.
4071 (verilog-keywords, verilog-type-font-keywords):
4072 Add some SystemVerilog 1800-2012 keywords.
4073 (verilog-label-be): Remove unimplemented argument, bug669.
4074 (verilog-batch-execute-func): When batch expanding clear
4075 create-lockfiles to prevent spurious user locks when a file ends
4076 up not changing.
4077 (verilog-calculate-indent, verilog-calc-1)
4078 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4079 (verilog-do-indent): Fix indentation of nested constraints
4080 and structures.
4081 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4082 (verilog-auto-inst-param): Use verilog-string-match-fold.
4083 (verilog-read-inst-module-matcher):
4084 Fix AUTOINST on gate primitives with #1.
4085 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4086 Reads all user-defined typed variables.
4087 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4088 (verilog-signals-matching-regexp)
4089 (verilog-signals-not-matching-regexp, verilog-auto):
4090 Respect verilog-case-fold.
4091 (verilog-diff-report): Fix line count.
4092 (verilog-auto-assign-modport): Remove unused local `modi'.
4093 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4094 better handle multidimensional arrays.
4095 Fix packed array ports misadding bit index in AUTOINST, bug637.
4096 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4097 to not double-declare existing outputs and inputs, respectively.
4098 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4099 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4100 (verilog-sk-uvm-component): New skeleton.
4101 (verilog-submit-bug-report): Add verilog-case-fold,
4102 remove verilog-mode-release-date.
4103
41042013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4105
4106 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4107 as before.
4108
41092013-10-18 Reuben Thomas <rrt@sc3d.org>
4110
4111 * textmodes/remember.el (remember): Set buffer-offer-save in
4112 remember buffers (bug#13566).
4113
41142013-10-18 Daniel Colascione <dancol@dancol.org>
4115
4116 When evaluating forms in ielm, direct standard output to ielm
4117 buffer. Add new ielm-return-for-effect command. Remove trailing
4118 whitespace throughout.
4119
4120 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4121 (ielm-return-for-effect): New command.
4122 (ielm-send-input): Accept optional `for-effect' parameter.
4123 (ielm-eval-input): Accept optional `for-effect' parameter.
4124 Bind `standard-output' to stream we create using
4125 `ielm-standard-output-impl'. Suppress printing result when
4126 `for-effect'.
4127 (ielm-standard-output-impl): New function.
4128 (inferior-emacs-lisp-mode): Explain new features in documentation.
4129
41302013-10-17 Michael Albinus <michael.albinus@gmx.de>
4131
4132 Code cleanup.
4133
4134 * net/tramp.el (tramp-debug-message): Do not check for connection
4135 buffer.
4136 (tramp-message): Use "vector" connection property.
4137
4138 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4139 (tramp-equal-remote, tramp-eshell-directory-change)
4140 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4141 (tramp-adb-handle-rename-file)
4142 * net/tramp-cmds.el (tramp-list-remote-buffers)
4143 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4144 * net/tramp-compat.el (tramp-compat-process-running-p)
4145 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4146 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4147 (tramp-gvfs-handle-rename-file)
4148 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4149 (tramp-set-file-uid-gid)
4150 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4151 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4152 of `file-remote-p'.
4153
4154 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4155 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4156 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4157 (tramp-gw-open-network-stream): Suppress unrelated traces.
4158
4159 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4160 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4161 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4162 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4163 connection property.
4164
4165 * net/tramp-cache.el (top): Suppress traces when reading
4166 persistency file.
4167
4168 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4169 Refactor common code. Improve debug message.
4170 (tramp-maybe-open-connection)
4171 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4172 connection buffer too early.
4173
4174 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4175 from `tramp-smb-actions-with-acl'.
4176 (tramp-smb-actions-set-acl): New defconst.
4177 (tramp-smb-handle-copy-directory)
4178 (tramp-smb-action-get-acl): New defun, renamed from
4179 `tramp-smb-action-with-acl'.
4180 (tramp-smb-action-set-acl): New defun.
4181 (tramp-smb-handle-set-file-acl): Rewrite.
4182
41832013-10-17 Glenn Morris <rgm@gnu.org>
4184
4185 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4186
41872013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * skeleton.el (skeleton-newline): Remove.
4190 (skeleton-internal-1): Use (insert "\n") instead.
4191
4192 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4193 let-bindings.
4194
4195 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4196 forward-sexp-function while we redo its job (bug#15613).
4197
41982013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4199
4200 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4201 represented by lists.
4202
42032013-10-16 Glenn Morris <rgm@gnu.org>
4204
4205 * tmm.el (tmm--history): New dynamic variable.
4206 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4207
42082013-10-16 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4211 (tramp-smb-errors): Add error messages.
4212 (tramp-smb-actions-with-acl): New defconst.
4213 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4214 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4215 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4216 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4217 (tramp-smb-get-stat-capability): Fix tests.
4218
42192013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4220
4221 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4222 (bug#15580).
4223
42242013-10-16 Glenn Morris <rgm@gnu.org>
4225
4226 * ansi-color.el (ansi-color-drop-regexp):
4227 Add 1J, 1K, 2K. (Bug#15617)
4228
4229 * files.el (hack-local-variables--warned-lexical): New.
4230 (hack-local-variables):
4231 Warn about misplaced lexical-binding. (Bug#15616)
4232
4233 * net/eww.el (eww-render): Always set eww-current-url,
4234 and update header line. (Bug#15622)
4235 (eww-display-html): ... Rather than just doing it here.
4236
42372013-10-15 Eli Zaretskii <eliz@gnu.org>
4238
4239 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4240 menu navigations commands.
4241
42422013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4243
4244 * progmodes/subword.el (subword-capitalize): Be careful when
4245 the search for [[:alpha:]] fails (bug#15580).
4246
42472013-10-14 Eli Zaretskii <eliz@gnu.org>
4248
4249 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4250 to commands that scroll the menu.
4251
42522013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4253
4254 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4255 Handle methods ending with `?' and `!'.
4256
42572013-10-14 Akinori MUSHA <knu@iDaemons.org>
4258
4259 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4260 `japanese-cp932' to `cp932' to fix the problem where saving a
4261 source file written in Shift_JIS twice would end up having
4262 `coding: japanese-cp932' which Ruby could not recognize.
4263 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4264 in `ruby-encoding-map'.
4265 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4266 doesn't need to be explicitly declared in magic comment.
4267 (ruby-encoding-map): Add type declaration for better customize UI.
4268
42692013-10-13 Glenn Morris <rgm@gnu.org>
4270
4271 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4272 Occur buffers are read-only. http://bugs.debian.org/720775
4273
4274 * emacs-lisp/authors.el (authors-fixed-entries):
4275 Comment out old alpha stuff.
4276
42772013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4278
4279 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4280 to `after-save-hook' instead of `before-save-hook'.
4281 (ruby-mode-set-encoding): Use the value of coding system used to
4282 write the file. Call `basic-save-buffer-1' after modifying the
4283 buffer.
4284
42852013-10-13 Alan Mackenzie <acm@muc.de>
4286
4287 Fix indentation/fontification of Java enum with
4288 "implements"/generic.
4289
4290 * progmodes/cc-engine.el (c-backward-over-enum-header):
4291 Extracted from the three other places and enhanced to handle generics.
4292 (c-inside-bracelist-p): Uses new function above.
4293 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4294 function above.
4295 (c-font-lock-enum-tail): Uses new function above.
4296
42972013-10-13 Kenichi Handa <handa@gnu.org>
4298
4299 * international/mule-cmds.el (select-safe-coding-system): Remove a
4300 superfluous condition in chekcing whether a coding system is safe
4301 or not.
4302
43032013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4304
4305 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4306
43072013-10-13 Andreas Politz <politza@hochschule-trier.de>
4308
4309 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4310
43112013-10-13 Glenn Morris <rgm@gnu.org>
4312
4313 * menu-bar.el (menu-bar-update-buffers):
4314 Unify Buffers menu prompt string. (Bug#15576)
4315
4316 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4317
4318 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4319 Add some entries.
4320 (authors-fixed-entries): Use accented form of name.
4321
43222013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4325 method calls (bug#15594).
4326 (ruby-smie--args-separator-p): New function.
4327 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4328 recognize paren-free method calls.
4329
4330 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4331 internals of universal-argument.
4332
43332013-10-11 Eli Zaretskii <eliz@gnu.org>
4334
4335 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4336 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4337 dropped menu on second mouse click on the menu bar.
4338
43392013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4342 (explicit-shell-file-name): Declare.
4343 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4344 (sh-completion-at-point-function): New function.
4345 (sh-mode): Use it.
4346 (sh-smie--keyword-p): Remove unused argument.
4347 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4348 vars.
4349 (sh-set-shell): Always setup SMIE, even if we use the
4350 old indentation code.
4351
43522013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4353
4354 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4355 cases of ? and =.
4356 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4357 predicate would return nil are almost non-existent.
4358 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4359
4360 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4361 cache also after commands that modify the buffer but don't move
4362 point.
4363
43642013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * env.el (substitute-env-in-file-name): New function.
4367 (substitute-env-vars): Extend the meaning of the optional arg.
4368
43692013-10-10 Eli Zaretskii <eliz@gnu.org>
4370
4371 * term/w32-win.el (dynamic-library-alist): Define separate lists
4372 of GIF DLLs for versions before and after 5.0.0 of giflib.
4373 (Bug#15531)
4374
43752013-10-10 João Távora <joaotavora@gmail.com>
4376
4377 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4378 not locked, use last revision and current source as
4379 defaults. (Bug#15569)
4380
43812013-10-10 Masatake YAMATO <yamato@redhat.com>
4382
4383 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4384 menu-bar is hidden.
4385
43862013-10-10 Martin Rudalics <rudalics@gmx.at>
4387
4388 * window.el (pop-to-buffer-same-window): Fix doc-string.
4389 (Bug#15492)
4390
43912013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4394
43952013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4396
4397 * calendar/icalendar.el (icalendar-import-file):
4398 Fix interactive spec. (Bug#15482)
4399
44002013-10-10 Glenn Morris <rgm@gnu.org>
4401
4402 * desktop.el (desktop-save): Default to saving in .emacs.d,
4403 since PWD is no longer in desktop-path by default. (Bug#15319)
4404
4405 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4406 now that text mode has a menu with the same entry.
4407 (menu-bar-text-mode-auto-fill): Remove now unused func.
4408 * textmodes/text-mode.el (text-mode-map):
4409 Use auto-fill help text from menu-bar.el.
4410
44112013-10-10 John Anthony <john@jo.hnanthony.com>
4412
4413 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4414
44152013-10-09 Juri Linkov <juri@jurta.org>
4416
4417 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4418 instead of this-command-keys. Add universal-argument-more and
4419 universal-argument-minus to the list of prefix commands. (Bug#15568)
4420
44212013-10-09 Glenn Morris <rgm@gnu.org>
4422
4423 * vc/vc-svn.el (vc-svn-create-repo):
4424 Expand paths in file://... url. (Bug#15446)
4425
4426 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4427 Add some entries.
4428 (authors): Remove unused local variables.
4429
44302013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * profiler.el: Create a more coherent calltree from partial backtraces.
4433 (profiler-format): Hide the tail with `invisible' so that C-s can still
4434 find the hidden elements.
4435 (profiler-calltree-depth): Don't recurse so enthusiastically.
4436 (profiler-function-equal): New hash-table-test.
4437 (profiler-calltree-build-unified): New function.
4438 (profiler-calltree-build): Use it.
4439 (profiler-report-make-name-part): Indent the calltree less.
4440 (profiler-report-mode): Add visibility specs for profiler-format.
4441 (profiler-report-expand-entry, profiler-report-toggle-entry):
4442 Expand the whole subtree when provided with a prefix arg.
4443
44442013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4445
4446 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4447 iuwu-mod token.
4448 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4449 hanging iuwu-mod token.
4450 (ruby-smie--forward-token): Do not include a dot after a token in
4451 that token.
4452 (ruby-smie--backward-token): Likewise.
4453
44542013-10-08 Juri Linkov <juri@jurta.org>
4455
4456 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4457 to isearch-other-control-char.
4458 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4459 and isearch-post-command-hook to post-command-hook.
4460 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4461 and isearch-post-command-hook from post-command-hook.
4462 (isearch-unread-key-sequence)
4463 (isearch-reread-key-sequence-naturally)
4464 (isearch-lookup-scroll-key, isearch-other-control-char)
4465 (isearch-other-meta-char): Remove functions.
4466 (isearch-pre-command-hook, isearch-post-command-hook):
4467 New functions based on isearch-other-meta-char rewritten
4468 relying on the new behavior of overriding-terminal-local-map
4469 that does not replace the local keymaps any more. (Bug#15200)
4470
44712013-10-08 Eli Zaretskii <eliz@gnu.org>
4472
4473 Support menus on text-mode terminals.
4474 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4475 functionality.
4476
4477 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4478
4479 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4480 Move here from mouse.el.
4481 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4482 and arrow keys.
4483 (tty-menu-navigation-map): New map for TTY menu navigation.
4484
4485 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4486
4487 * frame.el (display-mouse-p): Report text-mode mouse as available
4488 on w32.
4489 (display-popup-menus-p): Report availability if mouse is
4490 available; don't condition on window-system.
4491
4492 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4493 (tty-menu-selected-face): New faces.
4494
44952013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4498 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4499 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4500 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4501 New constants.
4502 (lisp-mode-variables): New `elisp' argument.
4503 (emacs-lisp-mode): Use it.
4504 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4505 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4506
4507 * indent.el: Use lexical-binding.
4508 (indent-region): Add progress reporter.
4509 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4510 last step.
4511 (indent--next-tab-stop): New function to implement this behavior.
4512 (tab-to-tab-stop, move-to-tab-stop): Use it.
4513
45142013-10-08 Teemu Likonen <tlikonen@iki.fi>
4515
4516 * indent.el (indent-rigidly--current-indentation): New function.
4517 (indent-rigidly-map): New var.
4518 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4519
45202013-10-08 Bastien Guerry <bzg@gnu.org>
4521
4522 * register.el (insert-register): Fix 2013-10-07 change.
4523
45242013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * progmodes/perl-mode.el: Use lexical-binding.
4527 Remove redundant :group args.
4528 (perl-nochange): Change default to be closer to other major modes's
4529 standard behavior.
4530 (perl-indent-line): Don't consider text on current line as a
4531 valid beginning of function from which to indent.
4532
4533 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4534 with more than one argument (bug#15538).
4535
4536 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4537
4538 * vc/pcvs.el: Use lexical-binding.
4539 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4540 environment of `eval'.
4541 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4542 than a list of expressions. Adjust callers.
4543 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4544
45452013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4546
4547 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4548 case of the dot in a chained method call being on the following line.
4549
45502013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * electric.el (electric-indent-inhibit): New var.
4553 (electric-indent-post-self-insert-function): Use it.
4554 * progmodes/python.el (python-mode): Set it.
4555
4556 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4557 open braces.
4558
4559 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4560
4561 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4562 (css-mode): Use electric-indent-chars.
4563
4564 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4565 (font-lock-beg, font-lock-end): Move before first use.
4566 (nxml-mode): Use syntax-propertize-function.
4567 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4568 (nxml-extend-after-change-region): Remove.
4569 * nxml/xmltok.el: Use lexical-binding.
4570 (xmltok-save): Use `declare'.
4571 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4572 * nxml/nxml-util.el: Use lexical-binding.
4573 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4574 Use `declare'.
4575 * nxml/nxml-ns.el: Use lexical-binding.
4576 (nxml-ns-save): Use `declare'.
4577 (nxml-ns-prefixes-for): Avoid add-to-list.
4578 * nxml/rng-match.el: Use lexical-binding.
4579 (rng--ipattern): Use cl-defstruct.
4580 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4581 (rng-cons-group-after, rng-subst-group-after)
4582 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4583 Use closures instead of `(lambda...).
4584
45852013-10-07 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4588 of BEG and END.
4589
4590 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4591 Use `tramp-handle-insert-file-contents'.
4592 (tramp-gvfs-handle-insert-file-contents): Remove function.
4593
4594 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4595 Use `save-restriction' in order to keep markers.
4596
4597 * net/trampver.el: Update release number.
4598
45992013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * progmodes/compile.el (compilation-parse-errors):
4602 Use compilation--put-prop.
4603 (compilation--ensure-parse): Check compilation-multiline.
4604
4605 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4606
4607 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4608 lexical-binding.
4609
4610 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4611
4612 * progmodes/ruby-mode.el: Fix recently added tests.
4613 (ruby-smie-grammar): Add - and +.
4614 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4615 (ruby-smie--backward-id): New functions.
4616 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4617 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4618 any more.
4619
46202013-10-07 Leo Liu <sdl.web@gmail.com>
4621
4622 * register.el (register-preview-delay)
4623 (register-preview-functions): New variables.
4624 (register-read-with-preview, register-preview)
4625 (register-describe-oneline): New functions.
4626 (point-to-register, window-configuration-to-register)
4627 (frame-configuration-to-register, jump-to-register)
4628 (number-to-register, view-register, insert-register)
4629 (copy-to-register, append-to-register, prepend-to-register)
4630 (copy-rectangle-to-register): Use register-read-with-preview to
4631 read register. (Bug#15525)
4632
46332013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4634
4635 * net/network-stream.el (network-stream-open-starttls): Don't add
4636 --insecure if it's already present, because that gnutls-cli
4637 rejects getting that parameter twice.
4638
46392013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4640
4641 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4642 keyword, too.
4643
46442013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4645
4646 * newcomment.el (comment-use-global-state): Change default value
4647 to t, mark obsolete (Bug#15251).
4648 (comment-beginning): In addition to `comment-to-syntax', check the
4649 value of `comment-use-global-state'.
4650
46512013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4654 (ruby-comment-column): Follow the global default, by default.
4655 (ruby-smie-grammar): Add assignment syntax.
4656 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4657 open-paren, a comma, or a \.
4658 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4659 and line continuations.
4660 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4661 followed by implicit semi-colons. Add rule for string concatenation
4662 and for indentation at BOB.
4663 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4664
4665 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4666 calling next-sexp, since next-token may have skipped chars which
4667 next-sexp doesn't know should be skipped!
4668
46692013-10-05 Leo Liu <sdl.web@gmail.com>
4670
4671 * progmodes/octave.el (octave-send-region):
4672 Call compilation-forget-errors.
4673
46742013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4675
4676 * vc/vc-svn.el (vc-svn-find-admin-dir):
4677 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4678 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4679 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4680 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4681
46822013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4685
46862013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * subr.el (read-passwd): Hide chars even when called within a context
4689 where after-change-functions is disabled (bug#15501).
4690 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4691 until we removed ourself from overriding-terminal-local-map.
4692
46932013-10-04 Leo Liu <sdl.web@gmail.com>
4694
4695 * progmodes/octave.el (inferior-octave-mode):
4696 Call compilation-forget-errors.
4697
46982013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4699
4700 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4701
47022013-10-04 Michael Albinus <michael.albinus@gmx.de>
4703
4704 * net/secrets.el (secrets-create-collection): Add optional
4705 argument ALIAS. Use proper Label keyword. Append ALIAS as
4706 dbus-call-method argument. (Bug#15516)
4707
47082013-10-04 Leo Liu <sdl.web@gmail.com>
4709
4710 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4711 (inferior-octave-compilation-font-lock-keywords): New variables.
4712 (compilation-error-regexp-alist)
4713 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4714 (inferior-octave-mode): Use compilation-shell-minor-mode.
4715
47162013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4717
4718 * minibuffer.el (completion--replace): Be careful that `end' might be
4719 a marker.
4720
47212013-10-03 Daiki Ueno <ueno@gnu.org>
4722
4723 Add support for package signature checking.
4724 * emacs-lisp/package.el (url-http-file-exists-p)
4725 (epg-make-context, epg-context-set-home-directory)
4726 (epg-verify-string, epg-context-result-for)
4727 (epg-signature-status, epg-signature-to-string)
4728 (epg-check-configuration, epg-configuration)
4729 (epg-import-keys-from-file): Declare.
4730 (package-check-signature): New user option.
4731 (package-unsigned-archives): New user option.
4732 (package-desc): Add `signed' field.
4733 (package-load-descriptor): Set `signed' field if .signed file exists.
4734 (package--archive-file-exists-p): New function.
4735 (package--check-signature): New function.
4736 (package-install-from-archive): Check package signature.
4737 (package--download-one-archive): Check archive signature.
4738 (package-delete): Remove .signed file.
4739 (package-import-keyring): New command.
4740 (package-refresh-contents): Import default keyring.
4741 (package-desc-status): Add "unsigned" status.
4742 (describe-package-1, package-menu--print-info)
4743 (package-menu-mark-delete, package-menu--find-upgrades)
4744 (package-menu--status-predicate): Support "unsigned" status.
4745
47462013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4749 the new compilation scheme using the new byte-codes.
4750
4751 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4752 (byte-pophandler): New byte codes.
4753 (byte-goto-ops): Adjust accordingly.
4754 (byte-compile--use-old-handlers): New var.
4755 (byte-compile-catch): Use new byte codes depending on
4756 byte-compile--use-old-handlers.
4757 (byte-compile-condition-case--old): Rename from
4758 byte-compile-condition-case.
4759 (byte-compile-condition-case--new): New function.
4760 (byte-compile-condition-case): New function that dispatches depending
4761 on byte-compile--use-old-handlers.
4762 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4763 when we can.
4764
4765 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4766 Optimize under `condition-case' and `catch' if
4767 byte-compile--use-old-handlers is nil.
4768 (disassemble-offset): Handle new bytecodes.
4769
47702013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * subr.el (error): Use `declare'.
4773 (decode-char, encode-char): Use advertised-calling-convention instead
4774 of the docstring to discourage use of the `restriction' arg.
4775
47762013-10-03 Daiki Ueno <ueno@gnu.org>
4777
4778 * epg.el (epg-verify-file): Add a comment saying that it does not
4779 notify verification error as a return value nor a signal.
4780 (epg-verify-string): Ditto.
4781
47822013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4783
4784 * progmodes/compile.el (compilation-start): Try globbing the arg to
4785 `cd' (bug#15417).
4786
47872013-10-02 Michael Albinus <michael.albinus@gmx.de>
4788
4789 Sync with Tramp 2.2.8.
4790
4791 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4792 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4793 * net/trampver.el: Update release number.
4794
47952013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4796
4797 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4798 and default-process-coding-system for darwin only.
4799
48002013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4803
48042013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4805
4806 * vc/vc-git.el (vc-git-grep): Disable pager.
4807
48082013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4809
4810 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4811 Use :url instead of :homepage, as per
4812 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4813
4814 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4815 non-nil, use `syntax-ppss' (Bug#15251).
4816
48172013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4818
4819 * progmodes/octave.el (inferior-octave-startup-file):
4820 Prefer ~/.emacs.d/init_octave.m.
4821
48222013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4823
4824 * emacs-lisp/package.el (package-desc-from-define):
4825 Accept additional arguments as plist, convert them to an alist and store
4826 them in the `extras' slot.
4827 (package-generate-description-file): Convert extras alist back to
4828 plist and append to the `define-package' form arguments.
4829 (package--alist-to-plist): New function.
4830 (package--ac-desc): Add `extras' slot.
4831 (package--add-to-archive-contents): Check if the archive-contents
4832 vector is long enough, and if it is, pass its `extras' slot value
4833 to `package-desc-create'.
4834 (package-buffer-info): Call `lm-homepage', pass the returned value
4835 to `package-desc-from-define'.
4836 (describe-package-1): Render the homepage button (Bug#13291).
4837
4838 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4839 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4840
48412013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4842
4843 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4844 and default-process-coding-system to utf-8-unix (Bug#15402).
4845
48462013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4847
4848 * subr.el (looking-back): Do not recommend using looking-back.
4849
48502013-09-28 Alan Mackenzie <acm@muc.de>
4851
4852 Fix indentation/fontification of Java enum with "implements".
4853
4854 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4855 regexp which matches "implements", etc., in Java.
4856 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4857 specifier clauses coming after "enum".
4858 * progmodes/cc-fonts.el (c-font-lock-declarations)
4859 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4860 after "enum".
4861
48622013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4863
4864 * faces.el (region): Change ns_selection_color to
4865 ns_selection_fg_color, add ns_selection_bg_color.
4866
48672013-09-28 Leo Liu <sdl.web@gmail.com>
4868
4869 * progmodes/octave.el (inferior-octave-completion-table)
4870 (inferior-octave-completion-at-point): Minor tweaks.
4871
4872 * textmodes/ispell.el (ispell-lookup-words): Rename from
4873 lookup-words. (Bug#15460)
4874 (lookup-words): Obsolete.
4875 (ispell-complete-word, ispell-command-loop): All uses changed.
4876
48772013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4878
4879 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4880 (octave-mode-menu): Add octave-send-buffer.
4881 (octave-send-buffer): New function.
4882
48832013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4884
4885 * progmodes/octave.el (octave-mode-map): Add key binding for
4886 octave-lookfor.
4887 (octave-mode-menu): Add octave-lookfor.
4888 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4889 octave-lookfor.
4890 (octave-lookfor): New function.
4891
48922013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * emacs-lisp/cl-macs.el:
4895 (cl--loop-destr-temps): Remove.
4896 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4897 its convention.
4898 (cl--loop-set-iterator-function): New function.
4899 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4900 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4901 Bind `it' with `let' instead of substituting it with `cl-subst'.
4902 (cl--unused-var-p): New function.
4903 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4904 Eliminate some unused variable warnings (bug#15326).
4905
49062013-09-27 Tassilo Horn <tsdh@gnu.org>
4907
4908 * doc-view.el (doc-view-scale-reset): Rename from
4909 `doc-view-reset-zoom-level'.
4910 (doc-view-scale-adjust): New command.
4911 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4912 `doc-view-scale-adjust'.
4913
49142013-09-26 Tassilo Horn <tsdh@gnu.org>
4915
4916 * doc-view.el (doc-view-reset-zoom-level): New command.
4917 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4918 zoom commands (bug#15466).
4919
49202013-09-26 Kenichi Handa <handa@gnu.org>
4921
4922 * international/quail.el (quail-help): Make it not a command.
4923
49242013-09-26 Leo Liu <sdl.web@gmail.com>
4925
4926 * minibuffer.el (completion-all-sorted-completions): Make args
4927 optional as they are.
4928
49292013-09-25 Daniel Colascione <dancol@dancol.org>
4930
4931 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4932 specs are and that they're not evaluated.
4933
49342013-09-24 Sam Steingold <sds@gnu.org>
4935
4936 * midnight.el (clean-buffer-list-kill-regexps)
4937 (clean-buffer-list-kill-buffer-names): Update for the new Man
4938 buffer naming which includes the object name.
4939
49402013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4943 (eshell-parse-command, eshell-parse-pipeline): Use it since
4944 eshell-separate-commands requires a dynamic scoped var.
4945 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4946
49472013-09-23 Leo Liu <sdl.web@gmail.com>
4948
4949 * autoinsert.el (auto-insert-alist): Make the value of
4950 lexical-binding match its file setting.
4951
49522013-09-23 Juanma Barranquero <lekktu@gmail.com>
4953
4954 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4955
4956 * autoarg.el (autoarg-kp-digit-argument):
4957 * electric.el (Electric-command-loop):
4958 * kmacro.el (kmacro-step-edit-insert):
4959 Do not set universal-argument-num-events.
4960
49612013-09-22 Leo Liu <sdl.web@gmail.com>
4962
4963 * files.el (interpreter-mode-alist): Add octave.
4964
49652013-09-21 Alan Mackenzie <acm@muc.de>
4966
4967 C++: fontify identifier in declaration following "public:" correctly.
4968 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4969 to match "public", etc.
4970 (c-decl-prefix-re): Add ":" into the C++ value.
4971 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4972 bit. Add a check for a ":" preceded by "public", etc.
4973
49742013-09-21 Eli Zaretskii <eliz@gnu.org>
4975
4976 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4977 recognized by GDB 7.5 and later.
4978
49792013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4980
4981 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4982
49832013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * subr.el (internal--call-interactively): New const.
4986 (called-interactively-p): Use it (bug#3984).
4987
49882013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4989
4990 * vc/pcvs.el (cvs-mode-ignore):
4991 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4992 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4993
49942013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4997 (eshell-ls-orig-insert-directory): Remove.
4998 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4999 (eshell-ls-use-in-dired): Use advice-add/remove.
5000 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5001 Add `orig-fun' arg for use in :around advice.
5002 Make it check (redundantly) eshell-ls-use-in-dired.
5003
50042013-09-19 Glenn Morris <rgm@gnu.org>
5005
5006 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5007
5008 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5009
5010 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5011
50122013-09-19 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5015 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5016 (tramp-get-remote-python): New defuns.
5017 (tramp-get-remote-uid-with-perl)
5018 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5019 contributed by yary <not.com@gmail.com> (tiny change).
5020 (tramp-get-remote-uid-with-python)
5021 (tramp-get-remote-gid-with-python): New defuns. Python code
5022 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5023 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5024
50252013-09-19 Glenn Morris <rgm@gnu.org>
5026
5027 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5028
5029 * eshell/em-unix.el (eshell-remove-entries):
5030 Rename argument to avoid name-clash with global `top-level'.
5031
5032 * eshell/esh-proc.el (eshell-kill-process-function):
5033 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5034 (eshell-reset-after-proc): Remove unused arg `proc'.
5035
5036 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5037 (directory-files-and-attributes): Mark unused arg.
5038
5039 * eshell/em-unix.el (eshell-remove-entries):
5040 Remove unused arg `path'. Update callers.
5041
5042 * eshell/em-hist.el (eshell-hist-parse-arguments):
5043 Remove unused arg `silent'. Update callers.
5044
5045 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5046 Fix (f)boundp mix-up.
5047
5048 * eshell/em-smart.el (eshell-smart-scroll-window)
5049 (eshell-disable-after-change):
5050 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5051
50522013-09-18 Alan Mackenzie <acm@muc.de>
5053
5054 Fix fontification of type when followed by "const".
5055 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5056 "known" types from fontification.
5057
50582013-09-18 Glenn Morris <rgm@gnu.org>
5059
5060 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5061 (chart-face-list): Drop Emacsen without display-color-p.
5062
5063 * net/eww.el (libxml-parse-html-region): Declare.
5064 (eww-display-html): Explicit error if no libxml2 support.
5065
5066 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5067
5068 * image.el (image-type-from-buffer, image-multi-frame-p):
5069 Remove --without-x warning/error.
5070
5071 * mouse.el (mouse-yank-primary):
5072 * term.el (term-mouse-paste):
5073 Reorder to silence --without-x compilation.
5074
5075 * mpc.el (doc-view-mode): Silence --without-x compilation.
5076
5077 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5078 Silence --without-x compilation.
5079
5080 * progmodes/gud.el (gud-find-file, gud-mode):
5081 Silence --without-x compilation.
5082 (tooltip-mode): Declare.
5083
5084 * wdired.el (dired-backup-overwrite): Remove declaration.
5085 (wdired-mode-map): Add doc string.
5086
5087 * custom.el (x-get-resource): Declare.
5088
5089 * eshell/em-glob.el (ange-cache):
5090 * eshell/em-unix.el (ange-cache): Declare.
5091
5092 * faces.el (x-display-list, x-open-connection, x-get-resource):
5093 Declare.
5094
5095 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5096 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5097 Declare.
5098
5099 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5100
5101 * net/gnutls.el (gnutls-log-level): Declare.
5102
5103 * net/shr.el (image-size, image-animate): Declare.
5104
5105 * simple.el (font-info): Declare.
5106
5107 * subr.el (x-popup-dialog): Declare.
5108
5109 * term/common-win.el (x-select-enable-primary)
5110 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5111 Declare.
5112
5113 * term/ns-win.el (x-handle-args): Declare.
5114
5115 * term/x-win.el (x-select-enable-clipboard): Declare.
5116
5117 * term/w32-win.el (create-default-fontset): Declare.
5118
5119 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5120 Declare.
5121
5122 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5123 (fit-frame-to-buffer): Explicit error if --without-x.
5124 (mouse-autoselect-window-select): Silence compiler.
5125
5126 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5127
5128 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5129 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5130 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5131 * eshell/esh-util.el (eshell-sublist):
5132 Remove unused local variables.
5133
5134 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5135
5136 * textmodes/two-column.el: Make 2C-split work for --without-x.
5137 (scroll-bar-columns): Autoload.
5138 (top-level): Require fringe when compiling.
5139
51402013-09-18 Leo Liu <sdl.web@gmail.com>
5141
5142 * subr.el (add-hook): Robustify to handle closure as well.
5143
51442013-09-17 Glenn Morris <rgm@gnu.org>
5145
5146 * simple.el (messages-buffer-mode-map): Unbind "g".
5147
51482013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * help-mode.el (help-mode-finish): Use derived-mode-p.
5151 Remove obsolete highlighting.
5152
5153 * play/life.el (life-mode): Use define-derived-mode. Derive from
5154 special-mode.
5155 (life): Let-bind inhibit-read-only.
5156 (life-setup): Avoid `setq'. Use `life-mode'.
5157
5158 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5159 which should not be needed any more.
5160 (package-menu-refresh, package-menu-describe-package): Use user-error.
5161
5162 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5163 (eshell-post-rewrite-command-hook): Make obsolete.
5164 (eshell-parse-command): Simplify.
5165 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5166 (eshell--cmd): Declare.
5167 (eshell-parse-pipeline): Remove unused var `final-p'.
5168 Pass a dynvar to eshell-post-rewrite-command-hook.
5169 Implement the new eshell-post-rewrite-command-function.
5170 (eshell-invoke-directly): Remove unused arg `input'.
5171 * eshell/esh-io.el (eshell-io-initialize):
5172 Use eshell-post-rewrite-command-function (bug#15399).
5173 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5174 adjust to new calling convention.
5175 (eshell-create-handles): Rename args to avoid clashing with dynvar
5176 `standard-output'.
5177
51782013-09-17 Glenn Morris <rgm@gnu.org>
5179
5180 * simple.el (messages-buffer-mode): New major mode.
5181 (messages-buffer): New function.
5182 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5183 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5184 (ert-run-test): Use `messages-buffer' function.
5185 (ert--force-message-log-buffer-truncation): Ignore read-only.
5186 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5187 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5188
51892013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5192
5193 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5194
51952013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * icomplete.el (icomplete-in-buffer): New var.
5198 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5199 vars and replace them with functions.
5200 (icomplete-minibuffer-setup): Adjust accordingly.
5201 (icomplete--completion-table, icomplete--completion-predicate)
5202 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5203 New functions.
5204 (icomplete-forward-completions, icomplete-backward-completions)
5205 (icomplete-simple-completing-p, icomplete-exhibit)
5206 (icomplete-completions): Use them.
5207 (icomplete--in-region-buffer): New var.
5208 (icomplete--in-region-setup): New function.
5209 (icomplete-mode): Use it.
5210
5211 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5212 (bug#15379).
5213 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5214 return args and options.
5215 (eshell-eval-using-options): Use the new return value of
5216 eshell--do-opts to set the options's vars in their scope.
5217 (eshell--set-option): Rename from eshell-set-option.
5218 Add arg `opt-vals'.
5219 (eshell--process-option): Rename from eshell-process-option.
5220 Add arg `opt-vals'.
5221 (eshell--process-args): Use an `opt-vals' alist to store the options's
5222 values during their processing and return them additionally to the
5223 remaining args.
5224
52252013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5226
5227 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5228 continuation character an operator, as far as indentation is
5229 concerned (Bug#15369).
5230
52312013-09-15 Martin Rudalics <rudalics@gmx.at>
5232
5233 * window.el (window--state-put-2): Don't process buffer state
5234 when buffer doesn't exist any more (Bug#15382).
5235
52362013-09-15 Glenn Morris <rgm@gnu.org>
5237
5238 * eshell/em-unix.el (eshell/rm):
5239 Make -f ignore missing files. (Bug#15373)
5240
5241 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5242 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5243 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5244
52452013-09-14 Glenn Morris <rgm@gnu.org>
5246
5247 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5248
52492013-09-13 Glenn Morris <rgm@gnu.org>
5250
5251 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5252 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5253
52542013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5255
5256 * frame.el (x-focus-frame): Mark as declared in frame.c.
5257
52582013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * ls-lisp.el: Use advice-add.
5261 (original-insert-directory): Remove.
5262 (ls-lisp--insert-directory): Rename from insert-directory; add
5263 `orig-fun' argument.
5264 (insert-directory): Advise.
5265
52662013-09-13 Eli Zaretskii <eliz@gnu.org>
5267
5268 * term.el (term-emulate-terminal): Decode the command string
5269 before passing it to term-command-hook. (Bug#15337)
5270
52712013-09-13 Glenn Morris <rgm@gnu.org>
5272
5273 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5274
5275 * eshell/esh-ext.el (eshell-search-path): Declare.
5276
5277 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5278 Otherwise an error occurs if eshell-dirs module not loaded.
5279
5280 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5281
52822013-09-13 Michael Albinus <michael.albinus@gmx.de>
5283
5284 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5285 `tramp-check-proper-host'. Check for a valid method name.
5286
5287 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5288 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5289 * net/tramp-sh.el (tramp-maybe-open-connection):
5290 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5291
5292 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5293 also for hash values.
5294
52952013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * term/ns-win.el (parameters): Don't declare as dynamic.
5298 (before-make-frame-hook): Don't add ineffective function.
5299
5300 * eshell/*.el: Use lexical-binding (bug#15231).
5301
53022013-09-12 Kenichi Handa <handa@gnu.org>
5303
5304 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5305
53062013-09-12 Glenn Morris <rgm@gnu.org>
5307
5308 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5309 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5310
5311 * subr.el (do-after-load-evaluation): Also give compiler warnings
5312 when obsolete files are used (except by obsolete files).
5313
5314 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5315 in the status output, assume `filename' is the first. (Bug#15322)
5316
5317 * vc/vc.el (vc-deduce-fileset): Doc fix.
5318
5319 * calc/calc-help.el (Info-goto-node):
5320 * progmodes/cperl-mode.el (Info-find-node):
5321 * vc/ediff.el (Info-goto-node): Update declarations.
5322
5323 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5324
5325 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5326 (vc-bzr-pull): Require vc-dispatcher.
5327 * vc/vc-git.el (vc-compilation-mode): Declare.
5328 (vc-git-pull): Require vc-dispatcher.
5329
5330 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5331
5332 * progmodes/octave.el (help-button-action): Declare.
5333
5334 * shell.el (shell-directory-tracker): Output error as a message
5335 rather than just returning it as a string.
5336 (shell-process-pushd): Remove useless use of message.
5337
5338 * dframe.el (dframe-timer-fn):
5339 * files.el (dir-locals-read-from-file):
5340 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5341 (mpc-format):
5342 * reveal.el (reveal-post-command):
5343 * saveplace.el (load-save-place-alist-from-file):
5344 * shell.el (shell-resync-dirs):
5345 * w32-common-fns.el (x-get-selection-value):
5346 * emacs-lisp/copyright.el (copyright-find-copyright):
5347 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5348 * emulation/tpu-edt.el (tpu-copy-keyfile):
5349 * play/bubbles.el (bubbles--mark-neighbourhood):
5350 * progmodes/executable.el
5351 (executable-make-buffer-file-executable-if-script-p):
5352 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5353
53542013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 Cleanup Eshell to rely less on dynamic scoping.
5357 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5358 last-value, and ext-command here. Bind `args' closer to `body'.
5359 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5360 (eshell--args): Declare new dynamic var.
5361 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5362 last-value, and ext-command. Pass `args' to `body'.
5363 (eshell-process-args): Bind eshell--args.
5364 (eshell-set-option): Use eshell--args.
5365 * eshell/eshell.el (eshell): Use derived-mode-p.
5366 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5367 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5368 (eshell-glob-function): Declare.
5369 * eshell/esh-util.el: Require cl-lib.
5370 (eshell-read-hosts-file): Avoid add-to-list.
5371 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5372 `err'.
5373 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5374 Declare.
5375 (eshell/diff): Remove unused var `err'.
5376 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5377 `killflag'.
5378 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5379 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5380 first use.
5381 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5382 Move declaration before first use.
5383 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5384 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5385 rely on cl-return.
5386
53872013-09-12 Glenn Morris <rgm@gnu.org>
5388
5389 * term/ns-win.el (global-map): Remove binding for ispell-next,
5390 deleted 1999-05-29. (Bug#15357)
5391
53922013-09-11 Glenn Morris <rgm@gnu.org>
5393
5394 * echistory.el (electric-command-history): Remove call to deleted func.
5395
5396 * play/landmark.el (landmark-mode): Fix typos.
5397
5398 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5399 Check cvs-sort-ignore-file is bound.
5400
5401 * savehist.el: No need for cl when compiling on Emacs.
5402
54032013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5406 (bug#15338).
5407 (eshell-self-insert-command, eshell-send-invisible):
5408 Remove unused argument.
5409 (eshell-handle-control-codes): Remove unused var `orig'.
5410 Avoid delete-backward-char.
5411
5412 * files.el (set-auto-mode): Simplify a bit further.
5413
54142013-09-11 Glenn Morris <rgm@gnu.org>
5415
5416 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5417 (set-auto-mode): Don't regexp-quote elements.
5418 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5419 * progmodes/cc-mode.el (interpreter-mode-alist):
5420 * progmodes/ruby-mode.el (interpreter-mode-alist):
5421 Revert previous change.
5422
54232013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * play/snake.el (snake-mode):
5426 * play/mpuz.el (mpuz-mode):
5427 * play/landmark.el (lm-mode):
5428 * play/blackbox.el (blackbox-mode):
5429 * play/5x5.el (5x5-mode):
5430 * obsolete/options.el (Edit-options-mode):
5431 * net/quickurl.el (quickurl-list-mode):
5432 * net/newst-treeview.el (newsticker-treeview-mode):
5433 * mail/rmailsum.el (rmail-summary-mode):
5434 * mail/mspools.el (mspools-mode):
5435 * locate.el (locate-mode):
5436 * ibuffer.el (ibuffer-mode):
5437 * emulation/ws-mode.el (wordstar-mode):
5438 * emacs-lisp/debug.el (debugger-mode):
5439 * array.el (array-mode):
5440 * net/eudc.el (eudc-mode): Use define-derived-mode.
5441 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5442 Move initialization into declaration.
5443 (mairix-searches-mode): Use define-derived-mode.
5444 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5445 (eudc-edit-hotlist): Use dolist.
5446 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5447 (Man-mode): Use define-derived-mode.
5448 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5449 (Info-edit-mode): Use define-derived-mode.
5450 (Info-cease-edit): Use Info-mode.
5451 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5452 into declaration.
5453 (eshell-mode): Use define-derived-mode.
5454 * chistory.el (command-history-mode-map): Rename from
5455 command-history-map.
5456 (command-history-mode): Use define-derived-mode.
5457 (Command-history-setup): Remove function.
5458 * calc/calc.el (calc-trail-mode-map): New var.
5459 (calc-trail-mode): Use define-derived-mode.
5460 (calc-trail-buffer): Set calc-main-buffer manually.
5461 * bookmark.el (bookmark-insert-annotation): New function.
5462 (bookmark-edit-annotation): Use it.
5463 (bookmark-edit-annotation-mode): Make it a proper major mode.
5464 (bookmark-send-edited-annotation): Use derived-mode-p.
5465 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5466 closer to its ideal place. Use \' to match EOS.
5467
5468 * profiler.el (profiler-calltree-find): Use function-equal.
5469
54702013-09-10 Glenn Morris <rgm@gnu.org>
5471
5472 * files.el (interpreter-mode-alist): Convert to regexps.
5473 (set-auto-mode): Adapt for this. (Bug#15306)
5474 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5475 Comment out unused variable.
5476 * progmodes/cc-mode.el (interpreter-mode-alist):
5477 * progmodes/python.el (interpreter-mode-alist):
5478 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5479 * progmodes/sh-script.el (sh-set-shell):
5480 No longer use interpreter-mode-alist to get list of shells.
5481
5482 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5483
54842013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * simple.el: Use set-temporary-overlay-map for universal-argument.
5487 (universal-argument-map): Don't use default-bindings (bug#15317).
5488 Bind switch-frame explicitly. Replace universal-argument-minus with
5489 a conditional binding.
5490 (universal-argument-num-events, saved-overriding-map): Remove.
5491 (restore-overriding-map): Remove.
5492 (universal-argument--mode): Rename from save&set-overriding-map,
5493 and rewrite.
5494 (universal-argument, universal-argument-more, negative-argument)
5495 (digit-argument): Adjust accordingly.
5496 (universal-argument-minus): Remove.
5497 (universal-argument-other-key): Remove.
5498
5499 * subr.el (with-demoted-errors): Add `format' argument.
5500
55012013-09-10 Michael Albinus <michael.albinus@gmx.de>
5502
5503 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5504 `tramp-cleanup-connection'.
5505
5506 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5507 parameters KEEP-DEBUG and KEEP-PASSWORD.
5508
5509 * net/tramp.el (tramp-file-name-handler):
5510 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5511 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5512 (tramp-maybe-open-connection):
5513 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5514 Use `tramp-cleanup-connection'.
5515
5516 * net/tramp-sh.el (tramp-maybe-open-connection):
5517 Catch 'uname-changed inside the progress reporter.
5518
55192013-09-10 Glenn Morris <rgm@gnu.org>
5520
5521 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5522
5523 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5524 returns "alternate access method" in mode (eg "-rw-r--r--.").
5525
55262013-09-08 Glenn Morris <rgm@gnu.org>
5527
5528 * saveplace.el (load-save-place-alist-from-file):
5529 Demote errors. (Bug#15305)
5530
55312013-09-08 Michael Albinus <michael.albinus@gmx.de>
5532
5533 Improve compatibility with older Emacsen, and XEmacs.
5534
5535 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5536 only if it is bound. It isn't for XEmacs.
5537 (with-tramp-progress-reporter): Do not let-bind `result'.
5538 This yields to scoping errors in XEmacs.
5539 (tramp-handle-make-auto-save-file-name): New function, moved from
5540 tramp-sh.el.
5541
5542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5543 for `make-auto-save-file-name'.
5544 (tramp-adb--gnu-switches-to-ash):
5545 Use `tramp-compat-replace-regexp-in-string'.
5546
5547 * net/tramp-cache.el (tramp-cache-print): Call
5548 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5549
5550 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5551 bound. It isn't for XEmacs.
5552
5553 * net/tramp-compat.el (tramp-compat-copy-file):
5554 Catch `wrong-number-of-arguments' error.
5555 (tramp-compat-replace-regexp-in-string): New defun.
5556
5557 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5558 for `make-auto-save-file-name'.
5559 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5560 `copy-file'.
5561 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5562 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5563 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5564
5565 * net/tramp-gw.el (tramp-gw-open-network-stream):
5566 Use `tramp-compat-replace-regexp-in-string'.
5567
5568 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5569 Call `tramp-handle-make-auto-save-file-name'.
5570 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5571 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5572 (tramp-sh-file-inotifywait-process-filter):
5573 Use `tramp-compat-replace-regexp-in-string'.
5574 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5575
5576 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5577 for `make-auto-save-file-name'.
5578 (tramp-smb-handle-copy-directory):
5579 Call `tramp-compat-replace-regexp-in-string'.
5580 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5581 (tramp-smb-handle-copy-file): Improve error message.
5582 (tramp-smb-handle-rename-file): Rename directly only in case
5583 `newname' does not exist yet. This is a restriction of smbclient.
5584 (tramp-smb-maybe-open-connection): Rerun the function only when
5585 `auth-sources' is non-nil.
5586
55872013-09-08 Kenichi Handa <handa@gnu.org>
5588
5589 * international/characters.el: Set category "^" (Combining) for
5590 more characters.
5591
55922013-09-07 Alan Mackenzie <acm@muc.de>
5593
5594 Correctly fontify Java class constructors.
5595 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5596 in Java Mode.
5597 (c-recognize-typeless-decls): Set the Java value to t.
5598 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5599 While handling a "(", add a check for, effectively, Java, and handle a
5600 "typeless" declaration there.
5601
56022013-09-07 Roland Winkler <winkler@gnu.org>
5603
5604 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5605 field subtitle for entry type book.
5606
56072013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * minibuffer.el: Make minibuffer-complete call completion-in-region
5610 rather than other way around.
5611 (completion--some, completion-pcm--find-all-completions):
5612 Don't delay signals when debugging.
5613 (minibuffer-completion-contents): Beware fields within the
5614 minibuffer contents.
5615 (completion-all-sorted-completions): Use defvar-local.
5616 (completion--do-completion, completion--cache-all-sorted-completions)
5617 (completion-all-sorted-completions, minibuffer-force-complete):
5618 Add args `beg' and `end'.
5619 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5620 (minibuffer-complete): Use completion-in-region.
5621 (completion-complete-and-exit): New fun, extracted from
5622 minibuffer-complete-and-exit.
5623 (minibuffer-complete-and-exit): Use it.
5624 (completion--complete-and-exit): Rename from
5625 minibuffer--complete-and-exit.
5626 (completion-in-region--single-word): New function, extracted from
5627 minibuffer-complete-word.
5628 (minibuffer-complete-word): Use it.
5629 (display-completion-list): Make `common-substring' argument obsolete.
5630 (completion--in-region): Call completion--in-region-1 instead of
5631 minibuffer-complete.
5632 (completion-help-at-point): Pass boundaries to
5633 minibuffer-completion-help as args rather than via an overlay.
5634 (completion-pcm--string->pattern): Use `any-delim'.
5635 (completion-pcm--optimize-pattern): New function.
5636 (completion-pcm--pattern->regex): Handle `any-delim'.
5637 * icomplete.el (icomplete-forward-completions)
5638 (icomplete-backward-completions, icomplete-completions):
5639 Adjust calls to completion-all-sorted-completions and
5640 completion--cache-all-sorted-completions.
5641 (icomplete-with-completion-tables): Default to t.
5642 * emacs-lisp/crm.el (crm--current-element): Rename from
5643 crm--select-current-element. Don't put an overlay but return the
5644 boundaries instead.
5645 (crm--completion-command): Take two new args to bind to the boundaries.
5646 (crm-completion-help): Adjust accordingly.
5647 (crm-complete): Use completion-in-region.
5648 (crm-complete-word): Use completion-in-region--single-word.
5649 (crm-complete-and-exit): Use completion-complete-and-exit.
5650
56512013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5654 than dynamically.
5655
56562013-09-06 Juri Linkov <juri@jurta.org>
5657
5658 * info.el (Info-display-images-node): When image file doesn't exist
5659 display text version of the image if it's provided in the Info file.
5660 Otherwise, display the location of missing image from SRC attribute.
5661 Add help-echo text property from ALT attribute. (Bug#15279)
5662
56632013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5666 (edit-abbrevs-mode): Use define-derived-mode.
5667
5668 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5669 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5670 that it's defined.
5671 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5672 Use define-derived-mode.
5673
5674 * epg.el (epg-start-encrypt): Minor CSE simplification.
5675
56762013-09-06 William Xu <william.xwl@gmail.com>
5677
5678 * arc-mode.el: Add support for 7za (bug#15264).
5679 (archive-7z-program): New var.
5680 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5681 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5682 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5683
56842013-09-06 Michael Albinus <michael.albinus@gmx.de>
5685
5686 Remove URL syntax.
5687
5688 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5689 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5690 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5691 (tramp-postfix-host-format, tramp-file-name-regexp)
5692 (tramp-completion-file-name-regexp)
5693 (tramp-completion-dissect-file-name)
5694 (tramp-handle-substitute-in-file-name): Remove 'url case.
5695 (tramp-file-name-regexp-url)
5696 (tramp-completion-file-name-regexp-url): Remove constants.
5697
56982013-09-06 Glenn Morris <rgm@gnu.org>
5699
5700 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5701
57022013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5703
5704 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5705 keywords" below "here-doc beginnings" (Bug#15270).
5706
57072013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * subr.el (pop): Use `car-safe'.
5710 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5711 to detect unused `pop' return value.
5712
5713 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5714 var `block-regexp'.
5715 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5716 (python-fill-string): Remove unused var `marker'.
5717 (python-skeleton-add-menu-items): Remove unused var `items'.
5718
5719 * international/mule-cmds.el: Require CL.
5720 (find-coding-systems-for-charsets): Avoid add-to-list.
5721 (sanitize-coding-system-list): New function, extracted from
5722 select-safe-coding-system-interactively.
5723 (select-safe-coding-system-interactively): Use it.
5724 (read-input-method-name): Accept symbols for `default'.
5725
5726 * emacs-lisp/advice.el (defadvice): Add indent rule.
5727
57282013-09-05 Daniel Hackney <dan@haxney.org>
5729
5730 * dired-x.el:
5731 * net/ange-ftp.el:
5732 * net/browse-url.el:
5733 * net/dbus.el:
5734 * net/eudc.el:
5735 * net/eudcb-ldap.el:
5736 * net/eww.el:
5737 * net/imap.el:
5738 * printing.el:
5739 * vc/ediff-diff.el:
5740 * vc/ediff-init.el:
5741 * vc/ediff-merg.el:
5742 * vc/ediff-mult.el:
5743 * vc/ediff-util.el:
5744 * vc/ediff-wind.el:
5745 * vc/ediff.el:
5746 * vc/emerge.el:
5747 * vc/pcvs.el:
5748 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5749 byte compiler. Remove some unused let-bound variables.
5750
57512013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5754 a "ref-cell", since it gets better optimized (bug#14883).
5755
57562013-09-05 Glenn Morris <rgm@gnu.org>
5757
5758 * progmodes/cc-awk.el (c-forward-sws): Declare.
5759
57602013-09-04 Glenn Morris <rgm@gnu.org>
5761
5762 * generic-x.el [rul-generic-mode]: Require cc-mode.
5763 (c++-mode-syntax-table): Declare.
5764 (rul-generic-mode-syntax-table): Init in the defvar.
5765
57662013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5769 (vc-do-command, vc-set-async-update):
5770 * vc/vc-mtn.el (vc-mtn-dir-status):
5771 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5772 (vc-hg-pull, vc-hg-merge-branch):
5773 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5774 (vc-git-merge-branch):
5775 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5776 (vc-cvs-dir-status-files):
5777 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5778 (vc-bzr-dir-status-files):
5779 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5780 * vc/vc-annotate.el: Use lexical-binding.
5781 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5782 (vc-sentinel-movepoint): Declare.
5783 (vc-annotate): Don't use `goto-line'.
5784 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5785 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5786 (vc-sentinel-movepoint): Declare.
5787 * vc/vc-svn.el: Use lexical-binding.
5788 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5789 * vc/vc-sccs.el:
5790 * vc/vc-rcs.el: Use lexical-binding.
5791
5792 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5793 `deleted'. Don't drop errors silently.
5794
5795 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5796
57972013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5798
5799 * vc/vc.el (vc-ignore): Rewrite.
5800 (vc-default-ignore): New function.
5801 (vc-default-ignore-completion-table): Use find-ignore-file.
5802
5803 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5804 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5805 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5806 Remove. Most code moved to vc.el.
5807
58082013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5811 * net/tramp-smb.el (tramp-smb-get-file-entries):
5812 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5813 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5814
5815 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5816 Update call to it.
5817 (eww-change-select): Remove unused var `properties'.
5818 (eww-make-unique-file-name): Remove unused var `base'.
5819
5820 * finder.el (finder-compile-keywords): Don't mess with windows.
5821
5822 * calculator.el (calculator-funcall): Fix typo in last change.
5823
5824 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5825
5826 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5827 <pkg>-autoloads.el file stop us.
5828
5829 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5830 warnings, and factor out common code.
5831
58322013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5833
5834 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5835 two-character operators and whether the character preceding them
5836 changes their meaning (Bug#15208).
5837
58382013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5839
5840 Format code sent to Python shell for robustness.
5841 * progmodes/python.el (python-shell-buffer-substring):
5842 New function.
5843 (python-shell-send-region, python-shell-send-buffer): Use it.
5844
58452013-09-02 Michael Albinus <michael.albinus@gmx.de>
5846
5847 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5848 * net/tramp.el (tramp-user-error): ... here.
5849 (tramp-find-method, tramp-check-proper-host)
5850 (tramp-dissect-file-name, tramp-debug-message)
5851 (tramp-handle-shell-command):
5852 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5853 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5854
5855 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5856
58572013-09-02 Martin Rudalics <rudalics@gmx.at>
5858
5859 * avoid.el (mouse-avoidance-point-position)
5860 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5861 returns nil.
5862
58632013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5864
5865 * progmodes/python.el (python-shell-completion-get-completions):
5866 Drop use of deleted `comint-last-prompt-overlay'.
5867 (python-nav-if-name-main): New command.
5868
58692013-09-01 Glenn Morris <rgm@gnu.org>
5870
5871 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5872 Avoid leading space in $wins. Otherwise the sed command used by
5873 eg compile-main ends up containing "/*.el". (Bug#15170)
5874
5875 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5876
58772013-08-30 Glenn Morris <rgm@gnu.org>
5878
5879 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5880 Fix is-this-a-directory logic. (Bug#15220)
5881
58822013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 * textmodes/css-mode.el: Use SMIE.
5885 (css-smie-grammar): New var.
5886 (css-smie--forward-token, css-smie--backward-token)
5887 (css-smie-rules): New functions.
5888 (css-mode): Use them.
5889 (css-navigation-syntax-table): Remove var.
5890 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5891 (css-indent-calculate, css-indent-line): Remove functions.
5892
5893 Misc changes to reduce use of `(lambda...); and other cleanups.
5894 * cus-edit.el: Use lexical-binding.
5895 (customize-push-and-save, customize-apropos)
5896 (custom-buffer-create-internal): Use closures.
5897 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5898 * progmodes/ada-xref.el: Use setq.
5899 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5900 * dframe.el: Use lexical-binding.
5901 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5902 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5903 * descr-text.el: Use lexical-binding.
5904 (describe-text-widget, describe-text-sexp, describe-property-list):
5905 Use closures.
5906 * comint.el (comint-history-isearch-push-state): Use a closure.
5907 * calculator.el: Use lexical-binding.
5908 (calculator-number-to-string): Make it work with lexical-binding.
5909 (calculator-funcall): Same and use cl-letf.
5910
5911 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5912 (lisp--company-doc-string, lisp--company-location): New functions.
5913 (lisp-completion-at-point): Use them to improve Company support.
5914
5915 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5916 params of lambda expressions.
5917 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5918 (ruby-smie--opening-pipe-p): New function.
5919 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5920 symbols and matched |...| for formal params.
5921 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5922 from being treated as hanging. Handle "rescue".
5923
59242013-08-29 Glenn Morris <rgm@gnu.org>
5925
5926 * progmodes/cc-engine.el (c-pull-open-brace):
5927 Move definition before use.
5928
59292013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5932 are immutable. Don't use `unsafe' any more.
5933 (cl--defsubst-expand): Don't substitute at the same time as keeping
5934 a residual unused let-binding. Don't use `unsafe' any more.
5935
59362013-08-29 Glenn Morris <rgm@gnu.org>
5937
5938 * calendar/cal-china.el (calendar-chinese-year-cache):
5939 Recenter on 2015.
5940
5941 * nxml/nxml-util.el (nxml-debug-clear-inside):
5942 Use cl-loop rather than loop.
5943
5944 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5945
5946 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5947
59482013-08-28 Glenn Morris <rgm@gnu.org>
5949
5950 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5951
5952 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5953
5954 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5955
59562013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5957
5958 * simple.el (repeat-complex-command--called-interactively-skip):
5959 New function.
5960 (repeat-complex-command): Use it (bug#14136).
5961
5962 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5963 (c-define-abbrev-table): Add `doc' argument.
5964 (c-mode-abbrev-table, c++-mode-abbrev-table)
5965 (objc-mode-abbrev-table, java-mode-abbrev-table)
5966 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5967 (awk-mode-abbrev-table): Use it.
5968 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5969 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5970 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5971 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5972 Move initialization into the declaration; and remove any
5973 autoload cookie.
5974
5975 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5976 and dynamic let binding.
5977
5978 * vc/smerge-mode.el: Remove redundant :group args.
5979
5980 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5981 to load-path.
5982
59832013-08-28 Juri Linkov <juri@jurta.org>
5984
5985 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5986 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5987 (isearch-other-meta-char): Handle an undefined shifted printing
5988 character by downshifting it. (Bug#15200)
5989
59902013-08-28 Juri Linkov <juri@jurta.org>
5991
5992 * isearch.el (isearch-search): Change regexp error message for
5993 non-regexp searches. (Bug#15166)
5994
59952013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5996
5997 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5998 for portability to hosts where /bin/sh has problems.
5999
60002013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6003
60042013-08-27 Juri Linkov <juri@jurta.org>
6005
6006 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6007 in the keyboard macro. (Bug#15126)
6008
60092013-08-27 Juri Linkov <juri@jurta.org>
6010
6011 * isearch.el (isearch-quote-char): Comment out converting unibyte
6012 to multibyte, thus syncing with its `quoted-insert' counterpart.
6013 (Bug#15166)
6014
60152013-08-27 Martin Rudalics <rudalics@gmx.at>
6016
6017 * window.el (display-buffer-use-some-window): Add missing
6018 argument in call of get-largest-window (Bug#15185).
6019 Reported by Stephen Leake.
6020
60212013-08-27 Glenn Morris <rgm@gnu.org>
6022
6023 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6024
60252013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6028 from a matcher-function unless there's no more matches (bug#15161).
6029
60302013-08-26 Michael Albinus <michael.albinus@gmx.de>
6031
6032 * minibuffer.el: Revert change from 2013-08-20.
6033
6034 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6035 with text property `tramp-default', if appropriate.
6036 (tramp-check-proper-host): New defun.
6037 (tramp-dissect-file-name): Do not check hostname. Revert change
6038 of 2013-03-18.
6039 (tramp-backtrace): Make VEC-OR-PROC optional.
6040
6041 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6042 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6043 * net/tramp-sh.el (tramp-maybe-open-connection):
6044 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6045 Apply `tramp-check-proper-host'.
6046
60472013-08-26 Tassilo Horn <tsdh@gnu.org>
6048
6049 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6050 lambda expression in order to have `describe-variable' display it.
6051
60522013-08-26 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6055 BUF can be optional. (Bug#15186)
6056
60572013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6058
6059 * progmodes/flymake.el (flymake-get-real-file-name-function):
6060 Fix broken customization. (Bug#15184)
6061
60622013-08-25 Alan Mackenzie <acm@muc.de>
6063
6064 Improve indentation of bracelists defined by macros (without "=").
6065
6066 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6067 expansion begins with "{", regard it as bracelist when it doesn't
6068 contain a ";".
6069
6070 Parse C++ inher-intro when there's a template split over 2 lines.
6071
6072 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6073 rigorously the search for "class" etc. followed by ":".
6074
6075 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6076 random languages a regexp which never matches rather than nil.
6077
6078 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6079
6080 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6081 (c-awk-regexp-one-line-possibly-open-char-list-re)
6082 (c-awk-one-line-possibly-open-regexp-re)
6083 (c-awk-one-line-non-syn-ws*-re): Remove.
6084 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6085 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6086 (c-awk-space*-unclosed-regexp-/-re): New constants.
6087 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6088 aren't regexp delimiters.
6089
6090 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6091 handling for a rare situation in AWK Mode involving unterminated
6092 strings/regexps.
6093
60942013-08-23 Glenn Morris <rgm@gnu.org>
6095
6096 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6097
6098 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6099
6100 * files.el (create-file-buffer): If the result would begin with
6101 spaces, prepend a "|" instead of removing them. (Bug#15162)
6102
61032013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6106 text-properties (bug#15155).
6107
6108 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6109 exist any more.
6110 (calc-keypad-redraw): Remove unused var `pad'.
6111 (calc-keypad-press): Remove unused var `menu'.
6112
61132013-08-23 Martin Rudalics <rudalics@gmx.at>
6114
6115 * window.el (display-buffer-pop-up-frame):
6116 Call pop-up-frame-function with BUFFER current so `make-frame' will
6117 use it as the new frame's buffer (Bug#15133).
6118
61192013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * calendar/timeclock.el: Minor cleanups.
6122 (timeclock-ask-before-exiting, timeclock-use-display-time):
6123 Use `symbol'.
6124 (timeclock-modeline-display): Define as alias before the
6125 actual definition.
6126 (timeclock-mode-line-display): Use define-minor-mode.
6127 (timeclock-day-list-template): Make it a function, add an argument.
6128 (timeclock-day-list-required, timeclock-day-list-length)
6129 (timeclock-day-list-debt, timeclock-day-list-span)
6130 (timeclock-day-list-break): Adjust calls accordingly.
6131
61322013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6135 Use read--expression so that completion works again.
6136
61372013-08-21 Sam Steingold <sds@gnu.org>
6138
6139 Add rudimentary inferior shell interaction
6140 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6141 (sh-set-shell): Reset it.
6142 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6143 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6144
61452013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * align.el: Use lexical-binding.
6148 (align-region): Simplify accordingly.
6149
61502013-08-20 Michael Albinus <michael.albinus@gmx.de>
6151
6152 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6153
6154 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6155 `non-essential' up.
6156
61572013-08-17 Michael Albinus <michael.albinus@gmx.de>
6158
6159 * net/tramp.el:
6160 * net/tramp-adb.el:
6161 * net/tramp-cmds.el:
6162 * net/tramp-ftp.el:
6163 * net/tramp-gvfs.el:
6164 * net/tramp-gw.el:
6165 * net/tramp-sh.el: Don't wrap external variable declarations by
6166 `eval-when-compile'.
6167
61682013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6169
6170 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6171 now that Emacs supports ImageMagick animations.
6172
61732013-08-16 Michael Albinus <michael.albinus@gmx.de>
6174
6175 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6176 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6177
61782013-08-16 Martin Rudalics <rudalics@gmx.at>
6179
6180 * window.el (mouse-autoselect-window-select): Do autoselect when
6181 mouse pointer is on margin.
6182
61832013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6184
6185 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6186
61872013-08-16 Glenn Morris <rgm@gnu.org>
6188
6189 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6190 Handle "Remote Directory" response of some clients. (Bug#15058)
6191
6192 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6193 Tweak warning. (Bug#14926)
6194
6195 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6196 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6197
6198 * image-mode.el (image-mode-map): Add menu items to reverse,
6199 increase, decrease, reset animation speed.
6200 (image--set-speed, image-increase-speed, image-decrease-speed)
6201 (image-reverse-speed, image-reset-speed): New functions.
6202 (image-mode-map): Add bindings for speed commands.
6203
6204 * image.el (image-animate-get-speed, image-animate-set-speed):
6205 New functions.
6206 (image-animate-timeout): Respect image :speed property.
6207
62082013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6211 previous line (bug#15101).
6212 (debugger-eval-expression, debugger-record-expression):
6213 Use read--expression (bug#15102).
6214
62152013-08-15 Michael Albinus <michael.albinus@gmx.de>
6216
6217 Remove byte compiler warnings, visible when compiling with
6218 `byte-compile-force-lexical-warnings' set to t.
6219
6220 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6221 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6222 (tramp-handle-unhandled-file-name-directory)
6223 (tramp-handle-file-notify-add-watch, tramp-action-login)
6224 (tramp-action-succeed, tramp-action-permission-denied)
6225 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6226 arguments with "_".
6227
6228 * net/tramp-adb.el (tramp-adb-parse-device-names)
6229 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6230 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6231 (tramp-adb-handle-file-truename): Remove unused arguments.
6232
6233 * net/tramp-cache.el (tramp-flush-directory-property)
6234 (tramp-flush-connection-property, tramp-list-connections)
6235 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6236
6237 * net/tramp-compat.el (tramp-compat-make-temp-file):
6238 Rename FILENAME to F.
6239
6240 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6241 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6242 (tramp-zeroconf-parse-workstation-device-names)
6243 (tramp-zeroconf-parse-webdav-device-names)
6244 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6245
6246 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6247 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6248
6249 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6250 arguments.
6251 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6252 (tramp-sh-handle-insert-file-contents-literally)
6253 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6254 with "_".
6255 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6256 Remove unused variables.
6257
6258 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6259 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6260 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6261
6262 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6263 Make them a defconst.
6264 (tramp-uuencode-region): Remove unused variable.
6265
62662013-08-14 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * frameset.el (frameset--prop-setter): New function.
6269 (frameset-prop): Add gv-setter declaration.
6270 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6271 parameter was already set in FILTERED. Doc fix.
6272 (frameset--record-minibuffer-relationships): Allow saving a
6273 minibufferless frame without its corresponding minibuffer frame.
6274 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6275 frame, if the frame id matches.
6276 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6277 frames before orphaned ones.
6278 (frameset-restore): Warn about orphaned windows, instead of error out.
6279
62802013-08-14 Martin Rudalics <rudalics@gmx.at>
6281
6282 * window.el (window-make-atom): Don't overwrite parameter
6283 already present.
6284 (display-buffer-in-atom-window): Handle special case where we
6285 split an already atomic window.
6286 (window--major-non-side-window, display-buffer-in-side-window)
6287 (window--side-check): Ignore minibuffer window when walking
6288 window tree.
6289 (window-deletable-p): Return 'frame only if no other frame uses
6290 our minibuffer window.
6291 (record-window-buffer): Run buffer-list-update-hook.
6292 (split-window): Make sure window--check-frame won't destroy an
6293 existing atomic window in case the new window gets nested
6294 inside.
6295 (display-buffer-at-bottom): Ignore minibuffer window when
6296 walking window tree. Don't split a side window.
6297 (pop-to-buffer): Don't set-buffer here, the select-window call
6298 should do that.
6299 (mouse-autoselect-window-select): Autoselect only if we are in the
6300 text portion of the window.
6301
63022013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6303
6304 * net/shr.el (shr-parse-image-data): New function to grab both the
6305 data itself and the Content-Type.
6306 (shr-put-image): Use it.
6307
6308 * net/eww.el (eww-display-image): Ditto.
6309
6310 * image.el (image-content-type-suffixes): New variable.
6311
63122013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6313
6314 * progmodes/python.el (python-imenu--build-tree)
6315 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6316
63172013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6318
6319 * simple.el (backward-word): Mention the optional argument.
6320
63212013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * frameset.el (frameset--make): Rename constructor from make-frameset.
6324 (frameset-p, frameset-valid-p): Don't autoload.
6325 (frameset-valid-p): Use normal accessors.
6326
63272013-08-13 Glenn Morris <rgm@gnu.org>
6328
6329 * progmodes/compile.el (compile-command): Tweak example in doc.
6330 * obsolete/scribe.el (scribe-mode):
6331 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6332
6333 * mail/feedmail.el (feedmail-confirm-outgoing)
6334 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6335
6336 * cus-start.el (truncate-partial-width-windows): Fix type.
6337
6338 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6339
6340 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6341
63422013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * emacs-lisp/timer.el (timer--time-setter): New function.
6345 (timer--time): Use it as gv-setter.
6346
6347 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6348 setter is not a symbol.
6349
63502013-08-12 Grégoire Jadi <daimrod@gmail.com>
6351
6352 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6353 if sending fails. This makes debugging easier.
6354
63552013-08-12 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6358 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6359 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6360
63612013-08-12 Eli Zaretskii <eliz@gnu.org>
6362
6363 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6364
63652013-08-12 Glenn Morris <rgm@gnu.org>
6366
6367 * format.el (format-annotate-function):
6368 Handle read-only text properties in the source. (Bug#14887)
6369
63702013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
6372 * net/eww.el (eww-display-html): Ignore coding system errors.
6373 One web site uses "utf-8lias" as the coding system.
6374
63752013-08-11 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6378
63792013-08-10 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6382 (tutorial--detailed-help): Remove unused local variables.
6383 (tutorial--save-tutorial-to): Use ignore-errors.
6384 (help-with-tutorial): Use looking-at-p.
6385
6386 * view.el (view-buffer-other-window, view-buffer-other-frame):
6387 Mark unused arguments.
6388
6389 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6390 (woman-select-symbol-fonts, woman, woman-find-file)
6391 (woman-insert-file-contents, woman-non-underline-faces):
6392 Use string-match-p.
6393 (woman1-unquote): Move declaration.
6394
6395 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6396 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6397 argument. Remove unused local variable.
6398 (xml-parse-elem-type): Use string-match-p.
6399 (xml-substitute-numeric-entities): Use ignore-errors.
6400
6401 * calculator.el (calculator): Mark unused argument.
6402 (calculator-paste, calculator-quit, calculator-integer-p):
6403 Use ignore-errors.
6404 (calculator-string-to-number, calculator-decimal, calculator-exp)
6405 (calculator-op-or-exp): Use string-match-p.
6406
6407 * dired.el (dired-buffer-more-recently-used-p): Declare.
6408 (dired-insert-set-properties, dired-insert-old-subdirs):
6409 Use ignore-errors.
6410
6411 * dired-aux.el (dired-compress): Use ignore-errors.
6412 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6413 (dired-do-async-shell-command, dired-do-shell-command)
6414 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6415 (dired-insert-subdir-validate): Use string-match-p.
6416 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6417 (dired-add-entry): Use string-match-p, looking-at-p.
6418 (dired-insert-subdir-newpos): Remove unused local variable.
6419
6420 * filenotify.el (file-notify-callback): Remove unused local variable.
6421
6422 * filesets.el (filesets-error): Mark unused argument.
6423 (filesets-which-command-p, filesets-filter-dir-names)
6424 (filesets-directory-files, filesets-get-external-viewer)
6425 (filesets-ingroup-get-data): Use string-match-p.
6426
6427 * find-file.el (ff-other-file-name, ff-other-file-name)
6428 (ff-find-the-other-file, ff-cc-hh-converter):
6429 Remove unused local variables.
6430 (ff-get-file-name): Use string-match-p.
6431 (ff-all-dirs-under): Use ignore-errors.
6432
6433 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6434 (follow-select-if-visible): Remove unused local variable.
6435
6436 * forms.el (read-file-filter): Move declaration.
6437 (forms--make-format, forms--make-parser, forms-insert-record):
6438 Quote function with #'.
6439 (forms--update): Use string-match-p. Quote function with #'.
6440
6441 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6442 (help-make-xrefs): Use looking-at-p.
6443 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6444
6445 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6446 (ibuffer-confirm-operation-on): Use string-match-p.
6447
6448 * msb.el (msb-item-handler, msb-dired-item-handler):
6449 Mark unused arguments.
6450
6451 * ses.el (ses-decode-cell-symbol)
6452 (ses-kill-override): Remove unused local variable.
6453 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6454 (ses-load): Use ignore-errors, looking-at-p.
6455 (ses-jump-safe): Use ignore-errors.
6456 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6457
6458 * tabify.el (untabify, tabify): Mark unused arguments.
6459
6460 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6461 Mark unused argument.
6462 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6463 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6464
6465 * emacs-lisp/timer.el (timer--time): Define setter with
6466 gv-define-setter to avoid deprecation warning.
6467
6468 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6469 (*record-cmpl-statistics-p*): Remove (was commented out).
6470 (cmpl-statistics-block): Remove (body was commented out).
6471 All callers changed.
6472 (add-completions-from-buffer, load-completions-from-file):
6473 Remove unused variables.
6474
64752013-08-09 Juanma Barranquero <lekktu@gmail.com>
6476
6477 * filecache.el (file-cache-delete-file-list):
6478 Print message only when told so.
6479 (file-cache-files-matching): Use #' in mapconcat argument.
6480
6481 * ffap.el (ffap-url-at-point): Fix reference to variable
6482 thing-at-point-default-mail-uri-scheme.
6483
64842013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * subr.el (define-error): New function.
6487 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6488 error-file-not-found and define with define-error.
6489 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6490 and define with define-error.
6491 * userlock.el (file-locked, file-supersession):
6492 * simple.el (mark-inactive):
6493 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6494 * progmodes/ada-mode.el (ada-mode-errors):
6495 * play/life.el (life-extinct):
6496 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6497 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6498 * nxml/rng-util.el (rng-error):
6499 * nxml/rng-uri.el (rng-uri-error):
6500 * nxml/rng-match.el (rng-compile-error):
6501 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6502 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6503 * nxml/nxml-rap.el (nxml-scan-error):
6504 * nxml/nxml-outln.el (nxml-outline-error):
6505 * net/soap-client.el (soap-error):
6506 * net/gnutls.el (gnutls-error):
6507 * net/ange-ftp.el (ftp-error):
6508 * mpc.el (mpc-proc-error):
6509 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6510 (json-number-format, json-string-escape, json-string-format)
6511 (json-key-format, json-object-format):
6512 * jka-compr.el (compression-error):
6513 * international/quail.el (quail-error):
6514 * international/kkc.el (kkc-error):
6515 * emacs-lisp/ert.el (ert-test-failed):
6516 * calc/calc.el (calc-error, inexact-result, math-overflow)
6517 (math-underflow):
6518 * bookmark.el (bookmark-error-no-filename):
6519 * epg.el (epg-error): Define with define-error.
6520
6521 * time.el (display-time-event-handler)
6522 (display-time-next-load-average): Don't call sit-for since it seems
6523 unnecessary (bug#15045).
6524
6525 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6526 Use #' instead of ' to quote functions.
6527 (checkdoc-output-mode): Use setq-local.
6528 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6529 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6530 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6531 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6532 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6533 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6534 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6535 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6536
6537 * ido.el (ido-completion-help): Fix up compiler warning.
6538
65392013-08-09 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * frameset.el (frameset-p): Add autoload cookie.
6542 (frameset--jump-to-register): New function, based on code moved from
6543 register.el.
6544 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6545
6546 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6547 (frameset-restore, frameset-save, frameset-session-filter-alist):
6548 Remove declarations.
6549 (register-alist): Doc fix.
6550 (frameset-to-register): Move to frameset.el.
6551 (jump-to-register, describe-register-1): Remove frameset-specific code.
6552
65532013-08-08 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * allout-widgets.el (allout-widgets-pre-command-business)
6556 (allout-widgets-post-command-business)
6557 (allout-widgets-after-change-handler)
6558 (allout-decorate-item-and-context, allout-set-boundary-marker)
6559 (allout-body-modification-handler)
6560 (allout-graphics-modification-handler): Mark ignored arguments.
6561 (allout-widgets-post-command-business)
6562 (allout-widgets-exposure-change-processor)
6563 (allout-widgets-exposure-undo-processor)
6564 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6565 (allout-parse-item-at-point, allout-decorate-item-guides)
6566 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6567 * allout.el (epa-passphrase-callback-function): Declare.
6568 (allout-overlay-insert-in-front-handler)
6569 (allout-overlay-interior-modification-handler)
6570 (allout-isearch-end-handler, allout-chart-siblings)
6571 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6572 (allout-yank-processing, allout-process-exposed)
6573 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6574 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6575 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6576 (lisp-indent-defform): Mark ignored arguments.
6577 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6578 (calculate-lisp-indent): Remove unused variables.
6579 * international/characters.el (indian-2-column, arabic-2-column)
6580 (tibetan): Mark ignored arguments.
6581 (use-cjk-char-width-table): Mark ignored arguments.
6582 Remove unused variables.
6583 * international/fontset.el (build-default-fontset-data)
6584 (x-compose-font-name, create-fontset-from-fontset-spec):
6585 Mark ignored arguments.
6586 (fontset-plain-name): Remove unused variables.
6587 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6588 (keyboard-coding-system): Mark ignored arguments.
6589 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6590 * help.el (resize-temp-buffer-window):
6591 * window.el (display-buffer-in-major-side-window)
6592 (display-buffer-in-side-window, display-buffer-in-previous-window):
6593 Remove unused variables.
6594 * isearch.el (isearch-forward-symbol):
6595 * version.el (emacs-bzr-version-bzr):
6596 * international/mule-cmds.el (current-language-environment):
6597 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6598 (x-handle-display):
6599 * term/pc-win.el (x-list-fonts, x-display-planes)
6600 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6601 (x-server-version, x-display-screens, x-display-mm-height)
6602 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6603 (x-selection-owner-p, x-own-selection-internal)
6604 (x-disown-selection-internal, x-get-selection-internal)
6605 (msdos-initialize-window-system):
6606 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6607 * term/x-win.el (x-handle-no-bitmap-icon):
6608 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6609 (vc-default-find-file-hook, vc-default-extra-menu):
6610 Mark ignored arguments.
6611
66122013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6615 break-condition in the context of the debugged code (bug#12685).
6616
66172013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6618
6619 * comint.el:
6620 Do not use an overlay to highlight the last prompt. (Bug#14744)
6621 (comint-mode): Make comint-last-prompt buffer local.
6622 (comint-last-prompt): New variable.
6623 (comint-last-prompt-overlay): Remove. Superseded by
6624 comint-last-prompt.
6625 (comint-snapshot-last-prompt, comint-output-filter):
6626 Use comint-last-prompt.
6627
66282013-08-08 Juanma Barranquero <lekktu@gmail.com>
6629
6630 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6631 (frameset-save): Check validity of the resulting frameset.
6632
66332013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6634
6635 * ido.el (ido-record-command): Add doc string.
6636
66372013-08-08 Juanma Barranquero <lekktu@gmail.com>
6638
6639 * frameset.el (frameset): Do not disable creation of the default
6640 frameset-p predicate. Doc fix.
6641 (frameset-valid-p): New function, copied from the old predicate-p.
6642 Add additional checks.
6643 (frameset-restore): Check with frameset-valid-p.
6644 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6645 (frameset-name, frameset-description, frameset-properties)
6646 (frameset-states): Add docstring.
6647 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6648 (frameset-filter-alist): Doc fixes.
6649
66502013-08-08 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6653
66542013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6657 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6658 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6659 (byte-compile-normal-call): Remove obsolescence check.
6660
66612013-08-08 Juanma Barranquero <lekktu@gmail.com>
6662
6663 * frameset.el (frameset-restore): Doc fix.
6664
6665 * register.el (frameset-frame-id, frameset-frame-with-id)
6666 (frameset-p, frameset-restore, frameset-save): Declare.
6667 (register-alist): Document framesets.
6668 (frameset-session-filter-alist): Declare.
6669 (frameset-to-register): New function.
6670 (jump-to-register): Implement jumping to framesets. Doc fix.
6671 (describe-register-1): Describe framesets.
6672
6673 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6674
66752013-08-07 Juanma Barranquero <lekktu@gmail.com>
6676
6677 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6678 Use lexical-binding.
6679
6680 * frameset.el (frameset): Use type vector, not list (incompatible
6681 change). Do not declare a new constructor, use the default one.
6682 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6683 `name' and `description', respectively, and add read-only slot
6684 `timestamp'. Doc fixes.
6685 (frameset-copy, frameset-persistent-filter-alist)
6686 (frameset-filter-alist, frameset-switch-to-gui-p)
6687 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6688 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6689 (frameset-filter-iconified, frameset-keep-original-display-p):
6690 Doc fixes.
6691 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6692 Rename from frameset-filter-(save|restore)-param. All callers changed.
6693 Doc fix.
6694 (frameset-p): Adapt to change to vector and be more thorough.
6695 Change arg name to OBJECT. Doc fix.
6696 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6697 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6698 All callers changed.
6699 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6700 All callers changed.
6701 (frameset--record-minibuffer-relationships): Rename from
6702 frameset--process-minibuffer-frames. All callers changed.
6703 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6704 Use new default constructor (again). Doc fix.
6705 (frameset--find-frame-if): Rename from `frameset--find-frame.
6706 All callers changed.
6707 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6708 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6709 Doc fix.
6710 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6711 PARAMETERS and WINDOW-STATE, respectively.
6712 (frameset-restore): Add new keyword argument PREDICATE.
6713 Reset frameset--target-display to nil. Doc fix.
6714
67152013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6716
6717 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6718 (bat-mode): Use it.
6719 (bat-mode-syntax-table): Mark \n as end-of-comment.
6720 (bat-font-lock-keywords): Remove comment rule.
6721
6722 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6723 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6724
6725 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6726 (byte-compile-callargs-warn): Use `push'.
6727 (byte-compile-arglist-warn): Ignore higher-order "calls".
6728 (byte-compile-file-form-autoload): Use `pcase'.
6729 (byte-compile-function-form): If quoting a symbol, check that it exists.
6730
67312013-08-07 Eli Zaretskii <eliz@gnu.org>
6732
6733 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6734 and add a few popular commands found in batch files.
6735 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6736 (dos-mode): Doc fixes.
6737
67382013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6741 (dos-mode): Use setq-local. Add space after "rem".
6742 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6743 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6744
67452013-08-07 Arni Magnusson <arnima@hafro.is>
6746
6747 * progmodes/dos.el: New file.
6748 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6749 dos-mode.
6750
67512013-08-06 Glenn Morris <rgm@gnu.org>
6752
6753 * calendar/calendar.el: Add new faces, and day-header-array.
6754 (calendar-weekday-header, calendar-weekend-header)
6755 (calendar-month-header): New faces.
6756 (calendar-day-header-construct): New function.
6757 (calendar-day-header-width): Also :set calendar-day-header-array.
6758 (calendar-american-month-header, calendar-european-month-header)
6759 (calendar-iso-month-header): Use calendar- faces.
6760 (calendar-generate-month):
6761 Use calendar-day-header-array for day headers; apply faces to them.
6762 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6763 (calendar-abbrev-construct): Add optional maxlen argument.
6764 (calendar-day-name-array): Doc fix.
6765 (calendar-day-name-array, calendar-abbrev-length)
6766 (calendar-day-abbrev-array):
6767 Also :set calendar-day-header-array, and maybe redraw.
6768 (calendar-day-header-array): New option. (Bug#15007)
6769 (calendar-font-lock-keywords): Set to nil and make obsolete.
6770 (calendar-day-name): Add option to use header array.
6771
67722013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6773
6774 * net/shr.el (shr-render-td): Remove debugging.
6775 (shr-render-td): Make width computation consistent by defaulting
6776 all zero-width columns to 10 characters. This may not be optimal,
6777 but it's at least consistent.
6778 (shr-make-table-1): Redo last change to fix the real problem in
6779 colspan handling.
6780
67812013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6782
6783 * files.el (cache-long-line-scans):
6784 Make obsolete alias to `cache-long-scans'.
6785
67862013-08-06 Juanma Barranquero <lekktu@gmail.com>
6787
6788 * frameset.el (frameset, frameset-filter-alist)
6789 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6790 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6791 (frameset-compute-pos): Rename from frameset--compute-pos,
6792 and add docstring.
6793 (frameset-move-onscreen): Use frameset-compute-pos.
6794 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6795
6796 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6797 Fix typos in docstrings.
6798
67992013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6800
6801 * frame.el (get-other-frame): Tiny cleanup.
6802
68032013-08-06 Juanma Barranquero <lekktu@gmail.com>
6804
6805 * vc/vc.el (vc-default-ignore-completion-table):
6806 Silence byte-compiler warning.
6807
6808 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6809 slot, which can indeed be nil.
6810 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6811 Move entry for `left' from persistent to live filter alist.
6812 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6813 Doc fixes.
6814 (frameset-filter-params): When restoring a frame, copy items added to
6815 `filtered', to avoid unwittingly modifying the original parameters.
6816 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6817 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6818
6819 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6820 to use looking-at-p instead of looking-at. (Bug#15028)
6821
68222013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 Revert introduction of isearch-filter-predicates (bug#14714).
6825 Rely on add-function instead.
6826 * isearch.el (isearch-filter-predicates): Rename it back to
6827 isearch-filter-predicate.
6828 (isearch-message-prefix): Use advice-function-mapc and advice
6829 properties to get the isearch-message-prefix.
6830 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6831 instead of run-hook-with-args-until-failure.
6832 (isearch-filter-visible): Not obsolete any more.
6833 * loadup.el: Preload nadvice.
6834 * replace.el (perform-replace): Revert to funcall
6835 instead of run-hook-with-args-until-failure.
6836 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6837 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6838 dired-isearch-filenames-toggle; make it into a proper minor mode.
6839 Use add/remove-function.
6840 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6841 Call the minor-mode rather than add/remove-hook.
6842 (dired-isearch-filter-filenames):
6843 Remove isearch-message-prefix property.
6844 * info.el (Info--search-loop): New function, extracted from Info-search.
6845 Funcall isearch-filter-predicate instead of
6846 run-hook-with-args-until-failure isearch-filter-predicates.
6847 (Info-search): Use it.
6848 (Info-mode): Use isearch-filter-predicate instead of
6849 isearch-filter-predicates.
6850
68512013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6852
6853 Do not call to `selected-window' where it is assumed by default.
6854 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6855 `window-hscroll', `window-width', `window-height', `window-buffer',
6856 `window-frame', `window-start', `window-point', `next-window'
6857 and `window-display-table'.
6858 * abbrev.el (abbrev--default-expand):
6859 * bs.el (bs--show-with-configuration):
6860 * buff-menu.el (Buffer-menu-mouse-select):
6861 * calc/calc.el (calc):
6862 * calendar/calendar.el (calendar-generate-window):
6863 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6864 (diary-make-entry):
6865 * comint.el (send-invisible, comint-dynamic-complete-filename)
6866 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6867 * completion.el (complete):
6868 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6869 * disp-table.el (describe-current-display-table):
6870 * doc-view.el (doc-view-insert-image):
6871 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6872 * ehelp.el (with-electric-help):
6873 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6874 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6875 * emacs-lisp/helper.el (Helper-help-scroller):
6876 * emulation/cua-base.el (cua--post-command-handler-1):
6877 * eshell/esh-mode.el (eshell-output-filter):
6878 * ffap.el (ffap-gnus-wrapper):
6879 * help-macro.el (make-help-screen):
6880 * hilit-chg.el (highlight-compare-buffers):
6881 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6882 * hl-line.el (global-hl-line-highlight):
6883 * icomplete.el (icomplete-simple-completing-p):
6884 * isearch.el (isearch-done):
6885 * jit-lock.el (jit-lock-stealth-fontify):
6886 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6887 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6888 * mpc.el (mpc-tagbrowser, mpc):
6889 * net/rcirc.el (rcirc-any-buffer):
6890 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6891 * play/landmark.el (landmark-max-width, landmark-max-height):
6892 * play/zone.el (zone):
6893 * progmodes/compile.el (compilation-goto-locus):
6894 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6895 * progmodes/etags.el (find-tag-other-window):
6896 * progmodes/fortran.el (fortran-column-ruler):
6897 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6898 * progmodes/verilog-mode.el (verilog-point-text):
6899 * reposition.el (reposition-window):
6900 * rot13.el (toggle-rot13-mode):
6901 * server.el (server-switch-buffer):
6902 * shell.el (shell-dynamic-complete-command)
6903 (shell-dynamic-complete-environment-variable):
6904 * simple.el (insert-buffer, set-selective-display)
6905 (delete-completion-window):
6906 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6907 (speedbar-recenter):
6908 * startup.el (fancy-splash-head):
6909 * textmodes/ispell.el (ispell-command-loop):
6910 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6911 * tutorial.el (help-with-tutorial):
6912 * vc/add-log.el (add-change-log-entry):
6913 * vc/compare-w.el (compare-windows):
6914 * vc/ediff-help.el (ediff-indent-help-message):
6915 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6916 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6917 (ediff-setup-control-frame):
6918 * vc/emerge.el (emerge-position-region):
6919 * vc/pcvs-util.el (cvs-bury-buffer):
6920 * window.el (walk-windows, mouse-autoselect-window-select):
6921 * winner.el (winner-set-conf, winner-undo): Related users changed.
6922
69232013-08-05 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * frameset.el (frameset--set-id): Doc fix.
6926 (frameset-frame-id, frameset-frame-id-equal-p)
6927 (frameset-locate-frame-id): New functions.
6928 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6929 (frameset-restore): Use them.
6930
69312013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6932
6933 Do not call to `selected-frame' where it is assumed by default.
6934 Affected functions are `raise-frame', `redraw-frame',
6935 `frame-first-window', `frame-terminal' and `delete-frame'.
6936 * calendar/appt.el (appt-disp-window):
6937 * epg.el (epg-wait-for-completion):
6938 * follow.el (follow-delete-other-windows-and-split)
6939 (follow-avoid-tail-recenter):
6940 * international/mule.el (set-terminal-coding-system):
6941 * mail/rmail.el (rmail-mail-return):
6942 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6943 * progmodes/f90.el (f90-add-imenu-menu):
6944 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6945 * server.el (server-switch-buffer):
6946 * simple.el (delete-completion-window):
6947 * talk.el (talk):
6948 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6949 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6950 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6951 * vc/ediff.el (ediff-documentation): Related users changed.
6952 * frame.el (selected-terminal): Remove the leftover.
6953
69542013-08-05 Glenn Morris <rgm@gnu.org>
6955
6956 * calendar/calendar.el (calendar-generate-month):
6957 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6958 (calendar-generate-month, calendar-font-lock-keywords):
6959 Fix for calendar-day-header-width > length of any day name.
6960
69612013-08-05 Juanma Barranquero <lekktu@gmail.com>
6962
6963 * desktop.el (desktop-clear): Use new name of sort predicate.
6964
6965 * frameset.el (frameset): Add docstring. Move :version property to its
6966 own `version' slot.
6967 (frameset-copy): Rename from copy-frameset.
6968 (frameset-p): Check more thoroughly.
6969 (frameset-prop): Do not check for :version, which is no longer a prop.
6970 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6971 Use new :never value instead of t.
6972 (frameset-filter-alist): Expand and clarify docstring.
6973 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6974 (frameset-filter-minibuffer, frameset-filter-save-param)
6975 (frameset-filter-restore-param, frameset-filter-iconified):
6976 Add pointer to docstring of frameset-filter-alist.
6977 (frameset-filter-params): Rename filter values to be more meaningful:
6978 :never instead of t, and reverse the meanings of :save and :restore.
6979 (frameset--process-minibuffer-frames): Clarify error message.
6980 (frameset-save): Avoid unnecessary and confusing call to framep.
6981 Use new BOA constructor for framesets.
6982 (frameset--reuse-list): Doc fix.
6983 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6984 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6985 (frameset-minibufferless-first-p): Doc fix.
6986 Rename from frameset-sort-frames-for-deletion.
6987 (frameset-restore): Doc fixes. Use new function names.
6988 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6989
69902013-08-04 Juanma Barranquero <lekktu@gmail.com>
6991
6992 * desktop.el (desktop-restore-forces-onscreen)
6993 (desktop-restore-reuses-frames): Document :keyword constant values.
6994 (desktop-filter-parameters-alist): Remove, now identical to
6995 frameset-filter-alist.
6996 (desktop--filter-tty*): Remove, moved to frameset.el.
6997 (desktop-save-frameset, desktop-restore-frameset):
6998 Do not pass :filters argument.
6999
7000 * frameset.el (frameset-live-filter-alist)
7001 (frameset-persistent-filter-alist): New variables.
7002 (frameset-filter-alist): Use them. Add autoload cookie.
7003 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7004 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7005 `frameset--id' (it's supposed to be internal to frameset.el).
7006 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7007 (frameset--initial-params): New function.
7008 (frameset--get-frame): Use it. Doc fix.
7009 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7010 Accept :all, not 'all.
7011 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7012 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7013 with fbound symbols. Fix frame id matching, and remove matching ids if
7014 the frame being restored is deleted. Obey :delete.
7015
70162013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * subr.el (macrop): New function.
7019 (text-clone--maintaining): New var.
7020 (text-clone--maintain): Rename from text-clone-maintain. Use it
7021 instead of inhibit-modification-hooks.
7022
7023 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7024 a proxy, so as handle autoloads and redefinitions of the target.
7025 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7026
7027 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7028 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7029 (pcase--mutually-exclusive-p): New function.
7030 (pcase--split-consp): Use it.
7031 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7032 mutually exclusive with the current predicate.
7033
7034 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7035 (edebug-macrop): Remove. Use `macrop' instead.
7036 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7037 (ad-macro-p):
7038 * eshell/esh-cmd.el (eshell-macrop):
7039 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7040
70412013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7044 (advice-mapc): New function, using it.
7045 (advice-function-member-p): New function.
7046 (advice--normalize): Store the cdr in advice--saved-rewrite since
7047 that's the part that will be changed.
7048 (advice--symbol-function): New function.
7049 (advice-remove): Handle removal before the function is defined.
7050 Adjust to new advice--saved-rewrite.
7051 (advice-member-p): Use advice-function-member-p and
7052 advice--symbol-function.
7053
70542013-08-04 Juanma Barranquero <lekktu@gmail.com>
7055
7056 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7057 (frameset-filter-minibuffer): Doc fix.
7058 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7059 (frameset--set-id, frameset--process-minibuffer-frames)
7060 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7061 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7062
7063 * desktop.el (desktop-clear): Only delete frames when called
7064 interactively and desktop-restore-frames is non-nil. Doc fix.
7065 (desktop-read): Set desktop-saved-frameset to nil.
7066
70672013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7068
7069 * vc/vc.el (vc-ignore): Rewrite.
7070 (vc-default-ignore-completion-table):
7071 (vc--read-lines):
7072 (vc--add-line, vc--remove-regexp): New functions.
7073
7074 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7075 (vc-svn-ignore-completion-table): New function.
7076
7077 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7078 (vc-hg-ignore-completion-table):
7079 (vc-hg-find-ignore-file): New functions.
7080
7081 * vc/vc-git.el (vc-git-ignore): Rewrite.
7082 (vc-git-ignore-completion-table):
7083 (vc-git-find-ignore-file): New functions.
7084
7085 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7086
7087 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7088 (vc-bzr-ignore-completion-table):
7089 (vc-bzr-find-ignore-file): New functions.
7090
70912013-08-03 Juanma Barranquero <lekktu@gmail.com>
7092
7093 * frameset.el (frameset-prop): New function and setter.
7094 (frameset-save): Do not modify frame list passed by the caller.
7095
70962013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7099
71002013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7103 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7104
7105 * custom.el (custom-initialize-default, custom-initialize-set)
7106 (custom-initialize-reset, custom-initialize-changed): Affect the
7107 toplevel-default-value (bug#6275, bug#14586).
7108 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7109 for bug#6275.
7110
71112013-08-02 Juanma Barranquero <lekktu@gmail.com>
7112
7113 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7114 Add cl-def* expressions.
7115
7116 * frameset.el (frameset-filter-params): Fix order of arguments.
7117
71182013-08-02 Juanma Barranquero <lekktu@gmail.com>
7119
7120 Move code related to saving frames to frameset.el.
7121 * desktop.el: Require frameset.
7122 (desktop-restore-frames): Doc fix.
7123 (desktop-restore-reuses-frames): Rename from
7124 desktop-restoring-reuses-frames.
7125 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7126 (desktop-clear): Clear frames too.
7127 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7128 (desktop--filter-tty*, desktop-save, desktop-read):
7129 Use frameset functions.
7130 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7131 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7132 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7133 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7134 (desktop--process-minibuffer-frames, desktop-save-frames)
7135 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7136 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7137 (desktop--sort-states, desktop-restoring-frames-p)
7138 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7139 (desktop-restoring-frameset-p, desktop-restore-frameset)
7140 (desktop--check-dont-save, desktop-save-frameset): New functions.
7141 (desktop--app-id): New constant.
7142 (desktop-first-buffer, desktop-buffer-ok-count)
7143 (desktop-buffer-fail-count): Move before first use.
7144 * frameset.el: New file.
7145
71462013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * files.el: Use lexical-binding.
7149 (dir-locals-read-from-file): Remove unused `err' variable.
7150 (hack-dir-local-variables--warned-coding): New var.
7151 (hack-dir-local-variables): Use it to avoid repeated warnings.
7152 (make-backup-file-name--default-function): New function.
7153 (make-backup-file-name-function): Use it as default.
7154 (buffer-stale--default-function): New function.
7155 (buffer-stale-function): Use it as default.
7156 (revert-buffer-insert-file-contents--default-function): New function.
7157 (revert-buffer-insert-file-contents-function): Use it as default.
7158 (insert-directory): Avoid add-to-list.
7159
7160 * autorevert.el (auto-revert-handler): Simplify.
7161 Use buffer-stale--default-function.
7162
71632013-08-01 Tassilo Horn <tsdh@gnu.org>
7164
7165 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7166
7167 * whitespace.el (whitespace-ensure-local-variables): New function.
7168 (whitespace-cleanup-region): Call it.
7169 (whitespace-turn-on): Call it.
7170
71712013-08-01 Michael Albinus <michael.albinus@gmx.de>
7172
7173 Complete file name handlers.
7174
7175 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7176 (tramp-handle-verify-visited-file-modtime)
7177 (tramp-handle-file-notify-rm-watch): New functions.
7178 (tramp-call-process): Do not bind `default-directory'.
7179
7180 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7181 Order alphabetically.
7182 [access-file, add-name-to-file, dired-call-process]:
7183 [dired-compress-file, file-acl, file-notify-rm-watch]:
7184 [file-ownership-preserved-p, file-selinux-context]:
7185 [make-directory-internal, make-symbolic-link, set-file-acl]:
7186 [set-file-selinux-context, set-visited-file-modtime]:
7187 [verify-visited-file-modtime]: Add handler.
7188 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7189
7190 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7191 [file-notify-add-watch, file-notify-rm-watch]:
7192 [set-file-times, set-visited-file-modtime]:
7193 [verify-visited-file-modtime]: Add handler.
7194 (with-tramp-gvfs-error-message)
7195 (tramp-gvfs-handle-set-visited-file-modtime)
7196 (tramp-gvfs-fuse-file-name): Remove.
7197 (tramp-gvfs-handle-file-notify-add-watch)
7198 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7199 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7200
7201 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7202 Order alphabetically.
7203 [file-notify-rm-watch ]: Use default Tramp handler.
7204 [executable-find]: Remove private handler.
7205 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7206 `default-directory'.
7207 (tramp-sh-handle-executable-find)
7208 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7209 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7210 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7211 Do not use `format' in `tramp-message'.
7212
7213 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7214 [file-notify-rm-watch, set-visited-file-modtime]:
7215 [verify-visited-file-modtime]: Add handler.
7216 (tramp-smb-call-winexe): Do not bind `default-directory'.
7217
72182013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7219
7220 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7221
72222013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7223
7224 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7225 use it.
7226 (log-view-diff-changeset): Same.
7227 (log-view-diff-common): Call backend command `previous-revision'
7228 to find out the previous revision, in both cases. Swap the
7229 variables `to' and `fr', so that `fr' usually refers to the
7230 earlier revision (Bug#14989).
7231
72322013-07-31 Kan-Ru Chen <kanru@kanru.info>
7233
7234 * ibuf-ext.el (ibuffer-filter-by-filename):
7235 Make it work with dired buffers too.
7236
72372013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7238
7239 * emacs-lisp/re-builder.el (reb-color-display-p):
7240 * files.el (save-buffers-kill-terminal):
7241 * net/browse-url.el (browse-url):
7242 * server.el (server-save-buffers-kill-terminal):
7243 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7244 Prefer nil to selected-frame for the first arg of frame-parameter.
7245
72462013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7247
7248 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7249
72502013-07-30 Stephen Berman <stephen.berman@gmx.net>
7251
7252 * minibuffer.el (completion--twq-all): Try and preserve each
7253 completion's case choice (bug#14907).
7254
72552013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7256
7257 * net/network-stream.el (open-network-stream): Mention the new
7258 :nogreeting parameter.
7259 (network-stream-open-starttls): Use the :nogreeting parameter
7260 (bug#14938).
7261
7262 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7263
7264 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7265 more natural than popping.
7266
7267 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7268 (shr-urlify): Highlight under mouse.
7269
72702013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7271
7272 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7273
7274 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7275
7276 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7277 buffer for output.
7278
7279 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7280 point-min==1. Fix search string. Fix parentheses missing.
7281
7282 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7283 assume point-min==1. Fix search string. Fix parentheses missing.
7284
7285 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7286
7287 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7288 buffer for output.
7289
72902013-07-29 Eli Zaretskii <eliz@gnu.org>
7291
7292 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7293 initial frame is minibuffer-less. (Bug#14841)
7294
72952013-07-29 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7298 option.
7299
7300 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7301 (tramp-maybe-open-connection): Use it.
7302
73032013-07-28 Juanma Barranquero <lekktu@gmail.com>
7304
7305 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7306 minimal set of parameters passed when creating a frame, because
7307 the minibuffer status of a frame cannot be changed later.
7308
73092013-07-28 Stephen Berman <stephen.berman@gmx.net>
7310
7311 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7312 replace-regexp-in-string and inadvertent omissions in previous change.
7313 (todo-filter-items): Ensure only file names are comma-separated in
7314 name of filtered items buffer.
7315
73162013-07-28 Juanma Barranquero <lekktu@gmail.com>
7317
7318 * desktop.el: Optionally force offscreen frames back onscreen.
7319 (desktop-restoring-reuses-frames): New option.
7320 (desktop--compute-pos, desktop--move-onscreen): New functions.
7321 (desktop--make-frame): Use desktop--move-onscreen.
7322
73232013-07-27 Alan Mackenzie <acm@muc.de>
7324
7325 Fontify a Java generic method as a function.
7326 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7327 value to t.
7328
73292013-07-27 Stephen Berman <stephen.berman@gmx.net>
7330
7331 * calendar/todo-mode.el: Add command to rename todo files.
7332 (todo-rename-file): New command.
7333 (todo-key-bindings-t): Add key binding for it. Change the
7334 bindings of todo-filter-regexp-items(-multifile) to use `x'
7335 instead of `r', since the latter is better suited to the new
7336 renaming command.
7337
73382013-07-27 Alan Mackenzie <acm@muc.de>
7339
7340 Make Java try-with-resources statement parse properly.
7341 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7342 (c-block-stmt-1-2-key): New language constants/variables.
7343 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7344 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7345 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7346 with c-block-stmt-1-2-key.
7347
73482013-07-27 Juanma Barranquero <lekktu@gmail.com>
7349
7350 * desktop.el (desktop--make-frame): Apply most frame parameters after
7351 creating the frame to force (partially or totally) offscreen frames to
7352 be restored as such.
7353
73542013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7355
7356 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7357 (Bug#14948)
7358
73592013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7362 `base' arg of backtrace-frame.
7363
73642013-07-26 Eli Zaretskii <eliz@gnu.org>
7365
7366 * simple.el (list-processes): Doc fix.
7367
73682013-07-26 Juanma Barranquero <lekktu@gmail.com>
7369
7370 * desktop.el (desktop--select-frame):
7371 Try harder to reuse existing frames.
7372
73732013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7376 (edebug-eval): Use backtrace-eval.
7377 (edebug--display, edebug--recursive-edit): Don't let-bind the
7378 edebug-outer-* vars that keep track of variables we locally let-bind.
7379 (edebug-outside-excursion): Don't restore outside values of locally
7380 let-bound vars.
7381 (edebug--display): Use user-error.
7382 (cl-lexical-debug, cl-debug-env): Remove.
7383
73842013-07-26 Juanma Barranquero <lekktu@gmail.com>
7385
7386 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7387 are restored to be sure that they are visible before deleting any
7388 remaining ones.
7389
73902013-07-26 Matthias Meulien <orontee@gmail.com>
7391
7392 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7393 vc-print-root-log. (Bug#14948)
7394
73952013-07-26 Richard Stallman <rms@gnu.org>
7396
7397 Add aliases for encrypting mail.
7398 * epa.el (epa-mail-aliases): New option.
7399 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7400 Bind inhibit-read-only so read-only text doesn't ruin everything.
7401 (epa-mail-default-recipients): New subroutine broken out.
7402 Handle epa-mail-aliases.
7403
74042013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 Add support for lexical variables to the debugger's `e' command.
7407 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7408 vars, except for debugger-outer-match-data.
7409 (debugger-frame-number): Move check for "on a function call" from
7410 callers into it. Add `skip-base' argument.
7411 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7412 (debugger-env-macro): Only reset the state stored in non-variables,
7413 i.e. current-buffer and match-data.
7414 (debugger-eval-expression): Rewrite using backtrace-eval.
7415 * subr.el (internal--called-interactively-p--get-frame): Remove.
7416 (called-interactively-p):
7417 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7418 `base' arg of backtrace-frame instead.
7419
74202013-07-26 Glenn Morris <rgm@gnu.org>
7421
7422 * align.el (align-regexp): Doc fix. (Bug#14857)
7423 (align-region): Explicit error if subexpression missing/does not match.
7424
7425 * simple.el (global-visual-line-mode):
7426 Do not duplicate the mode lighter. (Bug#14858)
7427
74282013-07-25 Martin Rudalics <rudalics@gmx.at>
7429
7430 * window.el (display-buffer): In display-buffer bind
7431 split-window-keep-point to t, bug#14829.
7432
74332013-07-25 Juanma Barranquero <lekktu@gmail.com>
7434
7435 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7436 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7437 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7438 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7439 Change accordingly.
7440 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7441 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7442
74432013-07-25 Glenn Morris <rgm@gnu.org>
7444
7445 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7446
74472013-07-25 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7450 parameter to modify-frame-parameters if the value has not changed;
7451 this is a workaround for bug#14949.
7452 (desktop--make-frame): On cl-delete-if call, check parameter name,
7453 not full parameter.
7454
74552013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7456
7457 * vc/vc.el (vc-ignore): New function.
7458
7459 * vc/vc-svn.el (vc-svn-ignore): New function.
7460
7461 * vc/vc-hg.el (vc-hg-ignore): New function.
7462
7463 * vc/vc-git.el (vc-git-ignore): New function.
7464
7465 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7466 (vc-dir-ignore): New function.
7467
7468 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7469 (cvs-append-to-ignore): Move here from pcvs.el.
7470
7471 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7472
7473 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7474
74752013-07-24 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7478 (desktop-restore-frames): Warn when deleting an existing frame failed.
7479
74802013-07-24 Glenn Morris <rgm@gnu.org>
7481
7482 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7483
74842013-07-24 Michael Albinus <michael.albinus@gmx.de>
7485
7486 * filenotify.el (file-notify-supported-p):
7487 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7488 Remove functions.
7489
7490 * autorevert.el (auto-revert-use-notify):
7491 (auto-revert-notify-add-watch):
7492 * net/tramp.el (tramp-file-name-for-operation):
7493 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7494 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7495 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7496 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7497 Remove `file-notify-supported-p' entry.
7498
74992013-07-24 Glenn Morris <rgm@gnu.org>
7500
7501 * printing.el: Replace all uses of deleted ps-windows-system,
7502 ps-lp-system, ps-flatten-list with lpr- versions.
7503
75042013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7507 checked with memq (bug#14935).
7508
7509 * files.el (revert-buffer-function): Use a non-nil default.
7510 (revert-buffer-preserve-modes): Declare var to
7511 provide access to the `preserve-modes' argument.
7512 (revert-buffer): Let-bind it.
7513 (revert-buffer--default): New function, extracted from revert-buffer.
7514
75152013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7516
7517 * lpr.el: Signal print errors more prominently.
7518 (print-region-function): Don't default to nil.
7519 (lpr-print-region): New function, extracted from print-region-1.
7520 Check lpr's return value and signal an error in case of problem.
7521 (print-region-1): Use it.
7522 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7523 versions instead.
7524 (ps-printer-name): Default to nil.
7525 (ps-printer-name-option): Default to lpr-printer-switch.
7526 (ps-print-region-function): Don't default to nil.
7527 (ps-postscript-code-directory): Simplify default.
7528 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7529 (ps-string-list, ps-eval-switch, ps-flatten-list)
7530 (ps-flatten-list-1): Remove.
7531 (ps-multibyte-buffer): Avoid setq.
7532 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7533 (print-region-function, ps-print-region-function): Don't set them here.
7534
75352013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7536
7537 * ido.el (ido-fractionp):
7538 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7539 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7540 (ido-max-directory-size, ido-max-dir-file-cache)
7541 (ido-decorations): Doc fix.
7542
7543 * ansi-color.el: Fix old URL.
7544
75452013-07-23 Michael R. Mauger <michael@mauger.com>
7546
7547 * progmodes/sql.el: Version 3.3
7548 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7549 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7550 (sql-interactive-remove-continuation-prompt): Rewrite, use
7551 functions above. Fix continuation prompt and complete output line
7552 handling.
7553 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7554 redirected output buffer.
7555 (sql-mode): Restore deleted code (Bug#13591).
7556
75572013-07-23 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7560
75612013-07-23 Michael Albinus <michael.albinus@gmx.de>
7562
7563 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7564
7565 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7566 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7567 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7568
75692013-07-23 Juanma Barranquero <lekktu@gmail.com>
7570
7571 * desktop.el (desktop-clear): Simplify; remove useless checks
7572 against invalid buffer names.
7573 (desktop-list*): Use cl-list*.
7574 (desktop-buffer-info, desktop-create-buffer): Simplify.
7575
75762013-07-23 Leo Liu <sdl.web@gmail.com>
7577
7578 * bookmark.el (bookmark-make-record): Restore NAME as a default
7579 value. (Bug#14933)
7580
75812013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7584 extracted from autoload--insert-text.
7585 (autoload--insert-text): Remove.
7586 (autoload--print-cookie-text): New function, extracted from
7587 autoload--insert-cookie-text.
7588 (autoload--insert-cookie-text): Remove.
7589 (autoload-generate-file-autoloads): Adjust calls accordingly.
7590
7591 * winner.el (winner-hook-installed-p): Remove.
7592 (winner-mode): Simplify accordingly.
7593
7594 * subr.el (add-to-list): Fix compiler-macro when `append' is
7595 not constant. Don't use `cl-member' for the base case.
7596
7597 * progmodes/subword.el: Fix boundary case (bug#13758).
7598 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7599 own group.
7600 (subword-backward-regexp): Make it a constant.
7601 (subword-forward-internal): Don't treat a trailing capital as the
7602 beginning of a word.
7603
76042013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7605
7606 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7607 global value of tabulated-list-revert-hook (bug#14930).
7608
76092013-07-22 Juanma Barranquero <lekktu@gmail.com>
7610
7611 * desktop.el: Require 'cl-lib.
7612 (desktop-before-saving-frames-functions): New hook.
7613 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7614 for frames being saved. Rename from desktop--save-minibuffer-frames.
7615 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7616 Do not save frames with non-nil `desktop-dont-save' parameter.
7617 Filter out deleted frames.
7618 (desktop--find-frame): Use cl-find-if.
7619 (desktop--select-frame): Use cl-(first|second|third) to access values
7620 of desktop-mini.
7621 (desktop--make-frame): Use cl-delete-if.
7622 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7623 (desktop-restore-frames): Use cl-(first|second|third) to access values
7624 of desktop-mini. Look for visible frame at the end, not while
7625 restoring frames.
7626
7627 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7628 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7629 Use string-match-p, looking-at-p (bug#14927).
7630
76312013-07-21 Juanma Barranquero <lekktu@gmail.com>
7632
7633 * desktop.el (desktop-saved-frame-states):
7634 Rename from desktop--saved-states; all users changed.
7635 (desktop-save-frames): Rename from desktop--save-frames.
7636 Do not save state to desktop file.
7637 (desktop-save): Save desktop-saved-frame-states to desktop file
7638 and reset to nil.
7639 (desktop-restoring-frames-p): New function.
7640 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7641 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7642 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7643
7644 * desktop.el: Correctly restore iconified frames.
7645 (desktop--filter-iconified-position): New function.
7646 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7647
76482013-07-20 Glenn Morris <rgm@gnu.org>
7649
7650 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7651 Let `message' do the formatting.
7652 (def-gdb-preempt-display-buffer): Add explicit format.
7653
7654 * image-dired.el (image-dired-track-original-file):
7655 Use with-current-buffer.
7656 (image-dired-track-thumbnail): Use with-current-buffer.
7657 Avoid changing point of wrong window.
7658
7659 * image-dired.el (image-dired-track-original-file):
7660 Avoid changing point of wrong window. (Bug#14909)
7661
76622013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7663
7664 * progmodes/gdb-mi.el (gdb-done-or-error):
7665 Guard against "%" in gdb output. (Bug#14127)
7666
76672013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7668
7669 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7670 (Bug#14826)
7671
7672 * international/mule.el (coding-system-iso-2022-flags): Fix last
7673 change.
7674
76752013-07-20 Kenichi Handa <handa@gnu.org>
7676
7677 * international/mule.el (coding-system-iso-2022-flags):
7678 Add `8-bit-level-4'. (Bug#8522)
7679
76802013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681
7682 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7683 (bug#14815).
7684
7685 * net/eww.el (eww-process-text-input): Allow inputting when the
7686 point is at the start of the line, as the properties aren't
7687 front-sticky.
7688
7689 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7690 degenerate widths.
7691
76922013-07-19 Richard Stallman <rms@gnu.org>
7693
7694 * epa.el (epa-popup-info-window): Doc fix.
7695
7696 * subr.el (split-string): New arg TRIM.
7697
76982013-07-18 Juanma Barranquero <lekktu@gmail.com>
7699
7700 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7701 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7702
77032013-07-18 Michael Albinus <michael.albinus@gmx.de>
7704
7705 * filenotify.el (file-notify--library): Rename from
7706 `file-notify-support'. Do not autoload. Adapt all uses.
7707 (file-notify-supported-p): New defun.
7708
7709 * autorevert.el (auto-revert-use-notify):
7710 Use `file-notify-supported-p' instead of `file-notify-support'.
7711 Adapt docstring.
7712 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7713
7714 * net/tramp.el (tramp-file-name-for-operation):
7715 Add `file-notify-supported-p'.
7716
7717 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7718 New defun.
7719 (tramp-sh-file-name-handler-alist): Add it as handler for
7720 `file-notify-supported-p '.
7721
7722 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7723 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7724 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7725 Add `ignore' as handler for `file-notify-*' functions.
7726
77272013-07-17 Eli Zaretskii <eliz@gnu.org>
7728
7729 * simple.el (line-move-partial, line-move): Don't start vscroll or
7730 scroll-up if the current line is not taller than the window.
7731 (Bug#14881)
7732
77332013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7734
7735 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7736 highlight question marks in the method names as strings.
7737 (ruby-block-beg-keywords): Inline.
7738 (ruby-font-lock-keyword-beg-re): Extract from
7739 `ruby-font-lock-keywords'.
7740
77412013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7742
7743 * frame.el (blink-cursor-blinks): New defcustom.
7744 (blink-cursor-blinks-done): New defvar.
7745 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7746 (blink-cursor-timer-function): Check if number of blinks has been
7747 done on X and NS.
7748 (blink-cursor-suspend, blink-cursor-check): New defuns.
7749
77502013-07-15 Glenn Morris <rgm@gnu.org>
7751
7752 * edmacro.el (edmacro-format-keys): Fix previous change.
7753
77542013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7755
7756 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7757 The hack didn't work outside English locales anyway.
7758
77592013-07-15 Juanma Barranquero <lekktu@gmail.com>
7760
7761 * simple.el (define-alternatives): Rename from alternatives-define,
7762 per RMS' suggestion.
7763
77642013-07-14 Juanma Barranquero <lekktu@gmail.com>
7765
7766 * desktop.el (desktop-restore-frames): Change default to t.
7767 (desktop-restore-in-current-display): Now offer more options.
7768 (desktop-restoring-reuses-frames): New customization option.
7769 (desktop--saved-states): Doc fix.
7770 (desktop-filter-parameters-alist): New variable, renamed and expanded
7771 from desktop--excluded-frame-parameters.
7772 (desktop--target-display): New variable.
7773 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7774 (desktop--filter-tty*, desktop--filter-*-color)
7775 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7776 (desktop--filter-save-desktop-parm)
7777 (desktop-restore-in-original-display-p): New functions.
7778 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7779 (desktop--save-minibuffer-frames): New function, inspired by a similar
7780 function from Martin Rudalics.
7781 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7782 (desktop--restore-in-this-display-p): Remove.
7783 (desktop--find-frame): Rename from desktop--find-frame-in-display
7784 and add predicate argument.
7785 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7786 (desktop--reuse-list): New variable.
7787 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7788 New functions.
7789 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7790
77912013-07-14 Michael Albinus <michael.albinus@gmx.de>
7792
7793 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7794
77952013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7796
7797 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7798 Highlight conversion methods on Kernel.
7799
78002013-07-13 Alan Mackenzie <acm@muc.de>
7801
7802 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7803 and comment it out. This out-commenting enables certain C++
7804 declarations to be parsed correctly.
7805
78062013-07-13 Eli Zaretskii <eliz@gnu.org>
7807
7808 * international/mule.el (define-coding-system): Doc fix.
7809
7810 * simple.el (default-font-height): Don't call font-info if the
7811 frame's default font didn't change since the frame was created.
7812 (Bug#14838)
7813
78142013-07-13 Leo Liu <sdl.web@gmail.com>
7815
7816 * ido.el (ido-read-file-name): Guard against non-symbol value.
7817
78182013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7819
7820 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7821 in nested defuns.
7822
78232013-07-13 Leo Liu <sdl.web@gmail.com>
7824
7825 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7826 ido-set-matches call. (Bug#6852)
7827
78282013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7829
7830 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7831 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7832 Ruby 2.0.
7833 (ruby-font-lock-keywords): Distinguish calls to functions with
7834 module-like names from module references. Highlight character
7835 literals.
7836
78372013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7838
7839 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7840 (gdb-send): Handle continued commands. (Bug#14847)
7841
78422013-07-12 Juanma Barranquero <lekktu@gmail.com>
7843
7844 * desktop.el (desktop--v2s): Remove unused local variable.
7845 (desktop-save-buffer): Make defvar-local; adjust docstring.
7846 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7847 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7848
78492013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7850
7851 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7852
78532013-07-12 Eli Zaretskii <eliz@gnu.org>
7854
7855 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7856 (Bug#14842)
7857
78582013-07-12 Glenn Morris <rgm@gnu.org>
7859
7860 * doc-view.el: Require cl-lib at runtime too.
7861 (doc-view-remove-if): Remove.
7862 (doc-view-search-next-match, doc-view-search-previous-match):
7863 Use cl-remove-if.
7864
7865 * edmacro.el: Require cl-lib at runtime too.
7866 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7867 (edmacro-mismatch, edmacro-subseq): Remove.
7868
7869 * shadowfile.el: Require cl-lib.
7870 (shadow-remove-if): Remove.
7871 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7872 Use cl-remove-if.
7873
7874 * wid-edit.el: Require cl-lib.
7875 (widget-choose): Use cl-remove-if.
7876 (widget-remove-if): Remove.
7877
7878 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7879 (ebrowse-delete-if-not): Remove.
7880 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7881 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7882 Use cl-delete-if-not.
7883
78842013-07-12 Juanma Barranquero <lekktu@gmail.com>
7885
7886 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7887 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7888
78892013-07-12 Leo Liu <sdl.web@gmail.com>
7890
7891 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7892
78932013-07-11 Glenn Morris <rgm@gnu.org>
7894
7895 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7896 (edebug-gensym-index, edebug-gensym):
7897 Remove reimplementation of cl-gensym.
7898 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7899
7900 * thumbs.el: Require cl-lib at run-time too.
7901 (thumbs-gensym-counter, thumbs-gensym):
7902 Remove reimplementation of cl-gensym.
7903 (thumbs-temp-file): Use cl-gensym.
7904
7905 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7906 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7907 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7908 (ert--union, ert--gensym-counter, ert--gensym-counter)
7909 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7910 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7911 (ert-make-test-unbound, ert--expand-should-1)
7912 (ert--expand-should, ert--should-error-handle-error)
7913 (should-error, ert--explain-equal-rec)
7914 (ert--plist-difference-explanation, ert-select-tests)
7915 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7916 Use cl-lib functions rather than reimplementations.
7917
79182013-07-11 Michael Albinus <michael.albinus@gmx.de>
7919
7920 * net/tramp.el (tramp-methods): Extend docstring.
7921 (tramp-connection-timeout): New defcustom.
7922 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7923 (with-tramp-progress-reporter): Simplify.
7924 (tramp-process-actions): Improve messages.
7925
7926 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7927 * net/tramp-sh.el (tramp-maybe-open-connection):
7928 Use `tramp-connection-timeout'.
7929 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7930 (Bug#14808)
7931
79322013-07-11 Leo Liu <sdl.web@gmail.com>
7933
7934 * ido.el (ido-read-file-name): Conform to the requirements of
7935 read-file-name. (Bug#11861)
7936 (ido-read-directory-name): Conform to the requirements of
7937 read-directory-name.
7938
79392013-07-11 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * subr.el (delay-warning): New function.
7942
79432013-07-10 Eli Zaretskii <eliz@gnu.org>
7944
7945 * simple.el (default-line-height): New function.
7946 (line-move-partial, line-move): Use it instead of computing the
7947 line height inline.
7948 (line-move-partial): Always compute ROWH. If the last line is
7949 partially-visible, but its text is completely visible, allow
7950 cursor to enter such a partially-visible line.
7951
79522013-07-10 Michael Albinus <michael.albinus@gmx.de>
7953
7954 Improve error messages. (Bug#14808)
7955
7956 * net/tramp.el (tramp-current-connection): New defvar, moved from
7957 tramp-sh.el.
7958 (tramp-message-show-progress-reporter-message): Remove, not
7959 needed anymore.
7960 (tramp-error-with-buffer): Show message in minibuffer.
7961 Discard input before waiting. Reset connection timestamp.
7962 (with-tramp-progress-reporter): Improve messages.
7963 (tramp-process-actions): Use progress reporter. Delete process in
7964 case of error. Improve messages.
7965
7966 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7967 Call `tramp-error-with-buffer' with vector and buffer.
7968 (tramp-current-connection): Remove.
7969 (tramp-maybe-open-connection): The car of
7970 `tramp-current-connection' are the first 3 slots of the vector.
7971
79722013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7973
7974 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7975 inside continued strings.
7976
79772013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7978
7979 Timestamp fixes for undo (Bug#14824).
7980 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7981
79822013-07-10 Leo Liu <sdl.web@gmail.com>
7983
7984 * files.el (require-final-newline): Allow safe local value.
7985 (Bug#14834)
7986
79872013-07-09 Leo Liu <sdl.web@gmail.com>
7988
7989 * ido.el (ido-read-directory-name): Handle fallback.
7990 (ido-read-file-name): Update DIR to ido-current-directory.
7991 (Bug#1516)
7992 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7993
79942013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7995
7996 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7997 "autoload". Remove "warn lower camel case" section, previously
7998 commented out. Highlight negation char. Do not highlight the
7999 target in singleton method definitions.
8000
80012013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * faces.el (tty-setup-hook): Declare the hook.
8004
8005 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8006 and detect when a guard/pred depends on local vars (bug#14773).
8007 (pcase--u1): Adjust caller.
8008
80092013-07-08 Eli Zaretskii <eliz@gnu.org>
8010
8011 * simple.el (line-move-partial, line-move): Account for
8012 line-spacing.
8013 (line-move-partial): Avoid setting vscroll when the last
8014 partially-visible line in window is of default height.
8015
80162013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8017
8018 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8019 been used a while.
8020
80212013-07-07 Juanma Barranquero <lekktu@gmail.com>
8022
8023 * subr.el (read-quoted-char): Remove unused local variable `char'.
8024
80252013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8026
8027 * ediff.el (ediff-version): Version update.
8028 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8029 (ediff-merge-with-ancestor-command, ediff-directories-command)
8030 (ediff-directories3-command, ediff-merge-directories-command)
8031 (ediff-merge-directories-with-ancestor-command): New functions.
8032 All are command-line interfaces to ediff: to facilitate calling
8033 Emacs with the appropriate ediff functions invoked.
8034
8035 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8036 (viper-save-kill-buffer): Check if buffer is modified.
8037
8038 * viper.el (viper-version): Version update.
8039 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8040
80412013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8044 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8045 (viper-intercept-ESC-key): Simplify.
8046 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8047 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8048 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8049 (viper-setup-ESC-to-escape): New functions.
8050 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8051 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8052
80532013-07-07 Eli Zaretskii <eliz@gnu.org>
8054
8055 * simple.el (default-font-height, window-screen-lines):
8056 New functions.
8057 (line-move, line-move-partial): Use them instead of
8058 frame-char-height and window-text-height. This makes scrolling
8059 text smoother when the buffer's default face uses a font that is
8060 different from the frame's default font.
8061
80622013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8063
8064 * files.el (write-file): Do not display confirm dialog for NS,
8065 it does its own dialog, which can't be canceled (Bug#14578).
8066
80672013-07-06 Eli Zaretskii <eliz@gnu.org>
8068
8069 * simple.el (line-move-partial): Adjust the row returned by
8070 posn-at-point for the current window-vscroll. (Bug#14567)
8071
80722013-07-06 Michael Albinus <michael.albinus@gmx.de>
8073
8074 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8075 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8076 spaces.
8077
80782013-07-06 Martin Rudalics <rudalics@gmx.at>
8079
8080 * window.el (window-state-put-stale-windows): New variable.
8081 (window--state-put-2): Save list of windows without matching buffer.
8082 (window-state-put): Remove "bufferless" windows if possible.
8083
80842013-07-06 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * simple.el (alternatives-define): Remove leftover :group keyword.
8087 Tweak docstring.
8088
80892013-07-06 Leo Liu <sdl.web@gmail.com>
8090
8091 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8092 (ido-enable-virtual-buffers): New variable.
8093 (ido-buffer-internal, ido-toggle-virtual-buffers)
8094 (ido-make-buffer-list): Use it.
8095 (ido-exhibit): Support turning on and off virtual buffers
8096 automatically.
8097
80982013-07-06 Juanma Barranquero <lekktu@gmail.com>
8099
8100 * simple.el (alternatives-define): New macro.
8101
81022013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * subr.el (read-quoted-char): Use read-key.
8105 (sit-for): Let read-event decode tty input (bug#14782).
8106
81072013-07-05 Stephen Berman <stephen.berman@gmx.net>
8108
8109 * calendar/todo-mode.el: Add handling of file deletion, both by
8110 mode command and externally. Fix various related bugs.
8111 Clarify Commentary and improve some documentation strings and code.
8112 (todo-delete-file): New command.
8113 (todo-check-file): New function.
8114 (todo-show): Handle external deletion of the file we're trying to
8115 show (bug#14688). Replace called-interactively-p by an optional
8116 prefix argument to avoid problematic interaction with catch form
8117 when byte compiled (bug#14702).
8118 (todo-quit): Handle external deletion of the archive's todo file.
8119 Make sure the buffer that was visiting the archive file is still
8120 live before trying to bury it.
8121 (todo-category-completions): Handle external deletion of any
8122 category completion files.
8123 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8124 of todo files, in case of external deletion.
8125 (todo-add-file): Replace unnecessary setq by let-binding.
8126 (todo-find-archive): Check whether there are any archives.
8127 Replace unnecessary setq by let-binding.
8128 (todo-archive-done-item): Use find-file-noselect to get the
8129 archive buffer whether or not the archive already exists.
8130 Remove superfluous code. Use file size instead of buffer-file-name to
8131 check if the archive is new; if it is, update list of archives.
8132 (todo-default-todo-file): Allow nil to be a valid value for when
8133 there are no todo files.
8134 (todo-reevaluate-default-file-defcustom): Use corrected definition
8135 of todo-default-todo-file.
8136 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8137 (todo-delete-category, todo-show-categories-table)
8138 (todo-category-number): Clarify comment.
8139 (todo-filter-items): Clarify documentation string.
8140 (todo-show-current-file, todo-display-as-todo-file)
8141 (todo-reset-and-enable-done-separator): Tweak documentation string.
8142 (todo-done-separator): Make separator length window-width, since
8143 bug#2749 is now fixed.
8144
81452013-07-05 Michael Albinus <michael.albinus@gmx.de>
8146
8147 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8148 Support both "gvfs-monitor-dir" and "inotifywait".
8149 (tramp-sh-file-inotifywait-process-filter): Rename from
8150 `tramp-sh-file-notify-process-filter'.
8151 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8152 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8153
81542013-07-05 Leo Liu <sdl.web@gmail.com>
8155
8156 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8157
81582013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8159
8160 * frame.el (display-pixel-height, display-pixel-width)
8161 (display-mm-height, display-mm-width): Mention behavior on
8162 multi-monitor setups in docstrings.
8163 (w32-display-monitor-attributes-list): Declare function.
8164 (display-monitor-attributes-list): Use it.
8165
81662013-07-04 Michael Albinus <michael.albinus@gmx.de>
8167
8168 * filenotify.el: New package.
8169
8170 * autorevert.el (top): Require filenotify.el.
8171 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8172 instead.
8173 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8174 (auto-revert-notify-handler): Use `file-notify-*' functions.
8175
8176 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8177
8178 * net/tramp.el (tramp-file-name-for-operation):
8179 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8180
8181 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8182 for `file-notify-add-watch' and `file-notify-rm-watch'.
8183 (tramp-process-sentinel): Improve trace.
8184 (tramp-sh-handle-file-notify-add-watch)
8185 (tramp-sh-file-notify-process-filter)
8186 (tramp-sh-handle-file-notify-rm-watch)
8187 (tramp-get-remote-inotifywait): New defuns.
8188
81892013-07-03 Juri Linkov <juri@jurta.org>
8190
8191 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8192 call of `occur-read-primary-args' to interactive spec.
8193
8194 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8195 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8196
81972013-07-03 Matthias Meulien <orontee@gmail.com>
8198
8199 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8200 `Buffer-menu-multi-occur'. Add it to the menu.
8201 (Buffer-menu-mode): Document it in docstring.
8202 (Buffer-menu-multi-occur): New command. (Bug#14673)
8203
82042013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8205
8206 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8207 keywords and built-ins.
8208
82092013-07-03 Glenn Morris <rgm@gnu.org>
8210
8211 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8212
8213 Make info-xref checks case-sensitive by default
8214 * info.el (Info-find-node, Info-find-in-tag-table)
8215 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8216 Add option for exact case matching of nodes.
8217 * info-xref.el (info-xref): New custom group.
8218 (info-xref-case-fold): New option.
8219 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8220
82212013-07-03 Leo Liu <sdl.web@gmail.com>
8222
8223 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8224
82252013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8226
8227 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8228 middle of block statement initially, lower the depth. Remove
8229 FIXME comment, not longer valid. Remove middle of block statement
8230 detection, no need to do that anymore since we've been using
8231 `ruby-parse-region' here.
8232
82332013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8234
8235 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8236
82372013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8238
8239 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8240
82412013-07-01 Juanma Barranquero <lekktu@gmail.com>
8242
8243 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8244 (desktop-restore-in-current-display): New customization option.
8245 (desktop--excluded-frame-parameters): Add `font'.
8246 (desktop--save-frames): Rename from desktop--save-windows.
8247 (desktop--restore-in-this-display-p): New function.
8248 (desktop--make-full-frame): Remove unwanted width/height from
8249 full(width|height) frames.
8250 (desktop--restore-frames): Rename from desktop--restore-windows.
8251 Obey desktop-restore-current-display. Do not delete old frames or
8252 select a new frame unless we were able to restore at least one frame.
8253
82542013-06-30 Michal Nazarewicz <mina86@mina86.com>
8255
8256 * files.el (find-file-noselect): Simplify conditional expression.
8257
8258 * textmodes/remember.el (remember-append-to-file):
8259 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8260
8261 Add `remember-notes' function to store random notes across Emacs
8262 restarts.
8263 * textmodes/remember.el (remember-data-file): Add :set callback to
8264 affect notes buffer (if any).
8265 (remember-notes): New command.
8266 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8267 New defcustoms for the `remember-notes' function.
8268 (remember-notes-save-and-bury-buffer): New command.
8269 (remember-notes-mode-map): New variable.
8270 (remember-mode): New minor mode.
8271 (remember-notes--kill-buffer-query): New function.
8272 * startup.el (initial-buffer-choice): Add notes to custom type.
8273
82742013-06-30 Eli Zaretskii <eliz@gnu.org>
8275
8276 * bindings.el (right-char, left-char): Don't call sit-for, this is
8277 no longer needed. Use arithmetic comparison only for numerical
8278 arguments.
8279
8280 * international/mule-cmds.el (select-safe-coding-system):
8281 Handle the case of FROM being a string correctly. (Bug#14755)
8282
82832013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8284
8285 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8286 progression on degenerate tables.
8287 (shr-rescale-image): ImageMagick animated images currently don't work.
8288
82892013-06-30 Juanma Barranquero <lekktu@gmail.com>
8290
8291 Some fixes and improvements for desktop frame restoration.
8292 It is still experimental and disabled by default.
8293 * desktop.el (desktop--save-windows): Put the selected frame at
8294 the head of the list.
8295 (desktop--make-full-frame): New function.
8296 (desktop--restore-windows): Try to re-select the frame that was
8297 selected upon saving. Do not abort if some frames fail to restore,
8298 just show an error message and continue. Set up maximized frames
8299 so they have default non-maximized dimensions.
8300
83012013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8302
8303 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8304 Don't start heredoc inside a string or comment.
8305
83062013-06-29 Eli Zaretskii <eliz@gnu.org>
8307
8308 * bindings.el (visual-order-cursor-movement): New defcustom.
8309 (right-char, left-char): Provide visual-order cursor motion by
8310 calling move-point-visually. Update the doc strings.
8311
83122013-06-28 Kenichi Handa <handa@gnu.org>
8313
8314 * international/mule.el (define-coding-system): New coding system
8315 properties :inhibit-null-byte-detection,
8316 :inhibit-iso-escape-detection, and :prefer-utf-8.
8317 (set-buffer-file-coding-system): If :charset-list property of
8318 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8319 appropriate for setting.
8320
8321 * international/mule-cmds.el (select-safe-coding-system):
8322 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8323 multibyte characters, return utf-8 (or one of its siblings).
8324
8325 * international/mule-conf.el (prefer-utf-8): New coding system.
8326 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8327 files.
8328
83292013-06-28 Ivan Kanis <ivan@kanis.fr>
8330
8331 * net/shr.el (shr-render-region): New function.
8332
8333 * net/eww.el: Autoload `eww-browse-url'.
8334
83352013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8336
8337 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8338 Adapt to `package-desc-version' being a list.
8339 Use `package--ac-desc-version' to retrieve version from a package
8340 archive element.
8341
83422013-06-27 Juanma Barranquero <lekktu@gmail.com>
8343
8344 New experimental feature to save&restore window and frame setup.
8345 * desktop.el (desktop-save-windows): New defcustom.
8346 (desktop--saved-states): New var.
8347 (desktop--excluded-frame-parameters): New defconst.
8348 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8349 (desktop--restore-windows, desktop--save-windows): New functions.
8350 (desktop-save): Call `desktop--save-windows'.
8351 (desktop-read): Call `desktop--restore-windows'.
8352
83532013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8354
8355 * net/shr.el (add-face-text-property): Remove compat definition.
8356
83572013-06-27 Stephen Berman <stephen.berman@gmx.net>
8358
8359 * info.el (Info-try-follow-nearest-node): Move search for footnote
8360 above search for node name to prevent missing a footnote (bug#14717).
8361
83622013-06-27 Stephen Berman <stephen.berman@gmx.net>
8363
8364 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8365
83662013-06-27 Leo Liu <sdl.web@gmail.com>
8367
8368 * net/eww.el (eww-read-bookmarks): Check file size.
8369
83702013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8373 advice--pending if newdef is nil or an autoload (bug#13820).
8374 (advice-mapc): New function.
8375
83762013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8377
8378 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8379 probably.
8380 (eww-mode-map): Add a menu bar.
8381 (eww-add-bookmark): New command.
8382 (eww-bookmark-mode): New mode and commands.
8383 (eww-add-bookmark): Remove newlines from the title.
8384 (eww-bookmark-browse): Don't bug out if it's the only window.
8385
83862013-06-26 Glenn Morris <rgm@gnu.org>
8387
8388 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8389 (hfy-size): Handle ttys. (Bug#14668)
8390
8391 * info-xref.el: Update for Texinfo 5 change in *note format.
8392 (info-xref-node-re, info-xref-note-re): New constants.
8393 (info-xref-check-buffer): Use info-xref-note-re.
8394
83952013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8398
8399 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8400 nil terminate the loop (bug#14718).
8401
84022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8403
8404 * net/eww.el: Rework history traversal. When going forward/back,
8405 put these actions into the history, too, so that they can be
8406 replayed.
8407 (eww-render): Move the history reset to the correct buffer.
8408
84092013-06-25 Juri Linkov <juri@jurta.org>
8410
8411 * files-x.el (modify-dir-local-variable): Change the header comment
8412 in the file with directory local variables. (Bug#14692)
8413
8414 * files-x.el (read-file-local-variable-value): Add `default'.
8415 (Bug#14710)
8416
84172013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8418
8419 * net/eww.el (eww-make-unique-file-name): Create a unique file
8420 name before saving to entering `y' accidentally asynchronously.
8421
84222013-06-25 Ivan Kanis <ivan@kanis.fr>
8423
8424 * net/eww.el (eww-download): New command and keystroke.
8425
84262013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8427
8428 * net/eww.el (eww-copy-page-url): Change name of command.
8429
8430 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8431 be more consistent with Info and dired.
8432
8433 * net/eww.el (eww-mode-map): Ditto.
8434
84352013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8438 packages from archives.
8439 (package-archive-contents): Change format; include obsolete packages.
8440 (package-desc): Use `dir' to mark builtin packages.
8441 (package--from-builtin): Set the `dir' field to `builtin'.
8442 (generated-autoload-file, version-control): Declare.
8443 (package-compute-transaction): Change first arg and return value to be
8444 lists of package-descs. Adjust to new package-archive-contents format.
8445 (package--add-to-archive-contents): Adjust to new
8446 package-archive-contents format.
8447 (package-download-transaction): Arg is now a list of package-descs.
8448 (package-install): If `pkg' is a package name, pass it as
8449 a requirement, so it is subject to the usual (e.g. disabled) checks.
8450 (describe-package): Accept package-desc as well.
8451 (describe-package-1): Describe a specific package-desc. Add links to
8452 other package-descs for the same package name.
8453 (package-menu-describe-package): Pass the actual package-desc.
8454 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8455 works correctly.
8456 (package-desc-status): New function.
8457 (package-menu--refresh): New function, extracted
8458 from package-menu--generate.
8459 (package-menu--generate): Use it.
8460 (package-delete): Update package-alist.
8461 (package-menu-execute): Don't call package-initialize.
8462
8463 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8464 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8465 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8466 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8467 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8468 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8469
84702013-06-25 Martin Rudalics <rudalics@gmx.at>
8471
8472 * window.el (window--state-get-1): Workaround for bug#14527.
8473 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8474
84752013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8476
8477 * net/eww.el (eww-back-url): Implement the history by stashing all
8478 the data into a list.
8479 (eww-forward-url): Allow going forward in the history, too.
8480
84812013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8482
8483 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8484 for values and use read--expression for expressions (bug#14710).
8485 (read-file-local-variable): Avoid setq.
8486 (read-file-local-variable-mode): Use minor-mode-list.
8487
84882013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8489
8490 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8491 for DOI URLs.
8492
84932013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8494
8495 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8496 Update imenu-support when dialect changes.
8497
84982013-06-25 Leo Liu <sdl.web@gmail.com>
8499
8500 * ido.el (ido-read-internal): Allow forward slash on windows.
8501
85022013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8503
8504 * net/eww.el (eww): Start of strings is \\`, not ^.
8505
85062013-06-24 Ivan Kanis <ivan@kanis.fr>
8507
8508 * net/shr.el (shr-browse-url): Fix interactive spec.
8509
8510 * net/eww.el (eww): Add a trailing slash to domain names.
8511
85122013-06-24 Juanma Barranquero <lekktu@gmail.com>
8513
8514 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8515
85162013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8517
8518 * net/shr.el (shr-browse-url): Use an external browser if given a
8519 prefix.
8520
8521 * net/eww.el (eww-external-browser): Move to shr.
8522
85232013-06-24 Ivan Kanis <ivan@kanis.fr>
8524
8525 * net/eww.el (eww): Work more correctly for file: URLs.
8526 (eww-detect-charset): Allow quoted charsets.
8527 (eww-yank-page-url): New command and keystroke.
8528
85292013-06-24 Daiki Ueno <ueno@gnu.org>
8530
8531 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8532 file name of gpg executable.
8533 (epg-context-program): New function.
8534 (epg-context-home-directory): New function.
8535 (epg-context-set-program): New function.
8536 (epg-context-set-home-directory): New function.
8537 (epg--start): Use `epg-context-program' instead of
8538 'epg-gpg-program'.
8539 (epg--list-keys-1): Likewise.
8540
85412013-06-24 Leo Liu <sdl.web@gmail.com>
8542
8543 * ido.el (ido-read-internal): Fix bug#14620.
8544
85452013-06-23 Juanma Barranquero <lekktu@gmail.com>
8546
8547 * faces.el (face-documentation): Simplify.
8548 (read-face-attribute, tty-find-type, x-resolve-font-name):
8549 Use `string-match-p'.
8550 (list-faces-display): Use `string-match-p'. Simplify.
8551 (face-spec-recalc): Check face to avoid face alias loops.
8552 (read-color): Use `string-match-p' and non-capturing parenthesis.
8553
85542013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8555
8556 * net/shr.el (shr-rescale-image): Use the new
8557 :max-width/:max-height functionality.
8558
85592013-06-23 Ivan Kanis <ivan@kanis.fr>
8560
8561 * net/eww.el (eww-search-prefix): New variable.
8562 (eww): Use it.
8563 (eww-external-browser): New variable.
8564 (eww-mode-map): New keystroke.
8565 (eww-browse-with-external-browser): New command.
8566
8567 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8568
85692013-06-23 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8572 Don't skip aligning the next header field when padding is 0;
8573 otherwise, field width is not respected unless the title is as
8574 wide as the field.
8575
85762013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * emacs-lisp/package.el (package-el-version): Remove.
8579 (package-process-define-package): Fix inf-loop.
8580 (package-install): Allow symbols as arguments again.
8581
85822013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8583
8584 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8585 add some more keyword-like methods.
8586 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8587
85882013-06-22 Juanma Barranquero <lekktu@gmail.com>
8589
8590 * bs.el (bs-buffer-show-mark): Make defvar-local.
8591 (bs-mode): Use setq-local.
8592
8593 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8594 (emacs-lock--try-unlocking): Make defvar-local.
8595
85962013-06-22 Glenn Morris <rgm@gnu.org>
8597
8598 * play/cookie1.el (cookie-apropos): Minor simplification.
8599
8600 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8601
86022013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8603
8604 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8605 `regexp-opt', it breaks the build during dumping.
8606
86072013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8608
8609 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8610 Highlight keyword-like methods on Kernel and Module with
8611 font-lock-builtin-face.
8612 (auto-mode-alist): Consolidate different entries into one regexp
8613 and add more *file-s.
8614
86152013-06-21 Stephen Berman <stephen.berman@gmx.net>
8616
8617 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8618
8619 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8620 (diary-entry): Use it in the action of this button type instead of
8621 diary-goto-entry.
8622
8623 * calendar/todo-mode.el: New version.
8624 (todo-add-category): Append new category to end of file and give
8625 it the highest number, instead of putting it at the beginning and
8626 giving it 0. Incorporate noninteractive functionality.
8627 (todo-forward-category): Adapt to 1-based category numbering.
8628 Allow skipping over archived categories.
8629 (todo-backward-category): Derive from todo-forward-category.
8630 (todo-backward-item, todo-forward-item): Make noninteractive and
8631 delegate interactive part to new commands. Make sensitive to done items.
8632 (todo-categories): Make value an alist of category names and
8633 vectors of item counts.
8634 (todo-category-beg): Make a defconst.
8635 (todo-category-number): Use 1 instead of 0 as initial value.
8636 (todo-category-select): Make sensitive to overlays, optional item
8637 highlighting and done items.
8638 (todo-delete-item): Make sensitive to overlays and marked and done items.
8639 (todo-edit-item): Make sensitive to overlays and editing of
8640 date/time header optional. Add format checks.
8641 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8642 no-op if point is not on an item. Advertise using todo-edit-quit.
8643 (todo-edit-mode): Make sensitive to new format, font-locking, and
8644 multiple todo files.
8645 (todo-insert-item, todo-insert-item-here): Derive from
8646 todo-basic-insert-item and extend functionality.
8647 (todo-item-end, todo-item-start): Make sensitive to done items.
8648 (todo-item-string): Don't return text properties. Restore point.
8649 (todo-jump-to-category): Make sensitive to multiple todo files and
8650 todo archives. Use extended category completion.
8651 (todo-lower-item, todo-raise-item): Rename to *-priority and
8652 derive from todo-set-item-priority.
8653 (todo-mode): Derive from special-mode. Make sensitive to new
8654 format, font-locking and multiple todo files. Make read-only.
8655 (todo-mode-map): Don't suppress digit keys, so they can supply
8656 prefix arguments. Add many new key bindings.
8657 (todo-prefix): Insert as an overlay instead of file text.
8658 Change semantics from diary date expression to purely visual mark.
8659 (todo-print): Rename to todo-print-buffer. Make buffer display
8660 features printable. Remove option to restrict number of items
8661 printed. Add option to print to file.
8662 (todo-print-function): Rename to todo-print-buffer-function.
8663 (todo-quit): Extend to handle exiting new todo modes.
8664 (todo-remove-item): Make sensitive to overlays.
8665 (todo-save): Extend to buffers of filtered items.
8666 (todo-show): Make sensitive to done items, multiple todo files and
8667 new todo modes. Offer to convert legacy todo file before creating
8668 first new todo file.
8669 (todo-show-priorities): Rename to todo-top-priorities.
8670 Change semantics of value 0.
8671 (todo-top-priorities): Rename to todo-filter-top-priorities,
8672 derive from todo-filter-items and extend functionality.
8673 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8674 and extend functionality to other types of filtered items.
8675 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8676 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8677 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8678 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8679 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8680 (todo-edit-mode-hook, todo-entry-prefix-function)
8681 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8682 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8683 (todo-initials, todo-insert-threshold, todo-item-string-start)
8684 (todo-line-string, todo-menu, todo-mode-hook)
8685 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8686 (todo-print-priorities, todo-remove-separator)
8687 (todo-save-top-priorities-too, todo-string-count-lines)
8688 (todo-string-multiline-p, todo-time-string-format)
8689 (todo-tmp-buffer-name): Remove.
8690 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8691 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8692 (todo-edit-category-diary-inclusion)
8693 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8694 (todo-edit-file, todo-edit-item-date-day)
8695 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8696 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8697 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8698 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8699 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8700 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8701 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8702 (todo-filter-top-priorities-multifile, todo-find-archive)
8703 (todo-find-filtered-items-file, todo-go-to-source-item)
8704 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8705 (todo-jump-to-archive-category, todo-lower-category)
8706 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8707 (todo-move-category, todo-move-item, todo-next-button)
8708 (todo-next-item, todo-padded-string, todo-powerset)
8709 (todo-previous-button, todo-previous-item)
8710 (todo-print-buffer-to-file, todo-raise-category)
8711 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8712 (todo-set-category-number, todo-set-item-priority)
8713 (todo-set-top-priorities-in-category)
8714 (todo-set-top-priorities-in-file, todo-show-categories-table)
8715 (todo-sort-categories-alphabetically-or-numerically)
8716 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8717 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8718 (todo-toggle-item-header, todo-toggle-item-highlighting)
8719 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8720 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8721 (todo-unarchive-items, todo-unmark-category): New commands.
8722 (todo-absolute-file-name, todo-add-to-buffer-list)
8723 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8724 (todo-basic-insert-item, todo-category-completions)
8725 (todo-category-number, todo-category-string-matcher-1)
8726 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8727 (todo-check-format, todo-clear-matches)
8728 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8729 (todo-current-category, todo-date-string-matcher)
8730 (todo-define-insertion-command, todo-diary-expired-matcher)
8731 (todo-diary-goto-entry, todo-diary-item-p)
8732 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8733 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8734 (todo-done-item-section-p, todo-done-separator)
8735 (todo-done-string-matcher, todo-files, todo-filter-items)
8736 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8737 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8738 (todo-insert-category-line, todo-insert-item-from-calendar)
8739 (todo-insert-sort-button, todo-insert-with-overlays)
8740 (todo-insertion-command-name, todo-insertion-key-bindings)
8741 (todo-label-to-key, todo-longest-category-name-length)
8742 (todo-make-categories-list, todo-mode-external-set)
8743 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8744 (todo-modes-set-3, todo-multiple-filter-files)
8745 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8746 (todo-read-category, todo-read-date, todo-read-dayname)
8747 (todo-read-file-name, todo-read-time)
8748 (todo-reevaluate-category-completions-files-defcustom)
8749 (todo-reevaluate-default-file-defcustom)
8750 (todo-reevaluate-filelist-defcustoms)
8751 (todo-reevaluate-filter-files-defcustom)
8752 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8753 (todo-reset-done-separator, todo-reset-done-separator-string)
8754 (todo-reset-done-string, todo-reset-global-current-todo-file)
8755 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8756 (todo-reset-prefix, todo-set-categories)
8757 (todo-set-date-from-calendar, todo-set-show-current-file)
8758 (todo-set-top-priorities, todo-short-file-name)
8759 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8760 (todo-total-item-counts, todo-update-buffer-list)
8761 (todo-update-categories-display, todo-update-categories-sexp)
8762 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8763 New functions.
8764 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8765 New major modes.
8766 (todo-categories, todo-display, todo-edit, todo-faces)
8767 (todo-filtered): New defgroups.
8768 (todo-archived-only, todo-button, todo-category-string, todo-date)
8769 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8770 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8771 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8772 (todo-add-item-if-new-category, todo-always-add-time-string)
8773 (todo-categories-align, todo-categories-archived-label)
8774 (todo-categories-category-label, todo-categories-diary-label)
8775 (todo-categories-done-label, todo-categories-number-separator)
8776 (todo-categories-todo-label, todo-categories-totals-label)
8777 (todo-category-completions-files, todo-completion-ignore-case)
8778 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8779 (todo-done-separator-string, todo-done-string)
8780 (todo-files-function, todo-filter-done-items, todo-filter-files)
8781 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8782 (todo-initial-category, todo-initial-file, todo-item-mark)
8783 (todo-legacy-date-time-regexp, todo-mode-line-function)
8784 (todo-nondiary-marker, todo-number-prefix)
8785 (todo-print-buffer-function, todo-show-current-file)
8786 (todo-show-done-only, todo-show-first, todo-show-with-done)
8787 (todo-skip-archived-categories, todo-top-priorities-overrides)
8788 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8789 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8790 New defcustoms.
8791 (todo-category-done, todo-date-pattern, todo-date-string-start)
8792 (todo-diary-items-buffer, todo-done-string-start)
8793 (todo-filtered-items-buffer, todo-item-start)
8794 (todo-month-abbrev-array, todo-month-name-array)
8795 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8796 (todo-top-priorities-buffer): New defconsts.
8797 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8798 (todo-categories-with-marks, todo-category-string-face)
8799 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8800 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8801 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8802 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8803 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8804 (todo-font-lock-keywords, todo-global-current-todo-file)
8805 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8806 (todo-insertion-commands-args)
8807 (todo-insertion-commands-args-genlist)
8808 (todo-insertion-commands-names, todo-insertion-map)
8809 (todo-key-bindings-t, todo-key-bindings-t+a)
8810 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8811 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8812 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8813 (todo-visited): New variables.
8814
88152013-06-21 Glenn Morris <rgm@gnu.org>
8816
8817 * play/cookie1.el (cookie-apropos): Add optional display argument.
8818 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8819 (psychoanalyze-pinhead): Use cookie-doctor.
8820
88212013-06-21 Juanma Barranquero <lekktu@gmail.com>
8822
8823 * emacs-lisp/package.el (tar-get-file-descriptor)
8824 (tar--extract): Declare.
8825
88262013-06-21 Eduard Wiebe <usenet@pusto.de>
8827
8828 Extend flymake's warning predicate to be a function (bug#14217).
8829 * progmodes/flymake.el (flymake-warning-predicate): New.
8830 (flymake-parse-line): Use it.
8831 (flymake-warning-re): Make obsolete alias to
8832 `flymake-warning-predicate'.
8833
88342013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8837 (package-obsolete-list): Remove.
8838 (package-activate): Remove min-version argument. Add `force' argument.
8839 Adjust to new package-alist format.
8840 (package-mark-obsolete): Remove.
8841 (package-unpack): Force reload of the package's autoloads.
8842 (package-installed-p): Check builtins if the installed package is not
8843 recent enough.
8844 (package-initialize): Don't reset package-obsolete-list.
8845 Don't specify which package version to activate.
8846 (package-process-define-package, describe-package-1)
8847 (package-menu--generate): Adjust to new package-alist format.
8848
88492013-06-21 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * allout-widgets.el (allout-widgets-mode-off)
8852 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8853 (allout-widgets-post-command-business)
8854 (allout-widgets-after-copy-or-kill-function)
8855 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8856 (allout-decorate-item-and-context)
8857 (allout-graphics-modification-handler): Fix typos in docstrings.
8858 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8859
8860 * cmuscheme.el (scheme-start-file): Doc fix.
8861 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8862 (scheme-input-filter): Use `string-match-p'.
8863
8864 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8865
8866 * dired-x.el: Use Dired consistently in docstrings.
8867
8868 * dired.el: Use Dired consistently in docstrings.
8869 (dired-readin, dired-mode): Use `setq-local'.
8870 (dired-switches-alist): Make defvar-local.
8871 (dired-buffers-for-dir): Use `zerop'.
8872 (dired-safe-switches-p, dired-switches-escape-p)
8873 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8874 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8875 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8876 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8877 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8878 (dired-toggle-marks, dired-mark-files-containing-regexp)
8879 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8880 (dired-flag-auto-save-files, dired-flag-backup-files):
8881 Use `looking-at-p'.
8882 (dired-mark-files-regexp, dired-build-subdir-alist):
8883 Use `string-match-p', `looking-at-p'.
8884
8885 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8886 (direct-print-region-helper): Use `string-match-p'.
8887
88882013-06-21 Leo Liu <sdl.web@gmail.com>
8889
8890 * comint.el (comint-redirect-results-list-from-process):
8891 Fix infinite loop.
8892
88932013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8894
8895 * net/eww.el (eww-update-header-line-format): Quote % characters.
8896
88972013-06-21 Glenn Morris <rgm@gnu.org>
8898
8899 * play/cookie1.el (cookie): New custom group.
8900 (cookie-file): New option.
8901 (cookie-check-file): New function.
8902 (cookie): Make it interactive. Make start and end messages optional.
8903 Interactively, display the result. Default to cookie-file.
8904 (cookie-insert): Default to cookie-file.
8905 (cookie-snarf): Make start and end messages optional.
8906 Default to cookie-file. Use with-temp-buffer.
8907 (cookie-read): Rename from read-cookie.
8908 Make start and end messages optional. Default to cookie-file.
8909 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8910 Do not autoload it.
8911 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8912 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8913
89142013-06-21 Leo Liu <sdl.web@gmail.com>
8915
8916 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8917
89182013-06-21 Glenn Morris <rgm@gnu.org>
8919
8920 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8921
89222013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8923 Daniel Hackney <dan@haxney.org>
8924
8925 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8926 Consolidate the single-file vs tarball code.
8927 (package-desc-suffix): New function.
8928 (package-desc-full-name): Don't bother inlining it.
8929 (package-load-descriptor): Return the new package-desc.
8930 (package-mark-obsolete): Remove unused arg `package'.
8931 (package-unpack): Make it work for single files as well.
8932 Make it update package-alist.
8933 (package--make-autoloads-and-stuff): Rename from
8934 package--make-autoloads-and-compile. Don't compile any more.
8935 (package--compile): New function.
8936 (package-generate-description-file): New function, extracted from
8937 package-unpack-single.
8938 (package-unpack-single): Remove.
8939 (package--with-work-buffer): Add indentation and debugging info.
8940 (package-download-single): Remove.
8941 (package-install-from-archive): Rename from package-download-tar, make
8942 it take a pkg-desc, and make it work for single files as well.
8943 (package-download-transaction): Simplify.
8944 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8945 external tar program.
8946 (package-install-from-buffer): Remove `pkg-desc' argument.
8947 Use package-tar-file-info for tar-mode buffers.
8948 (package-install-file): Simplify accordingly.
8949 (package-archive-base): Change to take a pkg-desc.
8950 * tar-mode.el (tar--check-descriptor): New function, extracted from
8951 tar-get-descriptor.
8952 (tar-get-descriptor): Use it.
8953 (tar-get-file-descriptor): New function.
8954 (tar--extract): New function, extracted from tar-extract.
8955 (tar--extract): Use it.
8956 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8957 case the summary uses non-ascii. Adjust to new calling convention of
8958 package-tar-file-info.
8959
89602013-06-21 Leo Liu <sdl.web@gmail.com>
8961
8962 * comint.el (comint-redirect-results-list-from-process):
8963 Fix random delay. (Bug#14681)
8964
89652013-06-21 Juanma Barranquero <lekktu@gmail.com>
8966
8967 * profiler.el (profiler-format-number): Use log, not log10.
8968
89692013-06-20 Juanma Barranquero <lekktu@gmail.com>
8970
8971 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8972
89732013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8976 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8977 yet available.
8978 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8979 (AUTOGENEL): ... here.
8980 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8981 (cl--defsubst-expand): Use it.
8982
89832013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8984
8985 * subr.el (log10): Move here from C code, and declare as obsolete.
8986 All uses of (log10 X) replaced with (log X 10).
8987
89882013-06-20 Juanma Barranquero <lekktu@gmail.com>
8989
8990 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8991 Declare with `defvar-local'.
8992 (tabulated-list-use-header-line, tabulated-list-entries)
8993 (tabulated-list-padding, tabulated-list-printer)
8994 (tabulated-list-sort-key): Declare with `defvar-local'.
8995 (tabulated-list-init-header, tabulated-list-print-fake-header):
8996 Use `setq-local'.
8997
89982013-06-20 Michael Albinus <michael.albinus@gmx.de>
8999
9000 * arc-mode.el (archive-mode): Add `archive-write-file' to
9001 `write-contents-functions' also for remote files. (Bug#14652)
9002
90032013-06-20 Juanma Barranquero <lekktu@gmail.com>
9004
9005 * cus-edit.el (custom-commands): Fix typos.
9006 (custom-display): Fix tooltip text.
9007 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9008 Fix typos in docstrings.
9009 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9010 (custom-unlispify-menu-entry, custom-magic-value-create)
9011 (custom-add-see-also, custom-group-value-create): Use ?\s.
9012 (custom-guess-type, customize-apropos, editable-field)
9013 (custom-face-value-create): Use `string-match-p'.
9014 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9015
9016 * custom.el (custom-load-symbol): Use `string-match-p'.
9017
9018 * ansi-color.el: Convert to lexical binding.
9019 (ansi-colors): Fix URL.
9020 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9021 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9022 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9023
90242013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9025
9026 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9027
9028 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9029
90302013-06-19 Tom Tromey <tromey@redhat.com>
9031
9032 * net/eww.el (eww-top-url): Remove.
9033 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9034 (eww-render): Set new variables. Don't set eww-top-url.
9035 (eww-handle-link): Handle "prev", "home", and "contents".
9036 Downcase the rel text.
9037 (eww-top-url): Choose best top URL.
9038
90392013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9040
9041 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9042 relying in widget.el. Using widget.el leads to too many
9043 user interface inconsistencies.
9044 (eww-self-insert): Implement entering commands in text fields.
9045 (eww-process-text-input): New function to make text input field editing
9046 work.
9047 (eww-submit): Rewrite to use the new-style form methods.
9048 (eww-select-display): Display the correct selected item.
9049 (eww-change-select): Implement changing the select value.
9050 (eww-toggle-checkbox): Implement radio/checkboxes.
9051 (eww-update-field): Fix compilation error.
9052 (eww-tag-textarea): Implement <textarea>.
9053
9054 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9055 we don't shadow mode-specific bindings.
9056
9057 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9058 nothing to push.
9059
9060 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9061
90622013-06-19 Glenn Morris <rgm@gnu.org>
9063
9064 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9065
90662013-06-19 Michael Albinus <michael.albinus@gmx.de>
9067
9068 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9069 not needed.
9070
9071 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9072
90732013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074
9075 * net/browse-url.el (browse-url-browser-function):
9076 `eww-browse-url' has the right calling signature, `eww' does not.
9077
90782013-06-19 Glenn Morris <rgm@gnu.org>
9079
9080 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9081 Only eval autoloaded macros.
9082 (byte-compile-autoload): Only give the macro warning for macros.
9083
9084 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9085 (ps-underlined-faces): Declare.
9086
9087 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9088 (speedbar-add-supported-extension): Declare.
9089
9090 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9091 Don't include a date stamp in the header of the generated file;
9092 it leads to needless differences between output files.
9093
90942013-06-19 Michael Albinus <michael.albinus@gmx.de>
9095
9096 * net/secrets.el (secrets-struct-secret-content-type):
9097 Replace check of introspection data by a test call of "CreateItem".
9098 Some servers do not offer introspection.
9099
91002013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * electric.el (electric-pair-mode): Improve interaction with
9103 electric-layout-mode.
9104 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9105 (electric-pair-syntax): Use text-mode-syntax-table in comments
9106 and strings.
9107 (electric-pair--insert): New function.
9108 (electric-pair-post-self-insert-function): Use it and
9109 electric--after-char-pos.
9110
91112013-06-19 Leo Liu <sdl.web@gmail.com>
9112
9113 * progmodes/octave.el (octave-help): Fix regexp.
9114
91152013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9116
9117 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9118 (shr-table-horizontal-line): Allow nil as a value, and change the
9119 default.
9120 (shr-insert-table-ruler): Respect the nil value.
9121
91222013-06-18 Tom Tromey <tromey@barimba>
9123
9124 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9125 New defvars.
9126 (eww-open-file): New defun.
9127 (eww-render): Initialize new variables.
9128 (eww-display-html): Handle "link" and "a".
9129 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9130 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9131 (eww-back-url): Rename from eww-previous-url.
9132 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9133 New defuns.
9134
91352013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9136
9137 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9138 Distinguish ternary operator tokens from slash symbol and slash
9139 char literal.
9140
91412013-06-18 Juanma Barranquero <lekktu@gmail.com>
9142
9143 Convert symbol prettification into minor mode and global minor mode.
9144
9145 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9146 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9147 (prettify-symbols--keywords): Rename from
9148 `prog-prettify-symbols-alist' and make a local defvar.
9149 (prettify-symbols--compose-symbol): Rename from
9150 `prog--prettify-font-lock-compose-symbol'.
9151 (prettify-symbols--make-keywords): Rename from
9152 `prog-prettify-font-lock-symbols-keywords' and simplify.
9153 (prog-prettify-install): Remove.
9154 (prettify-symbols-mode): New minor mode, based on
9155 `prog-prettify-install'.
9156 (turn-on-prettify-symbols-mode): New function.
9157 (global-prettify-symbols-mode): New globalized minor mode.
9158
9159 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9160 * progmodes/cfengine.el (cfengine3-mode):
9161 * progmodes/perl-mode.el (perl-mode): Don't call
9162 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9163
91642013-06-18 Juri Linkov <juri@jurta.org>
9165
9166 * files-x.el (modify-file-local-variable-message): New function.
9167 (modify-file-local-variable)
9168 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9169 and call `modify-file-local-variable-message' when it's non-nil.
9170 (add-file-local-variable, delete-file-local-variable)
9171 (add-file-local-variable-prop-line)
9172 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9173 and use it. (Bug#9820)
9174
91752013-06-18 Juri Linkov <juri@jurta.org>
9176
9177 * emulation/vi.el (vi-shell-op):
9178 * emulation/vip.el (vip-execute-com, ex-command):
9179 * emulation/viper-cmd.el (viper-exec-bang):
9180 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9181 the call of `shell-command-on-region'. (Bug#14637)
9182
9183 * simple.el (shell-command-on-region): Doc fix.
9184
91852013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9188 (bug#14633).
9189
91902013-06-18 Glenn Morris <rgm@gnu.org>
9191
9192 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9193
9194 * newcomment.el (comment-search-forward, comment-search-backward):
9195 Doc fix. (Bug#14376)
9196
91972013-06-18 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9200 (buffer-face-mode-invoke): Doc fix.
9201
92022013-06-18 Matthias Meulien <orontee@gmail.com>
9203
9204 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9205 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9206
92072013-06-18 Glenn Morris <rgm@gnu.org>
9208
9209 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9210 Replace obsolete function generic-make-keywords with its expansion.
9211
9212 * progmodes/python.el (ffap-alist): Declare.
9213
9214 * textmodes/reftex.el (bibtex-mode-map): Declare.
9215
92162013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9219 (package-unpack, package-unpack-single): Return the pkg-dir.
9220 (package-download-transaction): Use it to update package-alist.
9221
92222013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9223
9224 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9225 possible choice.
9226
92272013-06-17 Juri Linkov <juri@jurta.org>
9228
9229 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9230
92312013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9232
9233 * emacs-lisp/package.el (package-load-descriptor):
9234 Remove `with-syntax-table' call, `read' doesn't need it.
9235 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9236
92372013-06-17 Juanma Barranquero <lekktu@gmail.com>
9238
9239 * startup.el (command-line): Expand package name returned by
9240 `package--description-file' (bug#14639).
9241
92422013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9243
9244 * emacs-lisp/package.el (package-load-descriptor): Do not call
9245 `emacs-lisp-mode', just use its syntax table.
9246
92472013-06-17 Juanma Barranquero <lekktu@gmail.com>
9248
9249 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9250 `font-lock-extra-managed-props' if any prettifying keyword is added.
9251 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9252 (prog-mode): Use `setq-local'.
9253
92542013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * international/characters.el (standard-case-table): Set syntax of ?»
9257 and ?« to punctuation.
9258
92592013-06-16 Juanma Barranquero <lekktu@gmail.com>
9260
9261 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9262 Save relevant match data before calling `syntax-ppss' (bug#14595).
9263
92642013-06-15 Juri Linkov <juri@jurta.org>
9265
9266 * files-x.el (modify-file-local-variable-prop-line): Add local
9267 variables to the end of the existing comment on the first line.
9268 Use `file-auto-mode-skip' to skip interpreter magic line,
9269 and also skip XML declaration.
9270
92712013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * startup.el (package--builtin-versions): New var.
9274 (package-subdirectory-regexp): Remove.
9275 (package--description-file): Hard code its value instead.
9276
9277 * emacs-lisp/package.el: Don't activate packages older than builtin.
9278 (package-obsolete-list): Rename from package-obsolete-alist, and make
9279 it into a simple list of package-desc.
9280 (package-strip-version): Remove.
9281 (package-built-in-p): Use package--builtin-versions.
9282 (package-mark-obsolete): Simplify.
9283 (package-process-define-package): Mark it obsolete if older than the
9284 builtin version.
9285 (package-handle-response): Use line-end-position.
9286 (package-read-archive-contents, package--download-one-archive):
9287 Simplify.
9288 (package--add-to-archive-contents): Skip if older than the builtin or
9289 installed version.
9290 (package-menu-describe-package): Fix last change.
9291 (package-list-unversioned): New var.
9292 (package-menu--generate): Use it.
9293
9294 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9295 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9296 (autoload-builtin-package-versions): New variable.
9297 (autoload-generate-file-autoloads): Use them.
9298 Remove the list of autoloaded functions/macros from the
9299 (autoload...) comments.
9300
9301 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9302
93032013-06-15 Eli Zaretskii <eliz@gnu.org>
9304
9305 * simple.el (line-move-partial): Don't jump to the next screen
9306 line as soon as it becomes visible. Instead, continue enlarging
9307 the vscroll until the portion of a tall screen line that's left on
9308 display is about the height of the frame's default font.
9309 (Bug#14567)
9310
93112013-06-15 Glenn Morris <rgm@gnu.org>
9312
9313 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9314 compilation-error-regexp-alist void, or local while let-bound.
9315
9316 * progmodes/make-mode.el (makefile-mode-syntax-table):
9317 Treat "=" as punctuation. (Bug#14614)
9318
93192013-06-15 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * help-fns.el (describe-variable):
9322 Add extra line for permanent-local variables.
9323
93242013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9325
9326 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9327 Add export, import, library. (Bug#9164)
9328 (library): Set indent function.
9329
93302013-06-14 Glenn Morris <rgm@gnu.org>
9331
9332 * term/xterm.el (xterm--query):
9333 Stop after first matching handler. (Bug#14615)
9334
93352013-06-14 Ivan Kanis <ivan@kanis.fr>
9336
9337 Add support for dired in saveplace.
9338 * dired.el (dired-initial-position-hook): New variable.
9339 (dired-initial-position): Call hook to place cursor position.
9340 * saveplace.el (save-place-to-alist): Add dired position.
9341 (save-place-dired-hook): New function.
9342
93432013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9346 through a symbol rather than letrec.
9347
9348 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9349 (package-desc): Add `dir' field.
9350 (package-desc-full-name): New function.
9351 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9352 (package-maybe-load-descriptor): Remove.
9353 (package-load-all-descriptors): Just call package-load-descriptor.
9354 (package--disabled-p): New function.
9355 (package-desc-vers, package-desc-doc): Remove aliases.
9356 (package--dir): Remove function.
9357 (package-activate): Check if a package is disabled.
9358 (package-process-define-package): New function, extracted from
9359 define-package.
9360 (define-package): Turn into a place holder.
9361 (package-unpack-single, package-tar-file-info):
9362 Use package--description-file.
9363 (package-compute-transaction): Use package--disabled-p.
9364 (package-download-transaction): Don't call
9365 package-maybe-load-descriptor since they're all loaded anyway.
9366 (package-install): Change argument to be a pkg-desc.
9367 (package-delete): Use a single pkg-desc argument.
9368 (describe-package-1): Use package-desc-dir instead of package--dir.
9369 Use package-desc property instead of package-symbol.
9370 (package-install-button-action): Adjust accordingly.
9371 (package--push): Rewrite.
9372 (package-menu--print-info): Adjust accordingly. Change the ID format
9373 to be a pkg-desc.
9374 (package-menu-describe-package, package-menu-get-status)
9375 (package-menu--find-upgrades, package-menu-mark-upgrades)
9376 (package-menu-execute, package-menu--name-predicate):
9377 Adjust accordingly.
9378 * startup.el (package--description-file): New function.
9379 (command-line): Use it.
9380 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9381 Use package-desc-version.
9382
9383 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9384 (byte-compile-preprocess): Use it.
9385 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9386 can't quite recognize.
9387 (byte-compile-add-to-list): Remove.
9388 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9389 (cconv-closure-convert): Add assertion.
9390
9391 * emacs-lisp/map-ynp.el: Use lexical-binding.
9392 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9393 Factor out some repeated code.
9394
93952013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * subr.el (with-eval-after-load): New macro.
9398 (eval-after-load): Allow form to be a function.
9399 take advantage of lexical-binding.
9400 (do-after-load-evaluation): Use dolist and adjust to new format.
9401 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9402
94032013-06-13 Juri Linkov <juri@jurta.org>
9404
9405 * replace.el (perform-replace): Display "symbol " and other search
9406 modes from `isearch-message-prefix' in the *Help* buffer.
9407
9408 * isearch.el (isearch-query-replace): Add " symbol" and other
9409 possible search modes from `isearch-message-prefix' to the prompt.
9410 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9411 when reading a regexp to collect.
9412
94132013-06-13 Juri Linkov <juri@jurta.org>
9414
9415 * isearch.el (word-search-regexp): Match whitespace if the search
9416 string begins or ends in whitespace. The LAX arg is applied to
9417 both ends of the search string. Use `regexp-quote' and explicit
9418 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9419 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9420 boundaries are replaced with symbol boundaries, and characters
9421 between symbols match non-word non-symbol syntax. (Bug#14602)
9422
94232013-06-13 Juri Linkov <juri@jurta.org>
9424
9425 * isearch.el (isearch-del-char): Don't exceed the length of
9426 `isearch-string' by the prefix arg. (Bug#14563)
9427
94282013-06-13 Juri Linkov <juri@jurta.org>
9429
9430 * isearch.el (isearch-yank-word, isearch-yank-line)
9431 (isearch-char-by-name, isearch-quote-char)
9432 (isearch-printing-char, isearch-process-search-char):
9433 Add optional count prefix arg. (Bug#14563)
9434
9435 * international/isearch-x.el
9436 (isearch-process-search-multibyte-characters):
9437 Add optional count prefix arg.
9438
94392013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9442 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9443 lexical-binding.
9444
94452013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9446
9447 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9448
94492013-06-13 Glenn Morris <rgm@gnu.org>
9450
9451 * startup.el (tty-handle-args):
9452 Don't just discard "--" and anything after. (Bug#14608)
9453
9454 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9455
94562013-06-13 Michael Albinus <michael.albinus@gmx.de>
9457
9458 Implement changes in Secret Service API. Make it backward compatible.
9459 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9460 (secrets-create-item): Use it. Prefix properties with interface.
9461
94622013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9463
9464 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9465 (term-emulate-terminal): Respect term-suppress-hard-newline.
9466
94672013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9468
9469 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9470 Only remove a `thumb-file' overlay. (Bug#14548)
9471
94722013-06-12 Grégoire Jadi <daimrod@gmail.com>
9473
9474 * mail/reporter.el (reporter-submit-bug-report):
9475 Handle missing package-name. (Bug#14600)
9476
94772013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9478
9479 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9480 (reftex-citation-prompt, reftex-default-bibliography)
9481 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9482 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9483 (reftex-bib-sort-author, reftex-bib-sort-year)
9484 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9485 (reftex-extract-bib-entries-from-thebibliography)
9486 (reftex-get-bibkey-default, reftex-get-bib-names)
9487 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9488 (reftex-format-bib-entry, reftex-parse-bibitem)
9489 (reftex-format-bibitem, reftex-do-citation)
9490 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9491 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9492 (reftex-insert-bib-matches, reftex-format-citation)
9493 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9494 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9495 existing comments into docstrings.
9496
94972013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9498
9499 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9500
95012013-06-12 Andreas Schwab <schwab@suse.de>
9502
9503 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9504 for auto-save files.
9505
95062013-06-12 Glenn Morris <rgm@gnu.org>
9507
9508 * ido.el (ido-delete-ignored-files): Remove.
9509 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9510 Go back to calling ido-ignore-item-p directly.
9511
95122013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9513
9514 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9515
9516 * ido.el (ido-delete-ignored-files): New function,
9517 split from ido-make-file-list-1.
9518 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9519 (ido-make-file-list-1): Use ido-delete-ignored-files.
9520
95212013-06-12 Leo Liu <sdl.web@gmail.com>
9522
9523 * progmodes/octave.el (inferior-octave-startup)
9524 (inferior-octave-completion-table)
9525 (inferior-octave-track-window-width-change)
9526 (octave-eldoc-function-signatures, octave-help)
9527 (octave-find-definition): Use single quoted strings.
9528 (inferior-octave-startup-args): Change default value.
9529 (inferior-octave-startup): Do not hard code "-i" and
9530 "--no-line-editing".
9531 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9532 (inferior-octave-directory-tracker): Use it.
9533 (octave-goto-function-definition): Robustify.
9534 (octave-help): Support highlighting operators in 'See also'.
9535 (octave-find-definition): Find subfunctions only in Octave mode.
9536
95372013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * help-fns.el (help-fns--compiler-macro): If the handler function is
9540 named, then put a link to it.
9541 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9542 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9543 (cl-typep): Use it.
9544 (cl-eval-when): Simplify debug spec.
9545 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9546 compiler-macro function instead of setting `compiler-macro-file'.
9547
95482013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9549
9550 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9551 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9552
95532013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9554 Daniel Hackney <dan@haxney.org>
9555
9556 First part of Daniel Hackney's patch to package.el.
9557 * emacs-lisp/package.el: Use defstruct.
9558 (package-desc): New, main struct.
9559 (package--bi-desc, package--ac-desc): New structs, used to describe the
9560 format in external files.
9561 (package-desc-vers): Replace with package-desc-version accessor.
9562 (package-desc-doc): Replace with package-desc-summary accessor.
9563 (package-activate-1): Remove `package' arg since the pkg-vec now
9564 includes the name.
9565 (define-package): Use package-desc-from-define.
9566 (package-unpack-single): Change file-name arg to be a symbol.
9567 (package--add-to-archive-contents): Use package-desc-create and new
9568 accessor functions to package--ac-desc.
9569 (package-buffer-info, package-tar-file-info): Return a package-desc.
9570 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9571 arg to be a package-desc.
9572 (package-install-file): Adjust accordingly. Use \' to match EOS.
9573 (package--from-builtin): New function.
9574 (describe-package-1, package-menu--generate): Use it.
9575 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9576 (package-generate-autoloads): Idem and return the name of the file.
9577 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9578 Change pkg-info arg to be a package-desc.
9579 Use package-make-ac-desc.
9580 (package-upload-file): Use \' to match EOS.
9581 * finder.el (finder-compile-keywords): Use package-make-builtin.
9582
95832013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9585 * vc/vc.el (vc-deduce-fileset): Change error message.
9586 (vc-read-backend): New function.
9587 (vc-next-action): Use it.
9588
9589 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9590
9591 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9592 (prolog-font-lock-keywords): Use regexp-opt instead.
9593 Don't manually highlight strings.
9594 (prolog-mode-variables): Simplify comment-start-skip.
9595 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9596
9597 * emacs-lisp/generic.el (generic--normalise-comments)
9598 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9599 (generic-mode-set-comments): Use them.
9600 (generic-bracket-support): Use setq-local.
9601 (generic-make-keywords-list): Declare obsolete.
9602
96032013-06-11 Glenn Morris <rgm@gnu.org>
9604
9605 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9606 Prettify after setting font-lock-defaults. (Bug#14574)
9607
96082013-06-11 Juanma Barranquero <lekktu@gmail.com>
9609
9610 * replace.el (query-replace, occur-read-regexp-defaults-function)
9611 (replace-search):
9612 * subr.el (declare-function, number-sequence, local-set-key)
9613 (substitute-key-definition, locate-user-emacs-file)
9614 (with-silent-modifications, split-string, eval-after-load):
9615 Fix typos, remove unneeded backslashes and reflow some docstrings.
9616
96172013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9618
9619 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9620 default for Elisp files.
9621
96222013-06-11 Glenn Morris <rgm@gnu.org>
9623
9624 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9625 although define-derived-mode was doing this anyway. (Bug#14583)
9626
96272013-06-10 Juanma Barranquero <lekktu@gmail.com>
9628
9629 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9630 Fix make-variable-buffer-local call to refer to the correct variable.
9631
96322013-06-10 Aidan Gauland <aidalgol@amuri.net>
9633
9634 * eshell/em-term.el (eshell-visual-commands)
9635 (eshell-visual-subcommands, eshell-visual-options):
9636 Add summary line to docstrings. Add cross-references.
9637
96382013-06-10 Glenn Morris <rgm@gnu.org>
9639
9640 * epa.el (epa-read-file-name): New function. (Bug#14510)
9641 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9642
96432013-06-09 Aidan Gauland <aidalgol@amuri.net>
9644
9645 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9646 output redirection to be ignored with visual commands.
9647
96482013-06-09 Aidan Gauland <aidalgol@amuri.net>
9649
9650 * eshell/em-term.el (eshell-visual-command-p): New function.
9651 (eshell-term-initialize): Move long lambda to separate function
9652 eshell-visual-command-p.
9653 * eshell/em-dirs.el (eshell-dirs-initialise):
9654 * eshell/em-script.el (eshell-script-initialize):
9655 Add missing #' to lambda.
9656
96572013-06-08 Leo Liu <sdl.web@gmail.com>
9658
9659 * progmodes/octave.el (octave-add-log-current-defun): New function.
9660 (octave-mode): Set add-log-current-defun-function.
9661 (octave-goto-function-definition): Do not move point if not found.
9662 (octave-find-definition): Enhance to try subfunctions first.
9663
96642013-06-08 Glenn Morris <rgm@gnu.org>
9665
9666 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9667 (byte-compile-backward-char, byte-compile-backward-word):
9668 Improve previous change, to handle non-explicit nil.
9669
96702013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9673 (smie--opener/closer-at-point): New function.
9674 (smie--matching-block-data): Use it. Don't match from right after an
9675 opener or right before a closer. Obey smie-blink-matching-inners.
9676 Don't signal a mismatch for repeated inners like "switch..case..case".
9677
96782013-06-07 Leo Liu <sdl.web@gmail.com>
9679
9680 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9681 to t. (Bug#14303)
9682 (octave-function-header-regexp): Fix. (Bug#14570)
9683 (octave-help-mode-finish-hook, octave-help-mode-finish):
9684 Remove. Just use temp-buffer-show-hook.
9685
9686 * newcomment.el (comment-search-backward): Revert last change.
9687 (Bug#14434)
9688
9689 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9690
96912013-06-07 Eli Zaretskii <eliz@gnu.org>
9692
9693 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9694 through xargs, to avoid failure due to MS-Windows limitations on
9695 command-line length.
9696
96972013-06-06 Glenn Morris <rgm@gnu.org>
9698
9699 * font-lock.el (lisp-font-lock-keywords-2):
9700 Treat user-error like error.
9701
9702 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9703 (byte-compile-backward-char, byte-compile-backward-word):
9704 Handle explicit nil arguments. (Bug#14565)
9705
97062013-06-05 Alan Mackenzie <acm@muc.de>
9707
9708 * isearch.el (isearch-allow-prefix): New user option.
9709 (isearch-other-meta-char): Don't exit isearch when a prefix
9710 argument is typed whilst `isearch-allow-prefix' is non-nil.
9711 (Bug#9706)
9712
97132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * autorevert.el (auto-revert-notify-handler): Use memq.
9716 Hide assertion failure.
9717
9718 * skeleton.el: Use cl-lib.
9719 (skeleton-further-elements): Use defvar-local.
9720 (skeleton-insert): Use cl-progv.
9721
97222013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9723
9724 * progmodes/prog-mode.el (prog-prettify-symbols)
9725 (prog-prettify-install): Update docstrings.
9726
97272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * simple.el: Move all the prog-mode code to prog-mode.el.
9730 * progmodes/prog-mode.el: New file.
9731 * loadup.el: Add prog-mode.el.
9732
97332013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9734
9735 * simple.el (prog-prettify-symbols): Add version.
9736 (prog-prettify-install): Add convenience function to prettify symbols.
9737
9738 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9739 (perl--augmented-font-lock-keywords-1)
9740 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9741 variables and use it.
9742
9743 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9744 (cfengine3-mode): Remove unneeded variable and use it.
9745
9746 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9747 (lisp--augmented-font-lock-keywords-1)
9748 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9749 Remove unneeded variables and use it.
9750
97512013-06-05 João Távora <joaotavora@gmail.com>
9752
9753 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9754 to point when opening the connection. (Bug#14380)
9755
97562013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * subr.el (load-history-regexp, load-history-filename-element)
9759 (eval-after-load, after-load-functions, do-after-load-evaluation)
9760 (eval-next-after-load, display-delayed-warnings)
9761 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9762 definition of save-match-data.
9763 (overriding-local-map): Remove accidental obsolescence declaration.
9764
9765 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9766
97672013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9768
9769 Generalize symbol prettify support to prog-mode and implement it
9770 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9771 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9772 (prog--prettify-font-lock-compose-symbol)
9773 (prog-prettify-font-lock-symbols-keywords): New variables and
9774 functions to support symbol prettification.
9775 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9776 (lisp--augmented-font-lock-keywords-1)
9777 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9778 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9779 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9780 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9781 Implement prettify of -> => :: strings.
9782 * progmodes/perl-mode.el (perl-prettify-symbols)
9783 (perl--font-lock-compose-symbol)
9784 (perl--font-lock-symbols-keywords): Move to prog-mode.
9785 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9786 (perl-font-lock-keywords-1)
9787 (perl-font-lock-keywords-2): Remove explicit prettify support.
9788 (perl--augmented-font-lock-keywords)
9789 (perl--augmented-font-lock-keywords-1)
9790 (perl--augmented-font-lock-keywords-2, perl-mode):
9791 Implement prettify support.
9792
97932013-06-05 Leo Liu <sdl.web@gmail.com>
9794
9795 Re-implement smie matching block highlight using
9796 show-paren-data-function. (Bug#14395)
9797 * emacs-lisp/smie.el (smie-matching-block-highlight)
9798 (smie--highlight-matching-block-overlay)
9799 (smie--highlight-matching-block-lastpos)
9800 (smie-highlight-matching-block)
9801 (smie-highlight-matching-block-mode): Remove.
9802 (smie--matching-block-data-cache): New variable.
9803 (smie--matching-block-data): New function.
9804 (smie-setup): Use smie--matching-block-data for
9805 show-paren-data-function.
9806
9807 * progmodes/octave.el (octave-mode-menu): Fix.
9808 (octave-find-definition): Skip garbage lines.
9809
98102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 Fix compilation error with simultaneous dynamic+lexical scoping.
9813 Add warning when a defvar appears after the first let-binding.
9814 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9815 (byte-compile-close-variables): Initialize it.
9816 (byte-compile--declare-var): New function.
9817 (byte-compile-file-form-defvar)
9818 (byte-compile-file-form-define-abbrev-table)
9819 (byte-compile-file-form-custom-declare-variable): Use it.
9820 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9821 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9822 (byte-compile-bind): Handle dynamic bindings that shadow
9823 lexical bindings.
9824 (byte-compile-unbind): Make arg non-optional.
9825 (byte-compile-let): Simplify.
9826 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9827 (cconv--analyse-function, cconv-analyse-form): Populate it.
9828 Protect byte-compile-bound-variables to limit the scope of defvars.
9829 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9830 Remove unneeded rule for `declare'.
9831
9832 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9833 so as to avoid depending on cl-adjoin at run-time.
9834 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9835
9836 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9837 (macroexp--warn-and-return): Use it.
9838
98392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * subr.el: Convert to lexical binding.
9842 (overriding-local-map): Make obsolete.
9843 (add-to-list): Doc fix. Add compiler macro.
9844 (read-key): Swap values of local maps.
9845
98462013-06-05 Leo Liu <sdl.web@gmail.com>
9847
9848 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9849
98502013-06-04 Leo Liu <sdl.web@gmail.com>
9851
9852 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9853 (compilation-auto-jump): Suppress the "Mark set" message to give
9854 way to exit message.
9855
98562013-06-04 Alan Mackenzie <acm@muc.de>
9857
9858 Remove faulty optimisation from indentation calculation.
9859 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9860 search limit based on 2000 characters back from indent-point.
9861
98622013-06-03 Tassilo Horn <tsdh@gnu.org>
9863
9864 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9865
98662013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * emacs-lisp/lisp.el: Use lexical-binding.
9869 (lisp--local-variables-1, lisp--local-variables): New functions.
9870 (lisp--local-variables-completion-table): New var.
9871 (lisp-completion-at-point): Use it complete let-bound vars.
9872
9873 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9874 eagerly (bug#14422).
9875
98762013-06-03 Michael Albinus <michael.albinus@gmx.de>
9877
9878 * autorevert.el (auto-revert-notify-enabled)
9879 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9880 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9881 (auto-revert-notify-handler): Handle also gfilenotify.
9882
9883 * subr.el (file-notify-handle-event): New defun. Replacing ...
9884 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9885 Remove.
9886
98872013-06-03 Juri Linkov <juri@jurta.org>
9888
9889 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9890 `M-s h .'. (Bug#14427)
9891
9892 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9893 command `hi-lock-face-symbol-at-point'.
9894 (hi-lock-face-symbol-at-point): New command.
9895 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9896 (hi-lock-menu): Add `highlight-symbol-at-point'.
9897 (hi-lock-mode): Doc fix.
9898
9899 * isearch.el (isearch-forward-symbol-at-point): New command.
9900 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9901 (isearch-highlight-regexp): Add a regexp which matches
9902 words/symbols for word/symbol mode.
9903
9904 * subr.el (find-tag-default-bounds): New function with the body
9905 mostly moved from `find-tag-default'.
9906 (find-tag-default): Move most code to `find-tag-default-bounds',
9907 call it and apply `buffer-substring-no-properties' afterwards.
9908
99092013-06-03 Tassilo Horn <tsdh@gnu.org>
9910
9911 * eshell/em-term.el (eshell-term-initialize):
9912 Use `cl-intersection' rather than `intersection'.
9913
99142013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9915
9916 * vc/log-view.el: Doc fix.
9917 (log-view-mode-map): Copy keymap from `special-mode-map'.
9918
99192013-06-02 Eric Ludlam <zappo@gnu.org>
9920
9921 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9922 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9923 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9924 (eieio-unbound, eieio-default-superclass)
9925 (eieio--define-field-accessors, method-static, method-before)
9926 (method-primary, method-after, method-num-lists)
9927 (method-generic-before, method-generic-primary)
9928 (method-generic-after, method-num-slots)
9929 (eieio-specialized-key-to-generic-key)
9930 (eieio--check-type, class-v, class-p)
9931 (eieio-class-name, define-obsolete-function-alias)
9932 (eieio-class-parents-fast, eieio-class-children-fast)
9933 (same-class-fast-p, class-constructor, generic-p)
9934 (generic-primary-only-p, generic-primary-only-one-p)
9935 (class-option-assoc, class-option, eieio-object-p)
9936 (class-abstract-p, class-method-invocation-order)
9937 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9938 (eieio-class-un-autoload, eieio-defclass)
9939 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9940 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9941 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9942 (eieio-defgeneric-reset-generic-form)
9943 (eieio-defgeneric-form-primary-only)
9944 (eieio-defgeneric-reset-generic-form-primary-only)
9945 (eieio-defgeneric-form-primary-only-one)
9946 (eieio-defgeneric-reset-generic-form-primary-only-one)
9947 (eieio-unbind-method-implementations)
9948 (eieio--defmethod, eieio--typep)
9949 (eieio-perform-slot-validation, eieio-validate-slot-value)
9950 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9951 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9952 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9953 (eieio-slot-name-index, eieio-class-slot-name-index)
9954 (eieio-set-defaults, eieio-initarg-to-attribute)
9955 (eieio-attribute-to-initarg, eieio-c3-candidate)
9956 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9957 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9958 (eieio-class-precedence-list, eieio-generic-call-methodname)
9959 (eieio-generic-call-arglst, eieio-generic-call-key)
9960 (eieio-generic-call-next-method-list)
9961 (eieio-pre-method-execution-functions, eieio-generic-call)
9962 (eieio-generic-call-primary-only, eieiomt-method-list)
9963 (eieiomt-optimizing-obarray, eieiomt-install)
9964 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9965 (eieio-generic-form, eieio-defmethod, make-obsolete)
9966 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9967 (defclass): Remove `eval-and-compile' from macro.
9968 (call-next-method, shared-initialize): Instead of using
9969 `scoped-class' variable, use new eieio--scoped-class, and
9970 eieio--with-scoped-class.
9971 (initialize-instance): Rename local variable 'scoped-class' to
9972 'this-class' to remove ambiguitity from old global.
9973
9974 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9975 eieio.el.
9976 (eieio--scoped-class-stack): New variable.
9977 (eieio--scoped-class): New fcn.
9978 (eieio--with-scoped-class): New scoping macro.
9979 (eieio-defclass): Use pushnew instead of add-to-list.
9980 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9981 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9982 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9983 `scoped-class' variable, use new eieio--scoped-class, and
9984 eieio--with-scoped-class.
9985
9986 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9987
99882013-06-02 Tassilo Horn <tsdh@gnu.org>
9989
9990 * eshell/esh-ext.el (eshell-external-command): Pass args to
9991 `eshell-find-interpreter'.
9992 (eshell-find-interpreter): Add new second parameter ARGS.
9993
9994 * eshell/em-script.el (eshell-script-initialize): Add second arg
9995 to the function added as MATCH to `eshell-interpreter-alist'.
9996
9997 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9998 the function added as MATCH to `eshell-interpreter-alist'.
9999
10000 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10001 (eshell-visual-options): New defcustom.
10002 (eshell-escape-control-x): Adapt docstring.
10003 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10004 `eshell-visual-options' in addition to `eshell-visual-commands'.
10005 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10006
100072013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10008
10009 * progmodes/python.el (python-indent-block-enders): Add break,
10010 continue and raise keywords.
10011
100122013-06-01 Glenn Morris <rgm@gnu.org>
10013
10014 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10015
10016 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10017 * progmodes/cc-cmds.el (delete-forward-p):
10018 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10019 * progmodes/cc-engine.el (buffer-syntactic-context):
10020 * progmodes/cc-fonts.el (face-property-instance):
10021 * progmodes/cc-mode.el (set-keymap-parents):
10022 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10023 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10024 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10025 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10026 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10027
10028 * progmodes/cc-vars.el (other): Emacs has this widget since
10029 at least 21.1, so don't (re)define it.
10030
10031 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10032 Replace the obsolete alias pcomplete-arg-quote-list.
10033
100342013-06-01 Leo Liu <sdl.web@gmail.com>
10035
10036 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10037 punctuation syntax.
10038 (inferior-octave-minimal-columns)
10039 (inferior-octave-last-column-width): New variables.
10040 (inferior-octave-track-window-width-change): New function.
10041 (inferior-octave-mode): Adjust column width so that Octave output,
10042 for example from 'ls', can fit into the window nicely.
10043
100442013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10045
10046 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10047 Highlight expansions inside regexp literals.
10048
100492013-05-31 Glenn Morris <rgm@gnu.org>
10050
10051 * obsolete/sym-comp.el (symbol-complete):
10052 Replace obsolete completion-annotate-function.
10053
10054 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10055
100562013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10057
10058 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10059 New function, checks if point is inside a literal that allows
10060 expression expansion.
10061 (ruby-syntax-propertize-expansion): Use it.
10062 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10063 around the body.
10064
100652013-05-30 Juri Linkov <juri@jurta.org>
10066
10067 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10068 to "\M-si".
10069 (isearch-invisible): New variable.
10070 (isearch-forward): Doc fix.
10071 (isearch-mode): Set `isearch-invisible'
10072 to the value of `search-invisible'.
10073 (isearch-toggle-case-fold): Doc fix.
10074 (isearch-toggle-invisible): New command.
10075 (isearch-query-replace): Let-bind `search-invisible'
10076 to the value of `isearch-invisible'.
10077 (isearch-search): Use `isearch-invisible' instead of
10078 `search-invisible'. Let-bind `search-invisible'
10079 to the value of `isearch-invisible'. (Bug#11378)
10080
100812013-05-30 Juri Linkov <juri@jurta.org>
10082
10083 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10084 call when `query-flag' is nil and `search-invisible' is non-nil.
10085 (Bug#11746)
10086
100872013-05-30 Glenn Morris <rgm@gnu.org>
10088
10089 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10090
10091 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10092 (cc-require): Suppress spurious "noruntime" warnings.
10093 (cc-require-when-compile): Use fboundp, for sake of compiler.
10094
10095 * progmodes/cc-mode.el: Move load of cc-vars before that of
10096 cc-langs (which in turn loads cc-vars), to quieten compiler.
10097
100982013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * paren.el: Simplify the code.
10101 (show-paren-mode): Always start the timer.
10102 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10103 (show-paren--overlay, show-paren--overlay-1): Rename from
10104 show-paren-overlay and show-paren-overlay-1, and initialize to an
10105 overlay rather than to nil.
10106 (show-paren-function): Misc cleanup and simplifications.
10107
101082013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * paren.el (show-paren-data-function): New hook.
10111 (show-paren--default): New function, extracted from show-paren-function.
10112 (show-paren-function): Use show-paren-data-function.
10113
101142013-05-30 Glenn Morris <rgm@gnu.org>
10115
10116 * ielm.el (ielm-map, ielm-complete-symbol):
10117 Use completion-at-point rather than obsolete functions.
10118 (inferior-emacs-lisp-mode): Doc fix.
10119 Set completion-at-point-functions, rather than
10120 comint-dynamic-complete-functions.
10121
10122 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10123 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10124 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10125
10126 * image.el (image-animated-p): Tweak definition.
10127
10128 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10129 (rlogin-process-connection-type): Tweak default. Add set-after.
10130 (rlogin-host): Doc fix.
10131 (rlogin): Tweak prompt.
10132 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10133
10134 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10135 * progmodes/tcl.el (inferior-tcl-mode-map):
10136 Use completion-at-point rather than obsolete alias.
10137
10138 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10139
10140 * minibuffer.el (read-file-name-completion-ignore-case):
10141 Move before completion--in-region, for eager macro expansion.
10142
101432013-05-29 Juri Linkov <juri@jurta.org>
10144
10145 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10146 for total count of matching lines. Add `global-matches' for total
10147 count of matches. Rename `matches' to `lines' for count of
10148 matching lines. Add `matches' for count of matches.
10149 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10150 to `prev-line' for line number of prev match endpt.
10151 Increment `matches' for every match. Print the number of
10152 matching lines in the header.
10153 (occur-context-lines): Rename `lines' to `curr-line'.
10154 Rename `prev-lines' to `prev-line'. (Bug#14017)
10155
101562013-05-29 Juri Linkov <juri@jurta.org>
10157
10158 * replace.el (perform-replace): Add `skip-read-only-count',
10159 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10160 Increment them for corresponding conditions and report the number
10161 of skipped occurrences in the final message. (Bug#11746)
10162 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10163 (replace-string, replace-regexp): Doc fix.
10164
101652013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10168
10169 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10170 prog-mode-map (bug#14504).
10171
101722013-05-29 Leo Liu <sdl.web@gmail.com>
10173
10174 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10175 (octave-help): Small simplification.
10176
10177 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10178 off the highlight first.
10179
101802013-05-29 Glenn Morris <rgm@gnu.org>
10181
10182 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10183 Handle idlwave-last-system-routine-info-cons-cell being nil.
10184
10185 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10186 (idlwave-write-paths): Simplify via with-temp-buffer.
10187
10188 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10189 * emulation/cua-rect.el: Also load cua-base at run time.
10190
10191 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10192 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10193 (cperl-imenu-on-info): Require imenu.
10194
101952013-05-28 Alan Mackenzie <acm@muc.de>
10196
10197 Handle "capitalised keywords" correctly.
10198 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10199
102002013-05-28 Aidan Gauland <aidalgol@amuri.net>
10201
10202 * eshell/em-unix.el: Add -r option to cp.
10203
102042013-05-28 Glenn Morris <rgm@gnu.org>
10205
10206 * vc/vc-arch.el (vc-exec-after): Declare.
10207 (vc-switches): Autoload.
10208 * vc/vc-bzr.el: No need to require vc when compiling.
10209 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10210 (vc-resynch-buffer, vc-dir-refresh): Declare.
10211 (vc-setup-buffer, vc-switches): Autoload.
10212 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10213 (vc-resynch-buffer): Declare.
10214 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10215 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10216 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10217 (grep-read-regexp, grep-read-files, grep-expand-template)
10218 (vc-dir-refresh): Declare.
10219 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10220 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10221 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10222 * vc/vc-mtn.el (vc-exec-after): Declare.
10223 (vc-switches): Autoload.
10224 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10225 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10226 (vc-file-tree-walk): Declare.
10227 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10228 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10229 (vc-tag-precondition, vc-rename-master): Autoload.
10230 * vc/vc-svn.el (vc-exec-after): Declare.
10231 (vc-switches, vc-setup-buffer): Autoload.
10232 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10233 Autoload.
10234 (vc-resynch-buffer): Declare.
10235
10236 * obsolete/fast-lock.el (byte-compile-warnings):
10237 Don't warn about obsolete features in this obsolete file.
10238
10239 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10240 Move definition before use.
10241
10242 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10243 (dun-unix-verbs): Remove dun-zippy.
10244 (dun-zippy): Remove function.
10245
10246 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10247
102482013-05-27 Juri Linkov <juri@jurta.org>
10249
10250 * replace.el (replace-search): New function with code moved out
10251 from `perform-replace'.
10252 (replace-highlight, replace-dehighlight): Move function definitions
10253 up closer to `replace-search'. (Bug#11746)
10254
102552013-05-27 Juri Linkov <juri@jurta.org>
10256
10257 * replace.el (perform-replace): Ignore invisible matches.
10258 In addition to checking `query-replace-skip-read-only', also
10259 filter out matches by calling `run-hook-with-args-until-failure'
10260 on `isearch-filter-predicates', and also check `search-invisible'
10261 for t or call `isearch-range-invisible'.
10262 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10263
102642013-05-27 Juri Linkov <juri@jurta.org>
10265
10266 * isearch.el (isearch-filter-predicates): Rename from
10267 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10268 (isearch-message-prefix): Display text from the property
10269 `isearch-message-prefix' of the currently active filters.
10270 (isearch-search): Don't compare `isearch-filter-predicate' with
10271 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10272 on `isearch-filter-predicates'. Also check `search-invisible' for t
10273 or call `isearch-range-invisible'.
10274 (isearch-filter-visible): Make obsolete.
10275 (isearch-lazy-highlight-search):
10276 Call `run-hook-with-args-until-failure' on
10277 `isearch-filter-predicates' and use `isearch-range-invisible'.
10278
10279 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10280 `isearch-filter-predicates' instead of `funcall'ing
10281 `isearch-filter-predicate'.
10282 (Info-mode): Set `Info-isearch-filter' to
10283 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10284
10285 * dired-aux.el (dired-isearch-filter-predicate-orig):
10286 Remove variable.
10287 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10288 (dired-isearch-filenames-end): Add and remove
10289 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10290 instead of changing the value of `isearch-filter-predicate'.
10291 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10292 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10293 Put property `isearch-message-prefix' to "filename " on
10294 `dired-isearch-filter-filenames'.
10295
10296 * wdired.el (wdired-change-to-wdired-mode):
10297 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10298 locally instead of changing `isearch-filter-predicate'.
10299 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10300
103012013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10302
10303 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10304 return the commit hash (Bug#14459). Also set the
10305 `vc-git-detached' property.
10306 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10307 (vc-git-mode-line-string): Use the same help-echo format whether
10308 in detached mode or not, because we know the actual revision now.
10309 When in detached mode, shorten the revision to 7 chars.
10310
103112013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10312
10313 * emacs-lisp/easy-mmode.el (define-minor-mode):
10314 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10315 mode hook and provide a docstring.
10316
103172013-05-27 Alan Mackenzie <acm@muc.de>
10318
10319 Remove spurious syntax-table text properties inserted by C-y.
10320 * progmodes/cc-mode.el (c-after-change): Also clear hard
10321 syntax-table property with value nil.
10322
103232013-05-27 Michael Albinus <michael.albinus@gmx.de>
10324
10325 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10326 when reading the events; the buffer layout shall not be changed.
10327
103282013-05-27 Leo Liu <sdl.web@gmail.com>
10329
10330 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10331 New variable.
10332 (inferior-octave-directory-tracker): Automatically re-sync
10333 default-directory.
10334 (octave-help): Improve handling of 'See also'.
10335
103362013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * doc-view.el: Minor naming convention tweaks.
10339 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10340
10341 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10342 even if there's no `display' property yet (bug#14435).
10343
103442013-05-25 Eli Zaretskii <eliz@gnu.org>
10345
10346 * subr.el (unmsys--file-name): Rename from reveal-filename.
10347
10348 * Makefile.in (custom-deps, finder-data, autoloads)
10349 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10350 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10351 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10352
103532013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10356 error-completion on the first 2 args of condition-case (bug#14446).
10357 Don't burp at EOB.
10358
103592013-05-25 Leo Liu <sdl.web@gmail.com>
10360
10361 * comint.el (comint-previous-matching-input): Do not flood the
10362 *Messages* buffer with trivial messages.
10363
103642013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10365
10366 * progmodes/flymake.el (flymake-nop): Don't return a string.
10367 (flymake-set-at): Fix typo.
10368
10369 * simple.el (read--expression): New function, extracted from
10370 eval-expression. Set completion-at-point-functions (bug#14465).
10371 (eval-expression, eval-minibuffer): Use it.
10372
103732013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10374
10375 * progmodes/flymake.el (flymake-save-buffer-in-file)
10376 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10377 (flymake-selected-frame, flymake-log, flymake-ins-after)
10378 (flymake-set-at, flymake-get-buildfile-from-cache)
10379 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10380 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10381 Refine the doc string.
10382 (flymake-get-file-name-mode-and-masks): Reformat.
10383 (flymake-get-real-file-name-function): Fix a minor bug.
10384
103852013-05-24 Juri Linkov <juri@jurta.org>
10386
10387 * progmodes/grep.el (grep-mode-font-lock-keywords):
10388 Support =linenumber= format used by git-grep for lines with
10389 function names. (Bug#13549)
10390
103912013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10394 0 after a semi-colon; it works better for smie-auto-fill.
10395 (octave--indent-new-comment-line): New function.
10396 (octave-indent-new-comment-line): Use it (indirectly).
10397 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10398 modify comment-line-break-function.
10399
10400 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10401 (smie-setup): Use add-function to set it.
10402
104032013-05-24 Sam Steingold <sds@gnu.org>
10404
10405 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10406 argument (before the `interactive' argument).
10407
104082013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * image-mode.el (image-mode-winprops): Add winprops to
10411 image-mode-winprops-alist before running
10412 image-mode-new-window-functions.
10413 * doc-view.el (doc-view-new-window-function): Don't delay
10414 doc-view-goto-page via timers (bug#14435).
10415
104162013-05-24 Tassilo Horn <tsdh@gnu.org>
10417
10418 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10419 (doc-view-desktop-save-buffer): New function.
10420 (doc-view-restore-desktop-buffer): New function.
10421 (desktop-buffer-mode-handlers):
10422 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10423 handler.
10424 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10425 `desktop-save-buffer' function.
10426
104272013-05-24 Michael Albinus <michael.albinus@gmx.de>
10428
10429 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10430 (tramp-gvfs-file-name-handler): Raise a user error when
10431 `tramp-gvfs-enabled' is nil.
10432 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10433 Do not raise a user error when loading package. (Bug#14447)
10434
10435 * net/xesam.el: Move to obsolete/.
10436
104372013-05-24 Glenn Morris <rgm@gnu.org>
10438
10439 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10440
10441 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10442
10443 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10444 (Info-find-node, Man-getpage-in-background): Declare.
10445
10446 * mail/unrmail.el (unrmail):
10447 Replace obsolete detect-coding-with-priority.
10448
10449 * net/socks.el (socks-split-string): Use this rather than split-string.
10450 (socks-nslookup-host): Update for above change.
10451 (dynamic-choice, s5-dynamic-choice-match)
10452 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10453 Comment out unused code.
10454
10455 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10456 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10457 (gud-tooltip-echo-area): Make obsolete.
10458 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10459
10460 * progmodes/js.el (js--optimize-arglist): Declare.
10461
10462 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10463
10464 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10465 (ediff-window-C): Declare.
10466
10467 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10468 Tweak requires to silence compiler.
10469
10470 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10471 (he-search-string, he-tried-table, he-expand-list)
10472 (he-init-string, he-string-member, he-substitute-string)
10473 (he-reset-string): Declare.
10474
10475 * obsolete/options.el (list-options): Use custom-variable-p,
10476 rather than obsolete alias.
10477
104782013-05-23 Sam Steingold <sds@gnu.org>
10479
10480 * simple.el (shell-command-on-region): Pass the `replace' argument
10481 down to `call-process-region' to comply with the doc as reported on
10482 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10483
104842013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * emacs-lisp/smie.el (smie-indent-forward-token)
10487 (smie-indent-backward-token): Handle string tokens (bug#14381).
10488
104892013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10490
10491 * ielm.el (ielm-menu): New menu.
10492 (inferior-emacs-lisp-mode): Set comment-start.
10493
104942013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10495
10496 * textmodes/reftex.el (reftex-ref-style-toggle):
10497 Fix deactivate action.
10498
10499 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10500 Add cleveref macros.
10501
10502 * textmodes/reftex-parse.el
10503 (reftex-locate-bibliography-files): Accept options for
10504 bibliography commands.
10505 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10506 Add addbibresource. Basic Biblatex support.
10507
105082013-05-23 Michael Albinus <michael.albinus@gmx.de>
10509
10510 * net/tramp-gvfs.el (top):
10511 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10512 when loading package. (Bug#14447)
10513
105142013-05-23 Glenn Morris <rgm@gnu.org>
10515
10516 * progmodes/js.el: No need to load comint when compiling.
10517 (ring-insert, comint-send-string, comint-send-input)
10518 (comint-last-input-end, ido-chop): Declare.
10519
10520 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10521 * vc/ediff-mult.el: Adjust requires.
10522 (ediff-directories-internal, ediff-directory-revisions-internal)
10523 (ediff-patch-file-internal): Declare.
10524 * vc/ediff-ptch.el: Adjust requires.
10525 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10526 (ediff-find-file): Autoload.
10527 * vc/ediff-util.el: No need to load ediff when compiling.
10528 (ediff-regions-internal): Declare.
10529 * vc/ediff-wind.el: Adjust requires.
10530 (ediff-compute-toolbar-width): Define when compiling.
10531 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10532 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10533 (dired-get-filename, dired-get-marked-files)
10534 (ediff-last-dir-patch, ediff-patch-default-directory)
10535 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10536 (ediff-patch-buffer-internal): Declare.
10537
10538 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10539 (ispell-process, ispell-buffer-local-words, lm-summary)
10540 (lm-section-start, lm-section-end): Declare.
10541 (checkdoc-ispell-init): Simplify.
10542
10543 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10544 (he-string-member, he-reset-string, he-substitute-string): Declare.
10545
10546 * eshell/em-ls.el: Adjust requires.
10547 (eshell-glob-regexp): Declare.
10548 * eshell/em-tramp.el: Adjust requires.
10549 (eshell-parse-command): Autoload.
10550 * eshell/em-xtra.el: Adjust requires.
10551 (eshell-parse-command): Autoload.
10552 * eshell/esh-ext.el: Adjust requires.
10553 (eshell-parse-command, eshell-close-handles): Autoload.
10554 * eshell/esh-io.el: Adjust requires.
10555 (eshell-output-filter): Autoload.
10556 * eshell/esh-util.el: No need to load tramp when compiling.
10557 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10558 Declare.
10559 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10560 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10561 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10562 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10563 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10564 * eshell/esh-opt.el, eshell/esh-proc.el:
10565 * eshell/esh-var.el: Adjust requires.
10566 * eshell/eshell.el: Do not require esh-util twice.
10567 (eshell-add-input-to-history): Declare.
10568 (eshell-command): Check history module is active before using it.
10569
10570 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10571
105722013-05-22 Leo Liu <sdl.web@gmail.com>
10573
10574 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10575
105762013-05-22 Michael Albinus <michael.albinus@gmx.de>
10577
10578 * autorevert.el (auto-revert-notify-add-watch)
10579 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10580 it indicates changes in file modification time.
10581
105822013-05-22 Glenn Morris <rgm@gnu.org>
10583
10584 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10585 Always delete the autoloaded function from the noruntime and
10586 unresolved functions lists.
10587
10588 * allout.el: No need to load epa, epg, overlay when compiling.
10589 (epg-context-set-passphrase-callback, epg-list-keys)
10590 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10591 (epg-key-user-id-list): Declare.
10592
10593 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10594 (viper-set-parsing-style-toggling-macro)
10595 (viper-set-emacs-state-searchstyle-macros):
10596 Use called-interactively-p on Emacs.
10597 (viper-looking-back): Make it an obsolete alias. Update callers.
10598 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10599 Use looking-back rather than viper-looking-back.
10600 (viper-tmp-insert-at-eob, viper-enlarge-region)
10601 (viper-read-string-with-history, viper-register-to-point)
10602 (viper-append-to-register, viper-change-state-to-vi)
10603 (viper-backward-char-carefully, viper-forward-char-carefully)
10604 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10605 (viper-change-state-to-emacs): Declare.
10606 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10607 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10608 * emulation/viper-mous.el: Do not load viper-cmd.
10609 (viper-backward-char-carefully, viper-forward-char-carefully)
10610 (viper-forward-word, viper-adjust-window): Declare.
10611
10612 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10613
10614 * progmodes/idlw-help.el (idlwave-help-fontify):
10615 Use called-interactively-p.
10616
10617 * term/w32console.el (w32-get-console-codepage)
10618 (w32-get-console-output-codepage): Declare.
10619
10620 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10621 Remove unnecessary declarations.
10622 (dframe-message): Doc fix.
10623
10624 * info.el (dframe-select-attached-frame, dframe-current-frame):
10625 Declare.
10626
10627 * speedbar.el (speedbar-message): Make it an obsolete alias.
10628 Update all callers.
10629 (speedbar-with-attached-buffer)
10630 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10631 (speedbar-with-writable): Use backquote.
10632 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10633 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10634 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10635 rather than speedbar- aliases.
10636 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10637 (speedbar-make-specialized-keymap, speedbar-insert-button)
10638 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10639 (speedbar-do-function-pointer): Declare.
10640 (rmail-speedbar-button, rmail-speedbar-find-file)
10641 (rmail-speedbar-move-message):
10642 Use dframe-with-attached-buffer rather than speedbar- alias.
10643 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10644 (dframe-message, speedbar-make-specialized-keymap)
10645 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10646 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10647 (speedbar-insert-button, dframe-select-attached-frame)
10648 (dframe-maybee-jump-to-attached-frame)
10649 (speedbar-change-initial-expansion-list)
10650 (speedbar-previously-used-expansion-list-name): Declare.
10651 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10652 Use dframe-message, dframe-with-attached-buffer rather than
10653 speedbar- aliases.
10654 (gud-sentinel): Silence compiler.
10655 * progmodes/vhdl-mode.el (speedbar-refresh)
10656 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10657 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10658 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10659 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10660 (speedbar-file-lists, speedbar-make-tag-line)
10661 (speedbar-line-directory, speedbar-goto-this-file)
10662 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10663 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10664 (speedbar-make-button, speedbar-reset-scanners)
10665 (speedbar-files-item-info, speedbar-line-text)
10666 (speedbar-find-file-in-frame, speedbar-set-timer)
10667 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10668 (speedbar-with-writable): Do not (re)define it.
10669 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10670 rather than speedbar- alias.
10671
106722013-05-21 Leo Liu <sdl.web@gmail.com>
10673
10674 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10675 menu items.
10676 (octave-mode): Tweak fill-nobreak-predicate.
10677 (inferior-octave-startup): Check process to avoid infinite loop.
10678 (inferior-octave): Pop to buffer first to show abornmal process
10679 exit information.
10680
106812013-05-21 Glenn Morris <rgm@gnu.org>
10682
10683 * printing.el (pr-menu-bar): Define when compiling.
10684
106852013-05-21 Leo Liu <sdl.web@gmail.com>
10686
10687 * progmodes/octave.el (octave-auto-fill): Remove.
10688 (octave-indent-new-comment-line): Improve.
10689 (octave-mode): Use auto fill mode through
10690 comment-line-break-function and fill-nobreak-predicate.
10691 (octave-goto-function-definition): Support DEFUN_DLD.
10692 (octave-beginning-of-defun): Small tweak.
10693 (octave-help): Show parent directory.
10694
106952013-05-21 Glenn Morris <rgm@gnu.org>
10696
10697 * files.el (dired-unmark):
10698 * progmodes/gud.el (gdb-input): Update declarations.
10699
10700 * calculator.el (electric, ehelp): No need to load when compiling.
10701 (Electric-command-loop, electric-describe-mode): Declare.
10702
10703 * doc-view.el (doc-view-current-converter-processes): Move before use.
10704
10705 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10706 Move MODE-set-explicitly definition before use.
10707
10708 * international/mule-diag.el (mule-diag):
10709 Don't use obsolete window-system-version.
10710
10711 * mail/feedmail.el (smtpmail): No need to load when compiling.
10712 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10713
10714 * mail/mail-utils.el (rfc822): No need to load when compiling.
10715 (rfc822-addresses): Autoload it.
10716 (mail-strip-quoted-names): Trivial simplification.
10717
10718 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10719 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10720
10721 * net/snmp-mode.el (tempo): Don't duplicate requires.
10722
10723 * progmodes/prolog.el (info): No need to load when compiling.
10724 (comint): Require before shell requires it.
10725 (Info-goto-node): Autoload it.
10726 (Info-follow-nearest-node): Declare.
10727 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10728
10729 * textmodes/artist.el (picture-mode-exit): Declare.
10730
10731 * textmodes/reftex-parse.el (reftex-parse-from-file):
10732 Trivial rewrite so the compiler can parse it better.
10733
107342013-05-20 Leo Liu <sdl.web@gmail.com>
10735
10736 * progmodes/octave.el (octave-help-mode-map)
10737 (octave-help-mode-finish-hook): New variables.
10738 (octave-help-mode, octave-help-mode-finish): New functions.
10739 (octave-help): Use octave-help-mode.
10740
107412013-05-20 Glenn Morris <rgm@gnu.org>
10742
10743 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10744
107452013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10746
10747 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10748 start at point, so that expansion starting right after opening
10749 slash in a regexp is recognized.
10750 (ruby-syntax-before-regexp-re): New defvar, extracted from
10751 ruby-syntax-propertize-function. Since the value of this regexp
10752 is looked up at runtime now, we should be able to turn
10753 `ruby-syntax-methods-before-regexp' into a defcustom later.
10754 (ruby-syntax-propertize-function): Split regexp matching into two
10755 parts, for opening and closing slashes. That allows us to skip
10756 over string interpolations and support multiline regexps.
10757 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10758 for them, which calls `ruby-syntax-propertize-expansion'.
10759 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10760 call to `ruby-syntax-propertize-function'.
10761 (ruby-syntax-propertize-expansion): Extracted from
10762 `ruby-syntax-propertize-expansions'. Handles one expansion.
10763 (ruby-syntax-propertize-percent-literal): Leave point right after
10764 the percent symbol, so that the expression expansion rule can
10765 propertize the contents.
10766 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10767 heredoc openers.
10768 (ruby-syntax-propertize-expansions): Remove.
10769
107702013-05-18 Juri Linkov <juri@jurta.org>
10771
10772 * man.el (Man-default-man-entry): Remove `-' from the end
10773 of the default value. (Bug#14400)
10774
107752013-05-18 Glenn Morris <rgm@gnu.org>
10776
10777 * comint.el (comint-password-prompt-regexp):
10778 Allow "password for XXX" where XXX contains colons (eg https://...).
10779
107802013-05-18 Leo Liu <sdl.web@gmail.com>
10781
10782 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10783 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10784 (octave-source-directories): Don't check process.
10785 (octave-source-directories, octave-find-definition): Doc fix.
10786
107872013-05-18 Glenn Morris <rgm@gnu.org>
10788
10789 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10790 Remove backspace/delete bindings. (Bug#14392)
10791
10792 * cus-dep.el (custom-make-dependencies): Sort the output.
10793 (custom-versions-load-alist): Convert comment to doc.
10794
107952013-05-17 Leo Liu <sdl.web@gmail.com>
10796
10797 * newcomment.el (comment-search-backward): Stricter in finding
10798 comment start. (Bug#14303)
10799
10800 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10801 (octave-comment-start-skip): Properly anchored.
10802
108032013-05-17 Leo Liu <sdl.web@gmail.com>
10804
10805 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10806 Clean up when turned off. (Bug#14395)
10807 (smie--highlight-matching-block-overlay): No longer buffer-local.
10808 (smie-highlight-matching-block): Adjust.
10809
108102013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10811
10812 Doc string fix for "nanoseconds" (Bug#14406).
10813 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10814 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10815
108162013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10817
10818 * calc/calc-units.el (math-extract-units): Preserve powers
10819 of units.
10820
108212013-05-17 Leo Liu <sdl.web@gmail.com>
10822
10823 * subr.el (delete-consecutive-dups): New function.
10824 * ido.el (ido-set-matches-1): Use it.
10825 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10826 * ido.el (ido-remove-consecutive-dups): Remove.
10827
108282013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10831 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10832 regexp-opt's `words'.
10833
108342013-05-16 Leo Liu <sdl.web@gmail.com>
10835
10836 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10837 (smie--highlight-matching-block-overlay)
10838 (smie--highlight-matching-block-lastpos)
10839 (smie--highlight-matching-block-timer): New variables.
10840 (smie-highlight-matching-block): New function.
10841 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10842 (smie-setup): Conditionally enable smie-blink-matching-open.
10843
108442013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10845
10846 Sync with upstream verilog-mode r840.
10847 * progmodes/verilog-mode.el (verilog-mode-version)
10848 (verilog-mode-release-date): Update.
10849 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10850 (verilog-sig-tieoff): Fix string error on
10851 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10852 (verilog-read-decls): Fix parameters confusing
10853 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10854
108552013-05-16 Eli Zaretskii <eliz@gnu.org>
10856
10857 * subr.el (reveal-filename): New function.
10858
10859 * loadup.el: Compute Emacs executable versions on MS-Windows,
10860 where executables have the .exe extension. Add a hard link
10861 emacs-XX.YY.ZZ.exe on MS-Windows.
10862
10863 * Makefile.in (XARGS_LIMIT): New variable.
10864 (custom-deps, finder-data, autoloads)
10865 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10866 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10867 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10868 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10869
108702013-05-16 Leo Liu <sdl.web@gmail.com>
10871
10872 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10873 (octave-mode-menu, octave-mode-map): Remove its uses.
10874
108752013-05-16 Reto Zimmermann <reto@gnu.org>
10876
10877 Sync with upstream vhdl mode v3.34.2.
10878 * progmodes/vhdl-mode.el: Use `push' throughout.
10879 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10880 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10881 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10882 (vhdl-actual-generic-name): New option to derive actual generic name.
10883 (vhdl-port-paste-signals): Replace formal by actual generics.
10884 (vhdl-beautify): New name for old group vhdl-align. Update users.
10885 (vhdl-beautify-options): New option.
10886 (vhdl-last-input-event): New compat alias. Use throughout.
10887 (vhdl-goto-line): Replace user level function `goto-line'.
10888 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10889 vhdl-fix-statement-buffer.
10890 (vhdl-create-mode-menu): Add some entries.
10891 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10892 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10893 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10894 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10895 to force statements on one line.
10896 (vhdl-remove-trailing-spaces-region):
10897 New, split from vhdl-remove-trailing-spaces.
10898 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10899 Respect vhdl-beautify-options.
10900 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10901 (vhdl-update-sensitivity-list): Not add with index if exists without.
10902 Not include array index with signal. Ignore keywords in comments.
10903 (vhdl-get-visible-signals): Regexp tweaks.
10904 (vhdl-template-component-inst): Handle empty library.
10905 (vhdl-template-type): Add template for 'enum' type.
10906 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10907 Use vhdl-replace-string.
10908 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10909 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10910 (vhdl-speedbar-initialize): Update for above name change.
10911 (vhdl-compose-wire-components): Fix in handling of constants.
10912 (vhdl-error-regexp-emacs-alist): New variable.
10913 (vhdl-error-regexp-add-emacs): New function;
10914 adds support for new compile.el (Emacs 22+)
10915 (vhdl-generate-makefile-1): Change target order for single lib. units.
10916 Allow use of absolute file names.
10917
109182013-05-16 Leo Liu <sdl.web@gmail.com>
10919
10920 * simple.el (prog-indent-sexp): Indent enclosing defun.
10921
109222013-05-15 Glenn Morris <rgm@gnu.org>
10923
10924 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10925 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10926 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10927 (whitespace-highlight): Move to whitespace group.
10928
10929 * comint.el (comint-source):
10930 * pcmpl-linux.el (pcmpl-linux):
10931 * shell.el (shell-faces):
10932 * eshell/esh-opt.el (eshell-opt):
10933 * international/ccl.el (ccl): Remove empty custom groups.
10934
10935 * completion.el (dynamic-completion-mode):
10936 * jit-lock.el (jit-lock-debug-mode):
10937 * minibuffer.el (completion-in-region-mode):
10938 * type-break.el (type-break-mode-line-message-mode)
10939 (type-break-query-mode):
10940 * emulation/tpu-edt.el (tpu-edt-mode):
10941 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10942 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10943 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10944
10945 * term/xterm.el (xterm): Change parent group to terminals.
10946
10947 * master.el (master): Remove empty custom group.
10948 (master-mode): Remove unused :group argument.
10949 * textmodes/refill.el (refill): Remove empty custom group.
10950 (refill-mode): Remove unused :group argument.
10951
10952 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10953
10954 * cus-dep.el: Provide a feature.
10955 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10956 Don't mistakenly ignore files whose basenames match a basename
10957 from preloaded-file-list (eg cedet/ede/simple.el).
10958 Add a fallback method for getting :group.
10959
109602013-05-15 Juri Linkov <juri@jurta.org>
10961
10962 * isearch.el (isearch-char-by-name): Rename from
10963 `isearch-insert-char-by-name'. Doc fix.
10964 (isearch-forward): Mention `isearch-char-by-name' in
10965 the docstring. (Bug#13348)
10966
10967 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10968 `exit-minibuffer' instead of
10969 `isearch-nonincremental-exit-minibuffer'.
10970 (isearch-edit-string): Remove mention of
10971 `isearch-nonincremental-exit-minibuffer' from docstring.
10972 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10973 (isearch-forward-exit-minibuffer)
10974 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10975
109762013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * loadup.el: Just use unversioned DOC.
10979
10980 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10981 literals as extending to EOB.
10982 (nxml-last-fontify-end): Remove unused variable.
10983 (nxml-after-change1): Use with-silent-modifications.
10984 (nxml-extend-after-change-region): Simplify.
10985 (nxml-extend-after-change-region1): Remove function.
10986 (nxml-after-change1): Don't adjust for dependent regions.
10987 (nxml-fontify-matcher): Simplify.
10988 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10989 (xmltok-add-dependent): Remove function.
10990 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10991 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10992 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10993 unclosed <[[, <?, comment, and other literals as extending to EOB.
10994 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10995 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10996 Remove functions.
10997 (rng-do-some-validation-1): Don't mark dependent regions.
10998 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10999 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11000 (nxml-clear-dependent-regions): Remove functions.
11001 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11002 (nxml-ensure-scan-up-to-date):
11003 Don't clear&mark dependent regions.
11004
110052013-05-15 Leo Liu <sdl.web@gmail.com>
11006
11007 * progmodes/octave.el (octave-goto-function-definition):
11008 Improve and fix callers.
11009
110102013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11013 the setter (bug#14387).
11014
11015 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11016 surrounding group (bug#14402).
11017
110182013-05-14 Juri Linkov <juri@jurta.org>
11019
11020 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11021 (Bug#14390)
11022
110232013-05-14 Glenn Morris <rgm@gnu.org>
11024
11025 * progmodes/f90.el (f90-imenu-generic-expression):
11026 Fix typo in 2013-05-08 change. (Bug#14402)
11027
110282013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11029
11030 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11031 Remove signals for which replies are never received.
11032
110332013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11034
11035 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11036 (gdb-handler-alist, gdb-handler-number): Remove variables.
11037 (gdb-handler-list): New variable.
11038 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11039 (gdb-pending-handler-p, gdb-handle-reply)
11040 (gdb-remove-all-pending-triggers): New functions.
11041 (gdb-discard-unordered-replies): New defcustom.
11042 (gdb-handler): New defstruct.
11043 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11044 instead of gdb-pending-triggers. Update docstring.
11045 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11046 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11047 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11048 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11049 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11050 (gdb-frame-handler): Pending triggers are now automatically managed.
11051 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11052 Remove argument.
11053 (gdb-input): Automatically handles pending triggers. Update docstring.
11054 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11055 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11056 Update comments.
11057 (gdb-done-or-error): Now use gdb-handle-reply.
11058
110592013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11060
11061 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11062 gdb-debug-log.
11063
110642013-05-14 Glenn Morris <rgm@gnu.org>
11065
11066 * subr.el (user-emacs-directory-warning): New option.
11067 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11068
110692013-05-14 Leo Liu <sdl.web@gmail.com>
11070
11071 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11072 during redisplay.
11073 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11074 (octave-font-lock-texinfo-comment): Fix invalid search bound
11075 error: wrong side of point.
11076
110772013-05-14 Glenn Morris <rgm@gnu.org>
11078
11079 * progmodes/flymake.el (flymake-xml-program): New option.
11080 (flymake-xml-init): Use it.
11081
11082 * term/xterm.el: Provide a feature.
11083
11084 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11085
110862013-05-13 Glenn Morris <rgm@gnu.org>
11087
11088 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11089 Add compat aliases as a hack workaround. (Bug#14384)
11090
110912013-05-13 Leo Liu <sdl.web@gmail.com>
11092
11093 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11094 ###, and %!.
11095 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11096 C-M-q.
11097 (octave-comment-start-skip): Include %!.
11098 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11099
111002013-05-12 Leo Liu <sdl.web@gmail.com>
11101
11102 * progmodes/octave.el (inferior-octave-startup): Store the value
11103 of __octave_srcdir__ for octave-source-directories.
11104 (inferior-octave-check-process): New function refactored out of
11105 inferior-octave-send-list-and-digest.
11106 (octave-source-directories)
11107 (octave-find-definition-filename-function): New variables.
11108 (octave-source-directories)
11109 (octave-find-definition-default-filename): New functions.
11110 (octave-find-definition): Improve to find functions implemented in C++.
11111
111122013-05-12 Glenn Morris <rgm@gnu.org>
11113
11114 * calendar/diary-lib.el (diary-outlook-format-1):
11115 Don't include dayname in the output. (Bug#14349)
11116
111172013-05-11 Glenn Morris <rgm@gnu.org>
11118
11119 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11120
11121 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11122 Treat cc-provide like provide.
11123
111242013-05-11 Kevin Ryde <user42@zip.com.au>
11125
11126 * cus-dep.el (custom-make-dependencies):
11127 Use generated-autoload-load-name for the sake of files such
11128 such cedet/semantic/bovine/c.el, where the base file name
11129 is not in load-path. (Bug#5277)
11130
111312013-05-11 Glenn Morris <rgm@gnu.org>
11132
11133 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11134 Provide features.
11135
111362013-05-11 Leo Liu <sdl.web@gmail.com>
11137
11138 * progmodes/octave.el (octave-indent-comment): Improve.
11139 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11140 (octave-eldoc-function-signatures, octave-eldoc-function):
11141 New functions.
11142 (octave-mode, inferior-octave-mode): Add eldoc support.
11143
111442013-05-11 Richard Stallman <rms@gnu.org>
11145
11146 * epa.el (epa-decrypt-file): Take output file name as argument
11147 and read it using `interactive'.
11148
111492013-05-11 Leo Liu <sdl.web@gmail.com>
11150
11151 * progmodes/octave.el (octave-beginning-of-line)
11152 (octave-end-of-line): Check before using up-list because it jumps
11153 out of more syntactic contructs since moving to smie.
11154 (octave-indent-comment): New function.
11155 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11156 (octave-begin-keywords, octave-end-keywords)
11157 (octave-reserved-words, octave-smie-bnf-table)
11158 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11159
111602013-05-11 Glenn Morris <rgm@gnu.org>
11161
11162 * faces.el (internal-face-x-get-resource):
11163 * frame.el (ns-display-monitor-attributes-list):
11164 * calc/calc-aent.el (math-to-radians-2):
11165 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11166 Fix declarations.
11167
11168 * calc/calc-menu.el: Make it loadable in isolation.
11169
11170 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11171 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11172 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11173 (eudc-bbdb-query-internal): Require 'bbdb.
11174
11175 * lpr.el (lpr-headers-switches):
11176 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11177
11178 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11179
11180 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11181
11182 * term.el (term-set-escape-char): Make it idempotent.
11183
111842013-05-10 Leo Liu <sdl.web@gmail.com>
11185
11186 * progmodes/octave.el (inferior-octave-completion-table):
11187 No longer a function and all uses changed. Use cache to speed up
11188 completion due to bug#11906.
11189 (octave-beginning-of-defun): Re-write to be more general.
11190
111912013-05-10 Glenn Morris <rgm@gnu.org>
11192
11193 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11194
111952013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * comint.el (comint-redirect-send-command-to-process): Use :around
11198 rather than :override for comint-redirect-filter.
11199 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11200 Call it instead of comint-redirect-original-filter-function (which
11201 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11202
112032013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11204
11205 * frame.el (display-monitor-attributes-list): Add NS case.
11206 (ns-display-monitor-attributes-list): Declare.
11207
112082013-05-09 Ulrich Mueller <ulm@gentoo.org>
11209
11210 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11211
112122013-05-09 Glenn Morris <rgm@gnu.org>
11213
11214 * international/fontset.el (vertical-centering-font-regexp):
11215 Set standard-value.
11216
11217 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11218
11219 * bookmark.el (bookmark-search-delay):
11220 * cus-start.el (vertical-centering-font-regexp):
11221 * ps-mule.el (ps-mule-font-info-database-default):
11222 * ps-print.el (ps-default-fg, ps-default-bg):
11223 * type-break.el (type-break-good-break-interval):
11224 * whitespace.el (whitespace-indentation-regexp)
11225 (whitespace-space-after-tab-regexp):
11226 * emacs-lisp/testcover.el (testcover-1value-functions)
11227 (testcover-noreturn-functions, testcover-progn-functions)
11228 (testcover-prog1-functions):
11229 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11230 * eshell/em-glob.el (eshell-glob-translate-alist):
11231 * play/tetris.el (tetris-tty-colors):
11232 * progmodes/cpp.el (cpp-face-default-list):
11233 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11234 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11235 (idlwave-help-browser-generic-args):
11236 * progmodes/make-mode.el (makefile-special-targets-list):
11237 * progmodes/python.el (python-shell-virtualenv-path):
11238 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11239 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11240 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11241 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11242 * textmodes/reftex-vars.el (reftex-format-label-function):
11243 * textmodes/remember.el (remember-diary-file): Fix custom types.
11244
11245 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11246 Add :version.
11247
112482013-05-09 Leo Liu <sdl.web@gmail.com>
11249
11250 * progmodes/octave.el (inferior-octave-completion-at-point):
11251 Restore file completion. (Bug#14300)
11252 (inferior-octave-startup): Fix incorrect highlighting for the
11253 first prompt.
11254
112552013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * progmodes/ruby-mode.el: First cut at SMIE support.
11258 (ruby-use-smie): New var.
11259 (ruby-smie-grammar): New constant.
11260 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11261 (ruby-smie--forward-token, ruby-smie--backward-token)
11262 (ruby-smie-rules): New functions.
11263 (ruby-mode-variables): Setup SMIE if applicable.
11264
112652013-05-08 Eli Zaretskii <eliz@gnu.org>
11266
11267 * simple.el (line-move-visual): Signal beginning/end of buffer
11268 only if vertical-motion moved less than it was requested. Avoids
11269 silly incorrect error messages when there are display strings with
11270 multiple newlines at EOL.
11271
112722013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11273
11274 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11275 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11276 (prolog-char-quote-workaround):
11277 * progmodes/cperl-mode.el (cperl-under-as-char):
11278 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11279 Mark as obsolete.
11280 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11281 their declaration.
11282 (vhdl-mode-syntax-table-init): Remove.
11283
11284 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11285 last change.
11286
11287 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11288 syntax for "_".
11289 (ld-script-font-lock-keywords):
11290 Change regexps to use things like \_< and \_>.
11291
11292 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11293 Change all regexps to use things like \_< and \_>.
11294
11295 * progmodes/autoconf.el (autoconf-definition-regexp)
11296 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11297 Handle a _ with symbol syntax.
11298 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11299
11300 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11301 Consolidate declaration.
11302 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11303 the declaration.
11304 (ada-create-syntax-table): Remove.
11305 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11306 already has the right syntax nowadays.
11307 (ada-goto-next-word): Don't change the syntax of "_".
11308
11309 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11310 with-wrapper-hook.
11311
113122013-05-08 Sam Steingold <sds@gnu.org>
11313
11314 * thingatpt.el (thing-at-point): Accept optional second argument
11315 NO-PROPERTIES to strip the text properties from the return value.
11316 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11317 to `thing-at-point' instead of stripping the properties ourselves.
11318 Also, when `thing-at-point' fails to find a url, prepend "http://"
11319 to the filename at point on the assumption that the user is
11320 pointing at something like gnu.org/gnu.
11321
113222013-05-08 Juanma Barranquero <lekktu@gmail.com>
11323
11324 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11325 * faces.el (crm-separator):
11326 Silence byte-compiler.
11327
11328 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11329 (tool-bar-map): Remove unneeded defvars.
11330
113312013-05-08 Leo Liu <sdl.web@gmail.com>
11332
11333 Re-work a fix for bug#10994 based on Le Wang's patch.
11334 * ido.el (ido-remove-consecutive-dups): New helper.
11335 (ido-completing-read): Use it.
11336 (ido-chop): Revert fix for bug#10994.
11337
113382013-05-08 Adam Spiers <emacs@adamspiers.org>
11339
11340 * cus-edit.el (custom-save-variables):
11341 Pretty-print long values. (Bug#14187)
11342
113432013-05-08 Glenn Morris <rgm@gnu.org>
11344
11345 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11346 (m4-mode-syntax-table): Init in the defvar.
11347 (m4-mode-abbrev-table): Let define-derived-mode define it.
11348
113492013-05-08 Tom Tromey <tromey@redhat.com>
11350
11351 * progmodes/m4-mode.el (m4-mode-syntax-table):
11352 Do not treat "_" as word constituent. (Bug#14167)
11353
113542013-05-07 Glenn Morris <rgm@gnu.org>
11355
11356 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11357 Remove explicit eshell-isearch-cancel-map.
11358
11359 * progmodes/f90.el (f90-smart-end-names): New option.
11360 (f90-smart-end): Doc fix.
11361 (f90-end-block-optional-name): New constant.
11362 (f90-block-match): Respect f90-smart-end-names.
11363
113642013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11367 about implicit semi-colons (bug#14218).
11368
113692013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11370
11371 * frame.el (display-monitor-attributes-list)
11372 (frame-monitor-attributes): New functions.
11373
113742013-05-06 Leo Liu <sdl.web@gmail.com>
11375
11376 * progmodes/octave.el (octave-syntax-propertize-function): Change
11377 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11378 (octave-font-lock-keywords): Use octave-operator-regexp.
11379 (octave-completion-at-point): Rename from
11380 octave-completion-at-point-function.
11381 (inferior-octave-directory-tracker): Robustify.
11382 (octave-text-functions): Remove and fix its uses. No such things
11383 any more.
11384
113852013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * emacs-lisp/trace.el (trace--display-buffer): New function.
11388 (trace-make-advice): Use it.
11389
113902013-05-06 Juri Linkov <juri@jurta.org>
11391
11392 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11393 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11394 Doc fix.
11395 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11396 in the help string. (Bug#12985)
11397
113982013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11399
11400 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11401
114022013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11403
11404 * progmodes/perl-mode.el: Add support for here documents.
11405 (perl-syntax-propertize-function): Match here-doc markers.
11406 (perl-syntax-propertize-special-constructs): Find their end.
11407 (perl-imenu-generic-expression): Use [:alnum:].
11408
11409 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11410 (advice--add-function): Refresh the advice if already present
11411 (bug#14317).
11412
114132013-05-06 Ivan Andrus <darthandrus@gmail.com>
11414
11415 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11416
114172013-05-06 Glenn Morris <rgm@gnu.org>
11418
11419 * w32-fns.el (w32-charset-info-alist): Declare.
11420
11421 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11422 of its defcustom properties.
11423 (eshell-cmpl-initialize): No need to load pcomplete.
11424
11425 * generic-x.el: No need to require comint when compiling.
11426
11427 * net/eudc-export.el: Make it loadable without bbdb.
11428 (top-level): Use require rather than load-library.
11429 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11430 (eudc-batch-export-records-to-bbdb)
11431 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11432 Require bbdb.
11433
114342013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11435
11436 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11437 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11438 some tweaks, instead.
11439
114402013-05-05 Leo Liu <sdl.web@gmail.com>
11441
11442 * progmodes/octave.el (octave-font-lock-keywords)
11443 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11444 (inferior-octave-send-list-and-digest): Improve error message.
11445 (octave-mode, inferior-octave-mode): Use setq-local.
11446 (octave-help): Set info-lookup-mode.
11447
114482013-05-05 Richard Stallman <rms@gnu.org>
11449
11450 * vc/compare-w.el (compare-windows-whitespace):
11451 Treat no-break space as whitespace.
11452
11453 * mail/rmailsum.el (rmail-summary-rmail-update):
11454 Detect empty summary and don't change selected message.
11455 (rmail-summary-goto-msg): Likewise.
11456
11457 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11458 Doc fixes, rename args.
11459
114602013-05-05 Alan Mackenzie <acm@muc.de>
11461
11462 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11463
114642013-05-05 Juri Linkov <juri@jurta.org>
11465
11466 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11467 to not add the length of the summary segment to the return value.
11468 (Bug#14125)
11469
114702013-05-05 Leo Liu <sdl.web@gmail.com>
11471
11472 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11473 (inferior-octave-output-filter): Remove.
11474 (octave-send-region, inferior-octave-startup): Fix callers.
11475 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11476 (octave-binary-file-extensions): New user variable.
11477 (octave-find-definition): Confirm if opening binary files.
11478 (octave-help-file): Use octave-find-definition to get the binary
11479 confirmation.
11480 (octave-help): Adjust for octave-help-file change.
11481
114822013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11483
11484 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11485 Merge the two entries that handle function definitions.
11486 (pascal--syntax-propertize): New const.
11487 (pascal-mode): Use it. Use setq-local.
11488
114892013-05-04 Glenn Morris <rgm@gnu.org>
11490
11491 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11492 (diary-from-outlook): Respect diary-from-outlook-function.
11493
114942013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11495
11496 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11497 Move the declaration from C.
11498 (read-minibuffer, eval-minibuffer): Move from C.
11499 (completion-setup-function): Avoid minibuffer-completion-contents.
11500
115012013-05-03 Leo Liu <sdl.web@gmail.com>
11502
11503 * progmodes/octave.el (octave-font-lock-keywords): Do not
11504 dehighlight 'end' in comments or strings.
11505 (octave-completing-read, octave-goto-function-definition):
11506 New helpers.
11507 (octave-help-buffer): New user variable.
11508 (octave-help-file, octave-help-function): New button types.
11509 (octave-help): New command and bind it to C-h ;.
11510 (octave-find-definition): New command and bind it to M-.
11511 (user-error): Alias to error if not defined.
11512
115132013-05-02 Leo Liu <sdl.web@gmail.com>
11514
11515 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11516 for \. (bug#14332)
11517 (octave-font-lock-keywords): Include [ and {.
11518
115192013-05-02 Leo Liu <sdl.web@gmail.com>
11520
11521 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11522 (inferior-octave): Remove calling comint-mode and return the buffer.
11523 (inferior-octave-startup): Cosmetic changes.
11524
115252013-05-02 Leo Liu <sdl.web@gmail.com>
11526
11527 * progmodes/octave.el (octave-syntax-propertize-function):
11528 Include the case when ' is at line beginning. (Bug#14336)
11529
115302013-05-02 Glenn Morris <rgm@gnu.org>
11531
11532 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11533 * desktop.el (vc-dir-mode): Just autoload it here.
11534
115352013-05-02 Alan Mackenzie <acm@muc.de>
11536
11537 Eliminate variable c-standard-font-lock-fontify-region-function.
11538 * progmodes/cc-mode.el
11539 (c-standard-font-lock-fontify-region-function): Remove.
11540 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11541
115422013-05-01 Leo Liu <sdl.web@gmail.com>
11543
11544 * progmodes/octave.el: Compatible with older emacs-24 releases.
11545 (inferior-octave-has-built-in-variables): Remove. Built-in
11546 variables were removed from Octave in 2007.
11547 (inferior-octave-startup): Fix uses.
11548 (comint-line-beginning-position): Remove compatibility code for
11549 emacs 21.
11550
115512013-05-01 Juri Linkov <juri@jurta.org>
11552
11553 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11554
115552013-05-01 Juri Linkov <juri@jurta.org>
11556
11557 * comint.el (comint-previous-matching-input): Don't print message
11558 "History item: %d" when `isearch-mode' is active.
11559 (comint-history-isearch-message): Print message "History item: %d"
11560 when `comint-input-ring-index' is not empty and this function is
11561 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11562
115632013-05-01 Leo Liu <sdl.web@gmail.com>
11564
11565 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11566 definitions. Use completion-at-point to insert keywords.
11567 (octave-abbrev-start): Remove.
11568 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11569
115702013-04-30 Leo Liu <sdl.web@gmail.com>
11571
11572 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11573 change.
11574
115752013-04-30 Alan Mackenzie <acm@muc.de>
11576
11577 Handle arbitrarily long C++ member initialisation lists.
11578 * progmodes/cc-engine.el (c-back-over-member-initializers):
11579 new function.
11580 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11581 (most) member init lists.
11582
115832013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11584
11585 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11586 variable.
11587
115882013-04-30 Leo Liu <sdl.web@gmail.com>
11589
11590 * progmodes/octave.el (octave-variables): Remove. No builtin
11591 variables any more. All converted to functions.
11592 (octave-font-lock-keywords, octave-completion-at-point-function):
11593 Fix uses.
11594 (octave-font-lock-texinfo-comment): New user variable.
11595 (octave-texinfo-font-lock-keywords): New variable for texinfo
11596 comment block.
11597 (octave-function-comment-block): New face.
11598 (octave-font-lock-texinfo-comment): New function.
11599 (octave-mode): Font lock texinfo comment block.
11600
116012013-04-29 Leo Liu <sdl.web@gmail.com>
11602
11603 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11604 indexing expression.
11605 (octave-continuation-string): Do not use \.
11606 (inferior-octave-complete-impossible): Remove.
11607 (inferior-octave-completion-table)
11608 (inferior-octave-completion-at-point): Remove its uses.
11609 (inferior-octave-startup): completion_matches was introduced to
11610 Octave in 1996 so safe to assume it.
11611 (octave-function-file-comment): Improve to follow how Octave does it.
11612 (octave-update-function-file-comment): Tweak.
11613
116142013-04-29 Leo Liu <sdl.web@gmail.com>
11615
11616 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11617 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11618 (octave-function-file-comment): Fix typo.
11619 (octave-sync-function-file-names): Use read-char-choice.
11620
116212013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11622
11623 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11624 to t for the less important warnings.
11625
116262013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11627
11628 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11629
116302013-04-27 Glenn Morris <rgm@gnu.org>
11631
11632 * vc/log-view.el (log-view-current-entry):
11633 Treat "---" separator lines as part of the following rev. (Bug#14169)
11634
116352013-04-27 Juri Linkov <juri@jurta.org>
11636
11637 * subr.el (read-number): Doc fix about using it by interactive
11638 code letter `n'. (Bug#14254)
11639
116402013-04-27 Juri Linkov <juri@jurta.org>
11641
11642 * desktop.el (desktop-auto-save-timeout): New option.
11643 (desktop-file-checksum): New variable.
11644 (desktop-save): Add optional arg `auto-save' and don't auto-save
11645 if nothing changed.
11646 (desktop-auto-save-timer): New variable.
11647 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11648 (after-init-hook): Call `desktop-auto-save-set-timer'.
11649 Suggested by Reuben Thomas <rrt@sc3d.org> in
11650 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11651
116522013-04-27 Leo Liu <sdl.web@gmail.com>
11653
11654 * progmodes/octave.el (octave-function-file-p)
11655 (octave-skip-comment-forward, octave-function-file-comment)
11656 (octave-update-function-file-comment): New functions.
11657 (octave-mode-map): Bind C-c ; to
11658 octave-update-function-file-comment.
11659 (octave-mode-menu): Add octave-update-function-file-comment.
11660 (octave-mode, inferior-octave-mode): Fix doc-string.
11661 (octave-insert-defun): Conform to Octave's coding convention.
11662 (Bug#14285)
11663
11664 * files.el (basic-save-buffer): Don't let errors in
11665 before-save-hook prevent saving buffer.
11666
116672013-04-20 Roland Winkler <winkler@gnu.org>
11668
11669 * faces.el (read-face-name): Use completing-read if arg multiple
11670 is nil.
11671
116722013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11673
11674 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11675 displayed, move point to after the totals line.
11676 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11677 for the details.
11678
116792013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11682 Add current dir to the load-path.
11683 (package-generate-autoloads): Don't rely on
11684 autoload-ensure-default-file.
11685
116862013-04-26 Reuben Thomas <rrt@sc3d.org>
11687
11688 * textmodes/remember.el (remember-store-in-files): Document that
11689 the file name format is passed to `format-time-string'.
11690
116912013-04-26 Leo Liu <sdl.web@gmail.com>
11692
11693 * progmodes/octave.el (octave-sync-function-file-names): New function.
11694 (octave-mode): Use it in before-save-hook.
11695
116962013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11699 (bug#14274).
11700
11701 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11702 \n and comment, even if it's not an implicit ; (bug#14218).
11703
117042013-04-26 Glenn Morris <rgm@gnu.org>
11705
11706 * subr.el (read-number): Once more use `read' rather than
11707 `string-to-number', to trap non-numeric input. (Bug#14254)
11708
117092013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11710
11711 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11712 Use `syntax-multiline' text property consistently instead of
11713 `font-lock-multiline'. (Bug#14237)
11714
117152013-04-26 Glenn Morris <rgm@gnu.org>
11716
11717 * emacs-lisp/shadow.el (list-load-path-shadows):
11718 No longer necessary to check for duplicate simple.el, since
11719 2012-07-07 change to init_lread to not include installation lisp
11720 directories in load-path when running uninstalled. (Bug#14270)
11721
117222013-04-26 Leo Liu <sdl.web@gmail.com>
11723
11724 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11725 (octave-mode, inferior-octave-mode): Use setq-local.
11726 (octave-not-in-string-or-comment-p): Rename to
11727 octave-in-string-or-comment-p.
11728 (octave-in-comment-p, octave-in-string-p)
11729 (octave-in-string-or-comment-p): Replace defsubst with defun.
11730
117312013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11732
11733 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11734
117352013-04-25 Bastien Guerry <bzg@gnu.org>
11736
11737 * textmodes/remember.el (remember-data-directory)
11738 (remember-directory-file-name-format): Fix custom types.
11739
117402013-04-25 Leo Liu <sdl.web@gmail.com>
11741
11742 * progmodes/octave.el (octave-completion-at-point-function):
11743 Make use of inferior octave process.
11744 (octave-initialize-completions): Remove.
11745 (inferior-octave-completion-table): New function.
11746 (inferior-octave-completion-at-point): Use it.
11747 (octave-completion-alist): Remove.
11748
117492013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11750
11751 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11752 (opascal-mode-syntax-table): New var.
11753 (opascal-literal-kind, opascal-is-literal-end)
11754 (opascal-literal-token-at): Rewrite.
11755 (opascal--literal-start-re, opascal-font-lock-keywords)
11756 (opascal--syntax-propertize): New constants.
11757 (opascal-font-lock-defaults): Adjust.
11758 (opascal-mode): Use them. Set comment-<foo> variables as well.
11759 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11760 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11761 (delphi-other-face, opascal-other-face): Remove face variables.
11762 (opascal-save-state): Remove macro.
11763 (opascal-fontifying-progress-step): Remove constant.
11764 (opascal--ignore-changes): Remove var.
11765 (opascal-set-token-property, opascal-parse-next-literal)
11766 (opascal-is-stable-literal, opascal-complete-literal)
11767 (opascal-is-literal-start, opascal-face-of)
11768 (opascal-parse-region, opascal-parse-region-until-stable)
11769 (opascal-fontify-region, opascal-after-change)
11770 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11771 (opascal-debug-parse-region, opascal-debug-parse-window)
11772 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11773 (opascal-debug-fontify-buffer): Remove.
11774 (opascal-debug-mode-map): Adjust accordingly.
11775
117762013-04-25 Leo Liu <sdl.web@gmail.com>
11777
11778 Merge octave-mod.el and octave-inf.el into octave.el with some
11779 cleanups.
11780 * progmodes/octave.el: New file renamed from octave-mod.el.
11781 * progmodes/octave-inf.el: Merged into octave.el.
11782 * progmodes/octave-mod.el: Renamed to octave.el.
11783
117842013-04-25 Tassilo Horn <tsdh@gnu.org>
11785
11786 * textmodes/reftex-vars.el
11787 (reftex-label-ignored-macros-and-environments): New defcustom.
11788
11789 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11790
117912013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11794 (smie-indent-keyword): Improve the check to ensure that the next
11795 comment is really on the same line.
11796 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11797
11798 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11799 semi-colons if the line is not otherwise empty (bug#14218).
11800
118012013-04-25 Glenn Morris <rgm@gnu.org>
11802
11803 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11804
118052013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * progmodes/opascal.el (opascal-set-token-property): Rename from
11808 opascal-set-text-properties and only set `token' (bug#14134).
11809 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11810 (opascal-literal-text-properties): Remove.
11811 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11812 Adjust callers.
11813
118142013-04-24 Reuben Thomas <rrt@sc3d.org>
11815
11816 * textmodes/remember.el (remember-handler-functions): Add an
11817 option for a new handler `remember-store-in-files'.
11818 (remember-data-directory, remember-directory-file-name-format):
11819 New options.
11820 (remember-store-in-files): New function to store remember notes
11821 as separate files within a directory.
11822
118232013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11824
11825 * progmodes/compile.el (compilation-next-error-function):
11826 Pass "formats" to compilation-find-file (bug#11777).
11827
118282013-04-24 Glenn Morris <rgm@gnu.org>
11829
11830 * vc/vc-bzr.el (vc-bzr-print-log):
11831 * vc/vc-hg.el (vc-hg-print-log):
11832 * vc/vc-svn.el (vc-svn-print-log):
11833 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11834
11835 * vc/vc-bzr.el (vc-bzr-print-log):
11836 * vc/vc-cvs.el (vc-cvs-print-log):
11837 * vc/vc-git.el (vc-git-print-log):
11838 * vc/vc-hg.el (vc-hg-print-log):
11839 * vc/vc-mtn.el (vc-mtn-print-log):
11840 * vc/vc-rcs.el (vc-rcs-print-log):
11841 * vc/vc-sccs.el (vc-sccs-print-log):
11842 * vc/vc-svn.el (vc-svn-print-log):
11843 * vc/vc.el (vc-print-log-internal): Doc fixes.
11844
118452013-04-23 Glenn Morris <rgm@gnu.org>
11846
11847 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11848 Remove venerable code attempting to avoid substitute-command-keys.
11849
118502013-04-23 Tassilo Horn <tsdh@gnu.org>
11851
11852 * textmodes/reftex-vars.el (reftex-label-regexps):
11853 Call `reftex-compile-variables' after changes to this variable.
11854
118552013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11858 Use lexical-binding.
11859 (jit-lock-force-redisplay): Use markers, check buffer's continued
11860 existence and beware narrowed buffers.
11861 (jit-lock-fontify-now): Adjust call accordingly.
11862
118632013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11866 to avoid misleading the user.
11867
118682013-04-22 Leo Liu <sdl.web@gmail.com>
11869
11870 * info-look.el: Prefer latex2e.info. (Bug#14240)
11871
118722013-04-22 Michael Albinus <michael.albinus@gmx.de>
11873
11874 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11875
11876 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11877 * net/tramp.el (tramp-call-process): ... here.
11878 (tramp-set-completion-function, tramp-parse-putty):
11879 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11880 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11881 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11882 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11883 (tramp-call-local-coding-command): Use `tramp-call-process'
11884 instead of `tramp-compat-call-process'.
11885
11886 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11887 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11888 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11889 (tramp-find-inline-compress): Improve traces.
11890 (tramp-maybe-send-script): Check for Perl binary.
11891 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11892
118932013-04-22 Daiki Ueno <ueno@gnu.org>
11894
11895 * epg.el (epg-context-pinentry-mode): New function.
11896 (epg-context-set-pinentry-mode): New function.
11897 (epg--start): Pass --pinentry-mode option to gpg command.
11898
118992013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11900
11901 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11902 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11903 `completion-at-point'. (Bug#13774)
11904
11905 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11906 default key binding for `describe-distribution' has been moved to
11907 `C-h C-o'. (Bug#13970)
11908
119092013-04-21 Glenn Morris <rgm@gnu.org>
11910
11911 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11912 Add doc strings.
11913 (vc-print-log): Clarify interactive prompt.
11914
119152013-04-20 Glenn Morris <rgm@gnu.org>
11916
11917 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11918 No longer include timestamp etc information.
11919
119202013-04-20 Roland Winkler <winkler@gnu.org>
11921
11922 * faces.el (read-face-name): Bug fix, return just one face if arg
11923 multiple is nil. (Bug#14209)
11924
119252013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11926
11927 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11928 (remove-function): Autoload.
11929
11930 * comint.el (comint-redirect-original-filter-function): Remove.
11931 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11932 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11933 (vc-cvs-annotate-command):
11934 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11935 * progmodes/prolog.el (prolog-consult-compile):
11936 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11937 Use add/remove-function instead.
11938 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11939 (gud-tooltip-process-output, gud-tooltip-tips):
11940 Use add/remove-function instead.
11941 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11942 (scheme-interaction-mode, exit-scheme-interaction-mode):
11943 Use add/remove-function instead.
11944
11945 * vc/vc-dispatcher.el: Use lexical-binding.
11946 (vc--process-sentinel): Rename from vc-process-sentinel.
11947 Change last arg to be the code to run. Don't use vc-previous-sentinel
11948 and vc-sentinel-commands any more.
11949 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11950 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11951
119522013-04-19 Masatake YAMATO <yamato@redhat.com>
11953
11954 * progmodes/sh-script.el (sh-imenu-generic-expression):
11955 Handle function names with a single character. (Bug#14111)
11956
119572013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11958
11959 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11960 for subroutines defined in an eval (bug#14182).
11961
119622013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11963
11964 * bookmark.el (bookmark-completing-read): Improve handling of empty
11965 string (bug#14176).
11966
119672013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11968
11969 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11970
119712013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11972
11973 New faster Imenu implementation (bug#14058).
11974 * progmodes/python.el:
11975 (python-imenu-prev-index-position):
11976 (python-imenu-format-item-label-function)
11977 (python-imenu-format-parent-item-label-function)
11978 (python-imenu-format-parent-item-jump-label-function):
11979 New vars.
11980 (python-imenu-format-item-label)
11981 (python-imenu-format-parent-item-label)
11982 (python-imenu-format-parent-item-jump-label)
11983 (python-imenu--put-parent, python-imenu--build-tree)
11984 (python-imenu-create-index, python-imenu-create-flat-index)
11985 (python-util-popn): New functions.
11986 (python-mode): Set imenu-create-index-function to
11987 python-imenu-create-index.
11988
119892013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * winner.el (winner-active-region): Use region-active-p, activate-mark
11992 and deactivate-mark (bug#14225).
11993
11994 * simple.el (deactivate-mark): Don't inline it.
11995
119962013-04-18 Michael Albinus <michael.albinus@gmx.de>
11997
11998 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11999
120002013-04-18 Tassilo Horn <tsdh@gnu.org>
12001
12002 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12003 file extensions from the archive-mode entry in order to prefer
12004 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12005
120062013-04-18 Leo Liu <sdl.web@gmail.com>
12007
12008 * bindings.el (help-event-list): Add ?\?.
12009
120102013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * subr.el (with-wrapper-hook): Declare obsolete.
12013 * simple.el (filter-buffer-substring-function): New hook.
12014 (filter-buffer-substring): Use it.
12015 (filter-buffer-substring-functions): Mark obsolete.
12016 * minibuffer.el (completion-in-region-function): New hook.
12017 (completion-in-region): Use it.
12018 (completion-in-region-functions): Mark obsolete.
12019 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12020 * abbrev.el (abbrev-expand-function): New hook.
12021 (expand-abbrev): Use it.
12022 (abbrev-expand-functions): Mark obsolete.
12023 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12024 and :filter-return.
12025
120262013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12027
12028 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12029 and do not care about match data.
12030
120312013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12034 completion tables when completing error conditions and
12035 `declare' arguments.
12036 (lisp-complete-symbol, field-complete): Mark as obsolete.
12037 (check-parens): Unmatched parens are user errors.
12038 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12039
120402013-04-17 Michal Nazarewicz <mina86@mina86.com>
12041
12042 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12043 command changed buffer (ie. `flyspell-pre-buffer' is not current
12044 buffer), which prevents making decisions based on invalid value of
12045 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12046 cause an error when `flyspell-pre-point' was nil after switching
12047 buffers.
12048 (flyspell-post-command-hook): No longer needs to change buffers when
12049 checking pre-word. While at it remove unnecessary progn.
12050
120512013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12052
12053 * textmodes/ispell.el (ispell-add-per-file-word-list):
12054 Fix `flyspell-correct-word-before-point' error when accepting
12055 words and `coment-padding' is an integer by using
12056 `comment-normalize-vars' (Bug #14214).
12057
120582013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12059
12060 New defun movement commands.
12061 * progmodes/python.el (python-nav--syntactically)
12062 (python-nav--forward-defun, python-nav-backward-defun)
12063 (python-nav-forward-defun): New functions.
12064
120652013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12066
12067 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12068 (python-syntax-context): Use named compiler-macro for backwards
12069 compatibility with Emacs 24.x.
12070
120712013-04-17 Leo Liu <sdl.web@gmail.com>
12072
12073 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12074 octave-hide-process-buffer.
12075
120762013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12079 (bug#14216).
12080
120812013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12082
12083 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12084 Fix adjustment of offset when receiving incomplete responses from GDB
12085 (bug#14129).
12086
120872013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12090 python-mode-abbrev-table.
12091 (python-skeleton-define): Adjust accordingly.
12092 (python-mode-abbrev-table): New table that inherits from it so that
12093 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12094
12095 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12096 (abbrev-symbol): Use it.
12097 (abbrev--before-point): Use it since we already handle inheritance.
12098
120992013-04-16 Leo Liu <sdl.web@gmail.com>
12100
12101 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12102 binding to info-lookup-symbol.
12103
121042013-04-16 Juanma Barranquero <lekktu@gmail.com>
12105
12106 * minibuffer.el (completion--twq-all):
12107 * term/ns-win.el (ns-initialize-window-system):
12108 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12109
121102013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12113 global bindings.
12114
12115 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12116
121172013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12118
12119 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12120 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12121 to nil.
12122 (ruby-end-of-defun): Remove the unused arg, change the docstring
12123 to reflect that this function is only used as the value of
12124 `end-of-defun-function'.
12125 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12126 to reflect an earlier change that beginning/end-of-defun functions
12127 jump between methods in a class definition, as well as top-level
12128 functions.
12129
121302013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * minibuffer.el (minibuffer-complete): Don't just scroll
12133 a *Completions* that's been iconified.
12134 (minibuffer-force-complete): Make sure repetitions do cycle when going
12135 through completion-in-region -> minibuffer-complete.
12136
121372013-04-15 Alan Mackenzie <acm@muc.de>
12138
12139 Correct the placement of c-cpp-delimiters when there're #s not at
12140 col 0.
12141
12142 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12143 place a submatch around the #.
12144 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12145 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12146 on the #, not BOL.
12147
121482013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12151 (advice--member-p): New arg `name'.
12152 (advice--add-function, advice-member-p): Use it (bug#14202).
12153
121542013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12155
12156 Reformulate java imenu-generic-expression.
12157 The old expression contained ill formed regexps.
12158
12159 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12160 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12161 (cc-imenu-java-method-arg-regexp): New defconsts.
12162 (cc-imenu-java-build-type-args-regex): New defun.
12163 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12164 handling of spaces in the regexp.
12165
121662013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12167
12168 * textmodes/ispell.el (ispell-command-loop): Remove
12169 flyspell highlight of a word when ispell accepts it (bug #14178).
12170
121712013-04-15 Michael Albinus <michael.albinus@gmx.de>
12172
12173 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12174 uses code from the previous `ange-ftp-run-real-handler'.
12175 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12176 only in case that function exist. This is needed for proper
12177 unloading of Tramp.
12178
121792013-04-15 Tassilo Horn <tsdh@gnu.org>
12180
12181 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12182
12183 * textmodes/reftex.el (reftex-compile-variables): Use it.
12184
121852013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12186
12187 * files.el (normal-mode): Only use default major-mode if no other mode
12188 was specified.
12189
12190 * emacs-lisp/trace.el (trace-values): New function.
12191
12192 * files.el: Allow : in local variables (bug#14089).
12193 (hack-local-variable-regexp): New var.
12194 (hack-local-variables-prop-line, hack-local-variables): Use it.
12195
121962013-04-13 Roland Winkler <winkler@gnu.org>
12197
12198 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12199 data before it gets modified by bibtex-beginning-of-entry.
12200
122012013-04-13 Roland Winkler <winkler@gnu.org>
12202
12203 * textmodes/bibtex.el (bibtex-url): Doc fix.
12204
122052013-04-13 Roland Winkler <winkler@gnu.org>
12206
12207 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12208 does not visit a BibTeX file, exclude it from the list of buffers
12209 returned by bibtex-initialize.
12210
122112013-04-13 Stephen Berman <stephen.berman@gmx.net>
12212
12213 * window.el (split-window): Remove interactive form, since as a
12214 command this function is a special case of split-window-below.
12215 Correct doc string.
12216
122172013-04-12 Roland Winkler <winkler@gnu.org>
12218
12219 * faces.el (read-face-name): Do not override value of arg default.
12220 Allow single faces and strings as default values. Remove those
12221 elements from return value that are not faces.
12222 (describe-face): Simplify.
12223 (face-at-point): New optional args thing and multiple so that this
12224 function can provide the same functionality previously provided by
12225 read-face-name.
12226 (make-face-bold, make-face-unbold, make-face-italic)
12227 (make-face-unitalic, make-face-bold-italic, invert-face)
12228 (modify-face, read-face-and-attribute): Use face-at-point.
12229
12230 * cus-edit.el (customize-face, customize-face-other-window)
12231 * cus-theme.el (custom-theme-add-face)
12232 * face-remap.el (buffer-face-set)
12233 * facemenu.el (facemenu-set-face): Use face-at-point.
12234
122352013-04-12 Michael Albinus <michael.albinus@gmx.de>
12236
12237 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12238
122392013-04-10 Tassilo Horn <tsdh@gnu.org>
12240
12241 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12242 off leading { and trailing } from field values.
12243
122442013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12245
12246 * emacs-lisp/timer.el (timer--check): New function.
12247 (timer--time, timer-set-function, timer-event-handler): Use it.
12248 (timer-set-idle-time): Simplify.
12249 (timer--activate): CSE.
12250 (timer-event-handler): Give more info in error message.
12251 (internal-timer-start-idle): New function, moved from C.
12252
12253 * mpc.el (mpc-proc): Add `restart' argument.
12254 (mpc-proc-cmd): Use it.
12255 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12256 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12257 less often.
12258
122592013-04-10 Masatake YAMATO <yamato@redhat.com>
12260
12261 * progmodes/sh-script.el: Implement `sh-mode' own
12262 `add-log-current-defun-function' (bug#14112).
12263 (sh-current-defun-name): New function.
12264 (sh-mode): Use the function.
12265
122662013-04-09 Bastien Guerry <bzg@gnu.org>
12267
12268 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12269
122702013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12273
12274 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12275 timer (bug#14156).
12276
122772013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12278
12279 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12280 declaration.
12281
122822013-04-07 Leo Liu <sdl.web@gmail.com>
12283
12284 * pcmpl-x.el: New file.
12285
122862013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12287
12288 Do not set x-display-name until X connection is established.
12289 This is needed to prevent from weird situation described at
12290 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12291 * frame.el (make-frame): Set x-display-name after call to
12292 window system initialization function, not before.
12293 * term/x-win.el (x-initialize-window-system): Add optional
12294 display argument and use it.
12295 * term/w32-win.el (w32-initialize-window-system):
12296 * term/ns-win.el (ns-initialize-window-system):
12297 * term/pc-win.el (msdos-initialize-window-system):
12298 Add compatible optional display argument.
12299
123002013-04-06 Eli Zaretskii <eliz@gnu.org>
12301
12302 * files.el (normal-backup-enable-predicate): On MS-Windows and
12303 MS-DOS compare truenames of temporary-file-directory and of the
12304 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12305 don't fail comparison by compare-strings. Also, compare file
12306 names case-insensitively on MS-Windows and MS-DOS.
12307
123082013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12311 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12312
123132013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12314
12315 * whitespace.el (whitespace-color-on, whitespace-color-off):
12316 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12317
123182013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12319
12320 * ispell.el (ispell-set-spellchecker-params):
12321 Really set `ispell-args' for all equivs.
12322
123232013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * ido.el (ido-completions): Use extra elements of ido-decorations
12326 (bug#14143).
12327 (ido-decorations): Update docstring.
12328
123292013-04-05 Michael Albinus <michael.albinus@gmx.de>
12330
12331 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12332 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12333 nil during initialization, in order not to miss changes since the
12334 file was opened. (Bug#14140)
12335
123362013-04-05 Leo Liu <sdl.web@gmail.com>
12337
12338 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12339
123402013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12341
12342 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12343
123442013-04-04 Glenn Morris <rgm@gnu.org>
12345
12346 * electric.el (electric-pair-inhibit-predicate): Add :version.
12347
123482013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12349
12350 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12351 when a package is required several times (bug#14082).
12352
123532013-04-04 Roland Winkler <winkler@gnu.org>
12354
12355 * faces.el (read-face-name): Behave as promised by the docstring.
12356 Assume that arg default is a list of faces.
12357 (describe-face): Call read-face-name with list of default faces.
12358
123592013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12360
12361 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12362 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12363 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12364 the header.
12365 (bookmark-exit-hook-internal): Save even if list is empty.
12366
123672013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12368
12369 * emacs-lisp/package.el (package-pinned-packages): New var.
12370 (package--add-to-archive-contents): Obey it (bug#14118).
12371
123722013-04-03 Alan Mackenzie <acm@muc.de>
12373
12374 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12375 Also adapt to the new values of element 7 of a parse state.
12376
12377 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12378 parameter `not-in-delimiter'. Handle being inside comment opener.
12379 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12380 character in case we're typing a '*' after a '/'.
12381 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12382 instead by passing the parameter to c-state-pp-to-literal.
12383
12384 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12385 for elt. 7 of a parse state.
12386
123872013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12388
12389 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12390 * international/latin1-disp.el, international/mule-util.el:
12391 * language/cyril-util.el, language/european.el, language/ind-util.el:
12392 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12393 * language/tibetan.el, language/viet-util.el:
12394 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12395
123962013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12397
12398 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12399 (electric-pair-post-self-insert-function): Use it.
12400 (electric-pair-default-inhibit): New function, extracted from
12401 electric-pair-post-self-insert-function.
12402
124032013-03-31 Roland Winkler <winkler@gnu.org>
12404
12405 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12406
124072013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12408
12409 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12410
124112013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12412
12413 Un-indent after "pass" and "return" statements (Bug#13888)
12414 * progmodes/python.el (python-indent-block-enders): New var.
12415 (python-indent-calculate-indentation): Use it.
12416
124172013-03-30 Michael Albinus <michael.albinus@gmx.de>
12418
12419 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12420 defun. Defining it as defalias could introduce too eager
12421 byte-compiler optimization. (Bug#14030)
12422
124232013-03-30 Chong Yidong <cyd@gnu.org>
12424
12425 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12426
124272013-03-30 Leo Liu <sdl.web@gmail.com>
12428
12429 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12430 (kmacro-execute-from-register): Pass the keyboard macro to
12431 kmacro-call-macro or repeating won't work correctly.
12432
124332013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12434
12435 * progmodes/subword.el: Back to using `forward-symbol'.
12436
12437 * subr.el (forward-whitespace, forward-symbol)
12438 (forward-same-syntax): Move from thingatpt.el.
12439
124402013-03-29 Leo Liu <sdl.web@gmail.com>
12441
12442 * kmacro.el (kmacro-to-register): New command.
12443 (kmacro-execute-from-register): New function.
12444 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12445
124462013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12447
12448 * mpc.el: Use defvar-local and setq-local.
12449 (mpc--proc-connect): Connection failures are not bugs.
12450 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12451 (mpc-volume-map): Bind to the up-events.
12452
124532013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12454
12455 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12456 instead of `forward-symbol'.
12457
124582013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12461 (edebug--recursive-edit): Use it.
12462 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12463 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12464
124652013-03-28 Leo Liu <sdl.web@gmail.com>
12466
12467 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12468
124692013-03-27 Eli Zaretskii <eliz@gnu.org>
12470
12471 * facemenu.el (list-colors-callback): New defvar.
12472 (list-colors-redisplay): New function.
12473 (list-colors-display): Install list-colors-redisplay as the
12474 revert-buffer-function. (Bug#14063)
12475
124762013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12479 and suffixes don't overlap (bug#14061).
12480
12481 * case-table.el: Use lexical-binding.
12482 (case-table-get-table): New function.
12483 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12484
124852013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12486
12487 * progmodes/subword.el: Add `superword-mode' to do word motion
12488 over symbol_words (parallels and leverages `subword-mode' which
12489 does word motion inside MixedCaseWords).
12490
124912013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12492
12493 * eshell/em-unix.el: Move su and sudo to...
12494 * eshell/em-tramp.el: ...Eshell tramp module.
12495
124962013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12499 Change return value to be a sexp. Delay `get-buffer' to after
12500 restoring the desktop (bug#13951).
12501
125022013-03-26 Leo Liu <sdl.web@gmail.com>
12503
12504 * register.el: Move semantic tag handling back to
12505 cedet/semantic/senator.el. (Bug#14052)
12506
125072013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12510 into the prompt either (bug#13963).
12511
125122013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12515 part of "(error-foo)".
12516
125172013-03-24 Juri Linkov <juri@jurta.org>
12518
12519 * replace.el (list-matching-lines-prefix-face): New defcustom.
12520 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12521 `occur-engine' if `face-differs-from-default-p' returns t.
12522 (occur-engine): Add `,' inside backquote construct to evaluate
12523 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12524 Pass `prefix-face' to the functions `occur-context-lines' and
12525 `occur-engine-add-prefix'.
12526 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12527 `prefix-face' and propertize the prefix with `prefix-face'.
12528 (Bug#14017)
12529
125302013-03-24 Leo Liu <sdl.web@gmail.com>
12531
12532 * nxml/rng-valid.el (rng-validate-while-idle)
12533 (rng-validate-quick-while-idle): Guard against deleted buffer.
12534 (Bug#13999)
12535
12536 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12537 is the last entry in kill-buffer-hook.
12538
12539 * files.el (kill-buffer-hook): Doc fix.
12540
125412013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12542
12543 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12544 Make it safe-local.
12545
12546 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12547
125482013-03-23 Leo Liu <sdl.web@gmail.com>
12549
12550 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12551 Remove.
12552
12553 * nxml/rng-valid.el (rng-validate-mode)
12554 (rng-after-change-function, rng-do-some-validation):
12555 * nxml/rng-maint.el (rng-validate-buffer):
12556 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12557 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12558 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12559 (nxml-extend-after-change-region): Use with-silent-modifications.
12560
12561 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12562 timer-idle-list.
12563
12564 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12565 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12566 timer-idle-list. (Bug#13999)
12567
125682013-03-23 Juri Linkov <juri@jurta.org>
12569
12570 * info.el (info-index-match): New face.
12571 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12572 main pattern and add text properties with the new face to matches
12573 in index entries relative to the beginning of the index entry.
12574 (Bug#14015)
12575
125762013-03-21 Eric Ludlam <zappo@gnu.org>
12577
12578 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12579 Inhibit read only while inserting objects.
12580
125812013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12582
12583 * progmodes/cfengine.el: Update docs to mention
12584 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12585 symbol motion. Remove "_" from the word syntax.
12586
125872013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12588
12589 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12590 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12591
125922013-03-20 Juri Linkov <juri@jurta.org>
12593
12594 * info.el (Info-next-reference-or-link)
12595 (Info-prev-reference-or-link): New functions.
12596 (Info-next-reference, Info-prev-reference): Use them.
12597 (Info-try-follow-nearest-node): Handle footnote navigation.
12598 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12599
126002013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12603 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12604
126052013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12606
12607 Suppress unnecessary non-ASCII chatter during build process.
12608 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12609 (batch-skkdic-convert): Suppress most of the chatter.
12610 It's not needed so much now that machines are faster,
12611 and its non-ASCII component was confusing; see Dmitry Gutov in
12612 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12613
126142013-03-20 Leo Liu <sdl.web@gmail.com>
12615
12616 * ido.el (ido-chop): Fix bug#10994.
12617
126182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12619
12620 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12621 Remove vars.
12622 (whitespace-color-on, whitespace-color-off):
12623 Use `font-lock-fontify-buffer' (Bug#13817).
12624
126252013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12628 remapping in mode-line.
12629 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12630
126312013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12632
12633 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12634 value for `whitespace-line' face (Bug#13875).
12635 (whitespace-font-lock-keywords): Change description.
12636 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12637 the constructed keywords instead.
12638 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12639
126402013-03-19 Leo Liu <sdl.web@gmail.com>
12641
12642 * progmodes/compile.el (compilation-display-error): New command.
12643 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12644 C-o. (Bug#13992)
12645
126462013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12647
12648 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12649
126502013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12651
12652 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12653
126542013-03-18 Michael Albinus <michael.albinus@gmx.de>
12655
12656 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12657
12658 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12659 * net/tramp-gvfs.el (top):
12660 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12661 (tramp-handle-shell-command): Use it.
12662 (tramp-dissect-file-name): Raise an error when hostname is a
12663 method name, and neither method nor user is specified.
12664
12665 * net/trampver.el: Update release number.
12666
126672013-03-18 Leo Liu <sdl.web@gmail.com>
12668
12669 Make sure eldoc can be turned off properly.
12670 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12671 eldoc-mode.
12672 (eldoc-display-message-p): Revert last change.
12673 (eldoc-display-message-no-interference-p)
12674 (eldoc-print-current-symbol-info): Tweak.
12675
126762013-03-18 Tassilo Horn <tsdh@gnu.org>
12677
12678 * doc-view.el (doc-view-new-window-function): Check the new window
12679 overlay's display property instead the char property of the
12680 buffer's first char. Use `with-selected-window' instead of
12681 `save-window-excursion' with `select-window'.
12682 (doc-view-document->bitmap): Check the current doc-view overlay's
12683 display property instead the char property of the buffer's first char.
12684
126852013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12686
12687 Automate the build of ja-dic.el (Bug#13984).
12688 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12689 from the input, rather than assume that it's been done for us by the
12690 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12691 the current date into a ja-dic.el comment, as that complicates
12692 regression testing.
12693
126942013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * whitespace.el: Fix double evaluation.
12697 (whitespace-space, whitespace-hspace, whitespace-tab)
12698 (whitespace-newline, whitespace-trailing, whitespace-line)
12699 (whitespace-space-before-tab, whitespace-indentation)
12700 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12701 obsolete defvars.
12702 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12703 (whitespace-color-on): Use a single font-lock-add-keywords call.
12704 Fix double-evaluation of face variables.
12705
127062013-03-17 Michael Albinus <michael.albinus@gmx.de>
12707
12708 * net/tramp-adb.el (tramp-adb-parse-device-names):
12709 Use `start-process' instead of `call-process'. Otherwise, the
12710 function might be blocked under MS Windows. (Bug#13299)
12711
127122013-03-17 Leo Liu <sdl.web@gmail.com>
12713
12714 Extend eldoc to display info in the mode-line. (Bug#13978)
12715 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12716 (eldoc-mode-line-string): New variable.
12717 (eldoc-minibuffer-message): New function.
12718 (eldoc-message-function): New variable.
12719 (eldoc-message): Use it.
12720 (eldoc-display-message-p)
12721 (eldoc-display-message-no-interference-p):
12722 Support eldoc-post-insert-mode.
12723
12724 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12725 (eval-expression): Run it.
12726
127272013-03-17 Roland Winkler <winkler@gnu.org>
12728
12729 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12730 strings in the list of return values.
12731
127322013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12733
12734 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12735 radix before checking for HMS forms.
12736
127372013-03-16 Leo Liu <sdl.web@gmail.com>
12738
12739 * progmodes/scheme.el: Add indentation and font-locking for λ.
12740 (Bug#13975)
12741
127422013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12745 token before point (bug#13942).
12746
127472013-03-16 Leo Liu <sdl.web@gmail.com>
12748
12749 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12750
127512013-03-16 Eli Zaretskii <eliz@gnu.org>
12752
12753 * startup.el (command-line-normalize-file-name): Fix handling of
12754 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12755 <xfq.free@gmail.com> in
12756 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12757
127582013-03-15 Michael Albinus <michael.albinus@gmx.de>
12759
12760 Sync with Tramp 2.2.7.
12761
12762 * net/trampver.el: Update release number.
12763
127642013-03-14 Tassilo Horn <tsdh@gnu.org>
12765
12766 * doc-view.el: Fix bug#13887.
12767 (doc-view-insert-image): Don't modify overlay associated to
12768 non-live windows, and implement horizontal centering of image in
12769 case it's smaller than the window.
12770 (doc-view-new-window-function): Force redisplay of new windows on
12771 doc-view buffers.
12772
127732013-03-13 Karl Fogel <kfogel@red-bean.com>
12774
12775 * saveplace.el (save-place-alist-to-file): Don't sort
12776 `save-place-alist', just pretty-print it (bug#13882).
12777
127782013-03-13 Michael Albinus <michael.albinus@gmx.de>
12779
12780 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12781 Check whether `default-file-name-coding-system' is bound.
12782 It isn't in XEmacs.
12783
127842013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12787 backquotes for `obsolete' (bug#13929).
12788
12789 * international/mule.el (find-auto-coding): Include file name in
12790 obsolescence warning (bug#13922).
12791
127922013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12793
12794 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12795 for CFEngine 3-specific indentation.
12796 (cfengine3-indent-line): Use it. Fix up category regex.
12797 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12798
127992013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * type-break.el (type-break-file-name):
12802 * textmodes/remember.el (remember-data-file):
12803 * strokes.el (strokes-file):
12804 * shadowfile.el (shadow-initialize):
12805 * saveplace.el (save-place-file):
12806 * ps-bdf.el (bdf-cache-file):
12807 * progmodes/idlwave.el (idlwave-config-directory):
12808 * net/quickurl.el (quickurl-url-file):
12809 * international/kkc.el (kkc-init-file-name):
12810 * ido.el (ido-save-directory-list-file):
12811 * emulation/viper.el (viper-custom-file-name):
12812 * emulation/vip.el (vip-startup-file):
12813 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12814 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12815
128162013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12817
12818 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12819 * language/thai-word.el: Switch to UTF-8.
12820
12821See ChangeLog.16 for earlier changes.
12822
12823;; Local Variables:
12824;; coding: utf-8
12825;; End:
12826
12827 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12828
12829 This file is part of GNU Emacs.
12830
12831 GNU Emacs is free software: you can redistribute it and/or modify
12832 it under the terms of the GNU General Public License as published by
12833 the Free Software Foundation, either version 3 of the License, or
12834 (at your option) any later version.
12835
12836 GNU Emacs is distributed in the hope that it will be useful,
12837 but WITHOUT ANY WARRANTY; without even the implied warranty of
12838 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12839 GNU General Public License for more details.
12840
12841 You should have received a copy of the GNU General Public License
12842 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.