lisp/vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4
5 * autoarg.el (autoarg-kp-digit-argument):
6 * electric.el (Electric-command-loop):
7 * kmacro.el (kmacro-step-edit-insert):
8 Do not set universal-argument-num-events.
9
10 2013-09-22 Leo Liu <sdl.web@gmail.com>
11
12 * files.el (interpreter-mode-alist): Add octave.
13
14 2013-09-21 Alan Mackenzie <acm@muc.de>
15
16 C++: fontify identifier in declaration following "public:" correctly.
17 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
18 to match "public", etc.
19 (c-decl-prefix-re): Add ":" into the C++ value.
20 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
21 bit. Add a check for a ":" preceded by "public", etc.
22
23 2013-09-21 Eli Zaretskii <eliz@gnu.org>
24
25 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
26 recognized by GDB 7.5 and later.
27
28 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
29
30 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
31
32 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * subr.el (internal--call-interactively): New const.
35 (called-interactively-p): Use it (bug#3984).
36
37 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
38
39 * vc/pcvs.el (cvs-mode-ignore):
40 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore): Rename
41 cvs-append-to-ignore to vc-cvs-append-to-ignore.
42
43 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
46 (eshell-ls-orig-insert-directory): Remove.
47 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
48 (eshell-ls-use-in-dired): Use advice-add/remove.
49 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
50 Add `orig-fun' arg for use in :around advice.
51 Make it check (redundantly) eshell-ls-use-in-dired.
52
53 2013-09-19 Glenn Morris <rgm@gnu.org>
54
55 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
56
57 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
58
59 * emacs-lisp/eieio.el (class-parent): Undo previous change.
60
61 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
62
63 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
64 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
65 (tramp-get-remote-python): New defuns.
66 (tramp-get-remote-uid-with-perl)
67 (tramp-get-remote-gid-with-perl): New defuns. Perl code
68 contributed by yary <not.com@gmail.com> (tiny change).
69 (tramp-get-remote-uid-with-python)
70 (tramp-get-remote-gid-with-python): New defuns. Python code
71 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
72 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
73
74 2013-09-19 Glenn Morris <rgm@gnu.org>
75
76 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
77
78 * eshell/em-unix.el (eshell-remove-entries):
79 Rename argument to avoid name-clash with global `top-level'.
80
81 * eshell/esh-proc.el (eshell-kill-process-function):
82 Remove eshell-reset-after-proc from eshell-kill-hook if present.
83 (eshell-reset-after-proc): Remove unused arg `proc'.
84
85 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
86 (directory-files-and-attributes): Mark unused arg.
87
88 * eshell/em-unix.el (eshell-remove-entries):
89 Remove unused arg `path'. Update callers.
90
91 * eshell/em-hist.el (eshell-hist-parse-arguments):
92 Remove unused arg `silent'. Update callers.
93
94 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
95 Fix (f)boundp mix-up.
96
97 * eshell/em-smart.el (eshell-smart-scroll-window)
98 (eshell-disable-after-change):
99 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
100
101 2013-09-18 Alan Mackenzie <acm@muc.de>
102
103 Fix fontification of type when followed by "const".
104 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
105 "known" types from fontification.
106
107 2013-09-18 Glenn Morris <rgm@gnu.org>
108
109 * emacs-lisp/chart.el (x-display-color-cells): Declare.
110 (chart-face-list): Drop Emacsen without display-color-p.
111
112 * net/eww.el (libxml-parse-html-region): Declare.
113 (eww-display-html): Explicit error if no libxml2 support.
114
115 * doc-view.el (doc-view-mode): Silence --without-x compilation.
116
117 * image.el (image-type-from-buffer, image-multi-frame-p):
118 Remove --without-x warning/error.
119
120 * mouse.el (mouse-yank-primary):
121 * term.el (term-mouse-paste):
122 Reorder to silence --without-x compilation.
123
124 * mpc.el (doc-view-mode): Silence --without-x compilation.
125
126 * mail/rmailmm.el (rmail-mime-set-bulk-data):
127 Silence --without-x compilation.
128
129 * progmodes/gud.el (gud-find-file, gud-mode):
130 Silence --without-x compilation.
131 (tooltip-mode): Declare.
132
133 * wdired.el (dired-backup-overwrite): Remove declaration.
134 (wdired-mode-map): Add doc string.
135
136 * custom.el (x-get-resource): Declare.
137
138 * eshell/em-glob.el (ange-cache):
139 * eshell/em-unix.el (ange-cache): Declare.
140
141 * faces.el (x-display-list, x-open-connection, x-get-resource):
142 Declare.
143
144 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
145 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
146 Declare.
147
148 * frame.el (x-display-grayscale-p, x-display-name): Declare.
149
150 * net/gnutls.el (gnutls-log-level): Declare.
151
152 * net/shr.el (image-size, image-animate): Declare.
153
154 * simple.el (font-info): Declare.
155
156 * subr.el (x-popup-dialog): Declare.
157
158 * term/common-win.el (x-select-enable-primary)
159 (x-last-selected-text-primary, x-last-selected-text-clipboard):
160 Declare.
161
162 * term/ns-win.el (x-handle-args): Declare.
163
164 * term/x-win.el (x-select-enable-clipboard): Declare.
165
166 * term/w32-win.el (create-default-fontset): Declare.
167
168 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
169 Declare.
170
171 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
172 (fit-frame-to-buffer): Explicit error if --without-x.
173 (mouse-autoselect-window-select): Silence compiler.
174
175 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
176
177 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
178 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
179 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
180 * eshell/esh-util.el (eshell-sublist):
181 Remove unused local variables.
182
183 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
184
185 * textmodes/two-column.el: Make 2C-split work for --without-x.
186 (scroll-bar-columns): Autoload.
187 (top-level): Require fringe when compiling.
188
189 2013-09-18 Leo Liu <sdl.web@gmail.com>
190
191 * subr.el (add-hook): Robustify to handle closure as well.
192
193 2013-09-17 Glenn Morris <rgm@gnu.org>
194
195 * simple.el (messages-buffer-mode-map): Unbind "g".
196
197 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * help-mode.el (help-mode-finish): Use derived-mode-p.
200 Remove obsolete highlighting.
201
202 * play/life.el (life-mode): Use define-derived-mode. Derive from
203 special-mode.
204 (life): Let-bind inhibit-read-only.
205 (life-setup): Avoid `setq'. Use `life-mode'.
206
207 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
208 which should not be needed any more.
209 (package-menu-refresh, package-menu-describe-package): Use user-error.
210
211 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
212 (eshell-post-rewrite-command-hook): Make obsolete.
213 (eshell-parse-command): Simplify.
214 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
215 (eshell--cmd): Declare.
216 (eshell-parse-pipeline): Remove unused var `final-p'.
217 Pass a dynvar to eshell-post-rewrite-command-hook.
218 Implement the new eshell-post-rewrite-command-function.
219 (eshell-invoke-directly): Remove unused arg `input'.
220 * eshell/esh-io.el (eshell-io-initialize):
221 Use eshell-post-rewrite-command-function (bug#15399).
222 (eshell--apply-redirections): Rename from eshell-apply-redirections;
223 adjust to new calling convention.
224 (eshell-create-handles): Rename args to avoid clashing with dynvar
225 `standard-output'.
226
227 2013-09-17 Glenn Morris <rgm@gnu.org>
228
229 * simple.el (messages-buffer-mode): New major mode.
230 (messages-buffer): New function.
231 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
232 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
233 (ert-run-test): Use `messages-buffer' function.
234 (ert--force-message-log-buffer-truncation): Ignore read-only.
235 * help.el (view-echo-area-messages): Use `messages-buffer' function.
236 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
237
238 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
241
242 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
243
244 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * icomplete.el (icomplete-in-buffer): New var.
247 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
248 vars and replace them with functions.
249 (icomplete-minibuffer-setup): Adjust accordingly.
250 (icomplete--completion-table, icomplete--completion-predicate)
251 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
252 New functions.
253 (icomplete-forward-completions, icomplete-backward-completions)
254 (icomplete-simple-completing-p, icomplete-exhibit)
255 (icomplete-completions): Use them.
256 (icomplete--in-region-buffer): New var.
257 (icomplete--in-region-setup): New function.
258 (icomplete-mode): Use it.
259
260 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
261 (bug#15379).
262 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
263 return args and options.
264 (eshell-eval-using-options): Use the new return value of
265 eshell--do-opts to set the options's vars in their scope.
266 (eshell--set-option): Rename from eshell-set-option.
267 Add arg `opt-vals'.
268 (eshell--process-option): Rename from eshell-process-option.
269 Add arg `opt-vals'.
270 (eshell--process-args): Use an `opt-vals' alist to store the options's
271 values during their processing and return them additionally to the
272 remaining args.
273
274 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
275
276 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
277 continuation character an operator, as far as indentation is
278 concerned (Bug#15369).
279
280 2013-09-15 Martin Rudalics <rudalics@gmx.at>
281
282 * window.el (window--state-put-2): Don't process buffer state
283 when buffer doesn't exist any more (Bug#15382).
284
285 2013-09-15 Glenn Morris <rgm@gnu.org>
286
287 * eshell/em-unix.el (eshell/rm):
288 Make -f ignore missing files. (Bug#15373)
289
290 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
291 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
292 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
293
294 2013-09-14 Glenn Morris <rgm@gnu.org>
295
296 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
297
298 2013-09-13 Glenn Morris <rgm@gnu.org>
299
300 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
301 (dired-guess-default): Make `file' available in the env. (Bug#15363)
302
303 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
304
305 * frame.el (x-focus-frame): Mark as declared in frame.c.
306
307 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * ls-lisp.el: Use advice-add.
310 (original-insert-directory): Remove.
311 (ls-lisp--insert-directory): Rename from insert-directory; add
312 `orig-fun' argument.
313 (insert-directory): Advise.
314
315 2013-09-13 Eli Zaretskii <eliz@gnu.org>
316
317 * term.el (term-emulate-terminal): Decode the command string
318 before passing it to term-command-hook. (Bug#15337)
319
320 2013-09-13 Glenn Morris <rgm@gnu.org>
321
322 * eshell/esh-util.el (ange-cache): Move declaration earlier.
323
324 * eshell/esh-ext.el (eshell-search-path): Declare.
325
326 * eshell/em-prompt.el (eshell/pwd): Autoload it.
327 Otherwise an error occurs if eshell-dirs module not loaded.
328
329 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
330
331 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
332
333 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
334 `tramp-check-proper-host'. Check for a valid method name.
335
336 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
337 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
338 * net/tramp-sh.el (tramp-maybe-open-connection):
339 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
340
341 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
342 also for hash values.
343
344 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * term/ns-win.el (parameters): Don't declare as dynamic.
347 (before-make-frame-hook): Don't add ineffective function.
348
349 * eshell/*.el: Use lexical-binding (bug#15231).
350
351 2013-09-12 Kenichi Handa <handa@gnu.org>
352
353 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
354
355 2013-09-12 Glenn Morris <rgm@gnu.org>
356
357 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
358 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
359
360 * subr.el (do-after-load-evaluation): Also give compiler warnings
361 when obsolete files are used (except by obsolete files).
362
363 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
364 in the status output, assume `filename' is the first. (Bug#15322)
365
366 * vc/vc.el (vc-deduce-fileset): Doc fix.
367
368 * calc/calc-help.el (Info-goto-node):
369 * progmodes/cperl-mode.el (Info-find-node):
370 * vc/ediff.el (Info-goto-node): Update declarations.
371
372 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
373
374 * vc/vc-bzr.el (vc-compilation-mode): Declare.
375 (vc-bzr-pull): Require vc-dispatcher.
376 * vc/vc-git.el (vc-compilation-mode): Declare.
377 (vc-git-pull): Require vc-dispatcher.
378
379 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
380
381 * progmodes/octave.el (help-button-action): Declare.
382
383 * shell.el (shell-directory-tracker): Output error as a message
384 rather than just returning it as a string.
385 (shell-process-pushd): Remove useless use of message.
386
387 * dframe.el (dframe-timer-fn):
388 * files.el (dir-locals-read-from-file):
389 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
390 (mpc-format):
391 * reveal.el (reveal-post-command):
392 * saveplace.el (load-save-place-alist-from-file):
393 * shell.el (shell-resync-dirs):
394 * w32-common-fns.el (x-get-selection-value):
395 * emacs-lisp/copyright.el (copyright-find-copyright):
396 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
397 * emulation/tpu-edt.el (tpu-copy-keyfile):
398 * play/bubbles.el (bubbles--mark-neighbourhood):
399 * progmodes/executable.el
400 (executable-make-buffer-file-executable-if-script-p):
401 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
402
403 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 Cleanup Eshell to rely less on dynamic scoping.
406 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
407 last-value, and ext-command here. Bind `args' closer to `body'.
408 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
409 (eshell--args): Declare new dynamic var.
410 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
411 last-value, and ext-command. Pass `args' to `body'.
412 (eshell-process-args): Bind eshell--args.
413 (eshell-set-option): Use eshell--args.
414 * eshell/eshell.el (eshell): Use derived-mode-p.
415 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
416 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
417 (eshell-glob-function): Declare.
418 * eshell/esh-util.el: Require cl-lib.
419 (eshell-read-hosts-file): Avoid add-to-list.
420 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
421 `err'.
422 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
423 Declare.
424 (eshell/diff): Remove unused var `err'.
425 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
426 `killflag'.
427 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
428 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
429 first use.
430 * eshell/em-glob.el (eshell-glob-matches, message-shown):
431 Move declaration before first use.
432 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
433 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
434 rely on cl-return.
435
436 2013-09-12 Glenn Morris <rgm@gnu.org>
437
438 * term/ns-win.el (global-map): Remove binding for ispell-next,
439 deleted 1999-05-29. (Bug#15357)
440
441 2013-09-11 Glenn Morris <rgm@gnu.org>
442
443 * echistory.el (electric-command-history): Remove call to deleted func.
444
445 * play/landmark.el (landmark-mode): Fix typos.
446
447 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
448 Check cvs-sort-ignore-file is bound.
449
450 * savehist.el: No need for cl when compiling on Emacs.
451
452 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
455 (bug#15338).
456 (eshell-self-insert-command, eshell-send-invisible):
457 Remove unused argument.
458 (eshell-handle-control-codes): Remove unused var `orig'.
459 Avoid delete-backward-char.
460
461 * files.el (set-auto-mode): Simplify a bit further.
462
463 2013-09-11 Glenn Morris <rgm@gnu.org>
464
465 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
466 (set-auto-mode): Don't regexp-quote elements.
467 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
468 * progmodes/cc-mode.el (interpreter-mode-alist):
469 * progmodes/ruby-mode.el (interpreter-mode-alist):
470 Revert previous change.
471
472 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * play/snake.el (snake-mode):
475 * play/mpuz.el (mpuz-mode):
476 * play/landmark.el (lm-mode):
477 * play/blackbox.el (blackbox-mode):
478 * play/5x5.el (5x5-mode):
479 * obsolete/options.el (Edit-options-mode):
480 * net/quickurl.el (quickurl-list-mode):
481 * net/newst-treeview.el (newsticker-treeview-mode):
482 * mail/rmailsum.el (rmail-summary-mode):
483 * mail/mspools.el (mspools-mode):
484 * locate.el (locate-mode):
485 * ibuffer.el (ibuffer-mode):
486 * emulation/ws-mode.el (wordstar-mode):
487 * emacs-lisp/debug.el (debugger-mode):
488 * array.el (array-mode):
489 * net/eudc.el (eudc-mode): Use define-derived-mode.
490 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
491 Move initialization into declaration.
492 (mairix-searches-mode): Use define-derived-mode.
493 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
494 (eudc-edit-hotlist): Use dolist.
495 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
496 (Man-mode): Use define-derived-mode.
497 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
498 (Info-edit-mode): Use define-derived-mode.
499 (Info-cease-edit): Use Info-mode.
500 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
501 into declaration.
502 (eshell-mode): Use define-derived-mode.
503 * chistory.el (command-history-mode-map): Rename from
504 command-history-map.
505 (command-history-mode): Use define-derived-mode.
506 (Command-history-setup): Remove function.
507 * calc/calc.el (calc-trail-mode-map): New var.
508 (calc-trail-mode): Use define-derived-mode.
509 (calc-trail-buffer): Set calc-main-buffer manually.
510 * bookmark.el (bookmark-insert-annotation): New function.
511 (bookmark-edit-annotation): Use it.
512 (bookmark-edit-annotation-mode): Make it a proper major mode.
513 (bookmark-send-edited-annotation): Use derived-mode-p.
514 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
515 closer to its ideal place. Use \' to match EOS.
516
517 * profiler.el (profiler-calltree-find): Use function-equal.
518
519 2013-09-10 Glenn Morris <rgm@gnu.org>
520
521 * files.el (interpreter-mode-alist): Convert to regexps.
522 (set-auto-mode): Adapt for this. (Bug#15306)
523 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
524 Comment out unused variable.
525 * progmodes/cc-mode.el (interpreter-mode-alist):
526 * progmodes/python.el (interpreter-mode-alist):
527 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
528 * progmodes/sh-script.el (sh-set-shell):
529 No longer use interpreter-mode-alist to get list of shells.
530
531 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
532
533 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * simple.el: Use set-temporary-overlay-map for universal-argument.
536 (universal-argument-map): Don't use default-bindings (bug#15317).
537 Bind switch-frame explicitly. Replace universal-argument-minus with
538 a conditional binding.
539 (universal-argument-num-events, saved-overriding-map): Remove.
540 (restore-overriding-map): Remove.
541 (universal-argument--mode): Rename from save&set-overriding-map,
542 and rewrite.
543 (universal-argument, universal-argument-more, negative-argument)
544 (digit-argument): Adjust accordingly.
545 (universal-argument-minus): Remove.
546 (universal-argument-other-key): Remove.
547
548 * subr.el (with-demoted-errors): Add `format' argument.
549
550 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
551
552 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
553 `tramp-cleanup-connection'.
554
555 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
556 parameters KEEP-DEBUG and KEEP-PASSWORD.
557
558 * net/tramp.el (tramp-file-name-handler):
559 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
560 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
561 (tramp-maybe-open-connection):
562 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
563 Use `tramp-cleanup-connection'.
564
565 * net/tramp-sh.el (tramp-maybe-open-connection):
566 Catch 'uname-changed inside the progress reporter.
567
568 2013-09-10 Glenn Morris <rgm@gnu.org>
569
570 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
571
572 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
573 returns "alternate access method" in mode (eg "-rw-r--r--.").
574
575 2013-09-08 Glenn Morris <rgm@gnu.org>
576
577 * saveplace.el (load-save-place-alist-from-file):
578 Demote errors. (Bug#15305)
579
580 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
581
582 Improve compatibility with older Emacsen, and XEmacs.
583
584 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
585 only if it is bound. It isn't for XEmacs.
586 (with-tramp-progress-reporter): Do not let-bind `result'.
587 This yields to scoping errors in XEmacs.
588 (tramp-handle-make-auto-save-file-name): New function, moved from
589 tramp-sh.el.
590
591 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
592 for `make-auto-save-file-name'.
593 (tramp-adb--gnu-switches-to-ash):
594 Use `tramp-compat-replace-regexp-in-string'.
595
596 * net/tramp-cache.el (tramp-cache-print): Call
597 `substring-no-properties' only if it is bound. It isn't for XEmacs.
598
599 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
600 bound. It isn't for XEmacs.
601
602 * net/tramp-compat.el (tramp-compat-copy-file):
603 Catch `wrong-number-of-arguments' error.
604 (tramp-compat-replace-regexp-in-string): New defun.
605
606 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
607 for `make-auto-save-file-name'.
608 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
609 `copy-file'.
610 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
611 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
612 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
613
614 * net/tramp-gw.el (tramp-gw-open-network-stream):
615 Use `tramp-compat-replace-regexp-in-string'.
616
617 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
618 Call `tramp-handle-make-auto-save-file-name'.
619 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
620 (tramp-sh-file-gvfs-monitor-dir-process-filter)
621 (tramp-sh-file-inotifywait-process-filter):
622 Use `tramp-compat-replace-regexp-in-string'.
623 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
624
625 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
626 for `make-auto-save-file-name'.
627 (tramp-smb-handle-copy-directory):
628 Call `tramp-compat-replace-regexp-in-string'.
629 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
630 (tramp-smb-handle-copy-file): Improve error message.
631 (tramp-smb-handle-rename-file): Rename directly only in case
632 `newname' does not exist yet. This is a restriction of smbclient.
633 (tramp-smb-maybe-open-connection): Rerun the function only when
634 `auth-sources' is non-nil.
635
636 2013-09-08 Kenichi Handa <handa@gnu.org>
637
638 * international/characters.el: Set category "^" (Combining) for
639 more characters.
640
641 2013-09-07 Alan Mackenzie <acm@muc.de>
642
643 Correctly fontify Java class constructors.
644 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
645 in Java Mode.
646 (c-recognize-typeless-decls): Set the Java value to t.
647 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
648 While handling a "(", add a check for, effectively, Java, and handle a
649 "typeless" declaration there.
650
651 2013-09-07 Roland Winkler <winkler@gnu.org>
652
653 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
654 field subtitle for entry type book.
655
656 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * minibuffer.el: Make minibuffer-complete call completion-in-region
659 rather than other way around.
660 (completion--some, completion-pcm--find-all-completions):
661 Don't delay signals when debugging.
662 (minibuffer-completion-contents): Beware fields within the
663 minibuffer contents.
664 (completion-all-sorted-completions): Use defvar-local.
665 (completion--do-completion, completion--cache-all-sorted-completions)
666 (completion-all-sorted-completions, minibuffer-force-complete):
667 Add args `beg' and `end'.
668 (completion--in-region-1): New fun, extracted from minibuffer-complete.
669 (minibuffer-complete): Use completion-in-region.
670 (completion-complete-and-exit): New fun, extracted from
671 minibuffer-complete-and-exit.
672 (minibuffer-complete-and-exit): Use it.
673 (completion--complete-and-exit): Rename from
674 minibuffer--complete-and-exit.
675 (completion-in-region--single-word): New function, extracted from
676 minibuffer-complete-word.
677 (minibuffer-complete-word): Use it.
678 (display-completion-list): Make `common-substring' argument obsolete.
679 (completion--in-region): Call completion--in-region-1 instead of
680 minibuffer-complete.
681 (completion-help-at-point): Pass boundaries to
682 minibuffer-completion-help as args rather than via an overlay.
683 (completion-pcm--string->pattern): Use `any-delim'.
684 (completion-pcm--optimize-pattern): New function.
685 (completion-pcm--pattern->regex): Handle `any-delim'.
686 * icomplete.el (icomplete-forward-completions)
687 (icomplete-backward-completions, icomplete-completions):
688 Adjust calls to completion-all-sorted-completions and
689 completion--cache-all-sorted-completions.
690 (icomplete-with-completion-tables): Default to t.
691 * emacs-lisp/crm.el (crm--current-element): Rename from
692 crm--select-current-element. Don't put an overlay but return the
693 boundaries instead.
694 (crm--completion-command): Take two new args to bind to the boundaries.
695 (crm-completion-help): Adjust accordingly.
696 (crm-complete): Use completion-in-region.
697 (crm-complete-word): Use completion-in-region--single-word.
698 (crm-complete-and-exit): Use completion-complete-and-exit.
699
700 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
703 than dynamically.
704
705 2013-09-06 Juri Linkov <juri@jurta.org>
706
707 * info.el (Info-display-images-node): When image file doesn't exist
708 display text version of the image if it's provided in the Info file.
709 Otherwise, display the location of missing image from SRC attribute.
710 Add help-echo text property from ALT attribute. (Bug#15279)
711
712 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
715 (edit-abbrevs-mode): Use define-derived-mode.
716
717 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
718 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
719 that it's defined.
720 (epa-key-list-mode, epa-key-mode, epa-info-mode):
721 Use define-derived-mode.
722
723 * epg.el (epg-start-encrypt): Minor CSE simplification.
724
725 2013-09-06 William Xu <william.xwl@gmail.com>
726
727 * arc-mode.el: Add support for 7za (bug#15264).
728 (archive-7z-program): New var.
729 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
730 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
731 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
732
733 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
734
735 Remove URL syntax.
736
737 * net/tramp.el (tramp-syntax, tramp-prefix-format)
738 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
739 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
740 (tramp-postfix-host-format, tramp-file-name-regexp)
741 (tramp-completion-file-name-regexp)
742 (tramp-completion-dissect-file-name)
743 (tramp-handle-substitute-in-file-name): Remove 'url case.
744 (tramp-file-name-regexp-url)
745 (tramp-completion-file-name-regexp-url): Remove constants.
746
747 2013-09-06 Glenn Morris <rgm@gnu.org>
748
749 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
750
751 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
752
753 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
754 keywords" below "here-doc beginnings" (Bug#15270).
755
756 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * subr.el (pop): Use `car-safe'.
759 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
760 to detect unused `pop' return value.
761
762 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
763 var `block-regexp'.
764 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
765 (python-fill-string): Remove unused var `marker'.
766 (python-skeleton-add-menu-items): Remove unused var `items'.
767
768 * international/mule-cmds.el: Require CL.
769 (find-coding-systems-for-charsets): Avoid add-to-list.
770 (sanitize-coding-system-list): New function, extracted from
771 select-safe-coding-system-interactively.
772 (select-safe-coding-system-interactively): Use it.
773 (read-input-method-name): Accept symbols for `default'.
774
775 * emacs-lisp/advice.el (defadvice): Add indent rule.
776
777 2013-09-05 Daniel Hackney <dan@haxney.org>
778
779 * dired-x.el:
780 * net/ange-ftp.el:
781 * net/browse-url.el:
782 * net/dbus.el:
783 * net/eudc.el:
784 * net/eudcb-ldap.el:
785 * net/eww.el:
786 * net/imap.el:
787 * printing.el:
788 * vc/ediff-diff.el:
789 * vc/ediff-init.el:
790 * vc/ediff-merg.el:
791 * vc/ediff-mult.el:
792 * vc/ediff-util.el:
793 * vc/ediff-wind.el:
794 * vc/ediff.el:
795 * vc/emerge.el:
796 * vc/pcvs.el:
797 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
798 byte compiler. Remove some unused let-bound variables.
799
800 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
803 a "ref-cell", since it gets better optimized (bug#14883).
804
805 2013-09-05 Glenn Morris <rgm@gnu.org>
806
807 * progmodes/cc-awk.el (c-forward-sws): Declare.
808
809 2013-09-04 Glenn Morris <rgm@gnu.org>
810
811 * generic-x.el [rul-generic-mode]: Require cc-mode.
812 (c++-mode-syntax-table): Declare.
813 (rul-generic-mode-syntax-table): Init in the defvar.
814
815 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
818 (vc-do-command, vc-set-async-update):
819 * vc/vc-mtn.el (vc-mtn-dir-status):
820 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
821 (vc-hg-pull, vc-hg-merge-branch):
822 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
823 (vc-git-merge-branch):
824 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
825 (vc-cvs-dir-status-files):
826 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
827 (vc-bzr-dir-status-files):
828 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
829 * vc/vc-annotate.el: Use lexical-binding.
830 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
831 (vc-sentinel-movepoint): Declare.
832 (vc-annotate): Don't use `goto-line'.
833 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
834 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
835 (vc-sentinel-movepoint): Declare.
836 * vc/vc-svn.el: Use lexical-binding.
837 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
838 * vc/vc-sccs.el:
839 * vc/vc-rcs.el: Use lexical-binding.
840
841 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
842 `deleted'. Don't drop errors silently.
843
844 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
845
846 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
847
848 * vc/vc.el (vc-ignore): Rewrite.
849 (vc-default-ignore): New function.
850 (vc-default-ignore-completion-table): Use find-ignore-file.
851
852 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
853 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
854 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
855 Remove. Most code moved to vc.el.
856
857 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
860 * net/tramp-smb.el (tramp-smb-get-file-entries):
861 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
862 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
863
864 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
865 Update call to it.
866 (eww-change-select): Remove unused var `properties'.
867 (eww-make-unique-file-name): Remove unused var `base'.
868
869 * finder.el (finder-compile-keywords): Don't mess with windows.
870
871 * calculator.el (calculator-funcall): Fix typo in last change.
872
873 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
874
875 * emacs-lisp/package.el (package-activate-1): Don't let a missing
876 <pkg>-autoloads.el file stop us.
877
878 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
879 warnings, and factor out common code.
880
881 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
882
883 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
884 two-character operators and whether the character preceding them
885 changes their meaning (Bug#15208).
886
887 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
888
889 Format code sent to Python shell for robustness.
890 * progmodes/python.el (python-shell-buffer-substring):
891 New function.
892 (python-shell-send-region, python-shell-send-buffer): Use it.
893
894 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
895
896 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
897 * net/tramp.el (tramp-user-error): ... here.
898 (tramp-find-method, tramp-check-proper-host)
899 (tramp-dissect-file-name, tramp-debug-message)
900 (tramp-handle-shell-command):
901 * net/tramp-adb.el (tramp-adb-handle-shell-command):
902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
903
904 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
905
906 2013-09-02 Martin Rudalics <rudalics@gmx.at>
907
908 * avoid.el (mouse-avoidance-point-position)
909 (mouse-avoidance-too-close-p): Handle case where posn-at-point
910 returns nil.
911
912 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
913
914 * progmodes/python.el (python-shell-completion-get-completions):
915 Drop use of deleted `comint-last-prompt-overlay'.
916 (python-nav-if-name-main): New command.
917
918 2013-09-01 Glenn Morris <rgm@gnu.org>
919
920 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
921 Avoid leading space in $wins. Otherwise the sed command used by
922 eg compile-main ends up containing "/*.el". (Bug#15170)
923
924 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
925
926 2013-08-30 Glenn Morris <rgm@gnu.org>
927
928 * emacs-lisp/bytecomp.el (byte-recompile-directory):
929 Fix is-this-a-directory logic. (Bug#15220)
930
931 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * textmodes/css-mode.el: Use SMIE.
934 (css-smie-grammar): New var.
935 (css-smie--forward-token, css-smie--backward-token)
936 (css-smie-rules): New functions.
937 (css-mode): Use them.
938 (css-navigation-syntax-table): Remove var.
939 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
940 (css-indent-calculate, css-indent-line): Remove functions.
941
942 Misc changes to reduce use of `(lambda...); and other cleanups.
943 * cus-edit.el: Use lexical-binding.
944 (customize-push-and-save, customize-apropos)
945 (custom-buffer-create-internal): Use closures.
946 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
947 * progmodes/ada-xref.el: Use setq.
948 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
949 * dframe.el: Use lexical-binding.
950 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
951 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
952 * descr-text.el: Use lexical-binding.
953 (describe-text-widget, describe-text-sexp, describe-property-list):
954 Use closures.
955 * comint.el (comint-history-isearch-push-state): Use a closure.
956 * calculator.el: Use lexical-binding.
957 (calculator-number-to-string): Make it work with lexical-binding.
958 (calculator-funcall): Same and use cl-letf.
959
960 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
961 (lisp--company-doc-string, lisp--company-location): New functions.
962 (lisp-completion-at-point): Use them to improve Company support.
963
964 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
965 params of lambda expressions.
966 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
967 (ruby-smie--opening-pipe-p): New function.
968 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
969 symbols and matched |...| for formal params.
970 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
971 from being treated as hanging. Handle "rescue".
972
973 2013-08-29 Glenn Morris <rgm@gnu.org>
974
975 * progmodes/cc-engine.el (c-pull-open-brace):
976 Move definition before use.
977
978 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
981 are immutable. Don't use `unsafe' any more.
982 (cl--defsubst-expand): Don't substitute at the same time as keeping
983 a residual unused let-binding. Don't use `unsafe' any more.
984
985 2013-08-29 Glenn Morris <rgm@gnu.org>
986
987 * calendar/cal-china.el (calendar-chinese-year-cache):
988 Recenter on 2015.
989
990 * nxml/nxml-util.el (nxml-debug-clear-inside):
991 Use cl-loop rather than loop.
992
993 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
994
995 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
996
997 2013-08-28 Glenn Morris <rgm@gnu.org>
998
999 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1000
1001 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1002
1003 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1004
1005 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * simple.el (repeat-complex-command--called-interactively-skip):
1008 New function.
1009 (repeat-complex-command): Use it (bug#14136).
1010
1011 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1012 (c-define-abbrev-table): Add `doc' argument.
1013 (c-mode-abbrev-table, c++-mode-abbrev-table)
1014 (objc-mode-abbrev-table, java-mode-abbrev-table)
1015 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1016 (awk-mode-abbrev-table): Use it.
1017 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1018 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1019 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1020 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1021 Move initialization into the declaration; and remove any
1022 autoload cookie.
1023
1024 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1025 and dynamic let binding.
1026
1027 * vc/smerge-mode.el: Remove redundant :group args.
1028
1029 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1030 to load-path.
1031
1032 2013-08-28 Juri Linkov <juri@jurta.org>
1033
1034 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1035 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1036 (isearch-other-meta-char): Handle an undefined shifted printing
1037 character by downshifting it. (Bug#15200)
1038
1039 2013-08-28 Juri Linkov <juri@jurta.org>
1040
1041 * isearch.el (isearch-search): Change regexp error message for
1042 non-regexp searches. (Bug#15166)
1043
1044 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1045
1046 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1047 for portability to hosts where /bin/sh has problems.
1048
1049 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1052
1053 2013-08-27 Juri Linkov <juri@jurta.org>
1054
1055 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1056 in the keyboard macro. (Bug#15126)
1057
1058 2013-08-27 Juri Linkov <juri@jurta.org>
1059
1060 * isearch.el (isearch-quote-char): Comment out converting unibyte
1061 to multibyte, thus syncing with its `quoted-insert' counterpart.
1062 (Bug#15166)
1063
1064 2013-08-27 Martin Rudalics <rudalics@gmx.at>
1065
1066 * window.el (display-buffer-use-some-window): Add missing
1067 argument in call of get-largest-window (Bug#15185).
1068 Reported by Stephen Leake.
1069
1070 2013-08-27 Glenn Morris <rgm@gnu.org>
1071
1072 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1073
1074 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1077 from a matcher-function unless there's no more matches (bug#15161).
1078
1079 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1080
1081 * minibuffer.el: Revert change from 2013-08-20.
1082
1083 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1084 with text property `tramp-default', if appropriate.
1085 (tramp-check-proper-host): New defun.
1086 (tramp-dissect-file-name): Do not check hostname. Revert change
1087 of 2013-03-18.
1088 (tramp-backtrace): Make VEC-OR-PROC optional.
1089
1090 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1091 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1092 * net/tramp-sh.el (tramp-maybe-open-connection):
1093 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1094 Apply `tramp-check-proper-host'.
1095
1096 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1097
1098 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1099 lambda expression in order to have `describe-variable' display it.
1100
1101 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1102
1103 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1104 BUF can be optional. (Bug#15186)
1105
1106 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1107
1108 * progmodes/flymake.el (flymake-get-real-file-name-function):
1109 Fix broken customization. (Bug#15184)
1110
1111 2013-08-25 Alan Mackenzie <acm@muc.de>
1112
1113 Improve indentation of bracelists defined by macros (without "=").
1114
1115 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1116 expansion begins with "{", regard it as bracelist when it doesn't
1117 contain a ";".
1118
1119 Parse C++ inher-intro when there's a template split over 2 lines.
1120
1121 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1122 rigorously the search for "class" etc. followed by ":".
1123
1124 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1125 random languages a regexp which never matches rather than nil.
1126
1127 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1128
1129 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1130 (c-awk-regexp-one-line-possibly-open-char-list-re)
1131 (c-awk-one-line-possibly-open-regexp-re)
1132 (c-awk-one-line-non-syn-ws*-re): Remove.
1133 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1134 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1135 (c-awk-space*-unclosed-regexp-/-re): New constants.
1136 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1137 aren't regexp delimiters.
1138
1139 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1140 handling for a rare situation in AWK Mode involving unterminated
1141 strings/regexps.
1142
1143 2013-08-23 Glenn Morris <rgm@gnu.org>
1144
1145 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1146
1147 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1148
1149 * files.el (create-file-buffer): If the result would begin with
1150 spaces, prepend a "|" instead of removing them. (Bug#15162)
1151
1152 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1155 text-properties (bug#15155).
1156
1157 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1158 exist any more.
1159 (calc-keypad-redraw): Remove unused var `pad'.
1160 (calc-keypad-press): Remove unused var `menu'.
1161
1162 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1163
1164 * window.el (display-buffer-pop-up-frame):
1165 Call pop-up-frame-function with BUFFER current so `make-frame' will
1166 use it as the new frame's buffer (Bug#15133).
1167
1168 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * calendar/timeclock.el: Minor cleanups.
1171 (timeclock-ask-before-exiting, timeclock-use-display-time):
1172 Use `symbol'.
1173 (timeclock-modeline-display): Define as alias before the
1174 actual definition.
1175 (timeclock-mode-line-display): Use define-minor-mode.
1176 (timeclock-day-list-template): Make it a function, add an argument.
1177 (timeclock-day-list-required, timeclock-day-list-length)
1178 (timeclock-day-list-debt, timeclock-day-list-span)
1179 (timeclock-day-list-break): Adjust calls accordingly.
1180
1181 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1184 Use read--expression so that completion works again.
1185
1186 2013-08-21 Sam Steingold <sds@gnu.org>
1187
1188 Add rudimentary inferior shell interaction
1189 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1190 (sh-set-shell): Reset it.
1191 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1192 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1193
1194 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * align.el: Use lexical-binding.
1197 (align-region): Simplify accordingly.
1198
1199 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1200
1201 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1202
1203 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1204 `non-essential' up.
1205
1206 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * net/tramp.el:
1209 * net/tramp-adb.el:
1210 * net/tramp-cmds.el:
1211 * net/tramp-ftp.el:
1212 * net/tramp-gvfs.el:
1213 * net/tramp-gw.el:
1214 * net/tramp-sh.el: Don't wrap external variable declarations by
1215 `eval-when-compile'.
1216
1217 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1218
1219 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1220 now that Emacs supports ImageMagick animations.
1221
1222 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1225 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1226
1227 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1228
1229 * window.el (mouse-autoselect-window-select): Do autoselect when
1230 mouse pointer is on margin.
1231
1232 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1233
1234 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1235
1236 2013-08-16 Glenn Morris <rgm@gnu.org>
1237
1238 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1239 Handle "Remote Directory" response of some clients. (Bug#15058)
1240
1241 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1242 Tweak warning. (Bug#14926)
1243
1244 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1245 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1246
1247 * image-mode.el (image-mode-map): Add menu items to reverse,
1248 increase, decrease, reset animation speed.
1249 (image--set-speed, image-increase-speed, image-decrease-speed)
1250 (image-reverse-speed, image-reset-speed): New functions.
1251 (image-mode-map): Add bindings for speed commands.
1252
1253 * image.el (image-animate-get-speed, image-animate-set-speed):
1254 New functions.
1255 (image-animate-timeout): Respect image :speed property.
1256
1257 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1260 previous line (bug#15101).
1261 (debugger-eval-expression, debugger-record-expression):
1262 Use read--expression (bug#15102).
1263
1264 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1265
1266 Remove byte compiler warnings, visible when compiling with
1267 `byte-compile-force-lexical-warnings' set to t.
1268
1269 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1270 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1271 (tramp-handle-unhandled-file-name-directory)
1272 (tramp-handle-file-notify-add-watch, tramp-action-login)
1273 (tramp-action-succeed, tramp-action-permission-denied)
1274 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1275 arguments with "_".
1276
1277 * net/tramp-adb.el (tramp-adb-parse-device-names)
1278 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1279 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1280 (tramp-adb-handle-file-truename): Remove unused arguments.
1281
1282 * net/tramp-cache.el (tramp-flush-directory-property)
1283 (tramp-flush-connection-property, tramp-list-connections)
1284 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1285
1286 * net/tramp-compat.el (tramp-compat-make-temp-file):
1287 Rename FILENAME to F.
1288
1289 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1290 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1291 (tramp-zeroconf-parse-workstation-device-names)
1292 (tramp-zeroconf-parse-webdav-device-names)
1293 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1294
1295 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1296 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1297
1298 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1299 arguments.
1300 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1301 (tramp-sh-handle-insert-file-contents-literally)
1302 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1303 with "_".
1304 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1305 Remove unused variables.
1306
1307 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1308 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1309 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1310
1311 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1312 Make them a defconst.
1313 (tramp-uuencode-region): Remove unused variable.
1314
1315 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1316
1317 * frameset.el (frameset--prop-setter): New function.
1318 (frameset-prop): Add gv-setter declaration.
1319 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1320 parameter was already set in FILTERED. Doc fix.
1321 (frameset--record-minibuffer-relationships): Allow saving a
1322 minibufferless frame without its corresponding minibuffer frame.
1323 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1324 frame, if the frame id matches.
1325 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1326 frames before orphaned ones.
1327 (frameset-restore): Warn about orphaned windows, instead of error out.
1328
1329 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1330
1331 * window.el (window-make-atom): Don't overwrite parameter
1332 already present.
1333 (display-buffer-in-atom-window): Handle special case where we
1334 split an already atomic window.
1335 (window--major-non-side-window, display-buffer-in-side-window)
1336 (window--side-check): Ignore minibuffer window when walking
1337 window tree.
1338 (window-deletable-p): Return 'frame only if no other frame uses
1339 our minibuffer window.
1340 (record-window-buffer): Run buffer-list-update-hook.
1341 (split-window): Make sure window--check-frame won't destroy an
1342 existing atomic window in case the new window gets nested
1343 inside.
1344 (display-buffer-at-bottom): Ignore minibuffer window when
1345 walking window tree. Don't split a side window.
1346 (pop-to-buffer): Don't set-buffer here, the select-window call
1347 should do that.
1348 (mouse-autoselect-window-select): Autoselect only if we are in the
1349 text portion of the window.
1350
1351 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1352
1353 * net/shr.el (shr-parse-image-data): New function to grab both the
1354 data itself and the Content-Type.
1355 (shr-put-image): Use it.
1356
1357 * net/eww.el (eww-display-image): Ditto.
1358
1359 * image.el (image-content-type-suffixes): New variable.
1360
1361 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1362
1363 * progmodes/python.el (python-imenu--build-tree)
1364 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1365
1366 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1367
1368 * simple.el (backward-word): Mention the optional argument.
1369
1370 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * frameset.el (frameset--make): Rename constructor from make-frameset.
1373 (frameset-p, frameset-valid-p): Don't autoload.
1374 (frameset-valid-p): Use normal accessors.
1375
1376 2013-08-13 Glenn Morris <rgm@gnu.org>
1377
1378 * progmodes/compile.el (compile-command): Tweak example in doc.
1379 * obsolete/scribe.el (scribe-mode):
1380 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1381
1382 * mail/feedmail.el (feedmail-confirm-outgoing)
1383 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1384
1385 * cus-start.el (truncate-partial-width-windows): Fix type.
1386
1387 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1388
1389 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1390
1391 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * emacs-lisp/timer.el (timer--time-setter): New function.
1394 (timer--time): Use it as gv-setter.
1395
1396 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1397 setter is not a symbol.
1398
1399 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1400
1401 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1402 if sending fails. This makes debugging easier.
1403
1404 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1405
1406 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1407 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1408 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1409
1410 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1411
1412 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1413
1414 2013-08-12 Glenn Morris <rgm@gnu.org>
1415
1416 * format.el (format-annotate-function):
1417 Handle read-only text properties in the source. (Bug#14887)
1418
1419 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1420
1421 * net/eww.el (eww-display-html): Ignore coding system errors.
1422 One web site uses "utf-8lias" as the coding system.
1423
1424 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1425
1426 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1427
1428 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1429
1430 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1431 (tutorial--detailed-help): Remove unused local variables.
1432 (tutorial--save-tutorial-to): Use ignore-errors.
1433 (help-with-tutorial): Use looking-at-p.
1434
1435 * view.el (view-buffer-other-window, view-buffer-other-frame):
1436 Mark unused arguments.
1437
1438 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1439 (woman-select-symbol-fonts, woman, woman-find-file)
1440 (woman-insert-file-contents, woman-non-underline-faces):
1441 Use string-match-p.
1442 (woman1-unquote): Move declaration.
1443
1444 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1445 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1446 argument. Remove unused local variable.
1447 (xml-parse-elem-type): Use string-match-p.
1448 (xml-substitute-numeric-entities): Use ignore-errors.
1449
1450 * calculator.el (calculator): Mark unused argument.
1451 (calculator-paste, calculator-quit, calculator-integer-p):
1452 Use ignore-errors.
1453 (calculator-string-to-number, calculator-decimal, calculator-exp)
1454 (calculator-op-or-exp): Use string-match-p.
1455
1456 * dired.el (dired-buffer-more-recently-used-p): Declare.
1457 (dired-insert-set-properties, dired-insert-old-subdirs):
1458 Use ignore-errors.
1459
1460 * dired-aux.el (dired-compress): Use ignore-errors.
1461 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1462 (dired-do-async-shell-command, dired-do-shell-command)
1463 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1464 (dired-insert-subdir-validate): Use string-match-p.
1465 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1466 (dired-add-entry): Use string-match-p, looking-at-p.
1467 (dired-insert-subdir-newpos): Remove unused local variable.
1468
1469 * filenotify.el (file-notify-callback): Remove unused local variable.
1470
1471 * filesets.el (filesets-error): Mark unused argument.
1472 (filesets-which-command-p, filesets-filter-dir-names)
1473 (filesets-directory-files, filesets-get-external-viewer)
1474 (filesets-ingroup-get-data): Use string-match-p.
1475
1476 * find-file.el (ff-other-file-name, ff-other-file-name)
1477 (ff-find-the-other-file, ff-cc-hh-converter):
1478 Remove unused local variables.
1479 (ff-get-file-name): Use string-match-p.
1480 (ff-all-dirs-under): Use ignore-errors.
1481
1482 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1483 (follow-select-if-visible): Remove unused local variable.
1484
1485 * forms.el (read-file-filter): Move declaration.
1486 (forms--make-format, forms--make-parser, forms-insert-record):
1487 Quote function with #'.
1488 (forms--update): Use string-match-p. Quote function with #'.
1489
1490 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1491 (help-make-xrefs): Use looking-at-p.
1492 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1493
1494 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1495 (ibuffer-confirm-operation-on): Use string-match-p.
1496
1497 * msb.el (msb-item-handler, msb-dired-item-handler):
1498 Mark unused arguments.
1499
1500 * ses.el (ses-decode-cell-symbol)
1501 (ses-kill-override): Remove unused local variable.
1502 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1503 (ses-load): Use ignore-errors, looking-at-p.
1504 (ses-jump-safe): Use ignore-errors.
1505 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1506
1507 * tabify.el (untabify, tabify): Mark unused arguments.
1508
1509 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1510 Mark unused argument.
1511 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1512 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1513
1514 * emacs-lisp/timer.el (timer--time): Define setter with
1515 gv-define-setter to avoid deprecation warning.
1516
1517 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1518 (*record-cmpl-statistics-p*): Remove (was commented out).
1519 (cmpl-statistics-block): Remove (body was commented out).
1520 All callers changed.
1521 (add-completions-from-buffer, load-completions-from-file):
1522 Remove unused variables.
1523
1524 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1525
1526 * filecache.el (file-cache-delete-file-list):
1527 Print message only when told so.
1528 (file-cache-files-matching): Use #' in mapconcat argument.
1529
1530 * ffap.el (ffap-url-at-point): Fix reference to variable
1531 thing-at-point-default-mail-uri-scheme.
1532
1533 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * subr.el (define-error): New function.
1536 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1537 error-file-not-found and define with define-error.
1538 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1539 and define with define-error.
1540 * userlock.el (file-locked, file-supersession):
1541 * simple.el (mark-inactive):
1542 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1543 * progmodes/ada-mode.el (ada-mode-errors):
1544 * play/life.el (life-extinct):
1545 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1546 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1547 * nxml/rng-util.el (rng-error):
1548 * nxml/rng-uri.el (rng-uri-error):
1549 * nxml/rng-match.el (rng-compile-error):
1550 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1551 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1552 * nxml/nxml-rap.el (nxml-scan-error):
1553 * nxml/nxml-outln.el (nxml-outline-error):
1554 * net/soap-client.el (soap-error):
1555 * net/gnutls.el (gnutls-error):
1556 * net/ange-ftp.el (ftp-error):
1557 * mpc.el (mpc-proc-error):
1558 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1559 (json-number-format, json-string-escape, json-string-format)
1560 (json-key-format, json-object-format):
1561 * jka-compr.el (compression-error):
1562 * international/quail.el (quail-error):
1563 * international/kkc.el (kkc-error):
1564 * emacs-lisp/ert.el (ert-test-failed):
1565 * calc/calc.el (calc-error, inexact-result, math-overflow)
1566 (math-underflow):
1567 * bookmark.el (bookmark-error-no-filename):
1568 * epg.el (epg-error): Define with define-error.
1569
1570 * time.el (display-time-event-handler)
1571 (display-time-next-load-average): Don't call sit-for since it seems
1572 unnecessary (bug#15045).
1573
1574 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1575 Use #' instead of ' to quote functions.
1576 (checkdoc-output-mode): Use setq-local.
1577 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1578 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1579 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1580 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1581 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1582 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1583 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1584 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1585
1586 * ido.el (ido-completion-help): Fix up compiler warning.
1587
1588 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1589
1590 * frameset.el (frameset-p): Add autoload cookie.
1591 (frameset--jump-to-register): New function, based on code moved from
1592 register.el.
1593 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1594
1595 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1596 (frameset-restore, frameset-save, frameset-session-filter-alist):
1597 Remove declarations.
1598 (register-alist): Doc fix.
1599 (frameset-to-register): Move to frameset.el.
1600 (jump-to-register, describe-register-1): Remove frameset-specific code.
1601
1602 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1603
1604 * allout-widgets.el (allout-widgets-pre-command-business)
1605 (allout-widgets-post-command-business)
1606 (allout-widgets-after-change-handler)
1607 (allout-decorate-item-and-context, allout-set-boundary-marker)
1608 (allout-body-modification-handler)
1609 (allout-graphics-modification-handler): Mark ignored arguments.
1610 (allout-widgets-post-command-business)
1611 (allout-widgets-exposure-change-processor)
1612 (allout-widgets-exposure-undo-processor)
1613 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1614 (allout-parse-item-at-point, allout-decorate-item-guides)
1615 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1616 * allout.el (epa-passphrase-callback-function): Declare.
1617 (allout-overlay-insert-in-front-handler)
1618 (allout-overlay-interior-modification-handler)
1619 (allout-isearch-end-handler, allout-chart-siblings)
1620 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1621 (allout-yank-processing, allout-process-exposed)
1622 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1623 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1624 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1625 (lisp-indent-defform): Mark ignored arguments.
1626 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1627 (calculate-lisp-indent): Remove unused variables.
1628 * international/characters.el (indian-2-column, arabic-2-column)
1629 (tibetan): Mark ignored arguments.
1630 (use-cjk-char-width-table): Mark ignored arguments.
1631 Remove unused variables.
1632 * international/fontset.el (build-default-fontset-data)
1633 (x-compose-font-name, create-fontset-from-fontset-spec):
1634 Mark ignored arguments.
1635 (fontset-plain-name): Remove unused variables.
1636 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1637 (keyboard-coding-system): Mark ignored arguments.
1638 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1639 * help.el (resize-temp-buffer-window):
1640 * window.el (display-buffer-in-major-side-window)
1641 (display-buffer-in-side-window, display-buffer-in-previous-window):
1642 Remove unused variables.
1643 * isearch.el (isearch-forward-symbol):
1644 * version.el (emacs-bzr-version-bzr):
1645 * international/mule-cmds.el (current-language-environment):
1646 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1647 (x-handle-display):
1648 * term/pc-win.el (x-list-fonts, x-display-planes)
1649 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1650 (x-server-version, x-display-screens, x-display-mm-height)
1651 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1652 (x-selection-owner-p, x-own-selection-internal)
1653 (x-disown-selection-internal, x-get-selection-internal)
1654 (msdos-initialize-window-system):
1655 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1656 * term/x-win.el (x-handle-no-bitmap-icon):
1657 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1658 (vc-default-find-file-hook, vc-default-extra-menu):
1659 Mark ignored arguments.
1660
1661 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1664 break-condition in the context of the debugged code (bug#12685).
1665
1666 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1667
1668 * comint.el:
1669 Do not use an overlay to highlight the last prompt. (Bug#14744)
1670 (comint-mode): Make comint-last-prompt buffer local.
1671 (comint-last-prompt): New variable.
1672 (comint-last-prompt-overlay): Remove. Superseded by
1673 comint-last-prompt.
1674 (comint-snapshot-last-prompt, comint-output-filter):
1675 Use comint-last-prompt.
1676
1677 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1678
1679 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
1680 (frameset-save): Check validity of the resulting frameset.
1681
1682 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1683
1684 * ido.el (ido-record-command): Add doc string.
1685
1686 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1687
1688 * frameset.el (frameset): Do not disable creation of the default
1689 frameset-p predicate. Doc fix.
1690 (frameset-valid-p): New function, copied from the old predicate-p.
1691 Add additional checks.
1692 (frameset-restore): Check with frameset-valid-p.
1693 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1694 (frameset-name, frameset-description, frameset-properties)
1695 (frameset-states): Add docstring.
1696 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1697 (frameset-filter-alist): Doc fixes.
1698
1699 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1700
1701 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1702
1703 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1706 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1707 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1708 (byte-compile-normal-call): Remove obsolescence check.
1709
1710 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1711
1712 * frameset.el (frameset-restore): Doc fix.
1713
1714 * register.el (frameset-frame-id, frameset-frame-with-id)
1715 (frameset-p, frameset-restore, frameset-save): Declare.
1716 (register-alist): Document framesets.
1717 (frameset-session-filter-alist): Declare.
1718 (frameset-to-register): New function.
1719 (jump-to-register): Implement jumping to framesets. Doc fix.
1720 (describe-register-1): Describe framesets.
1721
1722 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1723
1724 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
1725
1726 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1727 Use lexical-binding.
1728
1729 * frameset.el (frameset): Use type vector, not list (incompatible
1730 change). Do not declare a new constructor, use the default one.
1731 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1732 `name' and `description', respectively, and add read-only slot
1733 `timestamp'. Doc fixes.
1734 (frameset-copy, frameset-persistent-filter-alist)
1735 (frameset-filter-alist, frameset-switch-to-gui-p)
1736 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1737 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1738 (frameset-filter-iconified, frameset-keep-original-display-p):
1739 Doc fixes.
1740 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1741 Rename from frameset-filter-(save|restore)-param. All callers changed.
1742 Doc fix.
1743 (frameset-p): Adapt to change to vector and be more thorough.
1744 Change arg name to OBJECT. Doc fix.
1745 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1746 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1747 All callers changed.
1748 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1749 All callers changed.
1750 (frameset--record-minibuffer-relationships): Rename from
1751 frameset--process-minibuffer-frames. All callers changed.
1752 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1753 Use new default constructor (again). Doc fix.
1754 (frameset--find-frame-if): Rename from `frameset--find-frame.
1755 All callers changed.
1756 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1757 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1758 Doc fix.
1759 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1760 PARAMETERS and WINDOW-STATE, respectively.
1761 (frameset-restore): Add new keyword argument PREDICATE.
1762 Reset frameset--target-display to nil. Doc fix.
1763
1764 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1767 (bat-mode): Use it.
1768 (bat-mode-syntax-table): Mark \n as end-of-comment.
1769 (bat-font-lock-keywords): Remove comment rule.
1770
1771 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1772 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1773
1774 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1775 (byte-compile-callargs-warn): Use `push'.
1776 (byte-compile-arglist-warn): Ignore higher-order "calls".
1777 (byte-compile-file-form-autoload): Use `pcase'.
1778 (byte-compile-function-form): If quoting a symbol, check that it exists.
1779
1780 2013-08-07 Eli Zaretskii <eliz@gnu.org>
1781
1782 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1783 and add a few popular commands found in batch files.
1784 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1785 (dos-mode): Doc fixes.
1786
1787 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1790 (dos-mode): Use setq-local. Add space after "rem".
1791 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1792 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1793
1794 2013-08-07 Arni Magnusson <arnima@hafro.is>
1795
1796 * progmodes/dos.el: New file.
1797 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1798 dos-mode.
1799
1800 2013-08-06 Glenn Morris <rgm@gnu.org>
1801
1802 * calendar/calendar.el: Add new faces, and day-header-array.
1803 (calendar-weekday-header, calendar-weekend-header)
1804 (calendar-month-header): New faces.
1805 (calendar-day-header-construct): New function.
1806 (calendar-day-header-width): Also :set calendar-day-header-array.
1807 (calendar-american-month-header, calendar-european-month-header)
1808 (calendar-iso-month-header): Use calendar- faces.
1809 (calendar-generate-month):
1810 Use calendar-day-header-array for day headers; apply faces to them.
1811 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1812 (calendar-abbrev-construct): Add optional maxlen argument.
1813 (calendar-day-name-array): Doc fix.
1814 (calendar-day-name-array, calendar-abbrev-length)
1815 (calendar-day-abbrev-array):
1816 Also :set calendar-day-header-array, and maybe redraw.
1817 (calendar-day-header-array): New option. (Bug#15007)
1818 (calendar-font-lock-keywords): Set to nil and make obsolete.
1819 (calendar-day-name): Add option to use header array.
1820
1821 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1822
1823 * net/shr.el (shr-render-td): Remove debugging.
1824 (shr-render-td): Make width computation consistent by defaulting
1825 all zero-width columns to 10 characters. This may not be optimal,
1826 but it's at least consistent.
1827 (shr-make-table-1): Redo last change to fix the real problem in
1828 colspan handling.
1829
1830 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1831
1832 * files.el (cache-long-line-scans):
1833 Make obsolete alias to `cache-long-scans'.
1834
1835 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1836
1837 * frameset.el (frameset, frameset-filter-alist)
1838 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1839 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1840 (frameset-compute-pos): Rename from frameset--compute-pos,
1841 and add docstring.
1842 (frameset-move-onscreen): Use frameset-compute-pos.
1843 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1844
1845 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1846 Fix typos in docstrings.
1847
1848 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1849
1850 * frame.el (get-other-frame): Tiny cleanup.
1851
1852 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1853
1854 * vc/vc.el (vc-default-ignore-completion-table):
1855 Silence byte-compiler warning.
1856
1857 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1858 slot , which can indeed be nil.
1859 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1860 Move entry for `left' from persistent to live filter alist.
1861 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1862 Doc fixes.
1863 (frameset-filter-params): When restoring a frame, copy items added to
1864 `filtered', to avoid unwittingly modifying the original parameters.
1865 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1866 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1867
1868 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1869 to use looking-at-p instead of looking-at. (Bug#15028)
1870
1871 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 Revert introduction of isearch-filter-predicates (bug#14714).
1874 Rely on add-function instead.
1875 * isearch.el (isearch-filter-predicates): Rename it back to
1876 isearch-filter-predicate.
1877 (isearch-message-prefix): Use advice-function-mapc and advice
1878 properties to get the isearch-message-prefix.
1879 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1880 instead of run-hook-with-args-until-failure.
1881 (isearch-filter-visible): Not obsolete any more.
1882 * loadup.el: Preload nadvice.
1883 * replace.el (perform-replace): Revert to funcall
1884 instead of run-hook-with-args-until-failure.
1885 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1886 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1887 dired-isearch-filenames-toggle; make it into a proper minor mode.
1888 Use add/remove-function.
1889 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1890 Call the minor-mode rather than add/remove-hook.
1891 (dired-isearch-filter-filenames):
1892 Remove isearch-message-prefix property.
1893 * info.el (Info--search-loop): New function, extracted from Info-search.
1894 Funcall isearch-filter-predicate instead of
1895 run-hook-with-args-until-failure isearch-filter-predicates.
1896 (Info-search): Use it.
1897 (Info-mode): Use isearch-filter-predicate instead of
1898 isearch-filter-predicates.
1899
1900 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1901
1902 Do not call to `selected-window' where it is assumed by default.
1903 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1904 `window-hscroll', `window-width', `window-height', `window-buffer',
1905 `window-frame', `window-start', `window-point', `next-window'
1906 and `window-display-table'.
1907 * abbrev.el (abbrev--default-expand):
1908 * bs.el (bs--show-with-configuration):
1909 * buff-menu.el (Buffer-menu-mouse-select):
1910 * calc/calc.el (calc):
1911 * calendar/calendar.el (calendar-generate-window):
1912 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1913 (diary-make-entry):
1914 * comint.el (send-invisible, comint-dynamic-complete-filename)
1915 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1916 * completion.el (complete):
1917 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1918 * disp-table.el (describe-current-display-table):
1919 * doc-view.el (doc-view-insert-image):
1920 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1921 * ehelp.el (with-electric-help):
1922 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1923 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1924 * emacs-lisp/helper.el (Helper-help-scroller):
1925 * emulation/cua-base.el (cua--post-command-handler-1):
1926 * eshell/esh-mode.el (eshell-output-filter):
1927 * ffap.el (ffap-gnus-wrapper):
1928 * help-macro.el (make-help-screen):
1929 * hilit-chg.el (highlight-compare-buffers):
1930 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1931 * hl-line.el (global-hl-line-highlight):
1932 * icomplete.el (icomplete-simple-completing-p):
1933 * isearch.el (isearch-done):
1934 * jit-lock.el (jit-lock-stealth-fontify):
1935 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1936 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1937 * mpc.el (mpc-tagbrowser, mpc):
1938 * net/rcirc.el (rcirc-any-buffer):
1939 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1940 * play/landmark.el (landmark-max-width, landmark-max-height):
1941 * play/zone.el (zone):
1942 * progmodes/compile.el (compilation-goto-locus):
1943 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1944 * progmodes/etags.el (find-tag-other-window):
1945 * progmodes/fortran.el (fortran-column-ruler):
1946 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1947 * progmodes/verilog-mode.el (verilog-point-text):
1948 * reposition.el (reposition-window):
1949 * rot13.el (toggle-rot13-mode):
1950 * server.el (server-switch-buffer):
1951 * shell.el (shell-dynamic-complete-command)
1952 (shell-dynamic-complete-environment-variable):
1953 * simple.el (insert-buffer, set-selective-display)
1954 (delete-completion-window):
1955 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1956 (speedbar-recenter):
1957 * startup.el (fancy-splash-head):
1958 * textmodes/ispell.el (ispell-command-loop):
1959 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1960 * tutorial.el (help-with-tutorial):
1961 * vc/add-log.el (add-change-log-entry):
1962 * vc/compare-w.el (compare-windows):
1963 * vc/ediff-help.el (ediff-indent-help-message):
1964 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1965 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1966 (ediff-setup-control-frame):
1967 * vc/emerge.el (emerge-position-region):
1968 * vc/pcvs-util.el (cvs-bury-buffer):
1969 * window.el (walk-windows, mouse-autoselect-window-select):
1970 * winner.el (winner-set-conf, winner-undo): Related users changed.
1971
1972 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * frameset.el (frameset--set-id): Doc fix.
1975 (frameset-frame-id, frameset-frame-id-equal-p)
1976 (frameset-locate-frame-id): New functions.
1977 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1978 (frameset-restore): Use them.
1979
1980 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1981
1982 Do not call to `selected-frame' where it is assumed by default.
1983 Affected functions are `raise-frame', `redraw-frame',
1984 `frame-first-window', `frame-terminal' and `delete-frame'.
1985 * calendar/appt.el (appt-disp-window):
1986 * epg.el (epg-wait-for-completion):
1987 * follow.el (follow-delete-other-windows-and-split)
1988 (follow-avoid-tail-recenter):
1989 * international/mule.el (set-terminal-coding-system):
1990 * mail/rmail.el (rmail-mail-return):
1991 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1992 * progmodes/f90.el (f90-add-imenu-menu):
1993 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1994 * server.el (server-switch-buffer):
1995 * simple.el (delete-completion-window):
1996 * talk.el (talk):
1997 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1998 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1999 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2000 * vc/ediff.el (ediff-documentation): Related users changed.
2001 * frame.el (selected-terminal): Remove the leftover.
2002
2003 2013-08-05 Glenn Morris <rgm@gnu.org>
2004
2005 * calendar/calendar.el (calendar-generate-month):
2006 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2007 (calendar-generate-month, calendar-font-lock-keywords):
2008 Fix for calendar-day-header-width > length of any day name.
2009
2010 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2011
2012 * desktop.el (desktop-clear): Use new name of sort predicate.
2013
2014 * frameset.el (frameset): Add docstring. Move :version property to its
2015 own `version' slot.
2016 (frameset-copy): Rename from copy-frameset.
2017 (frameset-p): Check more thoroughly.
2018 (frameset-prop): Do not check for :version, which is no longer a prop.
2019 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2020 Use new :never value instead of t.
2021 (frameset-filter-alist): Expand and clarify docstring.
2022 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2023 (frameset-filter-minibuffer, frameset-filter-save-param)
2024 (frameset-filter-restore-param, frameset-filter-iconified):
2025 Add pointer to docstring of frameset-filter-alist.
2026 (frameset-filter-params): Rename filter values to be more meaningful:
2027 :never instead of t, and reverse the meanings of :save and :restore.
2028 (frameset--process-minibuffer-frames): Clarify error message.
2029 (frameset-save): Avoid unnecessary and confusing call to framep.
2030 Use new BOA constructor for framesets.
2031 (frameset--reuse-list): Doc fix.
2032 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2033 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2034 (frameset-minibufferless-first-p): Doc fix.
2035 Rename from frameset-sort-frames-for-deletion.
2036 (frameset-restore): Doc fixes. Use new function names.
2037 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2038
2039 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2040
2041 * desktop.el (desktop-restore-forces-onscreen)
2042 (desktop-restore-reuses-frames): Document :keyword constant values.
2043 (desktop-filter-parameters-alist): Remove, now identical to
2044 frameset-filter-alist.
2045 (desktop--filter-tty*): Remove, moved to frameset.el.
2046 (desktop-save-frameset, desktop-restore-frameset):
2047 Do not pass :filters argument.
2048
2049 * frameset.el (frameset-live-filter-alist)
2050 (frameset-persistent-filter-alist): New variables.
2051 (frameset-filter-alist): Use them. Add autoload cookie.
2052 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2053 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2054 `frameset--id' (it's supposed to be internal to frameset.el).
2055 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2056 (frameset--initial-params): New function.
2057 (frameset--get-frame): Use it. Doc fix.
2058 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2059 Accept :all, not 'all.
2060 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2061 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2062 with fbound symbols. Fix frame id matching, and remove matching ids if
2063 the frame being restored is deleted. Obey :delete.
2064
2065 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * subr.el (macrop): New function.
2068 (text-clone--maintaining): New var.
2069 (text-clone--maintain): Rename from text-clone-maintain. Use it
2070 instead of inhibit-modification-hooks.
2071
2072 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2073 a proxy, so as handle autoloads and redefinitions of the target.
2074 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2075
2076 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2077 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2078 (pcase--mutually-exclusive-p): New function.
2079 (pcase--split-consp): Use it.
2080 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2081 mutually exclusive with the current predicate.
2082
2083 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2084 (edebug-macrop): Remove. Use `macrop' instead.
2085 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2086 (ad-macro-p):
2087 * eshell/esh-cmd.el (eshell-macrop):
2088 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2089
2090 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2093 (advice-mapc): New function, using it.
2094 (advice-function-member-p): New function.
2095 (advice--normalize): Store the cdr in advice--saved-rewrite since
2096 that's the part that will be changed.
2097 (advice--symbol-function): New function.
2098 (advice-remove): Handle removal before the function is defined.
2099 Adjust to new advice--saved-rewrite.
2100 (advice-member-p): Use advice-function-member-p and
2101 advice--symbol-function.
2102
2103 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2104
2105 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2106 (frameset-filter-minibuffer): Doc fix.
2107 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2108 (frameset--set-id, frameset--process-minibuffer-frames)
2109 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2110 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2111
2112 * desktop.el (desktop-clear): Only delete frames when called
2113 interactively and desktop-restore-frames is non-nil. Doc fix.
2114 (desktop-read): Set desktop-saved-frameset to nil.
2115
2116 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2117
2118 * vc/vc.el (vc-ignore): Rewrite.
2119 (vc-default-ignore-completion-table):
2120 (vc--read-lines):
2121 (vc--add-line, vc--remove-regexp): New functions.
2122
2123 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2124 (vc-svn-ignore-completion-table): New function.
2125
2126 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2127 (vc-hg-ignore-completion-table):
2128 (vc-hg-find-ignore-file): New functions.
2129
2130 * vc/vc-git.el (vc-git-ignore): Rewrite.
2131 (vc-git-ignore-completion-table):
2132 (vc-git-find-ignore-file): New functions.
2133
2134 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2135
2136 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2137 (vc-bzr-ignore-completion-table):
2138 (vc-bzr-find-ignore-file): New functions.
2139
2140 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2141
2142 * frameset.el (frameset-prop): New function and setter.
2143 (frameset-save): Do not modify frame list passed by the caller.
2144
2145 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2148
2149 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2152 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2153
2154 * custom.el (custom-initialize-default, custom-initialize-set)
2155 (custom-initialize-reset, custom-initialize-changed): Affect the
2156 toplevel-default-value (bug#6275, bug#14586).
2157 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2158 for bug#6275.
2159
2160 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2161
2162 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2163 Add cl-def* expressions.
2164
2165 * frameset.el (frameset-filter-params): Fix order of arguments.
2166
2167 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2168
2169 Move code related to saving frames to frameset.el.
2170 * desktop.el: Require frameset.
2171 (desktop-restore-frames): Doc fix.
2172 (desktop-restore-reuses-frames): Rename from
2173 desktop-restoring-reuses-frames.
2174 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2175 (desktop-clear): Clear frames too.
2176 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2177 (desktop--filter-tty*, desktop-save, desktop-read):
2178 Use frameset functions.
2179 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2180 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2181 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2182 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2183 (desktop--process-minibuffer-frames, desktop-save-frames)
2184 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2185 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2186 (desktop--sort-states, desktop-restoring-frames-p)
2187 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2188 (desktop-restoring-frameset-p, desktop-restore-frameset)
2189 (desktop--check-dont-save, desktop-save-frameset): New functions.
2190 (desktop--app-id): New constant.
2191 (desktop-first-buffer, desktop-buffer-ok-count)
2192 (desktop-buffer-fail-count): Move before first use.
2193 * frameset.el: New file.
2194
2195 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * files.el: Use lexical-binding.
2198 (dir-locals-read-from-file): Remove unused `err' variable.
2199 (hack-dir-local-variables--warned-coding): New var.
2200 (hack-dir-local-variables): Use it to avoid repeated warnings.
2201 (make-backup-file-name--default-function): New function.
2202 (make-backup-file-name-function): Use it as default.
2203 (buffer-stale--default-function): New function.
2204 (buffer-stale-function): Use it as default.
2205 (revert-buffer-insert-file-contents--default-function): New function.
2206 (revert-buffer-insert-file-contents-function): Use it as default.
2207 (insert-directory): Avoid add-to-list.
2208
2209 * autorevert.el (auto-revert-handler): Simplify.
2210 Use buffer-stale--default-function.
2211
2212 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2213
2214 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2215
2216 * whitespace.el (whitespace-ensure-local-variables): New function.
2217 (whitespace-cleanup-region): Call it.
2218 (whitespace-turn-on): Call it.
2219
2220 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2221
2222 Complete file name handlers.
2223
2224 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2225 (tramp-handle-verify-visited-file-modtime)
2226 (tramp-handle-file-notify-rm-watch): New functions.
2227 (tramp-call-process): Do not bind `default-directory'.
2228
2229 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2230 Order alphabetically.
2231 [access-file, add-name-to-file, dired-call-process]:
2232 [dired-compress-file, file-acl, file-notify-rm-watch]:
2233 [file-ownership-preserved-p, file-selinux-context]:
2234 [make-directory-internal, make-symbolic-link, set-file-acl]:
2235 [set-file-selinux-context, set-visited-file-modtime]:
2236 [verify-visited-file-modtime]: Add handler.
2237 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2238
2239 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2240 [file-notify-add-watch, file-notify-rm-watch]:
2241 [set-file-times, set-visited-file-modtime]:
2242 [verify-visited-file-modtime]: Add handler.
2243 (with-tramp-gvfs-error-message)
2244 (tramp-gvfs-handle-set-visited-file-modtime)
2245 (tramp-gvfs-fuse-file-name): Remove.
2246 (tramp-gvfs-handle-file-notify-add-watch)
2247 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2248 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2249
2250 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2251 Order alphabetically.
2252 [file-notify-rm-watch ]: Use default Tramp handler.
2253 [executable-find]: Remove private handler.
2254 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2255 `default-directory'.
2256 (tramp-sh-handle-executable-find)
2257 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2258 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2259 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2260 Do not use `format' in `tramp-message'.
2261
2262 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2263 [file-notify-rm-watch, set-visited-file-modtime]:
2264 [verify-visited-file-modtime]: Add handler.
2265 (tramp-smb-call-winexe): Do not bind `default-directory'.
2266
2267 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2268
2269 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2270
2271 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2272
2273 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2274 use it.
2275 (log-view-diff-changeset): Same.
2276 (log-view-diff-common): Call backend command `previous-revision'
2277 to find out the previous revision, in both cases. Swap the
2278 variables `to' and `fr', so that `fr' usually refers to the
2279 earlier revision (Bug#14989).
2280
2281 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2282
2283 * ibuf-ext.el (ibuffer-filter-by-filename):
2284 Make it work with dired buffers too.
2285
2286 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2287
2288 * emacs-lisp/re-builder.el (reb-color-display-p):
2289 * files.el (save-buffers-kill-terminal):
2290 * net/browse-url.el (browse-url):
2291 * server.el (server-save-buffers-kill-terminal):
2292 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2293 Prefer nil to selected-frame for the first arg of frame-parameter.
2294
2295 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2296
2297 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2298
2299 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2300
2301 * minibuffer.el (completion--twq-all): Try and preserve each
2302 completion's case choice (bug#14907).
2303
2304 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2305
2306 * net/network-stream.el (open-network-stream): Mention the new
2307 :nogreeting parameter.
2308 (network-stream-open-starttls): Use the :nogreeting parameter
2309 (bug#14938).
2310
2311 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2312
2313 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2314 more natural than popping.
2315
2316 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2317 (shr-urlify): Highlight under mouse.
2318
2319 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2320
2321 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2322
2323 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2324
2325 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2326 buffer for output.
2327
2328 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2329 point-min==1. Fix search string. Fix parentheses missing.
2330
2331 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2332 assume point-min==1. Fix search string. Fix parentheses missing.
2333
2334 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2335
2336 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2337 buffer for output.
2338
2339 2013-07-29 Eli Zaretskii <eliz@gnu.org>
2340
2341 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2342 initial frame is minibuffer-less. (Bug#14841)
2343
2344 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2345
2346 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2347 option.
2348
2349 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2350 (tramp-maybe-open-connection): Use it.
2351
2352 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2353
2354 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2355 minimal set of parameters passed when creating a frame, because
2356 the minibuffer status of a frame cannot be changed later.
2357
2358 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
2359
2360 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2361 replace-regexp-in-string and inadvertent omissions in previous change.
2362 (todo-filter-items): Ensure only file names are comma-separated in
2363 name of filtered items buffer.
2364
2365 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2366
2367 * desktop.el: Optionally force offscreen frames back onscreen.
2368 (desktop-restoring-reuses-frames): New option.
2369 (desktop--compute-pos, desktop--move-onscreen): New functions.
2370 (desktop--make-frame): Use desktop--move-onscreen.
2371
2372 2013-07-27 Alan Mackenzie <acm@muc.de>
2373
2374 Fontify a Java generic method as a function.
2375 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2376 value to t.
2377
2378 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2379
2380 * calendar/todo-mode.el: Add command to rename todo files.
2381 (todo-rename-file): New command.
2382 (todo-key-bindings-t): Add key binding for it. Change the
2383 bindings of todo-filter-regexp-items(-multifile) to use `x'
2384 instead of `r', since the latter is better suited to the new
2385 renaming command.
2386
2387 2013-07-27 Alan Mackenzie <acm@muc.de>
2388
2389 Make Java try-with-resources statement parse properly.
2390 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2391 (c-block-stmt-1-2-key): New language constants/variables.
2392 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2393 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2394 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2395 with c-block-stmt-1-2-key.
2396
2397 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2398
2399 * desktop.el (desktop--make-frame): Apply most frame parameters after
2400 creating the frame to force (partially or totally) offscreen frames to
2401 be restored as such.
2402
2403 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2404
2405 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2406 (Bug#14948)
2407
2408 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2411 `base' arg of backtrace-frame.
2412
2413 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2414
2415 * simple.el (list-processes): Doc fix.
2416
2417 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2418
2419 * desktop.el (desktop--select-frame):
2420 Try harder to reuse existing frames.
2421
2422 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2425 (edebug-eval): Use backtrace-eval.
2426 (edebug--display, edebug--recursive-edit): Don't let-bind the
2427 edebug-outer-* vars that keep track of variables we locally let-bind.
2428 (edebug-outside-excursion): Don't restore outside values of locally
2429 let-bound vars.
2430 (edebug--display): Use user-error.
2431 (cl-lexical-debug, cl-debug-env): Remove.
2432
2433 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2434
2435 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2436 are restored to be sure that they are visible before deleting any
2437 remaining ones.
2438
2439 2013-07-26 Matthias Meulien <orontee@gmail.com>
2440
2441 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2442 vc-print-root-log. (Bug#14948)
2443
2444 2013-07-26 Richard Stallman <rms@gnu.org>
2445
2446 Add aliases for encrypting mail.
2447 * epa.el (epa-mail-aliases): New option.
2448 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2449 Bind inhibit-read-only so read-only text doesn't ruin everything.
2450 (epa-mail-default-recipients): New subroutine broken out.
2451 Handle epa-mail-aliases.
2452
2453 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 Add support for lexical variables to the debugger's `e' command.
2456 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2457 vars, except for debugger-outer-match-data.
2458 (debugger-frame-number): Move check for "on a function call" from
2459 callers into it. Add `skip-base' argument.
2460 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2461 (debugger-env-macro): Only reset the state stored in non-variables,
2462 i.e. current-buffer and match-data.
2463 (debugger-eval-expression): Rewrite using backtrace-eval.
2464 * subr.el (internal--called-interactively-p--get-frame): Remove.
2465 (called-interactively-p):
2466 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2467 `base' arg of backtrace-frame instead.
2468
2469 2013-07-26 Glenn Morris <rgm@gnu.org>
2470
2471 * align.el (align-regexp): Doc fix. (Bug#14857)
2472 (align-region): Explicit error if subexpression missing/does not match.
2473
2474 * simple.el (global-visual-line-mode):
2475 Do not duplicate the mode lighter. (Bug#14858)
2476
2477 2013-07-25 Martin Rudalics <rudalics@gmx.at>
2478
2479 * window.el (display-buffer): In display-buffer bind
2480 split-window-keep-point to t, bug#14829.
2481
2482 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2483
2484 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2485 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2486 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2487 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2488 Change accordingly.
2489 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2490 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2491
2492 2013-07-25 Glenn Morris <rgm@gnu.org>
2493
2494 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2495
2496 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2497
2498 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2499 parameter to modify-frame-parameters if the value has not changed;
2500 this is a workaround for bug#14949.
2501 (desktop--make-frame): On cl-delete-if call, check parameter name,
2502 not full parameter.
2503
2504 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2505
2506 * vc/vc.el (vc-ignore): New function.
2507
2508 * vc/vc-svn.el (vc-svn-ignore): New function.
2509
2510 * vc/vc-hg.el (vc-hg-ignore): New function.
2511
2512 * vc/vc-git.el (vc-git-ignore): New function.
2513
2514 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2515 (vc-dir-ignore): New function.
2516
2517 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2518 (cvs-append-to-ignore): Move here from pcvs.el.
2519
2520 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2521
2522 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2523
2524 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
2525
2526 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2527 (desktop-restore-frames): Warn when deleting an existing frame failed.
2528
2529 2013-07-24 Glenn Morris <rgm@gnu.org>
2530
2531 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2532
2533 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
2534
2535 * filenotify.el (file-notify-supported-p):
2536 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2537 Remove functions.
2538
2539 * autorevert.el (auto-revert-use-notify):
2540 (auto-revert-notify-add-watch):
2541 * net/tramp.el (tramp-file-name-for-operation):
2542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2543 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2544 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2545 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2546 Remove `file-notify-supported-p' entry.
2547
2548 2013-07-24 Glenn Morris <rgm@gnu.org>
2549
2550 * printing.el: Replace all uses of deleted ps-windows-system,
2551 ps-lp-system, ps-flatten-list with lpr- versions.
2552
2553 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2556 checked with memq (bug#14935).
2557
2558 * files.el (revert-buffer-function): Use a non-nil default.
2559 (revert-buffer-preserve-modes): Declare var to
2560 provide access to the `preserve-modes' argument.
2561 (revert-buffer): Let-bind it.
2562 (revert-buffer--default): New function, extracted from revert-buffer.
2563
2564 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * lpr.el: Signal print errors more prominently.
2567 (print-region-function): Don't default to nil.
2568 (lpr-print-region): New function, extracted from print-region-1.
2569 Check lpr's return value and signal an error in case of problem.
2570 (print-region-1): Use it.
2571 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2572 versions instead.
2573 (ps-printer-name): Default to nil.
2574 (ps-printer-name-option): Default to lpr-printer-switch.
2575 (ps-print-region-function): Don't default to nil.
2576 (ps-postscript-code-directory): Simplify default.
2577 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2578 (ps-string-list, ps-eval-switch, ps-flatten-list)
2579 (ps-flatten-list-1): Remove.
2580 (ps-multibyte-buffer): Avoid setq.
2581 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2582 (print-region-function, ps-print-region-function): Don't set them here.
2583
2584 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2585
2586 * ido.el (ido-fractionp):
2587 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2588 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2589 (ido-max-directory-size, ido-max-dir-file-cache)
2590 (ido-decorations): Doc fix.
2591
2592 * ansi-color.el: Fix old URL.
2593
2594 2013-07-23 Michael R. Mauger <michael@mauger.com>
2595
2596 * progmodes/sql.el Version 3.3
2597 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2598 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2599 (sql-interactive-remove-continuation-prompt): Rewrite, use
2600 functions above. Fix continuation prompt and complete output line
2601 handling.
2602 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2603 redirected output buffer.
2604 (sql-mode): Restore deleted code (Bug#13591).
2605
2606 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2607
2608 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2609
2610 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
2611
2612 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2613
2614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2616 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2617
2618 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * desktop.el (desktop-clear): Simplify; remove useless checks
2621 against invalid buffer names.
2622 (desktop-list*): Use cl-list*.
2623 (desktop-buffer-info, desktop-create-buffer): Simplify.
2624
2625 2013-07-23 Leo Liu <sdl.web@gmail.com>
2626
2627 * bookmark.el (bookmark-make-record): Restore NAME as a default
2628 value. (Bug#14933)
2629
2630 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2633 extracted from autoload--insert-text.
2634 (autoload--insert-text): Remove.
2635 (autoload--print-cookie-text): New function, extracted from
2636 autoload--insert-cookie-text.
2637 (autoload--insert-cookie-text): Remove.
2638 (autoload-generate-file-autoloads): Adjust calls accordingly.
2639
2640 * winner.el (winner-hook-installed-p): Remove.
2641 (winner-mode): Simplify accordingly.
2642
2643 * subr.el (add-to-list): Fix compiler-macro when `append' is
2644 not constant. Don't use `cl-member' for the base case.
2645
2646 * progmodes/subword.el: Fix boundary case (bug#13758).
2647 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2648 own group.
2649 (subword-backward-regexp): Make it a constant.
2650 (subword-forward-internal): Don't treat a trailing capital as the
2651 beginning of a word.
2652
2653 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2654
2655 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2656 global value of tabulated-list-revert-hook (bug#14930).
2657
2658 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
2659
2660 * desktop.el: Require 'cl-lib.
2661 (desktop-before-saving-frames-functions): New hook.
2662 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2663 for frames being saved. Rename from desktop--save-minibuffer-frames.
2664 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2665 Do not save frames with non-nil `desktop-dont-save' parameter.
2666 Filter out deleted frames.
2667 (desktop--find-frame): Use cl-find-if.
2668 (desktop--select-frame): Use cl-(first|second|third) to access values
2669 of desktop-mini.
2670 (desktop--make-frame): Use cl-delete-if.
2671 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2672 (desktop-restore-frames): Use cl-(first|second|third) to access values
2673 of desktop-mini. Look for visible frame at the end, not while
2674 restoring frames.
2675
2676 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2677 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2678 Use string-match-p, looking-at-p (bug#14927).
2679
2680 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
2681
2682 * desktop.el (desktop-saved-frame-states):
2683 Rename from desktop--saved-states; all users changed.
2684 (desktop-save-frames): Rename from desktop--save-frames.
2685 Do not save state to desktop file.
2686 (desktop-save): Save desktop-saved-frame-states to desktop file
2687 and reset to nil.
2688 (desktop-restoring-frames-p): New function.
2689 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2690 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2691 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2692
2693 * desktop.el: Correctly restore iconified frames.
2694 (desktop--filter-iconified-position): New function.
2695 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2696
2697 2013-07-20 Glenn Morris <rgm@gnu.org>
2698
2699 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2700 Let `message' do the formatting.
2701 (def-gdb-preempt-display-buffer): Add explicit format.
2702
2703 * image-dired.el (image-dired-track-original-file):
2704 Use with-current-buffer.
2705 (image-dired-track-thumbnail): Use with-current-buffer.
2706 Avoid changing point of wrong window.
2707
2708 * image-dired.el (image-dired-track-original-file):
2709 Avoid changing point of wrong window. (Bug#14909)
2710
2711 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
2712
2713 * progmodes/gdb-mi.el (gdb-done-or-error):
2714 Guard against "%" in gdb output. (Bug#14127)
2715
2716 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2717
2718 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2719 (Bug#14826)
2720
2721 * international/mule.el (coding-system-iso-2022-flags): Fix last
2722 change.
2723
2724 2013-07-20 Kenichi Handa <handa@gnu.org>
2725
2726 * international/mule.el (coding-system-iso-2022-flags):
2727 Add `8-bit-level-4'. (Bug#8522)
2728
2729 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2730
2731 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2732 (bug#14815).
2733
2734 * net/eww.el (eww-process-text-input): Allow inputting when the
2735 point is at the start of the line, as the properties aren't
2736 front-sticky.
2737
2738 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2739 degenerate widths.
2740
2741 2013-07-19 Richard Stallman <rms@gnu.org>
2742
2743 * epa.el (epa-popup-info-window): Doc fix.
2744
2745 * subr.el (split-string): New arg TRIM.
2746
2747 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2750 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2751
2752 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * filenotify.el (file-notify--library): Rename from
2755 `file-notify-support'. Do not autoload. Adapt all uses.
2756 (file-notify-supported-p): New defun.
2757
2758 * autorevert.el (auto-revert-use-notify):
2759 Use `file-notify-supported-p' instead of `file-notify-support'.
2760 Adapt docstring.
2761 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2762
2763 * net/tramp.el (tramp-file-name-for-operation):
2764 Add `file-notify-supported-p'.
2765
2766 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2767 New defun.
2768 (tramp-sh-file-name-handler-alist): Add it as handler for
2769 `file-notify-supported-p '.
2770
2771 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2773 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2774 Add `ignore' as handler for `file-notify-*' functions.
2775
2776 2013-07-17 Eli Zaretskii <eliz@gnu.org>
2777
2778 * simple.el (line-move-partial, line-move): Don't start vscroll or
2779 scroll-up if the current line is not taller than the window.
2780 (Bug#14881)
2781
2782 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2783
2784 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2785 highlight question marks in the method names as strings.
2786 (ruby-block-beg-keywords): Inline.
2787 (ruby-font-lock-keyword-beg-re): Extract from
2788 `ruby-font-lock-keywords'.
2789
2790 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2791
2792 * frame.el (blink-cursor-blinks): New defcustom.
2793 (blink-cursor-blinks-done): New defvar.
2794 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2795 (blink-cursor-timer-function): Check if number of blinks has been
2796 done on X and NS.
2797 (blink-cursor-suspend, blink-cursor-check): New defuns.
2798
2799 2013-07-15 Glenn Morris <rgm@gnu.org>
2800
2801 * edmacro.el (edmacro-format-keys): Fix previous change.
2802
2803 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2804
2805 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2806 The hack didn't work outside English locales anyway.
2807
2808 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
2809
2810 * simple.el (define-alternatives): Rename from alternatives-define,
2811 per RMS' suggestion.
2812
2813 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
2814
2815 * desktop.el (desktop-restore-frames): Change default to t.
2816 (desktop-restore-in-current-display): Now offer more options.
2817 (desktop-restoring-reuses-frames): New customization option.
2818 (desktop--saved-states): Doc fix.
2819 (desktop-filter-parameters-alist): New variable, renamed and expanded
2820 from desktop--excluded-frame-parameters.
2821 (desktop--target-display): New variable.
2822 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2823 (desktop--filter-tty*, desktop--filter-*-color)
2824 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2825 (desktop--filter-save-desktop-parm)
2826 (desktop-restore-in-original-display-p): New functions.
2827 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2828 (desktop--save-minibuffer-frames): New function, inspired by a similar
2829 function from Martin Rudalics.
2830 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2831 (desktop--restore-in-this-display-p): Remove.
2832 (desktop--find-frame): Rename from desktop--find-frame-in-display
2833 and add predicate argument.
2834 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2835 (desktop--reuse-list): New variable.
2836 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2837 New functions.
2838 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2839
2840 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2843
2844 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2845
2846 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2847 Highlight conversion methods on Kernel.
2848
2849 2013-07-13 Alan Mackenzie <acm@muc.de>
2850
2851 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2852 and comment it out. This out-commenting enables certain C++
2853 declarations to be parsed correctly.
2854
2855 2013-07-13 Eli Zaretskii <eliz@gnu.org>
2856
2857 * international/mule.el (define-coding-system): Doc fix.
2858
2859 * simple.el (default-font-height): Don't call font-info if the
2860 frame's default font didn't change since the frame was created.
2861 (Bug#14838)
2862
2863 2013-07-13 Leo Liu <sdl.web@gmail.com>
2864
2865 * ido.el (ido-read-file-name): Guard against non-symbol value.
2866
2867 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2868
2869 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2870 in nested defuns.
2871
2872 2013-07-13 Leo Liu <sdl.web@gmail.com>
2873
2874 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2875 ido-set-matches call. (Bug#6852)
2876
2877 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2878
2879 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2880 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2881 Ruby 2.0.
2882 (ruby-font-lock-keywords): Distinguish calls to functions with
2883 module-like names from module references. Highlight character
2884 literals.
2885
2886 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2887
2888 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2889 (gdb-send): Handle continued commands. (Bug#14847)
2890
2891 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2892
2893 * desktop.el (desktop--v2s): Remove unused local variable.
2894 (desktop-save-buffer): Make defvar-local; adjust docstring.
2895 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2896 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2897
2898 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2899
2900 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2901
2902 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2903
2904 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2905 (Bug#14842)
2906
2907 2013-07-12 Glenn Morris <rgm@gnu.org>
2908
2909 * doc-view.el: Require cl-lib at runtime too.
2910 (doc-view-remove-if): Remove.
2911 (doc-view-search-next-match, doc-view-search-previous-match):
2912 Use cl-remove-if.
2913
2914 * edmacro.el: Require cl-lib at runtime too.
2915 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2916 (edmacro-mismatch, edmacro-subseq): Remove.
2917
2918 * shadowfile.el: Require cl-lib.
2919 (shadow-remove-if): Remove.
2920 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2921 Use cl-remove-if.
2922
2923 * wid-edit.el: Require cl-lib.
2924 (widget-choose): Use cl-remove-if.
2925 (widget-remove-if): Remove.
2926
2927 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2928 (ebrowse-delete-if-not): Remove.
2929 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2930 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2931 Use cl-delete-if-not.
2932
2933 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2934
2935 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2936 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2937
2938 2013-07-12 Leo Liu <sdl.web@gmail.com>
2939
2940 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2941
2942 2013-07-11 Glenn Morris <rgm@gnu.org>
2943
2944 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2945 (edebug-gensym-index, edebug-gensym):
2946 Remove reimplementation of cl-gensym.
2947 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2948
2949 * thumbs.el: Require cl-lib at run-time too.
2950 (thumbs-gensym-counter, thumbs-gensym):
2951 Remove reimplementation of cl-gensym.
2952 (thumbs-temp-file): Use cl-gensym.
2953
2954 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2955 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2956 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2957 (ert--union, ert--gensym-counter, ert--gensym-counter)
2958 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2959 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2960 (ert-make-test-unbound, ert--expand-should-1)
2961 (ert--expand-should, ert--should-error-handle-error)
2962 (should-error, ert--explain-equal-rec)
2963 (ert--plist-difference-explanation, ert-select-tests)
2964 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2965 Use cl-lib functions rather than reimplementations.
2966
2967 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2968
2969 * net/tramp.el (tramp-methods): Extend docstring.
2970 (tramp-connection-timeout): New defcustom.
2971 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2972 (with-tramp-progress-reporter): Simplify.
2973 (tramp-process-actions): Improve messages.
2974
2975 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2976 * net/tramp-sh.el (tramp-maybe-open-connection):
2977 Use `tramp-connection-timeout'.
2978 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2979 (Bug#14808)
2980
2981 2013-07-11 Leo Liu <sdl.web@gmail.com>
2982
2983 * ido.el (ido-read-file-name): Conform to the requirements of
2984 read-file-name. (Bug#11861)
2985 (ido-read-directory-name): Conform to the requirements of
2986 read-directory-name.
2987
2988 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2989
2990 * subr.el (delay-warning): New function.
2991
2992 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2993
2994 * simple.el (default-line-height): New function.
2995 (line-move-partial, line-move): Use it instead of computing the
2996 line height inline.
2997 (line-move-partial): Always compute ROWH. If the last line is
2998 partially-visible, but its text is completely visible, allow
2999 cursor to enter such a partially-visible line.
3000
3001 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3002
3003 Improve error messages. (Bug#14808)
3004
3005 * net/tramp.el (tramp-current-connection): New defvar, moved from
3006 tramp-sh.el.
3007 (tramp-message-show-progress-reporter-message): Remove, not
3008 needed anymore.
3009 (tramp-error-with-buffer): Show message in minibuffer.
3010 Discard input before waiting. Reset connection timestamp.
3011 (with-tramp-progress-reporter): Improve messages.
3012 (tramp-process-actions): Use progress reporter. Delete process in
3013 case of error. Improve messages.
3014
3015 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3016 Call `tramp-error-with-buffer' with vector and buffer.
3017 (tramp-current-connection): Remove.
3018 (tramp-maybe-open-connection): The car of
3019 `tramp-current-connection' are the first 3 slots of the vector.
3020
3021 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3022
3023 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3024 inside continued strings.
3025
3026 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3027
3028 Timestamp fixes for undo (Bug#14824).
3029 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3030
3031 2013-07-10 Leo Liu <sdl.web@gmail.com>
3032
3033 * files.el (require-final-newline): Allow safe local value.
3034 (Bug#14834)
3035
3036 2013-07-09 Leo Liu <sdl.web@gmail.com>
3037
3038 * ido.el (ido-read-directory-name): Handle fallback.
3039 (ido-read-file-name): Update DIR to ido-current-directory.
3040 (Bug#1516)
3041 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3042
3043 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3044
3045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3046 "autoload". Remove "warn lower camel case" section, previously
3047 commented out. Highlight negation char. Do not highlight the
3048 target in singleton method definitions.
3049
3050 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * faces.el (tty-setup-hook): Declare the hook.
3053
3054 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3055 and detect when a guard/pred depends on local vars (bug#14773).
3056 (pcase--u1): Adjust caller.
3057
3058 2013-07-08 Eli Zaretskii <eliz@gnu.org>
3059
3060 * simple.el (line-move-partial, line-move): Account for
3061 line-spacing.
3062 (line-move-partial): Avoid setting vscroll when the last
3063 partially-visible line in window is of default height.
3064
3065 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3066
3067 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3068 been used a while.
3069
3070 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
3071
3072 * subr.el (read-quoted-char): Remove unused local variable `char'.
3073
3074 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3075
3076 * ediff.el (ediff-version): Version update.
3077 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3078 (ediff-merge-with-ancestor-command, ediff-directories-command)
3079 (ediff-directories3-command, ediff-merge-directories-command)
3080 (ediff-merge-directories-with-ancestor-command): New functions.
3081 All are command-line interfaces to ediff: to facilitate calling
3082 Emacs with the appropriate ediff functions invoked.
3083
3084 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3085 (viper-save-kill-buffer): Check if buffer is modified.
3086
3087 * viper.el (viper-version): Version update.
3088 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3089
3090 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3093 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3094 (viper-intercept-ESC-key): Simplify.
3095 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3096 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3097 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3098 (viper-setup-ESC-to-escape): New functions.
3099 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3100 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3101
3102 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3103
3104 * simple.el (default-font-height, window-screen-lines):
3105 New functions.
3106 (line-move, line-move-partial): Use them instead of
3107 frame-char-height and window-text-height. This makes scrolling
3108 text smoother when the buffer's default face uses a font that is
3109 different from the frame's default font.
3110
3111 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3112
3113 * files.el (write-file): Do not display confirm dialog for NS,
3114 it does its own dialog, which can't be cancelled (Bug#14578).
3115
3116 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3117
3118 * simple.el (line-move-partial): Adjust the row returned by
3119 posn-at-point for the current window-vscroll. (Bug#14567)
3120
3121 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3122
3123 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3124 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3125 spaces.
3126
3127 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3128
3129 * window.el (window-state-put-stale-windows): New variable.
3130 (window--state-put-2): Save list of windows without matching buffer.
3131 (window-state-put): Remove "bufferless" windows if possible.
3132
3133 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * simple.el (alternatives-define): Remove leftover :group keyword.
3136 Tweak docstring.
3137
3138 2013-07-06 Leo Liu <sdl.web@gmail.com>
3139
3140 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3141 (ido-enable-virtual-buffers): New variable.
3142 (ido-buffer-internal, ido-toggle-virtual-buffers)
3143 (ido-make-buffer-list): Use it.
3144 (ido-exhibit): Support turning on and off virtual buffers
3145 automatically.
3146
3147 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3148
3149 * simple.el (alternatives-define): New macro.
3150
3151 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * subr.el (read-quoted-char): Use read-key.
3154 (sit-for): Let read-event decode tty input (bug#14782).
3155
3156 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3157
3158 * calendar/todo-mode.el: Add handling of file deletion, both by
3159 mode command and externally. Fix various related bugs.
3160 Clarify Commentary and improve some documentation strings and code.
3161 (todo-delete-file): New command.
3162 (todo-check-file): New function.
3163 (todo-show): Handle external deletion of the file we're trying to
3164 show (bug#14688). Replace called-interactively-p by an optional
3165 prefix argument to avoid problematic interaction with catch form
3166 when byte compiled (bug#14702).
3167 (todo-quit): Handle external deletion of the archive's todo file.
3168 Make sure the buffer that was visiting the archive file is still
3169 live before trying to bury it.
3170 (todo-category-completions): Handle external deletion of any
3171 category completion files.
3172 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3173 of todo files, in case of external deletion.
3174 (todo-add-file): Replace unnecessary setq by let-binding.
3175 (todo-find-archive): Check whether there are any archives.
3176 Replace unnecessary setq by let-binding.
3177 (todo-archive-done-item): Use find-file-noselect to get the
3178 archive buffer whether or not the archive already exists.
3179 Remove superfluous code. Use file size instead of buffer-file-name to
3180 check if the archive is new; if it is, update list of archives.
3181 (todo-default-todo-file): Allow nil to be a valid value for when
3182 there are no todo files.
3183 (todo-reevaluate-default-file-defcustom): Use corrected definition
3184 of todo-default-todo-file.
3185 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3186 (todo-delete-category, todo-show-categories-table)
3187 (todo-category-number): Clarify comment.
3188 (todo-filter-items): Clarify documentation string.
3189 (todo-show-current-file, todo-display-as-todo-file)
3190 (todo-reset-and-enable-done-separator): Tweak documentation string.
3191 (todo-done-separator): Make separator length window-width, since
3192 bug#2749 is now fixed.
3193
3194 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3195
3196 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3197 Support both "gvfs-monitor-dir" and "inotifywait".
3198 (tramp-sh-file-inotifywait-process-filter): Rename from
3199 `tramp-sh-file-notify-process-filter'.
3200 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3201 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3202
3203 2013-07-05 Leo Liu <sdl.web@gmail.com>
3204
3205 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3206
3207 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3208
3209 * frame.el (display-pixel-height, display-pixel-width)
3210 (display-mm-height, display-mm-width): Mention behavior on
3211 multi-monitor setups in docstrings.
3212 (w32-display-monitor-attributes-list): Declare function.
3213 (display-monitor-attributes-list): Use it.
3214
3215 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3216
3217 * filenotify.el: New package.
3218
3219 * autorevert.el (top): Require filenotify.el.
3220 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3221 instead.
3222 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3223 (auto-revert-notify-handler): Use `file-notify-*' functions.
3224
3225 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3226
3227 * net/tramp.el (tramp-file-name-for-operation):
3228 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3229
3230 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3231 for `file-notify-add-watch' and `file-notify-rm-watch'.
3232 (tramp-process-sentinel): Improve trace.
3233 (tramp-sh-handle-file-notify-add-watch)
3234 (tramp-sh-file-notify-process-filter)
3235 (tramp-sh-handle-file-notify-rm-watch)
3236 (tramp-get-remote-inotifywait): New defuns.
3237
3238 2013-07-03 Juri Linkov <juri@jurta.org>
3239
3240 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3241 call of `occur-read-primary-args' to interactive spec.
3242
3243 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3244 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3245
3246 2013-07-03 Matthias Meulien <orontee@gmail.com>
3247
3248 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3249 `Buffer-menu-multi-occur'. Add it to the menu.
3250 (Buffer-menu-mode): Document it in docstring.
3251 (Buffer-menu-multi-occur): New command. (Bug#14673)
3252
3253 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3254
3255 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3256 keywords and built-ins.
3257
3258 2013-07-03 Glenn Morris <rgm@gnu.org>
3259
3260 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3261
3262 Make info-xref checks case-sensitive by default
3263 * info.el (Info-find-node, Info-find-in-tag-table)
3264 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3265 Add option for exact case matching of nodes.
3266 * info-xref.el (info-xref): New custom group.
3267 (info-xref-case-fold): New option.
3268 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3269
3270 2013-07-03 Leo Liu <sdl.web@gmail.com>
3271
3272 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3273
3274 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3275
3276 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3277 middle of block statement initially, lower the depth. Remove
3278 FIXME comment, not longer valid. Remove middle of block statement
3279 detection, no need to do that anymore since we've been using
3280 `ruby-parse-region' here.
3281
3282 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3283
3284 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3285
3286 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3287
3288 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3289
3290 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3291
3292 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3293 (desktop-restore-in-current-display): New customization option.
3294 (desktop--excluded-frame-parameters): Add `font'.
3295 (desktop--save-frames): Rename from desktop--save-windows.
3296 (desktop--restore-in-this-display-p): New function.
3297 (desktop--make-full-frame): Remove unwanted width/height from
3298 full(width|height) frames.
3299 (desktop--restore-frames): Rename from desktop--restore-windows.
3300 Obey desktop-restore-current-display. Do not delete old frames or
3301 select a new frame unless we were able to restore at least one frame.
3302
3303 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3304
3305 * files.el (find-file-noselect): Simplify conditional expression.
3306
3307 * remember.el (remember-append-to-file):
3308 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3309
3310 Add `remember-notes' function to store random notes across Emacs
3311 restarts.
3312 * remember.el (remember-data-file): Add :set callback to affect
3313 notes buffer (if any).
3314 (remember-notes): New command.
3315 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3316 New defcustoms for the `remember-notes' function.
3317 (remember-notes-save-and-bury-buffer): New command.
3318 (remember-notes-mode-map): New variable.
3319 (remember-mode): New minor mode.
3320 (remember-notes--kill-buffer-query): New function.
3321 * startup.el (initial-buffer-choice): Add notes to custom type.
3322
3323 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3324
3325 * bindings.el (right-char, left-char): Don't call sit-for, this is
3326 no longer needed. Use arithmetic comparison only for numerical
3327 arguments.
3328
3329 * international/mule-cmds.el (select-safe-coding-system):
3330 Handle the case of FROM being a string correctly. (Bug#14755)
3331
3332 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3333
3334 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3335 progression on degenerate tables.
3336 (shr-rescale-image): ImageMagick animated images currently don't work.
3337
3338 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
3339
3340 Some fixes and improvements for desktop frame restoration.
3341 It is still experimental and disabled by default.
3342 * desktop.el (desktop--save-windows): Put the selected frame at
3343 the head of the list.
3344 (desktop--make-full-frame): New function.
3345 (desktop--restore-windows): Try to re-select the frame that was
3346 selected upon saving. Do not abort if some frames fail to restore,
3347 just show an error message and continue. Set up maximized frames
3348 so they have default non-maximized dimensions.
3349
3350 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3351
3352 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3353 Don't start heredoc inside a string or comment.
3354
3355 2013-06-29 Eli Zaretskii <eliz@gnu.org>
3356
3357 * bindings.el (visual-order-cursor-movement): New defcustom.
3358 (right-char, left-char): Provide visual-order cursor motion by
3359 calling move-point-visually. Update the doc strings.
3360
3361 2013-06-28 Kenichi Handa <handa@gnu.org>
3362
3363 * international/mule.el (define-coding-system): New coding system
3364 properties :inhibit-null-byte-detection,
3365 :inhibit-iso-escape-detection, and :prefer-utf-8.
3366 (set-buffer-file-coding-system): If :charset-list property of
3367 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3368 appropriate for setting.
3369
3370 * international/mule-cmds.el (select-safe-coding-system):
3371 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3372 multibyte characters, return utf-8 (or one of its siblings).
3373
3374 * international/mule-conf.el (prefer-utf-8): New coding system.
3375 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3376 files.
3377
3378 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3379
3380 * net/shr.el (shr-render-region): New function.
3381
3382 * net/eww.el: Autoload `eww-browse-url'.
3383
3384 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3385
3386 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3387 Adapt to `package-desc-version' being a list.
3388 Use `package--ac-desc-version' to retrieve version from a package
3389 archive element.
3390
3391 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3392
3393 New experimental feature to save&restore window and frame setup.
3394 * desktop.el (desktop-save-windows): New defcustom.
3395 (desktop--saved-states): New var.
3396 (desktop--excluded-frame-parameters): New defconst.
3397 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3398 (desktop--restore-windows, desktop--save-windows): New functions.
3399 (desktop-save): Call `desktop--save-windows'.
3400 (desktop-read): Call `desktop--restore-windows'.
3401
3402 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3403
3404 * net/shr.el (add-face-text-property): Remove compat definition.
3405
3406 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3407
3408 * info.el (Info-try-follow-nearest-node): Move search for footnote
3409 above search for node name to prevent missing a footnote (bug#14717).
3410
3411 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3412
3413 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3414
3415 2013-06-27 Leo Liu <sdl.web@gmail.com>
3416
3417 * net/eww.el (eww-read-bookmarks): Check file size.
3418
3419 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3422 advice--pending if newdef is nil or an autoload (bug#13820).
3423 (advice-mapc): New function.
3424
3425 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3426
3427 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3428 probably.
3429 (eww-mode-map): Add a menu bar.
3430 (eww-add-bookmark): New command.
3431 (eww-bookmark-mode): New mode and commands.
3432 (eww-add-bookmark): Remove newlines from the title.
3433 (eww-bookmark-browse): Don't bug out if it's the only window.
3434
3435 2013-06-26 Glenn Morris <rgm@gnu.org>
3436
3437 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3438 (hfy-size): Handle ttys. (Bug#14668)
3439
3440 * info-xref.el: Update for Texinfo 5 change in *note format.
3441 (info-xref-node-re, info-xref-note-re): New constants.
3442 (info-xref-check-buffer): Use info-xref-note-re.
3443
3444 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3447
3448 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3449 nil terminate the loop (bug#14718).
3450
3451 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3452
3453 * net/eww.el: Rework history traversal. When going forward/back,
3454 put these actions into the history, too, so that they can be
3455 replayed.
3456 (eww-render): Move the history reset to the correct buffer.
3457
3458 2013-06-25 Juri Linkov <juri@jurta.org>
3459
3460 * files-x.el (modify-dir-local-variable): Change the header comment
3461 in the file with directory local variables. (Bug#14692)
3462
3463 * files-x.el (read-file-local-variable-value): Add `default'.
3464 (Bug#14710)
3465
3466 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3467
3468 * net/eww.el (eww-make-unique-file-name): Create a unique file
3469 name before saving to entering `y' accidentally asynchronously.
3470
3471 2013-06-25 Ivan Kanis <ivan@kanis.fr>
3472
3473 * net/eww.el (eww-download): New command and keystroke.
3474
3475 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3476
3477 * net/eww.el (eww-copy-page-url): Change name of command.
3478
3479 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3480 be more consistent with Info and dired.
3481
3482 * net/eww.el (eww-mode-map): Ditto.
3483
3484 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3487 packages from archives.
3488 (package-archive-contents): Change format; include obsolete packages.
3489 (package-desc): Use `dir' to mark builtin packages.
3490 (package--from-builtin): Set the `dir' field to `builtin'.
3491 (generated-autoload-file, version-control): Declare.
3492 (package-compute-transaction): Change first arg and return value to be
3493 lists of package-descs. Adjust to new package-archive-contents format.
3494 (package--add-to-archive-contents): Adjust to new
3495 package-archive-contents format.
3496 (package-download-transaction): Arg is now a list of package-descs.
3497 (package-install): If `pkg' is a package name, pass it as
3498 a requirement, so it is subject to the usual (e.g. disabled) checks.
3499 (describe-package): Accept package-desc as well.
3500 (describe-package-1): Describe a specific package-desc. Add links to
3501 other package-descs for the same package name.
3502 (package-menu-describe-package): Pass the actual package-desc.
3503 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3504 works correctly.
3505 (package-desc-status): New function.
3506 (package-menu--refresh): New function, extracted
3507 from package-menu--generate.
3508 (package-menu--generate): Use it.
3509 (package-delete): Update package-alist.
3510 (package-menu-execute): Don't call package-initialize.
3511
3512 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3513 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3514 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3515 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3516 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3517 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3518
3519 2013-06-25 Martin Rudalics <rudalics@gmx.at>
3520
3521 * window.el (window--state-get-1): Workaround for bug#14527.
3522 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3523
3524 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3525
3526 * net/eww.el (eww-back-url): Implement the history by stashing all
3527 the data into a list.
3528 (eww-forward-url): Allow going forward in the history, too.
3529
3530 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3533 for values and use read--expression for expressions (bug#14710).
3534 (read-file-local-variable): Avoid setq.
3535 (read-file-local-variable-mode): Use minor-mode-list.
3536
3537 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3538
3539 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3540 for DOI URLs.
3541
3542 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3543
3544 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3545 Update imenu-support when dialect changes.
3546
3547 2013-06-25 Leo Liu <sdl.web@gmail.com>
3548
3549 * ido.el (ido-read-internal): Allow forward slash on windows.
3550
3551 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3552
3553 * net/eww.el (eww): Start of strings is \\`, not ^.
3554
3555 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3556
3557 * net/shr.el (shr-browse-url): Fix interactive spec.
3558
3559 * net/eww.el (eww): Add a trailing slash to domain names.
3560
3561 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
3562
3563 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3564
3565 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3566
3567 * net/shr.el (shr-browse-url): Use an external browser if given a
3568 prefix.
3569
3570 * net/eww.el (eww-external-browser): Move to shr.
3571
3572 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3573
3574 * net/eww.el (eww): Work more correctly for file: URLs.
3575 (eww-detect-charset): Allow quoted charsets.
3576 (eww-yank-page-url): New command and keystroke.
3577
3578 2013-06-24 Daiki Ueno <ueno@gnu.org>
3579
3580 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3581 file name of gpg executable.
3582 (epg-context-program): New function.
3583 (epg-context-home-directory): New function.
3584 (epg-context-set-program): New function.
3585 (epg-context-set-home-directory): New function.
3586 (epg--start): Use `epg-context-program' instead of
3587 'epg-gpg-program'.
3588 (epg--list-keys-1): Likewise.
3589
3590 2013-06-24 Leo Liu <sdl.web@gmail.com>
3591
3592 * ido.el (ido-read-internal): Fix bug#14620.
3593
3594 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3595
3596 * faces.el (face-documentation): Simplify.
3597 (read-face-attribute, tty-find-type, x-resolve-font-name):
3598 Use `string-match-p'.
3599 (list-faces-display): Use `string-match-p'. Simplify.
3600 (face-spec-recalc): Check face to avoid face alias loops.
3601 (read-color): Use `string-match-p' and non-capturing parenthesis.
3602
3603 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3604
3605 * net/shr.el (shr-rescale-image): Use the new
3606 :max-width/:max-height functionality.
3607
3608 2013-06-23 Ivan Kanis <ivan@kanis.fr>
3609
3610 * net/eww.el (eww-search-prefix): New variable.
3611 (eww): Use it.
3612 (eww-external-browser): New variable.
3613 (eww-mode-map): New keystroke.
3614 (eww-browse-with-external-browser): New command.
3615
3616 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3617
3618 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3619
3620 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3621 Don't skip aligning the next header field when padding is 0;
3622 otherwise, field width is not respected unless the title is as
3623 wide as the field.
3624
3625 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * emacs-lisp/package.el (package-el-version): Remove.
3628 (package-process-define-package): Fix inf-loop.
3629 (package-install): Allow symbols as arguments again.
3630
3631 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3632
3633 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3634 add some more keyword-like methods.
3635 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3636
3637 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
3638
3639 * bs.el (bs-buffer-show-mark): Make defvar-local.
3640 (bs-mode): Use setq-local.
3641
3642 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3643 (emacs-lock--try-unlocking): Make defvar-local.
3644
3645 2013-06-22 Glenn Morris <rgm@gnu.org>
3646
3647 * play/cookie1.el (cookie-apropos): Minor simplification.
3648
3649 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3650
3651 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3652
3653 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3654 `regexp-opt', it breaks the build during dumping.
3655
3656 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3657
3658 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3659 Highlight keyword-like methods on Kernel and Module with
3660 font-lock-builtin-face.
3661 (auto-mode-alist): Consolidate different entries into one regexp
3662 and add more *file-s.
3663
3664 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
3665
3666 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3667
3668 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3669 (diary-entry): Use it in the action of this button type instead of
3670 diary-goto-entry.
3671
3672 * calendar/todo-mode.el: New version.
3673 (todo-add-category): Append new category to end of file and give
3674 it the highest number, instead of putting it at the beginning and
3675 giving it 0. Incorporate noninteractive functionality.
3676 (todo-forward-category): Adapt to 1-based category numbering.
3677 Allow skipping over archived categories.
3678 (todo-backward-category): Derive from todo-forward-category.
3679 (todo-backward-item, todo-forward-item): Make noninteractive and
3680 delegate interactive part to new commands. Make sensitive to done items.
3681 (todo-categories): Make value an alist of category names and
3682 vectors of item counts.
3683 (todo-category-beg): Make a defconst.
3684 (todo-category-number): Use 1 instead of 0 as initial value.
3685 (todo-category-select): Make sensitive to overlays, optional item
3686 highlighting and done items.
3687 (todo-delete-item): Make sensitive to overlays and marked and done items.
3688 (todo-edit-item): Make sensitive to overlays and editing of
3689 date/time header optional. Add format checks.
3690 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3691 no-op if point is not on an item. Advertise using todo-edit-quit.
3692 (todo-edit-mode): Make sensitive to new format, font-locking, and
3693 multiple todo files.
3694 (todo-insert-item, todo-insert-item-here): Derive from
3695 todo-basic-insert-item and extend functionality.
3696 (todo-item-end, todo-item-start): Make sensitive to done items.
3697 (todo-item-string): Don't return text properties. Restore point.
3698 (todo-jump-to-category): Make sensitive to multiple todo files and
3699 todo archives. Use extended category completion.
3700 (todo-lower-item, todo-raise-item): Rename to *-priority and
3701 derive from todo-set-item-priority.
3702 (todo-mode): Derive from special-mode. Make sensitive to new
3703 format, font-locking and multiple todo files. Make read-only.
3704 (todo-mode-map): Don't suppress digit keys, so they can supply
3705 prefix arguments. Add many new key bindings.
3706 (todo-prefix): Insert as an overlay instead of file text.
3707 Change semantics from diary date expression to purely visual mark.
3708 (todo-print): Rename to todo-print-buffer. Make buffer display
3709 features printable. Remove option to restrict number of items
3710 printed. Add option to print to file.
3711 (todo-print-function): Rename to todo-print-buffer-function.
3712 (todo-quit): Extend to handle exiting new todo modes.
3713 (todo-remove-item): Make sensitive to overlays.
3714 (todo-save): Extend to buffers of filtered items.
3715 (todo-show): Make sensitive to done items, multiple todo files and
3716 new todo modes. Offer to convert legacy todo file before creating
3717 first new todo file.
3718 (todo-show-priorities): Rename to todo-top-priorities.
3719 Change semantics of value 0.
3720 (todo-top-priorities): Rename to todo-filter-top-priorities,
3721 derive from todo-filter-items and extend functionality.
3722 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3723 and extend functionality to other types of filtered items.
3724 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3725 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3726 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3727 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3728 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3729 (todo-edit-mode-hook, todo-entry-prefix-function)
3730 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3731 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3732 (todo-initials, todo-insert-threshold, todo-item-string-start)
3733 (todo-line-string, todo-menu, todo-mode-hook)
3734 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3735 (todo-print-priorities, todo-remove-separator)
3736 (todo-save-top-priorities-too, todo-string-count-lines)
3737 (todo-string-multiline-p, todo-time-string-format)
3738 (todo-tmp-buffer-name): Remove.
3739 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3740 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3741 (todo-edit-category-diary-inclusion)
3742 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3743 (todo-edit-file, todo-edit-item-date-day)
3744 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3745 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3746 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3747 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3748 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3749 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3750 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3751 (todo-filter-top-priorities-multifile, todo-find-archive)
3752 (todo-find-filtered-items-file, todo-go-to-source-item)
3753 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3754 (todo-jump-to-archive-category, todo-lower-category)
3755 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3756 (todo-move-category, todo-move-item, todo-next-button)
3757 (todo-next-item, todo-padded-string, todo-powerset)
3758 (todo-previous-button, todo-previous-item)
3759 (todo-print-buffer-to-file, todo-raise-category)
3760 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3761 (todo-set-category-number, todo-set-item-priority)
3762 (todo-set-top-priorities-in-category)
3763 (todo-set-top-priorities-in-file, todo-show-categories-table)
3764 (todo-sort-categories-alphabetically-or-numerically)
3765 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3766 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3767 (todo-toggle-item-header, todo-toggle-item-highlighting)
3768 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3769 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3770 (todo-unarchive-items, todo-unmark-category): New commands.
3771 (todo-absolute-file-name, todo-add-to-buffer-list)
3772 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3773 (todo-basic-insert-item, todo-category-completions)
3774 (todo-category-number, todo-category-string-matcher-1)
3775 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3776 (todo-check-format, todo-clear-matches)
3777 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3778 (todo-current-category, todo-date-string-matcher)
3779 (todo-define-insertion-command, todo-diary-expired-matcher)
3780 (todo-diary-goto-entry, todo-diary-item-p)
3781 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3782 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3783 (todo-done-item-section-p, todo-done-separator)
3784 (todo-done-string-matcher, todo-files, todo-filter-items)
3785 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3786 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3787 (todo-insert-category-line, todo-insert-item-from-calendar)
3788 (todo-insert-sort-button, todo-insert-with-overlays)
3789 (todo-insertion-command-name, todo-insertion-key-bindings)
3790 (todo-label-to-key, todo-longest-category-name-length)
3791 (todo-make-categories-list, todo-mode-external-set)
3792 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3793 (todo-modes-set-3, todo-multiple-filter-files)
3794 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3795 (todo-read-category, todo-read-date, todo-read-dayname)
3796 (todo-read-file-name, todo-read-time)
3797 (todo-reevaluate-category-completions-files-defcustom)
3798 (todo-reevaluate-default-file-defcustom)
3799 (todo-reevaluate-filelist-defcustoms)
3800 (todo-reevaluate-filter-files-defcustom)
3801 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3802 (todo-reset-done-separator, todo-reset-done-separator-string)
3803 (todo-reset-done-string, todo-reset-global-current-todo-file)
3804 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3805 (todo-reset-prefix, todo-set-categories)
3806 (todo-set-date-from-calendar, todo-set-show-current-file)
3807 (todo-set-top-priorities, todo-short-file-name)
3808 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3809 (todo-total-item-counts, todo-update-buffer-list)
3810 (todo-update-categories-display, todo-update-categories-sexp)
3811 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3812 New functions.
3813 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3814 New major modes.
3815 (todo-categories, todo-display, todo-edit, todo-faces)
3816 (todo-filtered): New defgroups.
3817 (todo-archived-only, todo-button, todo-category-string, todo-date)
3818 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3819 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3820 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3821 (todo-add-item-if-new-category, todo-always-add-time-string)
3822 (todo-categories-align, todo-categories-archived-label)
3823 (todo-categories-category-label, todo-categories-diary-label)
3824 (todo-categories-done-label, todo-categories-number-separator)
3825 (todo-categories-todo-label, todo-categories-totals-label)
3826 (todo-category-completions-files, todo-completion-ignore-case)
3827 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3828 (todo-done-separator-string, todo-done-string)
3829 (todo-files-function, todo-filter-done-items, todo-filter-files)
3830 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3831 (todo-initial-category, todo-initial-file, todo-item-mark)
3832 (todo-legacy-date-time-regexp, todo-mode-line-function)
3833 (todo-nondiary-marker, todo-number-prefix)
3834 (todo-print-buffer-function, todo-show-current-file)
3835 (todo-show-done-only, todo-show-first, todo-show-with-done)
3836 (todo-skip-archived-categories, todo-top-priorities-overrides)
3837 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3838 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3839 New defcustoms.
3840 (todo-category-done, todo-date-pattern, todo-date-string-start)
3841 (todo-diary-items-buffer, todo-done-string-start)
3842 (todo-filtered-items-buffer, todo-item-start)
3843 (todo-month-abbrev-array, todo-month-name-array)
3844 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3845 (todo-top-priorities-buffer): New defconsts.
3846 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3847 (todo-categories-with-marks, todo-category-string-face)
3848 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3849 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3850 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3851 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3852 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3853 (todo-font-lock-keywords, todo-global-current-todo-file)
3854 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3855 (todo-insertion-commands-args)
3856 (todo-insertion-commands-args-genlist)
3857 (todo-insertion-commands-names, todo-insertion-map)
3858 (todo-key-bindings-t, todo-key-bindings-t+a)
3859 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3860 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3861 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3862 (todo-visited): New variables.
3863
3864 2013-06-21 Glenn Morris <rgm@gnu.org>
3865
3866 * play/cookie1.el (cookie-apropos): Add optional display argument.
3867 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3868 (psychoanalyze-pinhead): Use cookie-doctor.
3869
3870 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3871
3872 * emacs-lisp/package.el (tar-get-file-descriptor)
3873 (tar--extract): Declare.
3874
3875 2013-06-21 Eduard Wiebe <usenet@pusto.de>
3876
3877 Extend flymake's warning predicate to be a function (bug#14217).
3878 * progmodes/flymake.el (flymake-warning-predicate): New.
3879 (flymake-parse-line): Use it.
3880 (flymake-warning-re): Make obsolete alias to
3881 `flymake-warning-predicate'.
3882
3883 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3886 (package-obsolete-list): Remove.
3887 (package-activate): Remove min-version argument. Add `force' argument.
3888 Adjust to new package-alist format.
3889 (package-mark-obsolete): Remove.
3890 (package-unpack): Force reload of the package's autoloads.
3891 (package-installed-p): Check builtins if the installed package is not
3892 recent enough.
3893 (package-initialize): Don't reset package-obsolete-list.
3894 Don't specify which package version to activate.
3895 (package-process-define-package, describe-package-1)
3896 (package-menu--generate): Adjust to new package-alist format.
3897
3898 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3899
3900 * allout-widgets.el (allout-widgets-mode-off)
3901 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3902 (allout-widgets-post-command-business)
3903 (allout-widgets-after-copy-or-kill-function)
3904 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3905 (allout-decorate-item-and-context)
3906 (allout-graphics-modification-handler): Fix typos in docstrings.
3907 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3908
3909 * cmuscheme.el (scheme-start-file): Doc fix.
3910 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3911 (scheme-input-filter): Use `string-match-p'.
3912
3913 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3914
3915 * dired-x.el: Use Dired consistently in docstrings.
3916
3917 * dired.el: Use Dired consistently in docstrings.
3918 (dired-readin, dired-mode): Use `setq-local'.
3919 (dired-switches-alist): Make defvar-local.
3920 (dired-buffers-for-dir): Use `zerop'.
3921 (dired-safe-switches-p, dired-switches-escape-p)
3922 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3923 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3924 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3925 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3926 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3927 (dired-toggle-marks, dired-mark-files-containing-regexp)
3928 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3929 (dired-flag-auto-save-files, dired-flag-backup-files):
3930 Use `looking-at-p'.
3931 (dired-mark-files-regexp, dired-build-subdir-alist):
3932 Use `string-match-p', `looking-at-p'.
3933
3934 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3935 (direct-print-region-helper): Use `string-match-p'.
3936
3937 2013-06-21 Leo Liu <sdl.web@gmail.com>
3938
3939 * comint.el (comint-redirect-results-list-from-process):
3940 Fix infinite loop.
3941
3942 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3943
3944 * net/eww.el (eww-update-header-line-format): Quote % characters.
3945
3946 2013-06-21 Glenn Morris <rgm@gnu.org>
3947
3948 * play/cookie1.el (cookie): New custom group.
3949 (cookie-file): New option.
3950 (cookie-check-file): New function.
3951 (cookie): Make it interactive. Make start and end messages optional.
3952 Interactively, display the result. Default to cookie-file.
3953 (cookie-insert): Default to cookie-file.
3954 (cookie-snarf): Make start and end messages optional.
3955 Default to cookie-file. Use with-temp-buffer.
3956 (cookie-read): Rename from read-cookie.
3957 Make start and end messages optional. Default to cookie-file.
3958 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3959 Do not autoload it.
3960 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3961 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3962
3963 2013-06-21 Leo Liu <sdl.web@gmail.com>
3964
3965 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3966
3967 2013-06-21 Glenn Morris <rgm@gnu.org>
3968
3969 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3970
3971 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3972 Daniel Hackney <dan@haxney.org>
3973
3974 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3975 Consolidate the single-file vs tarball code.
3976 (package-desc-suffix): New function.
3977 (package-desc-full-name): Don't bother inlining it.
3978 (package-load-descriptor): Return the new package-desc.
3979 (package-mark-obsolete): Remove unused arg `package'.
3980 (package-unpack): Make it work for single files as well.
3981 Make it update package-alist.
3982 (package--make-autoloads-and-stuff): Rename from
3983 package--make-autoloads-and-compile. Don't compile any more.
3984 (package--compile): New function.
3985 (package-generate-description-file): New function, extracted from
3986 package-unpack-single.
3987 (package-unpack-single): Remove.
3988 (package--with-work-buffer): Add indentation and debugging info.
3989 (package-download-single): Remove.
3990 (package-install-from-archive): Rename from package-download-tar, make
3991 it take a pkg-desc, and make it work for single files as well.
3992 (package-download-transaction): Simplify.
3993 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3994 external tar program.
3995 (package-install-from-buffer): Remove `pkg-desc' argument.
3996 Use package-tar-file-info for tar-mode buffers.
3997 (package-install-file): Simplify accordingly.
3998 (package-archive-base): Change to take a pkg-desc.
3999 * tar-mode.el (tar--check-descriptor): New function, extracted from
4000 tar-get-descriptor.
4001 (tar-get-descriptor): Use it.
4002 (tar-get-file-descriptor): New function.
4003 (tar--extract): New function, extracted from tar-extract.
4004 (tar--extract): Use it.
4005 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4006 case the summary uses non-ascii. Adjust to new calling convention of
4007 package-tar-file-info.
4008
4009 2013-06-21 Leo Liu <sdl.web@gmail.com>
4010
4011 * comint.el (comint-redirect-results-list-from-process):
4012 Fix random delay. (Bug#14681)
4013
4014 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * profiler.el (profiler-format-number): Use log, not log10.
4017
4018 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4019
4020 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4021
4022 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4025 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4026 yet available.
4027 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4028 (AUTOGENEL): ... here.
4029 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4030 (cl--defsubst-expand): Use it.
4031
4032 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4033
4034 * subr.el (log10): Move here from C code, and declare as obsolete.
4035 All uses of (log10 X) replaced with (log X 10).
4036
4037 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4038
4039 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4040 Declare with `defvar-local'.
4041 (tabulated-list-use-header-line, tabulated-list-entries)
4042 (tabulated-list-padding, tabulated-list-printer)
4043 (tabulated-list-sort-key): Declare with `defvar-local'.
4044 (tabulated-list-init-header, tabulated-list-print-fake-header):
4045 Use `setq-local'.
4046
4047 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
4048
4049 * arc-mode.el (archive-mode): Add `archive-write-file' to
4050 `write-contents-functions' also for remote files. (Bug#14652)
4051
4052 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4053
4054 * cus-edit.el (custom-commands): Fix typos.
4055 (custom-display): Fix tooltip text.
4056 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4057 Fix typos in docstrings.
4058 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4059 (custom-unlispify-menu-entry, custom-magic-value-create)
4060 (custom-add-see-also, custom-group-value-create): Use ?\s.
4061 (custom-guess-type, customize-apropos, editable-field)
4062 (custom-face-value-create): Use `string-match-p'.
4063 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4064
4065 * custom.el (custom-load-symbol): Use `string-match-p'.
4066
4067 * ansi-color.el: Convert to lexical binding.
4068 (ansi-colors): Fix URL.
4069 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4070 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4071 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4072
4073 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4074
4075 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4076
4077 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4078
4079 2013-06-19 Tom Tromey <tromey@redhat.com>
4080
4081 * net/eww.el (eww-top-url): Remove.
4082 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4083 (eww-render): Set new variables. Don't set eww-top-url.
4084 (eww-handle-link): Handle "prev", "home", and "contents".
4085 Downcase the rel text.
4086 (eww-top-url): Choose best top URL.
4087
4088 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4089
4090 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4091 relying in widget.el. Using widget.el leads to too many
4092 user interface inconsistencies.
4093 (eww-self-insert): Implement entering commands in text fields.
4094 (eww-process-text-input): New function to make text input field editing
4095 work.
4096 (eww-submit): Rewrite to use the new-style form methods.
4097 (eww-select-display): Display the correct selected item.
4098 (eww-change-select): Implement changing the select value.
4099 (eww-toggle-checkbox): Implement radio/checkboxes.
4100 (eww-update-field): Fix compilation error.
4101 (eww-tag-textarea): Implement <textarea>.
4102
4103 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4104 we don't shadow mode-specific bindings.
4105
4106 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4107 nothing to push.
4108
4109 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4110
4111 2013-06-19 Glenn Morris <rgm@gnu.org>
4112
4113 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4114
4115 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4116
4117 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4118 not needed.
4119
4120 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4121
4122 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4123
4124 * net/browse-url.el (browse-url-browser-function):
4125 `eww-browse-url' has the right calling signature, `eww' does not.
4126
4127 2013-06-19 Glenn Morris <rgm@gnu.org>
4128
4129 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4130 Only eval autoloaded macros.
4131 (byte-compile-autoload): Only give the macro warning for macros.
4132
4133 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4134 (ps-underlined-faces): Declare.
4135
4136 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4137 (speedbar-add-supported-extension): Declare.
4138
4139 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4140 Don't include a date stamp in the header of the generated file;
4141 it leads to needless differences between output files.
4142
4143 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4144
4145 * net/secrets.el (secrets-struct-secret-content-type):
4146 Replace check of introspection data by a test call of "CreateItem".
4147 Some servers do not offer introspection.
4148
4149 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * electric.el (electric-pair-mode): Improve interaction with
4152 electric-layout-mode.
4153 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4154 (electric-pair-syntax): Use text-mode-syntax-table in comments
4155 and strings.
4156 (electric-pair--insert): New function.
4157 (electric-pair-post-self-insert-function): Use it and
4158 electric--after-char-pos.
4159
4160 2013-06-19 Leo Liu <sdl.web@gmail.com>
4161
4162 * progmodes/octave.el (octave-help): Fix regexp.
4163
4164 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4165
4166 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4167 (shr-table-horizontal-line): Allow nil as a value, and change the
4168 default.
4169 (shr-insert-table-ruler): Respect the nil value.
4170
4171 2013-06-18 Tom Tromey <tromey@barimba>
4172
4173 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4174 New defvars.
4175 (eww-open-file): New defun.
4176 (eww-render): Initialize new variables.
4177 (eww-display-html): Handle "link" and "a".
4178 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4179 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4180 (eww-back-url): Rename from eww-previous-url.
4181 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4182 New defuns.
4183
4184 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4185
4186 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4187 Distinguish ternary operator tokens from slash symbol and slash
4188 char literal.
4189
4190 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4191
4192 Convert symbol prettification into minor mode and global minor mode.
4193
4194 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4195 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4196 (prettify-symbols--keywords): Rename from
4197 `prog-prettify-symbols-alist' and make a local defvar.
4198 (prettify-symbols--compose-symbol): Rename from
4199 `prog--prettify-font-lock-compose-symbol'.
4200 (prettify-symbols--make-keywords): Rename from
4201 `prog-prettify-font-lock-symbols-keywords' and simplify.
4202 (prog-prettify-install): Remove.
4203 (prettify-symbols-mode): New minor mode, based on
4204 `prog-prettify-install'.
4205 (turn-on-prettify-symbols-mode): New function.
4206 (global-prettify-symbols-mode): New globalized minor mode.
4207
4208 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4209 * progmodes/cfengine.el (cfengine3-mode):
4210 * progmodes/perl-mode.el (perl-mode): Don't call
4211 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4212
4213 2013-06-18 Juri Linkov <juri@jurta.org>
4214
4215 * files-x.el (modify-file-local-variable-message): New function.
4216 (modify-file-local-variable)
4217 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4218 and call `modify-file-local-variable-message' when it's non-nil.
4219 (add-file-local-variable, delete-file-local-variable)
4220 (add-file-local-variable-prop-line)
4221 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4222 and use it. (Bug#9820)
4223
4224 2013-06-18 Juri Linkov <juri@jurta.org>
4225
4226 * emulation/vi.el (vi-shell-op):
4227 * emulation/vip.el (vip-execute-com, ex-command):
4228 * emulation/viper-cmd.el (viper-exec-bang):
4229 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4230 the call of `shell-command-on-region'. (Bug#14637)
4231
4232 * simple.el (shell-command-on-region): Doc fix.
4233
4234 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4237 (bug#14633).
4238
4239 2013-06-18 Glenn Morris <rgm@gnu.org>
4240
4241 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4242
4243 * newcomment.el (comment-search-forward, comment-search-backward):
4244 Doc fix. (Bug#14376)
4245
4246 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4247
4248 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4249 (buffer-face-mode-invoke): Doc fix.
4250
4251 2013-06-18 Matthias Meulien <orontee@gmail.com>
4252
4253 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4254 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4255
4256 2013-06-18 Glenn Morris <rgm@gnu.org>
4257
4258 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4259 Replace obsolete function generic-make-keywords with its expansion.
4260
4261 * progmodes/python.el (ffap-alist): Declare.
4262
4263 * textmodes/reftex.el (bibtex-mode-map): Declare.
4264
4265 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4268 (package-unpack, package-unpack-single): Return the pkg-dir.
4269 (package-download-transaction): Use it to update package-alist.
4270
4271 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4272
4273 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4274 possible choice.
4275
4276 2013-06-17 Juri Linkov <juri@jurta.org>
4277
4278 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4279
4280 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4281
4282 * emacs-lisp/package.el (package-load-descriptor):
4283 Remove `with-syntax-table' call, `read' doesn't need it.
4284 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4285
4286 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4287
4288 * startup.el (command-line): Expand package name returned by
4289 `package--description-file' (bug#14639).
4290
4291 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4292
4293 * emacs-lisp/package.el (package-load-descriptor): Do not call
4294 `emacs-lisp-mode', just use its syntax table.
4295
4296 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4297
4298 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4299 `font-lock-extra-managed-props' if any prettifying keyword is added.
4300 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4301 (prog-mode): Use `setq-local'.
4302
4303 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * international/characters.el (standard-case-table): Set syntax of ?»
4306 and ?« to punctuation.
4307
4308 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4309
4310 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4311 Save relevant match data before calling `syntax-ppss' (bug#14595).
4312
4313 2013-06-15 Juri Linkov <juri@jurta.org>
4314
4315 * files-x.el (modify-file-local-variable-prop-line): Add local
4316 variables to the end of the existing comment on the first line.
4317 Use `file-auto-mode-skip' to skip interpreter magic line,
4318 and also skip XML declaration.
4319
4320 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * startup.el (package--builtin-versions): New var.
4323 (package-subdirectory-regexp): Remove.
4324 (package--description-file): Hard code its value instead.
4325
4326 * emacs-lisp/package.el: Don't activate packages older than builtin.
4327 (package-obsolete-list): Rename from package-obsolete-alist, and make
4328 it into a simple list of package-desc.
4329 (package-strip-version): Remove.
4330 (package-built-in-p): Use package--builtin-versions.
4331 (package-mark-obsolete): Simplify.
4332 (package-process-define-package): Mark it obsolete if older than the
4333 builtin version.
4334 (package-handle-response): Use line-end-position.
4335 (package-read-archive-contents, package--download-one-archive):
4336 Simplify.
4337 (package--add-to-archive-contents): Skip if older than the builtin or
4338 installed version.
4339 (package-menu-describe-package): Fix last change.
4340 (package-list-unversioned): New var.
4341 (package-menu--generate): Use it.
4342
4343 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4344 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4345 (autoload-builtin-package-versions): New variable.
4346 (autoload-generate-file-autoloads): Use them.
4347 Remove the list of autoloaded functions/macros from the
4348 (autoload...) comments.
4349
4350 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4351
4352 2013-06-15 Eli Zaretskii <eliz@gnu.org>
4353
4354 * simple.el (line-move-partial): Don't jump to the next screen
4355 line as soon as it becomes visible. Instead, continue enlarging
4356 the vscroll until the portion of a tall screen line that's left on
4357 display is about the height of the frame's default font.
4358 (Bug#14567)
4359
4360 2013-06-15 Glenn Morris <rgm@gnu.org>
4361
4362 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4363 compilation-error-regexp-alist void, or local while let-bound.
4364
4365 * progmodes/make-mode.el (makefile-mode-syntax-table):
4366 Treat "=" as punctuation. (Bug#14614)
4367
4368 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
4369
4370 * help-fns.el (describe-variable):
4371 Add extra line for permanent-local variables.
4372
4373 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4374
4375 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4376 Add export, import, library. (Bug#9164)
4377 (library): Set indent function.
4378
4379 2013-06-14 Glenn Morris <rgm@gnu.org>
4380
4381 * term/xterm.el (xterm--query):
4382 Stop after first matching handler. (Bug#14615)
4383
4384 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4385
4386 Add support for dired in saveplace.
4387 * dired.el (dired-initial-position-hook): New variable.
4388 (dired-initial-position): Call hook to place cursor position.
4389 * saveplace.el (save-place-to-alist): Add dired position.
4390 (save-place-dired-hook): New function.
4391
4392 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4395 through a symbol rather than letrec.
4396
4397 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4398 (package-desc): Add `dir' field.
4399 (package-desc-full-name): New function.
4400 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4401 (package-maybe-load-descriptor): Remove.
4402 (package-load-all-descriptors): Just call package-load-descriptor.
4403 (package--disabled-p): New function.
4404 (package-desc-vers, package-desc-doc): Remove aliases.
4405 (package--dir): Remove function.
4406 (package-activate): Check if a package is disabled.
4407 (package-process-define-package): New function, extracted from
4408 define-package.
4409 (define-package): Turn into a place holder.
4410 (package-unpack-single, package-tar-file-info):
4411 Use package--description-file.
4412 (package-compute-transaction): Use package--disabled-p.
4413 (package-download-transaction): Don't call
4414 package-maybe-load-descriptor since they're all loaded anyway.
4415 (package-install): Change argument to be a pkg-desc.
4416 (package-delete): Use a single pkg-desc argument.
4417 (describe-package-1): Use package-desc-dir instead of package--dir.
4418 Use package-desc property instead of package-symbol.
4419 (package-install-button-action): Adjust accordingly.
4420 (package--push): Rewrite.
4421 (package-menu--print-info): Adjust accordingly. Change the ID format
4422 to be a pkg-desc.
4423 (package-menu-describe-package, package-menu-get-status)
4424 (package-menu--find-upgrades, package-menu-mark-upgrades)
4425 (package-menu-execute, package-menu--name-predicate):
4426 Adjust accordingly.
4427 * startup.el (package--description-file): New function.
4428 (command-line): Use it.
4429 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4430 Use package-desc-version.
4431
4432 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4433 (byte-compile-preprocess): Use it.
4434 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4435 can't quite recognize.
4436 (byte-compile-add-to-list): Remove.
4437 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4438 (cconv-closure-convert): Add assertion.
4439
4440 * emacs-lisp/map-ynp.el: Use lexical-binding.
4441 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4442 Factor out some repeated code.
4443
4444 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * subr.el (with-eval-after-load): New macro.
4447 (eval-after-load): Allow form to be a function.
4448 take advantage of lexical-binding.
4449 (do-after-load-evaluation): Use dolist and adjust to new format.
4450 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4451
4452 2013-06-13 Juri Linkov <juri@jurta.org>
4453
4454 * replace.el (perform-replace): Display "symbol " and other search
4455 modes from `isearch-message-prefix' in the *Help* buffer.
4456
4457 * isearch.el (isearch-query-replace): Add " symbol" and other
4458 possible search modes from `isearch-message-prefix' to the prompt.
4459 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4460 when reading a regexp to collect.
4461
4462 2013-06-13 Juri Linkov <juri@jurta.org>
4463
4464 * isearch.el (word-search-regexp): Match whitespace if the search
4465 string begins or ends in whitespace. The LAX arg is applied to
4466 both ends of the search string. Use `regexp-quote' and explicit
4467 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4468 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4469 boundaries are replaced with symbol boundaries, and characters
4470 between symbols match non-word non-symbol syntax. (Bug#14602)
4471
4472 2013-06-13 Juri Linkov <juri@jurta.org>
4473
4474 * isearch.el (isearch-del-char): Don't exceed the length of
4475 `isearch-string' by the prefix arg. (Bug#14563)
4476
4477 2013-06-13 Juri Linkov <juri@jurta.org>
4478
4479 * isearch.el (isearch-yank-word, isearch-yank-line)
4480 (isearch-char-by-name, isearch-quote-char)
4481 (isearch-printing-char, isearch-process-search-char):
4482 Add optional count prefix arg. (Bug#14563)
4483
4484 * international/isearch-x.el
4485 (isearch-process-search-multibyte-characters):
4486 Add optional count prefix arg.
4487
4488 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4491 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4492 lexical-binding.
4493
4494 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4495
4496 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4497
4498 2013-06-13 Glenn Morris <rgm@gnu.org>
4499
4500 * startup.el (tty-handle-args):
4501 Don't just discard "--" and anything after. (Bug#14608)
4502
4503 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4504
4505 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
4506
4507 Implement changes in Secret Service API. Make it backward compatible.
4508 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4509 (secrets-create-item): Use it. Prefix properties with interface.
4510
4511 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4512
4513 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4514 (term-emulate-terminal): Respect term-suppress-hard-newline.
4515
4516 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4517
4518 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4519 Only remove a `thumb-file' overlay. (Bug#14548)
4520
4521 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
4522
4523 * mail/reporter.el (reporter-submit-bug-report):
4524 Handle missing package-name. (Bug#14600)
4525
4526 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4527
4528 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4529 (reftex-citation-prompt, reftex-default-bibliography)
4530 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4531 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4532 (reftex-bib-sort-author, reftex-bib-sort-year)
4533 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4534 (reftex-extract-bib-entries-from-thebibliography)
4535 (reftex-get-bibkey-default, reftex-get-bib-names)
4536 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4537 (reftex-format-bib-entry, reftex-parse-bibitem)
4538 (reftex-format-bibitem, reftex-do-citation)
4539 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4540 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4541 (reftex-insert-bib-matches, reftex-format-citation)
4542 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4543 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4544 existing comments into docstrings.
4545
4546 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4547
4548 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4549
4550 2013-06-12 Andreas Schwab <schwab@suse.de>
4551
4552 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4553 for auto-save files.
4554
4555 2013-06-12 Glenn Morris <rgm@gnu.org>
4556
4557 * ido.el (ido-delete-ignored-files): Remove.
4558 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4559 Go back to calling ido-ignore-item-p directly.
4560
4561 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4562
4563 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4564
4565 * ido.el (ido-delete-ignored-files): New function,
4566 split from ido-make-file-list-1.
4567 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4568 (ido-make-file-list-1): Use ido-delete-ignored-files.
4569
4570 2013-06-12 Leo Liu <sdl.web@gmail.com>
4571
4572 * progmodes/octave.el (inferior-octave-startup)
4573 (inferior-octave-completion-table)
4574 (inferior-octave-track-window-width-change)
4575 (octave-eldoc-function-signatures, octave-help)
4576 (octave-find-definition): Use single quoted strings.
4577 (inferior-octave-startup-args): Change default value.
4578 (inferior-octave-startup): Do not hard code "-i" and
4579 "--no-line-editing".
4580 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4581 (inferior-octave-directory-tracker): Use it.
4582 (octave-goto-function-definition): Robustify.
4583 (octave-help): Support highlighting operators in 'See also'.
4584 (octave-find-definition): Find subfunctions only in Octave mode.
4585
4586 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 * help-fns.el (help-fns--compiler-macro): If the handler function is
4589 named, then put a link to it.
4590 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4591 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4592 (cl-typep): Use it.
4593 (cl-eval-when): Simplify debug spec.
4594 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4595 compiler-macro function instead of setting `compiler-macro-file'.
4596
4597 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4598
4599 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4600 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4601
4602 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4603 Daniel Hackney <dan@haxney.org>
4604
4605 First part of Daniel Hackney's patch to package.el.
4606 * emacs-lisp/package.el: Use defstruct.
4607 (package-desc): New, main struct.
4608 (package--bi-desc, package--ac-desc): New structs, used to describe the
4609 format in external files.
4610 (package-desc-vers): Replace with package-desc-version accessor.
4611 (package-desc-doc): Replace with package-desc-summary accessor.
4612 (package-activate-1): Remove `package' arg since the pkg-vec now
4613 includes the name.
4614 (define-package): Use package-desc-from-define.
4615 (package-unpack-single): Change file-name arg to be a symbol.
4616 (package--add-to-archive-contents): Use package-desc-create and new
4617 accessor functions to package--ac-desc.
4618 (package-buffer-info, package-tar-file-info): Return a package-desc.
4619 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4620 arg to be a package-desc.
4621 (package-install-file): Adjust accordingly. Use \' to match EOS.
4622 (package--from-builtin): New function.
4623 (describe-package-1, package-menu--generate): Use it.
4624 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4625 (package-generate-autoloads): Idem and return the name of the file.
4626 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4627 Change pkg-info arg to be a package-desc.
4628 Use package-make-ac-desc.
4629 (package-upload-file): Use \' to match EOS.
4630 * finder.el (finder-compile-keywords): Use package-make-builtin.
4631
4632 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * vc/vc.el (vc-deduce-fileset): Change error message.
4635 (vc-read-backend): New function.
4636 (vc-next-action): Use it.
4637
4638 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4639
4640 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4641 (prolog-font-lock-keywords): Use regexp-opt instead.
4642 Don't manually highlight strings.
4643 (prolog-mode-variables): Simplify comment-start-skip.
4644 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4645
4646 * emacs-lisp/generic.el (generic--normalise-comments)
4647 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4648 (generic-mode-set-comments): Use them.
4649 (generic-bracket-support): Use setq-local.
4650 (generic-make-keywords-list): Declare obsolete.
4651
4652 2013-06-11 Glenn Morris <rgm@gnu.org>
4653
4654 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4655 Prettify after setting font-lock-defaults. (Bug#14574)
4656
4657 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
4658
4659 * replace.el (query-replace, occur-read-regexp-defaults-function)
4660 (replace-search):
4661 * subr.el (declare-function, number-sequence, local-set-key)
4662 (substitute-key-definition, locate-user-emacs-file)
4663 (with-silent-modifications, split-string, eval-after-load):
4664 Fix typos, remove unneeded backslashes and reflow some docstrings.
4665
4666 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4669 default for Elisp files.
4670
4671 2013-06-11 Glenn Morris <rgm@gnu.org>
4672
4673 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4674 although define-derived-mode was doing this anyway. (Bug#14583)
4675
4676 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
4677
4678 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4679 Fix make-variable-buffer-local call to refer to the correct variable.
4680
4681 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
4682
4683 * eshell/em-term.el (eshell-visual-commands)
4684 (eshell-visual-subcommands, eshell-visual-options):
4685 Add summary line to docstrings. Add cross-references.
4686
4687 2013-06-10 Glenn Morris <rgm@gnu.org>
4688
4689 * epa.el (epa-read-file-name): New function. (Bug#14510)
4690 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4691
4692 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4693
4694 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4695 output redirection to be ignored with visual commands.
4696
4697 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4698
4699 * eshell/em-term.el (eshell-visual-command-p): New function.
4700 (eshell-term-initialize): Move long lambda to separate function
4701 eshell-visual-command-p.
4702 * eshell/em-dirs.el (eshell-dirs-initialise):
4703 * eshell/em-script.el (eshell-script-initialize):
4704 Add missing #' to lambda.
4705
4706 2013-06-08 Leo Liu <sdl.web@gmail.com>
4707
4708 * progmodes/octave.el (octave-add-log-current-defun): New function.
4709 (octave-mode): Set add-log-current-defun-function.
4710 (octave-goto-function-definition): Do not move point if not found.
4711 (octave-find-definition): Enhance to try subfunctions first.
4712
4713 2013-06-08 Glenn Morris <rgm@gnu.org>
4714
4715 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4716 (byte-compile-backward-char, byte-compile-backward-word):
4717 Improve previous change, to handle non-explicit nil.
4718
4719 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4722 (smie--opener/closer-at-point): New function.
4723 (smie--matching-block-data): Use it. Don't match from right after an
4724 opener or right before a closer. Obey smie-blink-matching-inners.
4725 Don't signal a mismatch for repeated inners like "switch..case..case".
4726
4727 2013-06-07 Leo Liu <sdl.web@gmail.com>
4728
4729 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4730 to t. (Bug#14303)
4731 (octave-function-header-regexp): Fix. (Bug#14570)
4732 (octave-help-mode-finish-hook, octave-help-mode-finish):
4733 Remove. Just use temp-buffer-show-hook.
4734
4735 * newcomment.el (comment-search-backward): Revert last change.
4736 (Bug#14434)
4737
4738 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4739
4740 2013-06-07 Eli Zaretskii <eliz@gnu.org>
4741
4742 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4743 through xargs, to avoid failure due to MS-Windows limitations on
4744 command-line length.
4745
4746 2013-06-06 Glenn Morris <rgm@gnu.org>
4747
4748 * font-lock.el (lisp-font-lock-keywords-2):
4749 Treat user-error like error.
4750
4751 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4752 (byte-compile-backward-char, byte-compile-backward-word):
4753 Handle explicit nil arguments. (Bug#14565)
4754
4755 2013-06-05 Alan Mackenzie <acm@muc.de>
4756
4757 * isearch.el (isearch-allow-prefix): New user option.
4758 (isearch-other-meta-char): Don't exit isearch when a prefix
4759 argument is typed whilst `isearch-allow-prefix' is non-nil.
4760 (Bug#9706)
4761
4762 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * autorevert.el (auto-revert-notify-handler): Use memq.
4765 Hide assertion failure.
4766
4767 * skeleton.el: Use cl-lib.
4768 (skeleton-further-elements): Use defvar-local.
4769 (skeleton-insert): Use cl-progv.
4770
4771 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4772
4773 * progmodes/prog-mode.el (prog-prettify-symbols)
4774 (prog-prettify-install): Update docstrings.
4775
4776 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * simple.el: Move all the prog-mode code to prog-mode.el.
4779 * progmodes/prog-mode.el: New file.
4780 * loadup.el: Add prog-mode.el.
4781
4782 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4783
4784 * simple.el (prog-prettify-symbols): Add version.
4785 (prog-prettify-install): Add convenience function to prettify symbols.
4786
4787 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4788 (perl--augmented-font-lock-keywords-1)
4789 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4790 variables and use it.
4791
4792 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4793 (cfengine3-mode): Remove unneeded variable and use it.
4794
4795 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4796 (lisp--augmented-font-lock-keywords-1)
4797 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4798 Remove unneeded variables and use it.
4799
4800 2013-06-05 João Távora <joaotavora@gmail.com>
4801
4802 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4803 to point when opening the connection. (Bug#14380)
4804
4805 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * subr.el (load-history-regexp, load-history-filename-element)
4808 (eval-after-load, after-load-functions, do-after-load-evaluation)
4809 (eval-next-after-load, display-delayed-warnings)
4810 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4811 definition of save-match-data.
4812 (overriding-local-map): Remove accidental obsolescence declaration.
4813
4814 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4815
4816 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4817
4818 Generalize symbol prettify support to prog-mode and implement it
4819 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4820 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4821 (prog--prettify-font-lock-compose-symbol)
4822 (prog-prettify-font-lock-symbols-keywords): New variables and
4823 functions to support symbol prettification.
4824 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4825 (lisp--augmented-font-lock-keywords-1)
4826 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4827 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4828 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4829 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4830 Implement prettify of -> => :: strings.
4831 * progmodes/perl-mode.el (perl-prettify-symbols)
4832 (perl--font-lock-compose-symbol)
4833 (perl--font-lock-symbols-keywords): Move to prog-mode.
4834 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4835 (perl-font-lock-keywords-1)
4836 (perl-font-lock-keywords-2): Remove explicit prettify support.
4837 (perl--augmented-font-lock-keywords)
4838 (perl--augmented-font-lock-keywords-1)
4839 (perl--augmented-font-lock-keywords-2, perl-mode):
4840 Implement prettify support.
4841
4842 2013-06-05 Leo Liu <sdl.web@gmail.com>
4843
4844 Re-implement smie matching block highlight using
4845 show-paren-data-function. (Bug#14395)
4846 * emacs-lisp/smie.el (smie-matching-block-highlight)
4847 (smie--highlight-matching-block-overlay)
4848 (smie--highlight-matching-block-lastpos)
4849 (smie-highlight-matching-block)
4850 (smie-highlight-matching-block-mode): Remove.
4851 (smie--matching-block-data-cache): New variable.
4852 (smie--matching-block-data): New function.
4853 (smie-setup): Use smie--matching-block-data for
4854 show-paren-data-function.
4855
4856 * progmodes/octave.el (octave-mode-menu): Fix.
4857 (octave-find-definition): Skip garbage lines.
4858
4859 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 Fix compilation error with simultaneous dynamic+lexical scoping.
4862 Add warning when a defvar appears after the first let-binding.
4863 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4864 (byte-compile-close-variables): Initialize it.
4865 (byte-compile--declare-var): New function.
4866 (byte-compile-file-form-defvar)
4867 (byte-compile-file-form-define-abbrev-table)
4868 (byte-compile-file-form-custom-declare-variable): Use it.
4869 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4870 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4871 (byte-compile-bind): Handle dynamic bindings that shadow
4872 lexical bindings.
4873 (byte-compile-unbind): Make arg non-optional.
4874 (byte-compile-let): Simplify.
4875 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4876 (cconv--analyse-function, cconv-analyse-form): Populate it.
4877 Protect byte-compile-bound-variables to limit the scope of defvars.
4878 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4879 Remove unneeded rule for `declare'.
4880
4881 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4882 so as to avoid depending on cl-adjoin at run-time.
4883 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4884
4885 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4886 (macroexp--warn-and-return): Use it.
4887
4888 2013-06-05 Leo Liu <sdl.web@gmail.com>
4889
4890 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4891
4892 2013-06-04 Leo Liu <sdl.web@gmail.com>
4893
4894 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4895 (compilation-auto-jump): Suppress the "Mark set" message to give
4896 way to exit message.
4897
4898 2013-06-04 Alan Mackenzie <acm@muc.de>
4899
4900 Remove faulty optimisation from indentation calculation.
4901 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4902 search limit based on 2000 characters back from indent-point.
4903
4904 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4905
4906 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4907
4908 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * emacs-lisp/lisp.el: Use lexical-binding.
4911 (lisp--local-variables-1, lisp--local-variables): New functions.
4912 (lisp--local-variables-completion-table): New var.
4913 (lisp-completion-at-point): Use it complete let-bound vars.
4914
4915 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4916 eagerly (bug#14422).
4917
4918 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4919
4920 * autorevert.el (auto-revert-notify-enabled)
4921 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4922 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4923 (auto-revert-notify-handler): Handle also gfilenotify.
4924
4925 * subr.el (file-notify-handle-event): New defun. Replacing ...
4926 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4927 Remove.
4928
4929 2013-06-03 Juri Linkov <juri@jurta.org>
4930
4931 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4932 `M-s h .'. (Bug#14427)
4933
4934 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4935 command `hi-lock-face-symbol-at-point'.
4936 (hi-lock-face-symbol-at-point): New command.
4937 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4938 (hi-lock-menu): Add `highlight-symbol-at-point'.
4939 (hi-lock-mode): Doc fix.
4940
4941 * isearch.el (isearch-forward-symbol-at-point): New command.
4942 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4943 (isearch-highlight-regexp): Add a regexp which matches
4944 words/symbols for word/symbol mode.
4945
4946 * subr.el (find-tag-default-bounds): New function with the body
4947 mostly moved from `find-tag-default'.
4948 (find-tag-default): Move most code to `find-tag-default-bounds',
4949 call it and apply `buffer-substring-no-properties' afterwards.
4950
4951 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4952
4953 * eshell/em-term.el (eshell-term-initialize):
4954 Use `cl-intersection' rather than `intersection'.
4955
4956 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4957
4958 * vc/log-view.el: Doc fix.
4959 (log-view-mode-map): Copy keymap from `special-mode-map'.
4960
4961 2013-06-02 Eric Ludlam <zappo@gnu.org>
4962
4963 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4964 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4965 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4966 (eieio-unbound, eieio-default-superclass)
4967 (eieio--define-field-accessors, method-static, method-before)
4968 (method-primary, method-after, method-num-lists)
4969 (method-generic-before, method-generic-primary)
4970 (method-generic-after, method-num-slots)
4971 (eieio-specialized-key-to-generic-key)
4972 (eieio--check-type, class-v, class-p)
4973 (eieio-class-name, define-obsolete-function-alias)
4974 (eieio-class-parents-fast, eieio-class-children-fast)
4975 (same-class-fast-p, class-constructor, generic-p)
4976 (generic-primary-only-p, generic-primary-only-one-p)
4977 (class-option-assoc, class-option, eieio-object-p)
4978 (class-abstract-p, class-method-invocation-order)
4979 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4980 (eieio-class-un-autoload, eieio-defclass)
4981 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4982 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4983 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4984 (eieio-defgeneric-reset-generic-form)
4985 (eieio-defgeneric-form-primary-only)
4986 (eieio-defgeneric-reset-generic-form-primary-only)
4987 (eieio-defgeneric-form-primary-only-one)
4988 (eieio-defgeneric-reset-generic-form-primary-only-one)
4989 (eieio-unbind-method-implementations)
4990 (eieio--defmethod, eieio--typep)
4991 (eieio-perform-slot-validation, eieio-validate-slot-value)
4992 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4993 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4994 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4995 (eieio-slot-name-index, eieio-class-slot-name-index)
4996 (eieio-set-defaults, eieio-initarg-to-attribute)
4997 (eieio-attribute-to-initarg, eieio-c3-candidate)
4998 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4999 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5000 (eieio-class-precedence-list, eieio-generic-call-methodname)
5001 (eieio-generic-call-arglst, eieio-generic-call-key)
5002 (eieio-generic-call-next-method-list)
5003 (eieio-pre-method-execution-functions, eieio-generic-call)
5004 (eieio-generic-call-primary-only, eieiomt-method-list)
5005 (eieiomt-optimizing-obarray, eieiomt-install)
5006 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5007 (eieio-generic-form, eieio-defmethod, make-obsolete)
5008 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5009 (defclass): Remove `eval-and-compile' from macro.
5010 (call-next-method, shared-initialize): Instead of using
5011 `scoped-class' variable, use new eieio--scoped-class, and
5012 eieio--with-scoped-class.
5013 (initialize-instance): Rename local variable 'scoped-class' to
5014 'this-class' to remove ambiguitity from old global.
5015
5016 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5017 eieio.el.
5018 (eieio--scoped-class-stack): New variable.
5019 (eieio--scoped-class): New fcn.
5020 (eieio--with-scoped-class): New scoping macro.
5021 (eieio-defclass): Use pushnew instead of add-to-list.
5022 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5023 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5024 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5025 `scoped-class' variable, use new eieio--scoped-class, and
5026 eieio--with-scoped-class.
5027
5028 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5029
5030 2013-06-02 Tassilo Horn <tsdh@gnu.org>
5031
5032 * eshell/esh-ext.el (eshell-external-command): Pass args to
5033 `eshell-find-interpreter'.
5034 (eshell-find-interpreter): Add new second parameter ARGS.
5035
5036 * eshell/em-script.el (eshell-script-initialize): Add second arg
5037 to the function added as MATCH to `eshell-interpreter-alist'.
5038
5039 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5040 the function added as MATCH to `eshell-interpreter-alist'.
5041
5042 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5043 (eshell-visual-options): New defcustom.
5044 (eshell-escape-control-x): Adapt docstring.
5045 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5046 `eshell-visual-options' in addition to `eshell-visual-commands'.
5047 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5048
5049 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5050
5051 * progmodes/python.el (python-indent-block-enders): Add break,
5052 continue and raise keywords.
5053
5054 2013-06-01 Glenn Morris <rgm@gnu.org>
5055
5056 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5057
5058 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5059 * progmodes/cc-cmds.el (delete-forward-p):
5060 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5061 * progmodes/cc-engine.el (buffer-syntactic-context):
5062 * progmodes/cc-fonts.el (face-property-instance):
5063 * progmodes/cc-mode.el (set-keymap-parents):
5064 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5065 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5066 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5067 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5068 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5069
5070 * progmodes/cc-vars.el (other): Emacs has this widget since
5071 at least 21.1, so don't (re)define it.
5072
5073 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5074 Replace the obsolete alias pcomplete-arg-quote-list.
5075
5076 2013-06-01 Leo Liu <sdl.web@gmail.com>
5077
5078 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5079 punctuation syntax.
5080 (inferior-octave-minimal-columns)
5081 (inferior-octave-last-column-width): New variables.
5082 (inferior-octave-track-window-width-change): New function.
5083 (inferior-octave-mode): Adjust column width so that Octave output,
5084 for example from 'ls', can fit into the window nicely.
5085
5086 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5087
5088 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5089 Highlight expansions inside regexp literals.
5090
5091 2013-05-31 Glenn Morris <rgm@gnu.org>
5092
5093 * obsolete/sym-comp.el (symbol-complete):
5094 Replace obsolete completion-annotate-function.
5095
5096 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5097
5098 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5099
5100 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5101 New function, checks if point is inside a literal that allows
5102 expression expansion.
5103 (ruby-syntax-propertize-expansion): Use it.
5104 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5105 around the body.
5106
5107 2013-05-30 Juri Linkov <juri@jurta.org>
5108
5109 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5110 to "\M-si".
5111 (isearch-invisible): New variable.
5112 (isearch-forward): Doc fix.
5113 (isearch-mode): Set `isearch-invisible'
5114 to the value of `search-invisible'.
5115 (isearch-toggle-case-fold): Doc fix.
5116 (isearch-toggle-invisible): New command.
5117 (isearch-query-replace): Let-bind `search-invisible'
5118 to the value of `isearch-invisible'.
5119 (isearch-search): Use `isearch-invisible' instead of
5120 `search-invisible'. Let-bind `search-invisible'
5121 to the value of `isearch-invisible'. (Bug#11378)
5122
5123 2013-05-30 Juri Linkov <juri@jurta.org>
5124
5125 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5126 call when `query-flag' is nil and `search-invisible' is non-nil.
5127 (Bug#11746)
5128
5129 2013-05-30 Glenn Morris <rgm@gnu.org>
5130
5131 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5132
5133 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5134 (cc-require): Suppress spurious "noruntime" warnings.
5135 (cc-require-when-compile): Use fboundp, for sake of compiler.
5136
5137 * progmodes/cc-mode.el: Move load of cc-vars before that of
5138 cc-langs (which in turn loads cc-vars), to quieten compiler.
5139
5140 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 * paren.el: Simplify the code.
5143 (show-paren-mode): Always start the timer.
5144 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5145 (show-paren--overlay, show-paren--overlay-1): Rename from
5146 show-paren-overlay and show-paren-overlay-1, and initialize to an
5147 overlay rather than to nil.
5148 (show-paren-function): Misc cleanup and simplifications.
5149
5150 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * paren.el (show-paren-data-function): New hook.
5153 (show-paren--default): New function, extracted from show-paren-function.
5154 (show-paren-function): Use show-paren-data-function.
5155
5156 2013-05-30 Glenn Morris <rgm@gnu.org>
5157
5158 * ielm.el (ielm-map, ielm-complete-symbol):
5159 Use completion-at-point rather than obsolete functions.
5160 (inferior-emacs-lisp-mode): Doc fix.
5161 Set completion-at-point-functions, rather than
5162 comint-dynamic-complete-functions.
5163
5164 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5165 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5166 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5167
5168 * image.el (image-animated-p): Tweak definition.
5169
5170 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5171 (rlogin-process-connection-type): Tweak default. Add set-after.
5172 (rlogin-host): Doc fix.
5173 (rlogin): Tweak prompt.
5174 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5175
5176 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5177 * progmodes/tcl.el (inferior-tcl-mode-map):
5178 Use completion-at-point rather than obsolete alias.
5179
5180 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5181
5182 * minibuffer.el (read-file-name-completion-ignore-case):
5183 Move before completion--in-region, for eager macro expansion.
5184
5185 2013-05-29 Juri Linkov <juri@jurta.org>
5186
5187 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5188 for total count of matching lines. Add `global-matches' for total
5189 count of matches. Rename `matches' to `lines' for count of
5190 matching lines. Add `matches' for count of matches.
5191 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5192 to `prev-line' for line number of prev match endpt.
5193 Increment `matches' for every match. Print the number of
5194 matching lines in the header.
5195 (occur-context-lines): Rename `lines' to `curr-line'.
5196 Rename `prev-lines' to `prev-line'. (Bug#14017)
5197
5198 2013-05-29 Juri Linkov <juri@jurta.org>
5199
5200 * replace.el (perform-replace): Add `skip-read-only-count',
5201 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5202 Increment them for corresponding conditions and report the number
5203 of skipped occurrences in the final message. (Bug#11746)
5204 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5205 (replace-string, replace-regexp): Doc fix.
5206
5207 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5210
5211 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5212 prog-mode-map (bug#14504).
5213
5214 2013-05-29 Leo Liu <sdl.web@gmail.com>
5215
5216 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5217 (octave-help): Small simplification.
5218
5219 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5220 off the highlight first.
5221
5222 2013-05-29 Glenn Morris <rgm@gnu.org>
5223
5224 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5225 Handle idlwave-last-system-routine-info-cons-cell being nil.
5226
5227 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5228 (idlwave-write-paths): Simplify via with-temp-buffer.
5229
5230 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5231 * emulation/cua-rect.el: Also load cua-base at run time.
5232
5233 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5234 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5235 (cperl-imenu-on-info): Require imenu.
5236
5237 2013-05-28 Alan Mackenzie <acm@muc.de>
5238
5239 Handle "capitalised keywords" correctly.
5240 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5241
5242 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5243
5244 * eshell/em-unix.el: Add -r option to cp.
5245
5246 2013-05-28 Glenn Morris <rgm@gnu.org>
5247
5248 * vc/vc-arch.el (vc-exec-after): Declare.
5249 (vc-switches): Autoload.
5250 * vc/vc-bzr.el: No need to require vc when compiling.
5251 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5252 (vc-resynch-buffer, vc-dir-refresh): Declare.
5253 (vc-setup-buffer, vc-switches): Autoload.
5254 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5255 (vc-resynch-buffer): Declare.
5256 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5257 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5258 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5259 (grep-read-regexp, grep-read-files, grep-expand-template)
5260 (vc-dir-refresh): Declare.
5261 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5262 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5263 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5264 * vc/vc-mtn.el (vc-exec-after): Declare.
5265 (vc-switches): Autoload.
5266 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5267 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5268 (vc-file-tree-walk): Declare.
5269 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5270 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5271 (vc-tag-precondition, vc-rename-master): Autoload.
5272 * vc/vc-svn.el (vc-exec-after): Declare.
5273 (vc-switches, vc-setup-buffer): Autoload.
5274 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5275 Autoload.
5276 (vc-resynch-buffer): Declare.
5277
5278 * obsolete/fast-lock.el (byte-compile-warnings):
5279 Don't warn about obsolete features in this obsolete file.
5280
5281 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5282 Move definition before use.
5283
5284 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5285 (dun-unix-verbs): Remove dun-zippy.
5286 (dun-zippy): Remove function.
5287
5288 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5289
5290 2013-05-27 Juri Linkov <juri@jurta.org>
5291
5292 * replace.el (replace-search): New function with code moved out
5293 from `perform-replace'.
5294 (replace-highlight, replace-dehighlight): Move function definitions
5295 up closer to `replace-search'. (Bug#11746)
5296
5297 2013-05-27 Juri Linkov <juri@jurta.org>
5298
5299 * replace.el (perform-replace): Ignore invisible matches.
5300 In addition to checking `query-replace-skip-read-only', also
5301 filter out matches by calling `run-hook-with-args-until-failure'
5302 on `isearch-filter-predicates', and also check `search-invisible'
5303 for t or call `isearch-range-invisible'.
5304 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5305
5306 2013-05-27 Juri Linkov <juri@jurta.org>
5307
5308 * isearch.el (isearch-filter-predicates): Rename from
5309 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5310 (isearch-message-prefix): Display text from the property
5311 `isearch-message-prefix' of the currently active filters.
5312 (isearch-search): Don't compare `isearch-filter-predicate' with
5313 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5314 on `isearch-filter-predicates'. Also check `search-invisible' for t
5315 or call `isearch-range-invisible'.
5316 (isearch-filter-visible): Make obsolete.
5317 (isearch-lazy-highlight-search):
5318 Call `run-hook-with-args-until-failure' on
5319 `isearch-filter-predicates' and use `isearch-range-invisible'.
5320
5321 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5322 `isearch-filter-predicates' instead of `funcall'ing
5323 `isearch-filter-predicate'.
5324 (Info-mode): Set `Info-isearch-filter' to
5325 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5326
5327 * dired-aux.el (dired-isearch-filter-predicate-orig):
5328 Remove variable.
5329 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5330 (dired-isearch-filenames-end): Add and remove
5331 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5332 instead of changing the value of `isearch-filter-predicate'.
5333 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5334 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5335 Put property `isearch-message-prefix' to "filename " on
5336 `dired-isearch-filter-filenames'.
5337
5338 * wdired.el (wdired-change-to-wdired-mode):
5339 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5340 locally instead of changing `isearch-filter-predicate'.
5341 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5342
5343 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5344
5345 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5346 return the commit hash (Bug#14459). Also set the
5347 `vc-git-detached' property.
5348 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5349 (vc-git-mode-line-string): Use the same help-echo format whether
5350 in detached mode or not, because we know the actual revision now.
5351 When in detached mode, shorten the revision to 7 chars.
5352
5353 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * emacs-lisp/easy-mmode.el (define-minor-mode):
5356 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5357 mode hook and provide a docstring.
5358
5359 2013-05-27 Alan Mackenzie <acm@muc.de>
5360
5361 Remove spurious syntax-table text properties inserted by C-y.
5362 * progmodes/cc-mode.el (c-after-change): Also clear hard
5363 syntax-table property with value nil.
5364
5365 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
5366
5367 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5368 when reading the events; the buffer layout shall not be changed.
5369
5370 2013-05-27 Leo Liu <sdl.web@gmail.com>
5371
5372 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5373 New variable.
5374 (inferior-octave-directory-tracker): Automatically re-sync
5375 default-directory.
5376 (octave-help): Improve handling of 'See also'.
5377
5378 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * doc-view.el: Minor naming convention tweaks.
5381 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5382
5383 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5384 even if there's no `display' property yet (bug#14435).
5385
5386 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5387
5388 * subr.el (unmsys--file-name): Rename from reveal-filename.
5389
5390 * Makefile.in (custom-deps, finder-data, autoloads)
5391 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5392 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5393 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5394
5395 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5398 error-completion on the first 2 args of condition-case (bug#14446).
5399 Don't burp at EOB.
5400
5401 2013-05-25 Leo Liu <sdl.web@gmail.com>
5402
5403 * comint.el (comint-previous-matching-input): Do not flood the
5404 *Messages* buffer with trivial messages.
5405
5406 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * progmodes/flymake.el (flymake-nop): Don't return a string.
5409 (flymake-set-at): Fix typo.
5410
5411 * simple.el (read--expression): New function, extracted from
5412 eval-expression. Set completion-at-point-functions (bug#14465).
5413 (eval-expression, eval-minibuffer): Use it.
5414
5415 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5416
5417 * progmodes/flymake.el (flymake-save-buffer-in-file)
5418 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5419 (flymake-selected-frame, flymake-log, flymake-ins-after)
5420 (flymake-set-at, flymake-get-buildfile-from-cache)
5421 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5422 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5423 Refine the doc string.
5424 (flymake-get-file-name-mode-and-masks): Reformat.
5425 (flymake-get-real-file-name-function): Fix a minor bug.
5426
5427 2013-05-24 Juri Linkov <juri@jurta.org>
5428
5429 * progmodes/grep.el (grep-mode-font-lock-keywords):
5430 Support =linenumber= format used by git-grep for lines with
5431 function names. (Bug#13549)
5432
5433 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5436 0 after a semi-colon; it works better for smie-auto-fill.
5437 (octave--indent-new-comment-line): New function.
5438 (octave-indent-new-comment-line): Use it (indirectly).
5439 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5440 modify comment-line-break-function.
5441
5442 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5443 (smie-setup): Use add-function to set it.
5444
5445 2013-05-24 Sam Steingold <sds@gnu.org>
5446
5447 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5448 argument (before the `interactive' argument).
5449
5450 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * image-mode.el (image-mode-winprops): Add winprops to
5453 image-mode-winprops-alist before running
5454 image-mode-new-window-functions.
5455 * doc-view.el (doc-view-new-window-function): Don't delay
5456 doc-view-goto-page via timers (bug#14435).
5457
5458 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5459
5460 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5461 (doc-view-desktop-save-buffer): New function.
5462 (doc-view-restore-desktop-buffer): New function.
5463 (desktop-buffer-mode-handlers):
5464 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5465 handler.
5466 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5467 `desktop-save-buffer' function.
5468
5469 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5470
5471 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5472 (tramp-gvfs-file-name-handler): Raise a user error when
5473 `tramp-gvfs-enabled' is nil.
5474 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5475 Do not raise a user error when loading package. (Bug#14447)
5476
5477 * net/xesam.el: Move to obsolete/.
5478
5479 2013-05-24 Glenn Morris <rgm@gnu.org>
5480
5481 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5482
5483 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5484
5485 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5486 (Info-find-node, Man-getpage-in-background): Declare.
5487
5488 * mail/unrmail.el (unrmail):
5489 Replace obsolete detect-coding-with-priority.
5490
5491 * net/socks.el (socks-split-string): Use this rather than split-string.
5492 (socks-nslookup-host): Update for above change.
5493 (dynamic-choice, s5-dynamic-choice-match)
5494 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5495 Comment out unused code.
5496
5497 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5498 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5499 (gud-tooltip-echo-area): Make obsolete.
5500 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5501
5502 * progmodes/js.el (js--optimize-arglist): Declare.
5503
5504 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5505
5506 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5507 (ediff-window-C): Declare.
5508
5509 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5510 Tweak requires to silence compiler.
5511
5512 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5513 (he-search-string, he-tried-table, he-expand-list)
5514 (he-init-string, he-string-member, he-substitute-string)
5515 (he-reset-string): Declare.
5516
5517 * obsolete/options.el (list-options): Use custom-variable-p,
5518 rather than obsolete alias.
5519
5520 2013-05-23 Sam Steingold <sds@gnu.org>
5521
5522 * simple.el (shell-command-on-region): Pass the `replace' argument
5523 down to `call-process-region' to comply with the doc as reported on
5524 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5525
5526 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * emacs-lisp/smie.el (smie-indent-forward-token)
5529 (smie-indent-backward-token): Handle string tokens (bug#14381).
5530
5531 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5532
5533 * ielm.el (ielm-menu): New menu.
5534 (inferior-emacs-lisp-mode): Set comment-start.
5535
5536 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5537
5538 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5539 Fix deactivate action.
5540
5541 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5542 Add cleveref macros.
5543
5544 * lisp/textmodes/reftex-parse.el
5545 (reftex-locate-bibliography-files): Accept options for
5546 bibliography commands.
5547 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5548 Add addbibresource. Basic Biblatex support.
5549
5550 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
5551
5552 * net/tramp-gvfs.el (top):
5553 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5554 when loading package. (Bug#14447)
5555
5556 2013-05-23 Glenn Morris <rgm@gnu.org>
5557
5558 * progmodes/js.el: No need to load comint when compiling.
5559 (ring-insert, comint-send-string, comint-send-input)
5560 (comint-last-input-end, ido-chop): Declare.
5561
5562 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5563 * vc/ediff-mult.el: Adjust requires.
5564 (ediff-directories-internal, ediff-directory-revisions-internal)
5565 (ediff-patch-file-internal): Declare.
5566 * vc/ediff-ptch.el: Adjust requires.
5567 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5568 (ediff-find-file): Autoload.
5569 * vc/ediff-util.el: No need to load ediff when compiling.
5570 (ediff-regions-internal): Declare.
5571 * vc/ediff-wind.el: Adjust requires.
5572 (ediff-compute-toolbar-width): Define when compiling.
5573 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5574 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5575 (dired-get-filename, dired-get-marked-files)
5576 (ediff-last-dir-patch, ediff-patch-default-directory)
5577 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5578 (ediff-patch-buffer-internal): Declare.
5579
5580 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5581 (ispell-process, ispell-buffer-local-words, lm-summary)
5582 (lm-section-start, lm-section-end): Declare.
5583 (checkdoc-ispell-init): Simplify.
5584
5585 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5586 (he-string-member, he-reset-string, he-substitute-string): Declare.
5587
5588 * eshell/em-ls.el: Adjust requires.
5589 (eshell-glob-regexp): Declare.
5590 * eshell/em-tramp.el: Adjust requires.
5591 (eshell-parse-command): Autoload.
5592 * eshell/em-xtra.el: Adjust requires.
5593 (eshell-parse-command): Autoload.
5594 * eshell/esh-ext.el: Adjust requires.
5595 (eshell-parse-command, eshell-close-handles): Autoload.
5596 * eshell/esh-io.el: Adjust requires.
5597 (eshell-output-filter): Autoload.
5598 * eshell/esh-util.el: No need to load tramp when compiling.
5599 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5600 Declare.
5601 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5602 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5603 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5604 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5605 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5606 * eshell/esh-opt.el, eshell/esh-proc.el:
5607 * eshell/esh-var.el: Adjust requires.
5608 * eshell/eshell.el: Do not require esh-util twice.
5609 (eshell-add-input-to-history): Declare.
5610 (eshell-command): Check history module is active before using it.
5611
5612 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5613
5614 2013-05-22 Leo Liu <sdl.web@gmail.com>
5615
5616 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5617
5618 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
5619
5620 * autorevert.el (auto-revert-notify-add-watch)
5621 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5622 it indicates changes in file modification time.
5623
5624 2013-05-22 Glenn Morris <rgm@gnu.org>
5625
5626 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5627 Always delete the autoloaded function from the noruntime and
5628 unresolved functions lists.
5629
5630 * allout.el: No need to load epa, epg, overlay when compiling.
5631 (epg-context-set-passphrase-callback, epg-list-keys)
5632 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5633 (epg-key-user-id-list): Declare.
5634
5635 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5636 (viper-set-parsing-style-toggling-macro)
5637 (viper-set-emacs-state-searchstyle-macros):
5638 Use called-interactively-p on Emacs.
5639 (viper-looking-back): Make it an obsolete alias. Update callers.
5640 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5641 Use looking-back rather than viper-looking-back.
5642 (viper-tmp-insert-at-eob, viper-enlarge-region)
5643 (viper-read-string-with-history, viper-register-to-point)
5644 (viper-append-to-register, viper-change-state-to-vi)
5645 (viper-backward-char-carefully, viper-forward-char-carefully)
5646 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5647 (viper-change-state-to-emacs): Declare.
5648 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5649 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5650 * emulation/viper-mous.el: Do not load viper-cmd.
5651 (viper-backward-char-carefully, viper-forward-char-carefully)
5652 (viper-forward-word, viper-adjust-window): Declare.
5653
5654 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5655
5656 * progmodes/idlw-help.el (idlwave-help-fontify):
5657 Use called-interactively-p.
5658
5659 * term/w32console.el (w32-get-console-codepage)
5660 (w32-get-console-output-codepage): Declare.
5661
5662 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5663 Remove unnecessary declarations.
5664 (dframe-message): Doc fix.
5665
5666 * info.el (dframe-select-attached-frame, dframe-current-frame):
5667 Declare.
5668
5669 * speedbar.el (speedbar-message): Make it an obsolete alias.
5670 Update all callers.
5671 (speedbar-with-attached-buffer)
5672 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5673 (speedbar-with-writable): Use backquote.
5674 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5675 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5676 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5677 rather than speedbar- aliases.
5678 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5679 (speedbar-make-specialized-keymap, speedbar-insert-button)
5680 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5681 (speedbar-do-function-pointer): Declare.
5682 (rmail-speedbar-button, rmail-speedbar-find-file)
5683 (rmail-speedbar-move-message):
5684 Use dframe-with-attached-buffer rather than speedbar- alias.
5685 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5686 (dframe-message, speedbar-make-specialized-keymap)
5687 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5688 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5689 (speedbar-insert-button, dframe-select-attached-frame)
5690 (dframe-maybee-jump-to-attached-frame)
5691 (speedbar-change-initial-expansion-list)
5692 (speedbar-previously-used-expansion-list-name): Declare.
5693 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5694 Use dframe-message, dframe-with-attached-buffer rather than
5695 speedbar- aliases.
5696 (gud-sentinel): Silence compiler.
5697 * progmodes/vhdl-mode.el (speedbar-refresh)
5698 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5699 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5700 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5701 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5702 (speedbar-file-lists, speedbar-make-tag-line)
5703 (speedbar-line-directory, speedbar-goto-this-file)
5704 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5705 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5706 (speedbar-make-button, speedbar-reset-scanners)
5707 (speedbar-files-item-info, speedbar-line-text)
5708 (speedbar-find-file-in-frame, speedbar-set-timer)
5709 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5710 (speedbar-with-writable): Do not (re)define it.
5711 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5712 rather than speedbar- alias.
5713
5714 2013-05-21 Leo Liu <sdl.web@gmail.com>
5715
5716 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5717 menu items.
5718 (octave-mode): Tweak fill-nobreak-predicate.
5719 (inferior-octave-startup): Check process to avoid infinite loop.
5720 (inferior-octave): Pop to buffer first to show abornmal process
5721 exit information.
5722
5723 2013-05-21 Glenn Morris <rgm@gnu.org>
5724
5725 * printing.el (pr-menu-bar): Define when compiling.
5726
5727 2013-05-21 Leo Liu <sdl.web@gmail.com>
5728
5729 * progmodes/octave.el (octave-auto-fill): Remove.
5730 (octave-indent-new-comment-line): Improve.
5731 (octave-mode): Use auto fill mode through
5732 comment-line-break-function and fill-nobreak-predicate.
5733 (octave-goto-function-definition): Support DEFUN_DLD.
5734 (octave-beginning-of-defun): Small tweak.
5735 (octave-help): Show parent directory.
5736
5737 2013-05-21 Glenn Morris <rgm@gnu.org>
5738
5739 * files.el (dired-unmark):
5740 * progmodes/gud.el (gdb-input): Update declarations.
5741
5742 * calculator.el (electric, ehelp): No need to load when compiling.
5743 (Electric-command-loop, electric-describe-mode): Declare.
5744
5745 * doc-view.el (doc-view-current-converter-processes): Move before use.
5746
5747 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5748 Move MODE-set-explicitly definition before use.
5749
5750 * international/mule-diag.el (mule-diag):
5751 Don't use obsolete window-system-version.
5752
5753 * mail/feedmail.el (smtpmail): No need to load when compiling.
5754 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5755
5756 * mail/mail-utils.el (rfc822): No need to load when compiling.
5757 (rfc822-addresses): Autoload it.
5758 (mail-strip-quoted-names): Trivial simplification.
5759
5760 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5761 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5762
5763 * net/snmp-mode.el (tempo): Don't duplicate requires.
5764
5765 * progmodes/prolog.el (info): No need to load when compiling.
5766 (comint): Require before shell requires it.
5767 (Info-goto-node): Autoload it.
5768 (Info-follow-nearest-node): Declare.
5769 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5770
5771 * textmodes/artist.el (picture-mode-exit): Declare.
5772
5773 * textmodes/reftex-parse.el (reftex-parse-from-file):
5774 Trivial rewrite so the compiler can parse it better.
5775
5776 2013-05-20 Leo Liu <sdl.web@gmail.com>
5777
5778 * progmodes/octave.el (octave-help-mode-map)
5779 (octave-help-mode-finish-hook): New variables.
5780 (octave-help-mode, octave-help-mode-finish): New functions.
5781 (octave-help): Use octave-help-mode.
5782
5783 2013-05-20 Glenn Morris <rgm@gnu.org>
5784
5785 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5786
5787 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5788
5789 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5790 start at point, so that expansion starting right after opening
5791 slash in a regexp is recognized.
5792 (ruby-syntax-before-regexp-re): New defvar, extracted from
5793 ruby-syntax-propertize-function. Since the value of this regexp
5794 is looked up at runtime now, we should be able to turn
5795 `ruby-syntax-methods-before-regexp' into a defcustom later.
5796 (ruby-syntax-propertize-function): Split regexp matching into two
5797 parts, for opening and closing slashes. That allows us to skip
5798 over string interpolations and support multiline regexps.
5799 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5800 for them, which calls `ruby-syntax-propertize-expansion'.
5801 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5802 call to `ruby-syntax-propertize-function'.
5803 (ruby-syntax-propertize-expansion): Extracted from
5804 `ruby-syntax-propertize-expansions'. Handles one expansion.
5805 (ruby-syntax-propertize-percent-literal): Leave point right after
5806 the percent symbol, so that the expression expansion rule can
5807 propertize the contents.
5808 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5809 heredoc openers.
5810 (ruby-syntax-propertize-expansions): Remove.
5811
5812 2013-05-18 Juri Linkov <juri@jurta.org>
5813
5814 * man.el (Man-default-man-entry): Remove `-' from the end
5815 of the default value. (Bug#14400)
5816
5817 2013-05-18 Glenn Morris <rgm@gnu.org>
5818
5819 * comint.el (comint-password-prompt-regexp):
5820 Allow "password for XXX" where XXX contains colons (eg https://...).
5821
5822 2013-05-18 Leo Liu <sdl.web@gmail.com>
5823
5824 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5825 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5826 (octave-source-directories): Don't check process.
5827 (octave-source-directories, octave-find-definition): Doc fix.
5828
5829 2013-05-18 Glenn Morris <rgm@gnu.org>
5830
5831 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5832 Remove backspace/delete bindings. (Bug#14392)
5833
5834 * cus-dep.el (custom-make-dependencies): Sort the output.
5835 (custom-versions-load-alist): Convert comment to doc.
5836
5837 2013-05-17 Leo Liu <sdl.web@gmail.com>
5838
5839 * newcomment.el (comment-search-backward): Stricter in finding
5840 comment start. (Bug#14303)
5841
5842 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5843 (octave-comment-start-skip): Properly anchored.
5844
5845 2013-05-17 Leo Liu <sdl.web@gmail.com>
5846
5847 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5848 Clean up when turned off. (Bug#14395)
5849 (smie--highlight-matching-block-overlay): No longer buffer-local.
5850 (smie-highlight-matching-block): Adjust.
5851
5852 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5853
5854 Doc string fix for "nanoseconds" (Bug#14406).
5855 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5856 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5857
5858 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5859
5860 * calc/calc-units.el (math-extract-units): Preserve powers
5861 of units.
5862
5863 2013-05-17 Leo Liu <sdl.web@gmail.com>
5864
5865 * subr.el (delete-consecutive-dups): New function.
5866 * ido.el (ido-set-matches-1): Use it.
5867 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5868 * ido.el (ido-remove-consecutive-dups): Remove.
5869
5870 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5873 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5874 regexp-opt's `words'.
5875
5876 2013-05-16 Leo Liu <sdl.web@gmail.com>
5877
5878 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5879 (smie--highlight-matching-block-overlay)
5880 (smie--highlight-matching-block-lastpos)
5881 (smie--highlight-matching-block-timer): New variables.
5882 (smie-highlight-matching-block): New function.
5883 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5884 (smie-setup): Conditionally enable smie-blink-matching-open.
5885
5886 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5887
5888 Sync with upstream verilog-mode r840.
5889 * progmodes/verilog-mode.el (verilog-mode-version)
5890 (verilog-mode-release-date): Update.
5891 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5892 (verilog-sig-tieoff): Fix string error on
5893 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5894 (verilog-read-decls): Fix parameters confusing
5895 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5896
5897 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5898
5899 * subr.el (reveal-filename): New function.
5900
5901 * loadup.el: Compute Emacs executable versions on MS-Windows,
5902 where executables have the .exe extension. Add a hard link
5903 emacs-XX.YY.ZZ.exe on MS-Windows.
5904
5905 * Makefile.in (XARGS_LIMIT): New variable.
5906 (custom-deps, finder-data, autoloads)
5907 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5908 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5909 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5910 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5911
5912 2013-05-16 Leo Liu <sdl.web@gmail.com>
5913
5914 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5915 (octave-mode-menu, octave-mode-map): Remove its uses.
5916
5917 2013-05-16 Reto Zimmermann <reto@gnu.org>
5918
5919 Sync with upstream vhdl mode v3.34.2.
5920 * progmodes/vhdl-mode.el: Use `push' throughout.
5921 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5922 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5923 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5924 (vhdl-actual-generic-name): New option to derive actual generic name.
5925 (vhdl-port-paste-signals): Replace formal by actual generics.
5926 (vhdl-beautify): New name for old group vhdl-align. Update users.
5927 (vhdl-beautify-options): New option.
5928 (vhdl-last-input-event): New compat alias. Use throughout.
5929 (vhdl-goto-line): Replace user level function `goto-line'.
5930 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5931 vhdl-fix-statement-buffer.
5932 (vhdl-create-mode-menu): Add some entries.
5933 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5934 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5935 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5936 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5937 to force statements on one line.
5938 (vhdl-remove-trailing-spaces-region):
5939 New, split from vhdl-remove-trailing-spaces.
5940 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5941 Respect vhdl-beautify-options.
5942 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5943 (vhdl-update-sensitivity-list): Not add with index if exists without.
5944 Not include array index with signal. Ignore keywords in comments.
5945 (vhdl-get-visible-signals): Regexp tweaks.
5946 (vhdl-template-component-inst): Handle empty library.
5947 (vhdl-template-type): Add template for 'enum' type.
5948 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5949 Use vhdl-replace-string.
5950 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5951 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5952 (vhdl-speedbar-initialize): Update for above name change.
5953 (vhdl-compose-wire-components): Fix in handling of constants.
5954 (vhdl-error-regexp-emacs-alist): New variable.
5955 (vhdl-error-regexp-add-emacs): New function;
5956 adds support for new compile.el (Emacs 22+)
5957 (vhdl-generate-makefile-1): Change target order for single lib. units.
5958 Allow use of absolute file names.
5959
5960 2013-05-16 Leo Liu <sdl.web@gmail.com>
5961
5962 * simple.el (prog-indent-sexp): Indent enclosing defun.
5963
5964 2013-05-15 Glenn Morris <rgm@gnu.org>
5965
5966 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5967 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5968 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5969 (whitespace-highlight): Move to whitespace group.
5970
5971 * comint.el (comint-source):
5972 * pcmpl-linux.el (pcmpl-linux):
5973 * shell.el (shell-faces):
5974 * eshell/esh-opt.el (eshell-opt):
5975 * international/ccl.el (ccl): Remove empty custom groups.
5976
5977 * completion.el (dynamic-completion-mode):
5978 * jit-lock.el (jit-lock-debug-mode):
5979 * minibuffer.el (completion-in-region-mode):
5980 * type-break.el (type-break-mode-line-message-mode)
5981 (type-break-query-mode):
5982 * emulation/tpu-edt.el (tpu-edt-mode):
5983 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5984 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5985 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5986
5987 * term/xterm.el (xterm): Change parent group to terminals.
5988
5989 * master.el (master): Remove empty custom group.
5990 (master-mode): Remove unused :group argument.
5991 * textmodes/refill.el (refill): Remove empty custom group.
5992 (refill-mode): Remove unused :group argument.
5993
5994 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5995
5996 * cus-dep.el: Provide a feature.
5997 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5998 Don't mistakenly ignore files whose basenames match a basename
5999 from preloaded-file-list (eg cedet/ede/simple.el).
6000 Add a fallback method for getting :group.
6001
6002 2013-05-15 Juri Linkov <juri@jurta.org>
6003
6004 * isearch.el (isearch-char-by-name): Rename from
6005 `isearch-insert-char-by-name'. Doc fix.
6006 (isearch-forward): Mention `isearch-char-by-name' in
6007 the docstring. (Bug#13348)
6008
6009 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6010 `exit-minibuffer' instead of
6011 `isearch-nonincremental-exit-minibuffer'.
6012 (isearch-edit-string): Remove mention of
6013 `isearch-nonincremental-exit-minibuffer' from docstring.
6014 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6015 (isearch-forward-exit-minibuffer)
6016 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6017
6018 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * loadup.el: Just use unversioned DOC.
6021
6022 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6023 literals as extending to EOB.
6024 (nxml-last-fontify-end): Remove unused variable.
6025 (nxml-after-change1): Use with-silent-modifications.
6026 (nxml-extend-after-change-region): Simplify.
6027 (nxml-extend-after-change-region1): Remove function.
6028 (nxml-after-change1): Don't adjust for dependent regions.
6029 (nxml-fontify-matcher): Simplify.
6030 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6031 (xmltok-add-dependent): Remove function.
6032 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6033 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6034 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6035 unclosed <[[, <?, comment, and other literals as extending to EOB.
6036 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6037 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6038 Remove functions.
6039 (rng-do-some-validation-1): Don't mark dependent regions.
6040 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6041 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6042 (nxml-clear-dependent-regions): Remove functions.
6043 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6044 (nxml-ensure-scan-up-to-date):
6045 Don't clear&mark dependent regions.
6046
6047 2013-05-15 Leo Liu <sdl.web@gmail.com>
6048
6049 * progmodes/octave.el (octave-goto-function-definition):
6050 Improve and fix callers.
6051
6052 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6055 the setter (bug#14387).
6056
6057 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6058 surrounding group (bug#14402).
6059
6060 2013-05-14 Juri Linkov <juri@jurta.org>
6061
6062 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6063 (Bug#14390)
6064
6065 2013-05-14 Glenn Morris <rgm@gnu.org>
6066
6067 * progmodes/f90.el (f90-imenu-generic-expression):
6068 Fix typo in 2013-05-08 change. (Bug#14402)
6069
6070 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6071
6072 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6073 Remove signals for which replies are never received.
6074
6075 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6076
6077 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6078 (gdb-handler-alist, gdb-handler-number): Remove variables.
6079 (gdb-handler-list): New variable.
6080 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6081 (gdb-pending-handler-p, gdb-handle-reply)
6082 (gdb-remove-all-pending-triggers): New functions.
6083 (gdb-discard-unordered-replies): New defcustom.
6084 (gdb-handler): New defstruct.
6085 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6086 instead of gdb-pending-triggers. Update docstring.
6087 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6088 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6089 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6090 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6091 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6092 (gdb-frame-handler): Pending triggers are now automatically managed.
6093 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6094 Remove argument.
6095 (gdb-input): Automatically handles pending triggers. Update docstring.
6096 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6097 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6098 Update comments.
6099 (gdb-done-or-error): Now use gdb-handle-reply.
6100
6101 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6102
6103 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6104 gdb-debug-log.
6105
6106 2013-05-14 Glenn Morris <rgm@gnu.org>
6107
6108 * subr.el (user-emacs-directory-warning): New option.
6109 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6110
6111 2013-05-14 Leo Liu <sdl.web@gmail.com>
6112
6113 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6114 during redisplay.
6115 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6116 (octave-font-lock-texinfo-comment): Fix invalid search bound
6117 error: wrong side of point.
6118
6119 2013-05-14 Glenn Morris <rgm@gnu.org>
6120
6121 * progmodes/flymake.el (flymake-xml-program): New option.
6122 (flymake-xml-init): Use it.
6123
6124 * term/xterm.el: Provide a feature.
6125
6126 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6127
6128 2013-05-13 Glenn Morris <rgm@gnu.org>
6129
6130 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6131 Add compat aliases as a hack workaround. (Bug#14384)
6132
6133 2013-05-13 Leo Liu <sdl.web@gmail.com>
6134
6135 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6136 ###, and %!.
6137 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6138 C-M-q.
6139 (octave-comment-start-skip): Include %!.
6140 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6141
6142 2013-05-12 Leo Liu <sdl.web@gmail.com>
6143
6144 * progmodes/octave.el (inferior-octave-startup): Store the value
6145 of __octave_srcdir__ for octave-source-directories.
6146 (inferior-octave-check-process): New function refactored out of
6147 inferior-octave-send-list-and-digest.
6148 (octave-source-directories)
6149 (octave-find-definition-filename-function): New variables.
6150 (octave-source-directories)
6151 (octave-find-definition-default-filename): New functions.
6152 (octave-find-definition): Improve to find functions implemented in C++.
6153
6154 2013-05-12 Glenn Morris <rgm@gnu.org>
6155
6156 * calendar/diary-lib.el (diary-outlook-format-1):
6157 Don't include dayname in the output. (Bug#14349)
6158
6159 2013-05-11 Glenn Morris <rgm@gnu.org>
6160
6161 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6162
6163 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6164 Treat cc-provide like provide.
6165
6166 2013-05-11 Kevin Ryde <user42@zip.com.au>
6167
6168 * cus-dep.el (custom-make-dependencies):
6169 Use generated-autoload-load-name for the sake of files such
6170 such cedet/semantic/bovine/c.el, where the base file name
6171 is not in load-path. (Bug#5277)
6172
6173 2013-05-11 Glenn Morris <rgm@gnu.org>
6174
6175 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6176 Provide features.
6177
6178 2013-05-11 Leo Liu <sdl.web@gmail.com>
6179
6180 * progmodes/octave.el (octave-indent-comment): Improve.
6181 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6182 (octave-eldoc-function-signatures, octave-eldoc-function):
6183 New functions.
6184 (octave-mode, inferior-octave-mode): Add eldoc support.
6185
6186 2013-05-11 Richard Stallman <rms@gnu.org>
6187
6188 * epa.el (epa-decrypt-file): Take output file name as argument
6189 and read it using `interactive'.
6190
6191 2013-05-11 Leo Liu <sdl.web@gmail.com>
6192
6193 * progmodes/octave.el (octave-beginning-of-line)
6194 (octave-end-of-line): Check before using up-list because it jumps
6195 out of more syntactic contructs since moving to smie.
6196 (octave-indent-comment): New function.
6197 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6198 (octave-begin-keywords, octave-end-keywords)
6199 (octave-reserved-words, octave-smie-bnf-table)
6200 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6201
6202 2013-05-11 Glenn Morris <rgm@gnu.org>
6203
6204 * faces.el (internal-face-x-get-resource):
6205 * frame.el (ns-display-monitor-attributes-list):
6206 * calc/calc-aent.el (math-to-radians-2):
6207 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6208 Fix declarations.
6209
6210 * calc/calc-menu.el: Make it loadable in isolation.
6211
6212 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6213 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6214 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6215 (eudc-bbdb-query-internal): Require 'bbdb.
6216
6217 * lpr.el (lpr-headers-switches):
6218 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6219
6220 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6221
6222 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6223
6224 * term.el (term-set-escape-char): Make it idempotent.
6225
6226 2013-05-10 Leo Liu <sdl.web@gmail.com>
6227
6228 * progmodes/octave.el (inferior-octave-completion-table):
6229 No longer a function and all uses changed. Use cache to speed up
6230 completion due to bug#11906.
6231 (octave-beginning-of-defun): Re-write to be more general.
6232
6233 2013-05-10 Glenn Morris <rgm@gnu.org>
6234
6235 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6236
6237 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * comint.el (comint-redirect-send-command-to-process): Use :around
6240 rather than :override for comint-redirect-filter.
6241 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6242 Call it instead of comint-redirect-original-filter-function (which
6243 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6244
6245 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6246
6247 * frame.el (display-monitor-attributes-list): Add NS case.
6248 (ns-display-monitor-attributes-list): Declare.
6249
6250 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6251
6252 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6253
6254 2013-05-09 Glenn Morris <rgm@gnu.org>
6255
6256 * international/fontset.el (vertical-centering-font-regexp):
6257 Set standard-value.
6258
6259 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6260
6261 * bookmark.el (bookmark-search-delay):
6262 * cus-start.el (vertical-centering-font-regexp):
6263 * ps-mule.el (ps-mule-font-info-database-default):
6264 * ps-print.el (ps-default-fg, ps-default-bg):
6265 * type-break.el (type-break-good-break-interval):
6266 * whitespace.el (whitespace-indentation-regexp)
6267 (whitespace-space-after-tab-regexp):
6268 * emacs-lisp/testcover.el (testcover-1value-functions)
6269 (testcover-noreturn-functions, testcover-progn-functions)
6270 (testcover-prog1-functions):
6271 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6272 * eshell/em-glob.el (eshell-glob-translate-alist):
6273 * play/tetris.el (tetris-tty-colors):
6274 * progmodes/cpp.el (cpp-face-default-list):
6275 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6276 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6277 (idlwave-help-browser-generic-args):
6278 * progmodes/make-mode.el (makefile-special-targets-list):
6279 * progmodes/python.el (python-shell-virtualenv-path):
6280 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6281 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6282 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6283 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6284 * textmodes/reftex-vars.el (reftex-format-label-function):
6285 * textmodes/remember.el (remember-diary-file): Fix custom types.
6286
6287 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6288 Add :version.
6289
6290 2013-05-09 Leo Liu <sdl.web@gmail.com>
6291
6292 * progmodes/octave.el (inferior-octave-completion-at-point):
6293 Restore file completion. (Bug#14300)
6294 (inferior-octave-startup): Fix incorrect highlighting for the
6295 first prompt.
6296
6297 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * progmodes/ruby-mode.el: First cut at SMIE support.
6300 (ruby-use-smie): New var.
6301 (ruby-smie-grammar): New constant.
6302 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6303 (ruby-smie--forward-token, ruby-smie--backward-token)
6304 (ruby-smie-rules): New functions.
6305 (ruby-mode-variables): Setup SMIE if applicable.
6306
6307 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6308
6309 * simple.el (line-move-visual): Signal beginning/end of buffer
6310 only if vertical-motion moved less than it was requested. Avoids
6311 silly incorrect error messages when there are display strings with
6312 multiple newlines at EOL.
6313
6314 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6317 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6318 (prolog-char-quote-workaround):
6319 * progmodes/cperl-mode.el (cperl-under-as-char):
6320 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6321 Mark as obsolete.
6322 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6323 their declaration.
6324 (vhdl-mode-syntax-table-init): Remove.
6325
6326 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6327 last change.
6328
6329 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6330 syntax for "_".
6331 (ld-script-font-lock-keywords):
6332 Change regexps to use things like \_< and \_>.
6333
6334 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6335 Change all regexps to use things like \_< and \_>.
6336
6337 * progmodes/autoconf.el (autoconf-definition-regexp)
6338 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6339 Handle a _ with symbol syntax.
6340 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6341
6342 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6343 Consolidate declaration.
6344 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6345 the declaration.
6346 (ada-create-syntax-table): Remove.
6347 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6348 already has the right syntax nowadays.
6349 (ada-goto-next-word): Don't change the syntax of "_".
6350
6351 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6352 with-wrapper-hook.
6353
6354 2013-05-08 Sam Steingold <sds@gnu.org>
6355
6356 * thingatpt.el (thing-at-point): Accept optional second argument
6357 NO-PROPERTIES to strip the text properties from the return value.
6358 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6359 to `thing-at-point' instead of stripping the properties ourselves.
6360 Also, when `thing-at-point' fails to find a url, prepend "http://"
6361 to the filename at point on the assumption that the user is
6362 pointing at something like gnu.org/gnu.
6363
6364 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
6365
6366 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6367 * faces.el (crm-separator):
6368 Silence byte-compiler.
6369
6370 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6371 (tool-bar-map): Remove unneeded defvars.
6372
6373 2013-05-08 Leo Liu <sdl.web@gmail.com>
6374
6375 Re-work a fix for bug#10994 based on Le Wang's patch.
6376 * ido.el (ido-remove-consecutive-dups): New helper.
6377 (ido-completing-read): Use it.
6378 (ido-chop): Revert fix for bug#10994.
6379
6380 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6381
6382 * cus-edit.el (custom-save-variables):
6383 Pretty-print long values. (Bug#14187)
6384
6385 2013-05-08 Glenn Morris <rgm@gnu.org>
6386
6387 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6388 (m4-mode-syntax-table): Init in the defvar.
6389 (m4-mode-abbrev-table): Let define-derived-mode define it.
6390
6391 2013-05-08 Tom Tromey <tromey@redhat.com>
6392
6393 * progmodes/m4-mode.el (m4-mode-syntax-table):
6394 Do not treat "_" as word constituent. (Bug#14167)
6395
6396 2013-05-07 Glenn Morris <rgm@gnu.org>
6397
6398 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6399 Remove explicit eshell-isearch-cancel-map.
6400
6401 * progmodes/f90.el (f90-smart-end-names): New option.
6402 (f90-smart-end): Doc fix.
6403 (f90-end-block-optional-name): New constant.
6404 (f90-block-match): Respect f90-smart-end-names.
6405
6406 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6409 about implicit semi-colons (bug#14218).
6410
6411 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6412
6413 * frame.el (display-monitor-attributes-list)
6414 (frame-monitor-attributes): New functions.
6415
6416 2013-05-06 Leo Liu <sdl.web@gmail.com>
6417
6418 * progmodes/octave.el (octave-syntax-propertize-function): Change
6419 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6420 (octave-font-lock-keywords): Use octave-operator-regexp.
6421 (octave-completion-at-point): Rename from
6422 octave-completion-at-point-function.
6423 (inferior-octave-directory-tracker): Robustify.
6424 (octave-text-functions): Remove and fix its uses. No such things
6425 any more.
6426
6427 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6428
6429 * emacs-lisp/trace.el (trace--display-buffer): New function.
6430 (trace-make-advice): Use it.
6431
6432 2013-05-06 Juri Linkov <juri@jurta.org>
6433
6434 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6435 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6436 Doc fix.
6437 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6438 in the help string. (Bug#12985)
6439
6440 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6441
6442 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6443
6444 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * progmodes/perl-mode.el: Add support for here documents.
6447 (perl-syntax-propertize-function): Match here-doc markers.
6448 (perl-syntax-propertize-special-constructs): Find their end.
6449 (perl-imenu-generic-expression): Use [:alnum:].
6450
6451 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6452 (advice--add-function): Refresh the advice if already present
6453 (bug#14317).
6454
6455 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6456
6457 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6458
6459 2013-05-06 Glenn Morris <rgm@gnu.org>
6460
6461 * w32-fns.el (w32-charset-info-alist): Declare.
6462
6463 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6464 of its defcustom properties.
6465 (eshell-cmpl-initialize): No need to load pcomplete.
6466
6467 * generic-x.el: No need to require comint when compiling.
6468
6469 * net/eudc-export.el: Make it loadable without bbdb.
6470 (top-level): Use require rather than load-library.
6471 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6472 (eudc-batch-export-records-to-bbdb)
6473 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6474 Require bbdb.
6475
6476 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6479 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6480 some tweaks, instead.
6481
6482 2013-05-05 Leo Liu <sdl.web@gmail.com>
6483
6484 * progmodes/octave.el (octave-font-lock-keywords)
6485 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6486 (inferior-octave-send-list-and-digest): Improve error message.
6487 (octave-mode, inferior-octave-mode): Use setq-local.
6488 (octave-help): Set info-lookup-mode.
6489
6490 2013-05-05 Richard Stallman <rms@gnu.org>
6491
6492 * vc/compare-w.el (compare-windows-whitespace):
6493 Treat no-break space as whitespace.
6494
6495 * mail/rmailsum.el (rmail-summary-rmail-update):
6496 Detect empty summary and don't change selected message.
6497 (rmail-summary-goto-msg): Likewise.
6498
6499 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6500 Doc fixes, rename args.
6501
6502 2013-05-05 Alan Mackenzie <acm@muc.de>
6503
6504 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6505
6506 2013-05-05 Juri Linkov <juri@jurta.org>
6507
6508 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6509 to not add the length of the summary segment to the return value.
6510 (Bug#14125)
6511
6512 2013-05-05 Leo Liu <sdl.web@gmail.com>
6513
6514 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6515 (inferior-octave-output-filter): Remove.
6516 (octave-send-region, inferior-octave-startup): Fix callers.
6517 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6518 (octave-binary-file-extensions): New user variable.
6519 (octave-find-definition): Confirm if opening binary files.
6520 (octave-help-file): Use octave-find-definition to get the binary
6521 confirmation.
6522 (octave-help): Adjust for octave-help-file change.
6523
6524 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6527 Merge the two entries that handle function definitions.
6528 (pascal--syntax-propertize): New const.
6529 (pascal-mode): Use it. Use setq-local.
6530
6531 2013-05-04 Glenn Morris <rgm@gnu.org>
6532
6533 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6534 (diary-from-outlook): Respect diary-from-outlook-function.
6535
6536 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6539 Move the declaration from C.
6540 (read-minibuffer, eval-minibuffer): Move from C.
6541 (completion-setup-function): Avoid minibuffer-completion-contents.
6542
6543 2013-05-03 Leo Liu <sdl.web@gmail.com>
6544
6545 * progmodes/octave.el (octave-font-lock-keywords): Do not
6546 dehighlight 'end' in comments or strings.
6547 (octave-completing-read, octave-goto-function-definition):
6548 New helpers.
6549 (octave-help-buffer): New user variable.
6550 (octave-help-file, octave-help-function): New button types.
6551 (octave-help): New command and bind it to C-h ;.
6552 (octave-find-definition): New command and bind it to M-.
6553 (user-error): Alias to error if not defined.
6554
6555 2013-05-02 Leo Liu <sdl.web@gmail.com>
6556
6557 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6558 for \. (bug#14332)
6559 (octave-font-lock-keywords): Include [ and {.
6560
6561 2013-05-02 Leo Liu <sdl.web@gmail.com>
6562
6563 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6564 (inferior-octave): Remove calling comint-mode and return the buffer.
6565 (inferior-octave-startup): Cosmetic changes.
6566
6567 2013-05-02 Leo Liu <sdl.web@gmail.com>
6568
6569 * progmodes/octave.el (octave-syntax-propertize-function):
6570 Include the case when ' is at line beginning. (Bug#14336)
6571
6572 2013-05-02 Glenn Morris <rgm@gnu.org>
6573
6574 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6575 * desktop.el (vc-dir-mode): Just autoload it here.
6576
6577 2013-05-02 Alan Mackenzie <acm@muc.de>
6578
6579 Eliminate variable c-standard-font-lock-fontify-region-function.
6580 * progmodes/cc-mode.el
6581 (c-standard-font-lock-fontify-region-function): Remove.
6582 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6583
6584 2013-05-01 Leo Liu <sdl.web@gmail.com>
6585
6586 * progmodes/octave.el: Compatible with older emacs-24 releases.
6587 (inferior-octave-has-built-in-variables): Remove. Built-in
6588 variables were removed from Octave in 2007.
6589 (inferior-octave-startup): Fix uses.
6590 (comint-line-beginning-position): Remove compatibility code for
6591 emacs 21.
6592
6593 2013-05-01 Juri Linkov <juri@jurta.org>
6594
6595 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6596
6597 2013-05-01 Juri Linkov <juri@jurta.org>
6598
6599 * comint.el (comint-previous-matching-input): Don't print message
6600 "History item: %d" when `isearch-mode' is active.
6601 (comint-history-isearch-message): Print message "History item: %d"
6602 when `comint-input-ring-index' is not empty and this function is
6603 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6604
6605 2013-05-01 Leo Liu <sdl.web@gmail.com>
6606
6607 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6608 definitions. Use completion-at-point to insert keywords.
6609 (octave-abbrev-start): Remove.
6610 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6611
6612 2013-04-30 Leo Liu <sdl.web@gmail.com>
6613
6614 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6615 change.
6616
6617 2013-04-30 Alan Mackenzie <acm@muc.de>
6618
6619 Handle arbitrarily long C++ member initialisation lists.
6620 * progmodes/cc-engine.el (c-back-over-member-initializers):
6621 new function.
6622 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6623 (most) member init lists.
6624
6625 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6626
6627 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6628 variable.
6629
6630 2013-04-30 Leo Liu <sdl.web@gmail.com>
6631
6632 * progmodes/octave.el (octave-variables): Remove. No builtin
6633 variables any more. All converted to functions.
6634 (octave-font-lock-keywords, octave-completion-at-point-function):
6635 Fix uses.
6636 (octave-font-lock-texinfo-comment): New user variable.
6637 (octave-texinfo-font-lock-keywords): New variable for texinfo
6638 comment block.
6639 (octave-function-comment-block): New face.
6640 (octave-font-lock-texinfo-comment): New function.
6641 (octave-mode): Font lock texinfo comment block.
6642
6643 2013-04-29 Leo Liu <sdl.web@gmail.com>
6644
6645 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6646 indexing expression.
6647 (octave-continuation-string): Do not use \.
6648 (inferior-octave-complete-impossible): Remove.
6649 (inferior-octave-completion-table)
6650 (inferior-octave-completion-at-point): Remove its uses.
6651 (inferior-octave-startup): completion_matches was introduced to
6652 Octave in 1996 so safe to assume it.
6653 (octave-function-file-comment): Improve to follow how Octave does it.
6654 (octave-update-function-file-comment): Tweak.
6655
6656 2013-04-29 Leo Liu <sdl.web@gmail.com>
6657
6658 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6659 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6660 (octave-function-file-comment): Fix typo.
6661 (octave-sync-function-file-names): Use read-char-choice.
6662
6663 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6664
6665 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6666 to t for the less important warnings.
6667
6668 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6669
6670 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6671
6672 2013-04-27 Glenn Morris <rgm@gnu.org>
6673
6674 * vc/log-view.el (log-view-current-entry):
6675 Treat "---" separator lines as part of the following rev. (Bug#14169)
6676
6677 2013-04-27 Juri Linkov <juri@jurta.org>
6678
6679 * subr.el (read-number): Doc fix about using it by interactive
6680 code letter `n'. (Bug#14254)
6681
6682 2013-04-27 Juri Linkov <juri@jurta.org>
6683
6684 * desktop.el (desktop-auto-save-timeout): New option.
6685 (desktop-file-checksum): New variable.
6686 (desktop-save): Add optional arg `auto-save' and don't auto-save
6687 if nothing changed.
6688 (desktop-auto-save-timer): New variable.
6689 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6690 (after-init-hook): Call `desktop-auto-save-set-timer'.
6691 Suggested by Reuben Thomas <rrt@sc3d.org> in
6692 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6693
6694 2013-04-27 Leo Liu <sdl.web@gmail.com>
6695
6696 * progmodes/octave.el (octave-function-file-p)
6697 (octave-skip-comment-forward, octave-function-file-comment)
6698 (octave-update-function-file-comment): New functions.
6699 (octave-mode-map): Bind C-c ; to
6700 octave-update-function-file-comment.
6701 (octave-mode-menu): Add octave-update-function-file-comment.
6702 (octave-mode, inferior-octave-mode): Fix doc-string.
6703 (octave-insert-defun): Conform to Octave's coding convention.
6704 (Bug#14285)
6705
6706 * files.el (basic-save-buffer): Don't let errors in
6707 before-save-hook prevent saving buffer.
6708
6709 2013-04-20 Roland Winkler <winkler@gnu.org>
6710
6711 * faces.el (read-face-name): Use completing-read if arg multiple
6712 is nil.
6713
6714 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6715
6716 * ls-lisp.el (ls-lisp-insert-directory): If no files are
6717 displayed, move point to after the totals line.
6718 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6719 for the details.
6720
6721 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6724 Add current dir to the load-path.
6725 (package-generate-autoloads): Don't rely on
6726 autoload-ensure-default-file.
6727
6728 2013-04-26 Reuben Thomas <rrt@sc3d.org>
6729
6730 * textmodes/remember.el (remember-store-in-files): Document that
6731 the file name format is passed to `format-time-string'.
6732
6733 2013-04-26 Leo Liu <sdl.web@gmail.com>
6734
6735 * progmodes/octave.el (octave-sync-function-file-names): New function.
6736 (octave-mode): Use it in before-save-hook.
6737
6738 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6741 (bug#14274).
6742
6743 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6744 \n and comment, even if it's not an implicit ; (bug#14218).
6745
6746 2013-04-26 Glenn Morris <rgm@gnu.org>
6747
6748 * subr.el (read-number): Once more use `read' rather than
6749 `string-to-number', to trap non-numeric input. (Bug#14254)
6750
6751 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
6752
6753 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6754 Use `syntax-multiline' text property consistently instead of
6755 `font-lock-multiline'. (Bug#14237)
6756
6757 2013-04-26 Glenn Morris <rgm@gnu.org>
6758
6759 * emacs-lisp/shadow.el (list-load-path-shadows):
6760 No longer necessary to check for duplicate simple.el, since
6761 2012-07-07 change to init_lread to not include installation lisp
6762 directories in load-path when running uninstalled. (Bug#14270)
6763
6764 2013-04-26 Leo Liu <sdl.web@gmail.com>
6765
6766 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6767 (octave-mode, inferior-octave-mode): Use setq-local.
6768 (octave-not-in-string-or-comment-p): Rename to
6769 octave-in-string-or-comment-p.
6770 (octave-in-comment-p, octave-in-string-p)
6771 (octave-in-string-or-comment-p): Replace defsubst with defun.
6772
6773 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6774
6775 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6776
6777 2013-04-25 Bastien Guerry <bzg@gnu.org>
6778
6779 * textmodes/remember.el (remember-data-directory)
6780 (remember-directory-file-name-format): Fix custom types.
6781
6782 2013-04-25 Leo Liu <sdl.web@gmail.com>
6783
6784 * progmodes/octave.el (octave-completion-at-point-function):
6785 Make use of inferior octave process.
6786 (octave-initialize-completions): Remove.
6787 (inferior-octave-completion-table): New function.
6788 (inferior-octave-completion-at-point): Use it.
6789 (octave-completion-alist): Remove.
6790
6791 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6794 (opascal-mode-syntax-table): New var.
6795 (opascal-literal-kind, opascal-is-literal-end)
6796 (opascal-literal-token-at): Rewrite.
6797 (opascal--literal-start-re, opascal-font-lock-keywords)
6798 (opascal--syntax-propertize): New constants.
6799 (opascal-font-lock-defaults): Adjust.
6800 (opascal-mode): Use them. Set comment-<foo> variables as well.
6801 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6802 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6803 (delphi-other-face, opascal-other-face): Remove face variables.
6804 (opascal-save-state): Remove macro.
6805 (opascal-fontifying-progress-step): Remove constant.
6806 (opascal--ignore-changes): Remove var.
6807 (opascal-set-token-property, opascal-parse-next-literal)
6808 (opascal-is-stable-literal, opascal-complete-literal)
6809 (opascal-is-literal-start, opascal-face-of)
6810 (opascal-parse-region, opascal-parse-region-until-stable)
6811 (opascal-fontify-region, opascal-after-change)
6812 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6813 (opascal-debug-parse-region, opascal-debug-parse-window)
6814 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6815 (opascal-debug-fontify-buffer): Remove.
6816 (opascal-debug-mode-map): Adjust accordingly.
6817
6818 2013-04-25 Leo Liu <sdl.web@gmail.com>
6819
6820 Merge octave-mod.el and octave-inf.el into octave.el with some
6821 cleanups.
6822 * progmodes/octave.el: New file renamed from octave-mod.el.
6823 * progmodes/octave-inf.el: Merged into octave.el.
6824 * progmodes/octave-mod.el: Renamed to octave.el.
6825
6826 2013-04-25 Tassilo Horn <tsdh@gnu.org>
6827
6828 * textmodes/reftex-vars.el
6829 (reftex-label-ignored-macros-and-environments): New defcustom.
6830
6831 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6832
6833 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6836 (smie-indent-keyword): Improve the check to ensure that the next
6837 comment is really on the same line.
6838 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6839
6840 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6841 semi-colons if the line is not otherwise empty (bug#14218).
6842
6843 2013-04-25 Glenn Morris <rgm@gnu.org>
6844
6845 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6846
6847 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * progmodes/opascal.el (opascal-set-token-property): Rename from
6850 opascal-set-text-properties and only set `token' (bug#14134).
6851 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6852 (opascal-literal-text-properties): Remove.
6853 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6854 Adjust callers.
6855
6856 2013-04-24 Reuben Thomas <rrt@sc3d.org>
6857
6858 * textmodes/remember.el (remember-handler-functions): Add an
6859 option for a new handler `remember-store-in-files'.
6860 (remember-data-directory, remember-directory-file-name-format):
6861 New options.
6862 (remember-store-in-files): New function to store remember notes
6863 as separate files within a directory.
6864
6865 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6866
6867 * progmodes/compile.el (compilation-next-error-function):
6868 Pass "formats" to compilation-find-file (bug#11777).
6869
6870 2013-04-24 Glenn Morris <rgm@gnu.org>
6871
6872 * vc/vc-bzr.el (vc-bzr-print-log):
6873 * vc/vc-hg.el (vc-hg-print-log):
6874 * vc/vc-svn.el (vc-svn-print-log):
6875 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6876
6877 * vc/vc-bzr.el (vc-bzr-print-log):
6878 * vc/vc-cvs.el (vc-cvs-print-log):
6879 * vc/vc-git.el (vc-git-print-log):
6880 * vc/vc-hg.el (vc-hg-print-log):
6881 * vc/vc-mtn.el (vc-mtn-print-log):
6882 * vc/vc-rcs.el (vc-rcs-print-log):
6883 * vc/vc-sccs.el (vc-sccs-print-log):
6884 * vc/vc-svn.el (vc-svn-print-log):
6885 * vc/vc.el (vc-print-log-internal): Doc fixes.
6886
6887 2013-04-23 Glenn Morris <rgm@gnu.org>
6888
6889 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6890 Remove venerable code attempting to avoid substitute-command-keys.
6891
6892 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6893
6894 * textmodes/reftex-vars.el (reftex-label-regexps):
6895 Call `reftex-compile-variables' after changes to this variable.
6896
6897 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6900 Use lexical-binding.
6901 (jit-lock-force-redisplay): Use markers, check buffer's continued
6902 existence and beware narrowed buffers.
6903 (jit-lock-fontify-now): Adjust call accordingly.
6904
6905 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6908 to avoid misleading the user.
6909
6910 2013-04-22 Leo Liu <sdl.web@gmail.com>
6911
6912 * info-look.el: Prefer latex2e.info. (Bug#14240)
6913
6914 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6915
6916 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6917
6918 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6919 * net/tramp.el (tramp-call-process): ... here.
6920 (tramp-set-completion-function, tramp-parse-putty):
6921 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6922 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6923 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6924 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6925 (tramp-call-local-coding-command): Use `tramp-call-process'
6926 instead of `tramp-compat-call-process'.
6927
6928 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6929 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6930 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6931 (tramp-find-inline-compress): Improve traces.
6932 (tramp-maybe-send-script): Check for Perl binary.
6933 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6934
6935 2013-04-22 Daiki Ueno <ueno@gnu.org>
6936
6937 * epg.el (epg-context-pinentry-mode): New function.
6938 (epg-context-set-pinentry-mode): New function.
6939 (epg--start): Pass --pinentry-mode option to gpg command.
6940
6941 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6942
6943 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6944 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6945 `completion-at-point'. (Bug#13774)
6946
6947 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6948 default key binding for `describe-distribution' has been moved to
6949 `C-h C-o'. (Bug#13970)
6950
6951 2013-04-21 Glenn Morris <rgm@gnu.org>
6952
6953 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6954 Add doc strings.
6955 (vc-print-log): Clarify interactive prompt.
6956
6957 2013-04-20 Glenn Morris <rgm@gnu.org>
6958
6959 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6960 No longer include timestamp etc information.
6961
6962 2013-04-20 Roland Winkler <winkler@gnu.org>
6963
6964 * faces.el (read-face-name): Bug fix, return just one face if arg
6965 multiple is nil. (Bug#14209)
6966
6967 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6970 (remove-function): Autoload.
6971
6972 * comint.el (comint-redirect-original-filter-function): Remove.
6973 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6974 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6975 (vc-cvs-annotate-command):
6976 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6977 * progmodes/prolog.el (prolog-consult-compile):
6978 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6979 Use add/remove-function instead.
6980 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6981 (gud-tooltip-process-output, gud-tooltip-tips):
6982 Use add/remove-function instead.
6983 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6984 (scheme-interaction-mode, exit-scheme-interaction-mode):
6985 Use add/remove-function instead.
6986
6987 * vc/vc-dispatcher.el: Use lexical-binding.
6988 (vc--process-sentinel): Rename from vc-process-sentinel.
6989 Change last arg to be the code to run. Don't use vc-previous-sentinel
6990 and vc-sentinel-commands any more.
6991 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6992 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6993
6994 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6995
6996 * progmodes/sh-script.el (sh-imenu-generic-expression):
6997 Handle function names with a single character. (Bug#14111)
6998
6999 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7000
7001 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7002 for subroutines defined in an eval (bug#14182).
7003
7004 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7005
7006 * bookmark.el (bookmark-completing-read): Improve handling of empty
7007 string (bug#14176).
7008
7009 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7012
7013 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7014
7015 New faster Imenu implementation (bug#14058).
7016 * progmodes/python.el:
7017 (python-imenu-prev-index-position):
7018 (python-imenu-format-item-label-function)
7019 (python-imenu-format-parent-item-label-function)
7020 (python-imenu-format-parent-item-jump-label-function):
7021 New vars.
7022 (python-imenu-format-item-label)
7023 (python-imenu-format-parent-item-label)
7024 (python-imenu-format-parent-item-jump-label)
7025 (python-imenu--put-parent, python-imenu--build-tree)
7026 (python-imenu-create-index, python-imenu-create-flat-index)
7027 (python-util-popn): New functions.
7028 (python-mode): Set imenu-create-index-function to
7029 python-imenu-create-index.
7030
7031 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * winner.el (winner-active-region): Use region-active-p, activate-mark
7034 and deactivate-mark (bug#14225).
7035
7036 * simple.el (deactivate-mark): Don't inline it.
7037
7038 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
7039
7040 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7041
7042 2013-04-18 Tassilo Horn <tsdh@gnu.org>
7043
7044 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7045 file extensions from the archive-mode entry in order to prefer
7046 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7047
7048 2013-04-18 Leo Liu <sdl.web@gmail.com>
7049
7050 * bindings.el (help-event-list): Add ?\?.
7051
7052 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * subr.el (with-wrapper-hook): Declare obsolete.
7055 * simple.el (filter-buffer-substring-function): New hook.
7056 (filter-buffer-substring): Use it.
7057 (filter-buffer-substring-functions): Mark obsolete.
7058 * minibuffer.el (completion-in-region-function): New hook.
7059 (completion-in-region): Use it.
7060 (completion-in-region-functions): Mark obsolete.
7061 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7062 * abbrev.el (abbrev-expand-function): New hook.
7063 (expand-abbrev): Use it.
7064 (abbrev-expand-functions): Mark obsolete.
7065 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7066 and :filter-return.
7067
7068 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7069
7070 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7071 and do not care about match data.
7072
7073 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7076 completion tables when completing error conditions and
7077 `declare' arguments.
7078 (lisp-complete-symbol, field-complete): Mark as obsolete.
7079 (check-parens): Unmatched parens are user errors.
7080 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7081
7082 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
7083
7084 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7085 command changed buffer (ie. `flyspell-pre-buffer' is not current
7086 buffer), which prevents making decisions based on invalid value of
7087 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7088 cause an error when `flyspell-pre-point' was nil after switching
7089 buffers.
7090 (flyspell-post-command-hook): No longer needs to change buffers when
7091 checking pre-word. While at it remove unnecessary progn.
7092
7093 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7094
7095 * textmodes/ispell.el (ispell-add-per-file-word-list):
7096 Fix `flyspell-correct-word-before-point' error when accepting
7097 words and `coment-padding' is an integer by using
7098 `comment-normalize-vars' (Bug #14214).
7099
7100 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7101
7102 New defun movement commands.
7103 * progmodes/python.el (python-nav--syntactically)
7104 (python-nav--forward-defun, python-nav-backward-defun)
7105 (python-nav-forward-defun): New functions.
7106
7107 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7108
7109 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7110 (python-syntax-context): Use named compiler-macro for backwards
7111 compatibility with Emacs 24.x.
7112
7113 2013-04-17 Leo Liu <sdl.web@gmail.com>
7114
7115 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7116 octave-hide-process-buffer.
7117
7118 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7121 (bug#14216).
7122
7123 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7124
7125 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7126 Fix adjustment of offset when receiving incomplete responses from GDB
7127 (bug#14129).
7128
7129 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7132 python-mode-abbrev-table.
7133 (python-skeleton-define): Adjust accordingly.
7134 (python-mode-abbrev-table): New table that inherits from it so that
7135 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7136
7137 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7138 (abbrev-symbol): Use it.
7139 (abbrev--before-point): Use it since we already handle inheritance.
7140
7141 2013-04-16 Leo Liu <sdl.web@gmail.com>
7142
7143 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7144 binding to info-lookup-symbol.
7145
7146 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7147
7148 * minibuffer.el (completion--twq-all):
7149 * term/ns-win.el (ns-initialize-window-system):
7150 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7151
7152 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7155 global bindings.
7156
7157 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7158
7159 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7160
7161 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7162 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7163 to nil.
7164 (ruby-end-of-defun): Remove the unused arg, change the docstring
7165 to reflect that this function is only used as the value of
7166 `end-of-defun-function'.
7167 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7168 to reflect an earlier change that beginning/end-of-defun functions
7169 jump between methods in a class definition, as well as top-level
7170 functions.
7171
7172 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 * minibuffer.el (minibuffer-complete): Don't just scroll
7175 a *Completions* that's been iconified.
7176 (minibuffer-force-complete): Make sure repetitions do cycle when going
7177 through completion-in-region -> minibuffer-complete.
7178
7179 2013-04-15 Alan Mackenzie <acm@muc.de>
7180
7181 Correct the placement of c-cpp-delimiters when there're #s not at
7182 col 0.
7183
7184 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7185 place a submatch around the #.
7186 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7187 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7188 on the #, not BOL.
7189
7190 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7193 (advice--member-p): New arg `name'.
7194 (advice--add-function, advice-member-p): Use it (bug#14202).
7195
7196 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7197
7198 Reformulate java imenu-generic-expression.
7199 The old expression contained ill formed regexps.
7200
7201 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7202 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7203 (cc-imenu-java-method-arg-regexp): New defconsts.
7204 (cc-imenu-java-build-type-args-regex): New defun.
7205 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7206 handling of spaces in the regexp.
7207
7208 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7209
7210 * textmodes/ispell.el (ispell-command-loop): Remove
7211 flyspell highlight of a word when ispell accepts it (bug #14178).
7212
7213 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7214
7215 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7216 uses code from the previous `ange-ftp-run-real-handler'.
7217 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7218 only in case that function exist. This is needed for proper
7219 unloading of Tramp.
7220
7221 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7222
7223 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7224
7225 * textmodes/reftex.el (reftex-compile-variables): Use it.
7226
7227 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * files.el (normal-mode): Only use default major-mode if no other mode
7230 was specified.
7231
7232 * emacs-lisp/trace.el (trace-values): New function.
7233
7234 * files.el: Allow : in local variables (bug#14089).
7235 (hack-local-variable-regexp): New var.
7236 (hack-local-variables-prop-line, hack-local-variables): Use it.
7237
7238 2013-04-13 Roland Winkler <winkler@gnu.org>
7239
7240 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7241 data before it gets modified by bibtex-beginning-of-entry.
7242
7243 2013-04-13 Roland Winkler <winkler@gnu.org>
7244
7245 * textmodes/bibtex.el (bibtex-url): Doc fix.
7246
7247 2013-04-13 Roland Winkler <winkler@gnu.org>
7248
7249 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7250 does not visit a BibTeX file, exclude it from the list of buffers
7251 returned by bibtex-initialize.
7252
7253 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7254
7255 * window.el (split-window): Remove interactive form, since as a
7256 command this function is a special case of split-window-below.
7257 Correct doc string.
7258
7259 2013-04-12 Roland Winkler <winkler@gnu.org>
7260
7261 * faces.el (read-face-name): Do not override value of arg default.
7262 Allow single faces and strings as default values. Remove those
7263 elements from return value that are not faces.
7264 (describe-face): Simplify.
7265 (face-at-point): New optional args thing and multiple so that this
7266 function can provide the same functionality previously provided by
7267 read-face-name.
7268 (make-face-bold, make-face-unbold, make-face-italic)
7269 (make-face-unitalic, make-face-bold-italic, invert-face)
7270 (modify-face, read-face-and-attribute): Use face-at-point.
7271
7272 * cus-edit.el (customize-face, customize-face-other-window)
7273 * cus-theme.el (custom-theme-add-face)
7274 * face-remap.el (buffer-face-set)
7275 * facemenu.el (facemenu-set-face): Use face-at-point.
7276
7277 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7278
7279 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7280
7281 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7282
7283 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7284 off leading { and trailing } from field values.
7285
7286 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * emacs-lisp/timer.el (timer--check): New function.
7289 (timer--time, timer-set-function, timer-event-handler): Use it.
7290 (timer-set-idle-time): Simplify.
7291 (timer--activate): CSE.
7292 (timer-event-handler): Give more info in error message.
7293 (internal-timer-start-idle): New function, moved from C.
7294
7295 * mpc.el (mpc-proc): Add `restart' argument.
7296 (mpc-proc-cmd): Use it.
7297 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7298 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7299 less often.
7300
7301 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7302
7303 * progmodes/sh-script.el: Implement `sh-mode' own
7304 `add-log-current-defun-function' (bug#14112).
7305 (sh-current-defun-name): New function.
7306 (sh-mode): Use the function.
7307
7308 2013-04-09 Bastien Guerry <bzg@gnu.org>
7309
7310 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7311
7312 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7315
7316 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7317 timer (bug#14156).
7318
7319 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7320
7321 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7322 declaration.
7323
7324 2013-04-07 Leo Liu <sdl.web@gmail.com>
7325
7326 * pcmpl-x.el: New file.
7327
7328 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7329
7330 Do not set x-display-name until X connection is established.
7331 This is needed to prevent from weird situation described at
7332 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7333 * frame.el (make-frame): Set x-display-name after call to
7334 window system initialization function, not before.
7335 * term/x-win.el (x-initialize-window-system): Add optional
7336 display argument and use it.
7337 * term/w32-win.el (w32-initialize-window-system):
7338 * term/ns-win.el (ns-initialize-window-system):
7339 * term/pc-win.el (msdos-initialize-window-system):
7340 Add compatible optional display argument.
7341
7342 2013-04-06 Eli Zaretskii <eliz@gnu.org>
7343
7344 * files.el (normal-backup-enable-predicate): On MS-Windows and
7345 MS-DOS compare truenames of temporary-file-directory and of the
7346 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7347 don't fail comparison by compare-strings. Also, compare file
7348 names case-insensitively on MS-Windows and MS-DOS.
7349
7350 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7353 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7354
7355 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7356
7357 * whitespace.el (whitespace-color-on, whitespace-color-off):
7358 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7359
7360 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7361
7362 * ispell.el (ispell-set-spellchecker-params):
7363 Really set `ispell-args' for all equivs.
7364
7365 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * ido.el (ido-completions): Use extra elements of ido-decorations
7368 (bug#14143).
7369 (ido-decorations): Update docstring.
7370
7371 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
7372
7373 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7374 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7375 nil during initialization, in order not to miss changes since the
7376 file was opened. (Bug#14140)
7377
7378 2013-04-05 Leo Liu <sdl.web@gmail.com>
7379
7380 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7381
7382 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7383
7384 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7385
7386 2013-04-04 Glenn Morris <rgm@gnu.org>
7387
7388 * electric.el (electric-pair-inhibit-predicate): Add :version.
7389
7390 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7393 when a package is required several times (bug#14082).
7394
7395 2013-04-04 Roland Winkler <winkler@gnu.org>
7396
7397 * faces.el (read-face-name): Behave as promised by the docstring.
7398 Assume that arg default is a list of faces.
7399 (describe-face): Call read-face-name with list of default faces.
7400
7401 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7402
7403 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7404 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7405 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7406 the header.
7407 (bookmark-exit-hook-internal): Save even if list is empty.
7408
7409 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7410
7411 * emacs-lisp/package.el (package-pinned-packages): New var.
7412 (package--add-to-archive-contents): Obey it (bug#14118).
7413
7414 2013-04-03 Alan Mackenzie <acm@muc.de>
7415
7416 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7417 Also adapt to the new values of element 7 of a parse state.
7418
7419 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7420 parameter `not-in-delimiter'. Handle being inside comment opener.
7421 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7422 character in case we're typing a '*' after a '/'.
7423 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7424 instead by passing the parameter to c-state-pp-to-literal.
7425
7426 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7427 for elt. 7 of a parse state.
7428
7429 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7430
7431 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7432 * international/latin1-disp.el, international/mule-util.el:
7433 * language/cyril-util.el, language/european.el, language/ind-util.el:
7434 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7435 * language/tibetan.el, language/viet-util.el:
7436 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7437
7438 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7441 (electric-pair-post-self-insert-function): Use it.
7442 (electric-pair-default-inhibit): New function, extracted from
7443 electric-pair-post-self-insert-function.
7444
7445 2013-03-31 Roland Winkler <winkler@gnu.org>
7446
7447 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7448
7449 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7450
7451 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7452
7453 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7454
7455 Un-indent after "pass" and "return" statements (Bug#13888)
7456 * progmodes/python.el (python-indent-block-enders): New var.
7457 (python-indent-calculate-indentation): Use it.
7458
7459 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7460
7461 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7462 defun. Defining it as defalias could introduce too eager
7463 byte-compiler optimization. (Bug#14030)
7464
7465 2013-03-30 Chong Yidong <cyd@gnu.org>
7466
7467 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7468
7469 2013-03-30 Leo Liu <sdl.web@gmail.com>
7470
7471 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7472 (kmacro-execute-from-register): Pass the keyboard macro to
7473 kmacro-call-macro or repeating won't work correctly.
7474
7475 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7476
7477 * progmodes/subword.el: Back to using `forward-symbol'.
7478
7479 * subr.el (forward-whitespace, forward-symbol)
7480 (forward-same-syntax): Move from thingatpt.el.
7481
7482 2013-03-29 Leo Liu <sdl.web@gmail.com>
7483
7484 * kmacro.el (kmacro-to-register): New command.
7485 (kmacro-execute-from-register): New function.
7486 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7487
7488 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * mpc.el: Use defvar-local and setq-local.
7491 (mpc--proc-connect): Connection failures are not bugs.
7492 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7493 (mpc-volume-map): Bind to the up-events.
7494
7495 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7496
7497 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7498 instead of `forward-symbol'.
7499
7500 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7503 (edebug--recursive-edit): Use it.
7504 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7505 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7506
7507 2013-03-28 Leo Liu <sdl.web@gmail.com>
7508
7509 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7510
7511 2013-03-27 Eli Zaretskii <eliz@gnu.org>
7512
7513 * facemenu.el (list-colors-callback): New defvar.
7514 (list-colors-redisplay): New function.
7515 (list-colors-display): Install list-colors-redisplay as the
7516 revert-buffer-function. (Bug#14063)
7517
7518 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7521 and suffixes don't overlap (bug#14061).
7522
7523 * case-table.el: Use lexical-binding.
7524 (case-table-get-table): New function.
7525 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7526
7527 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7528
7529 * progmodes/subword.el: Add `superword-mode' to do word motion
7530 over symbol_words (parallels and leverages `subword-mode' which
7531 does word motion inside MixedCaseWords).
7532
7533 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7534
7535 * eshell/em-unix.el: Move su and sudo to...
7536 * eshell/em-tramp.el: ...Eshell tramp module.
7537
7538 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7541 Change return value to be a sexp. Delay `get-buffer' to after
7542 restoring the desktop (bug#13951).
7543
7544 2013-03-26 Leo Liu <sdl.web@gmail.com>
7545
7546 * register.el: Move semantic tag handling back to
7547 cedet/semantic/senator.el. (Bug#14052)
7548
7549 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7552 into the prompt either (bug#13963).
7553
7554 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7557 part of "(error-foo)".
7558
7559 2013-03-24 Juri Linkov <juri@jurta.org>
7560
7561 * replace.el (list-matching-lines-prefix-face): New defcustom.
7562 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7563 `occur-engine' if `face-differs-from-default-p' returns t.
7564 (occur-engine): Add `,' inside backquote construct to evaluate
7565 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7566 Pass `prefix-face' to the functions `occur-context-lines' and
7567 `occur-engine-add-prefix'.
7568 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7569 `prefix-face' and propertize the prefix with `prefix-face'.
7570 (Bug#14017)
7571
7572 2013-03-24 Leo Liu <sdl.web@gmail.com>
7573
7574 * nxml/rng-valid.el (rng-validate-while-idle)
7575 (rng-validate-quick-while-idle): Guard against deleted buffer.
7576 (Bug#13999)
7577
7578 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7579 is the last entry in kill-buffer-hook.
7580
7581 * files.el (kill-buffer-hook): Doc fix.
7582
7583 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7584
7585 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7586 Make it safe-local.
7587
7588 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7589
7590 2013-03-23 Leo Liu <sdl.web@gmail.com>
7591
7592 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7593 Remove.
7594
7595 * nxml/rng-valid.el (rng-validate-mode)
7596 (rng-after-change-function, rng-do-some-validation):
7597 * nxml/rng-maint.el (rng-validate-buffer):
7598 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7599 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7600 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7601 (nxml-extend-after-change-region): Use with-silent-modifications.
7602
7603 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7604 timer-idle-list.
7605
7606 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7607 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7608 timer-idle-list. (Bug#13999)
7609
7610 2013-03-23 Juri Linkov <juri@jurta.org>
7611
7612 * info.el (info-index-match): New face.
7613 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7614 main pattern and add text properties with the new face to matches
7615 in index entries relative to the beginning of the index entry.
7616 (Bug#14015)
7617
7618 2013-03-21 Eric Ludlam <zappo@gnu.org>
7619
7620 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7621 Inhibit read only while inserting objects.
7622
7623 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7624
7625 * progmodes/cfengine.el: Update docs to mention
7626 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7627 symbol motion. Remove "_" from the word syntax.
7628
7629 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7630
7631 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7632 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7633
7634 2013-03-20 Juri Linkov <juri@jurta.org>
7635
7636 * info.el (Info-next-reference-or-link)
7637 (Info-prev-reference-or-link): New functions.
7638 (Info-next-reference, Info-prev-reference): Use them.
7639 (Info-try-follow-nearest-node): Handle footnote navigation.
7640 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7641
7642 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7645 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7646
7647 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7648
7649 Suppress unnecessary non-ASCII chatter during build process.
7650 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7651 (batch-skkdic-convert): Suppress most of the chatter.
7652 It's not needed so much now that machines are faster,
7653 and its non-ASCII component was confusing; see Dmitry Gutov in
7654 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7655
7656 2013-03-20 Leo Liu <sdl.web@gmail.com>
7657
7658 * ido.el (ido-chop): Fix bug#10994.
7659
7660 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7661
7662 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7663 Remove vars.
7664 (whitespace-color-on, whitespace-color-off):
7665 Use `font-lock-fontify-buffer' (Bug#13817).
7666
7667 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7670 remapping in mode-line.
7671 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7672
7673 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7674
7675 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7676 value for `whitespace-line' face (Bug#13875).
7677 (whitespace-font-lock-keywords): Change description.
7678 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7679 the constructed keywords instead.
7680 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7681
7682 2013-03-19 Leo Liu <sdl.web@gmail.com>
7683
7684 * progmodes/compile.el (compilation-display-error): New command.
7685 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7686 C-o. (Bug#13992)
7687
7688 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7689
7690 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7691
7692 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7693
7694 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7695
7696 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
7697
7698 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7699
7700 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7701 * net/tramp-gvfs.el (top):
7702 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7703 (tramp-handle-shell-command): Use it.
7704 (tramp-dissect-file-name): Raise an error when hostname is a
7705 method name, and neither method nor user is specified.
7706
7707 * net/trampver.el: Update release number.
7708
7709 2013-03-18 Leo Liu <sdl.web@gmail.com>
7710
7711 Make sure eldoc can be turned off properly.
7712 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7713 eldoc-mode.
7714 (eldoc-display-message-p): Revert last change.
7715 (eldoc-display-message-no-interference-p)
7716 (eldoc-print-current-symbol-info): Tweak.
7717
7718 2013-03-18 Tassilo Horn <tsdh@gnu.org>
7719
7720 * doc-view.el (doc-view-new-window-function): Check the new window
7721 overlay's display property instead the char property of the
7722 buffer's first char. Use `with-selected-window' instead of
7723 `save-window-excursion' with `select-window'.
7724 (doc-view-document->bitmap): Check the current doc-view overlay's
7725 display property instead the char property of the buffer's first char.
7726
7727 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7728
7729 Automate the build of ja-dic.el (Bug#13984).
7730 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7731 from the input, rather than assume that it's been done for us by the
7732 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7733 the current date into a ja-dic.el comment, as that complicates
7734 regression testing.
7735
7736 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7737
7738 * whitespace.el: Fix double evaluation.
7739 (whitespace-space, whitespace-hspace, whitespace-tab)
7740 (whitespace-newline, whitespace-trailing, whitespace-line)
7741 (whitespace-space-before-tab, whitespace-indentation)
7742 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7743 obsolete defvars.
7744 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7745 (whitespace-color-on): Use a single font-lock-add-keywords call.
7746 Fix double-evaluation of face variables.
7747
7748 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
7749
7750 * net/tramp-adb.el (tramp-adb-parse-device-names):
7751 Use `start-process' instead of `call-process'. Otherwise, the
7752 function might be blocked under MS Windows. (Bug#13299)
7753
7754 2013-03-17 Leo Liu <sdl.web@gmail.com>
7755
7756 Extend eldoc to display info in the mode-line. (Bug#13978)
7757 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7758 (eldoc-mode-line-string): New variable.
7759 (eldoc-minibuffer-message): New function.
7760 (eldoc-message-function): New variable.
7761 (eldoc-message): Use it.
7762 (eldoc-display-message-p)
7763 (eldoc-display-message-no-interference-p):
7764 Support eldoc-post-insert-mode.
7765
7766 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7767 (eval-expression): Run it.
7768
7769 2013-03-17 Roland Winkler <winkler@gnu.org>
7770
7771 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7772 strings in the list of return values.
7773
7774 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7775
7776 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7777 radix before checking for HMS forms.
7778
7779 2013-03-16 Leo Liu <sdl.web@gmail.com>
7780
7781 * progmodes/scheme.el: Add indentation and font-locking for λ.
7782 (Bug#13975)
7783
7784 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7787 token before point (bug#13942).
7788
7789 2013-03-16 Leo Liu <sdl.web@gmail.com>
7790
7791 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7792
7793 2013-03-16 Eli Zaretskii <eliz@gnu.org>
7794
7795 * startup.el (command-line-normalize-file-name): Fix handling of
7796 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7797 <xfq.free@gmail.com> in
7798 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7799
7800 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
7801
7802 Sync with Tramp 2.2.7.
7803
7804 * net/trampver.el: Update release number.
7805
7806 2013-03-14 Tassilo Horn <tsdh@gnu.org>
7807
7808 * doc-view.el Fix bug#13887.
7809 (doc-view-insert-image): Don't modify overlay associated to
7810 non-live windows, and implement horizontal centering of image in
7811 case it's smaller than the window.
7812 (doc-view-new-window-function): Force redisplay of new windows on
7813 doc-view buffers.
7814
7815 2013-03-13 Karl Fogel <kfogel@red-bean.com>
7816
7817 * saveplace.el (save-place-alist-to-file): Don't sort
7818 `save-place-alist', just pretty-print it (bug#13882).
7819
7820 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
7821
7822 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7823 Check whether `default-file-name-coding-system' is bound.
7824 It isn't in XEmacs.
7825
7826 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7829 backquotes for `obsolete' (bug#13929).
7830
7831 * international/mule.el (find-auto-coding): Include file name in
7832 obsolescence warning (bug#13922).
7833
7834 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7835
7836 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7837 for CFEngine 3-specific indentation.
7838 (cfengine3-indent-line): Use it. Fix up category regex.
7839 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7840
7841 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * type-break.el (type-break-file-name):
7844 * textmodes/remember.el (remember-data-file):
7845 * strokes.el (strokes-file):
7846 * shadowfile.el (shadow-initialize):
7847 * saveplace.el (save-place-file):
7848 * ps-bdf.el (bdf-cache-file):
7849 * progmodes/idlwave.el (idlwave-config-directory):
7850 * net/quickurl.el (quickurl-url-file):
7851 * international/kkc.el (kkc-init-file-name):
7852 * ido.el (ido-save-directory-list-file):
7853 * emulation/viper.el (viper-custom-file-name):
7854 * emulation/vip.el (vip-startup-file):
7855 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7856 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7857
7858 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7859
7860 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7861 * language/thai-word.el: Switch to UTF-8.
7862
7863 See ChangeLog.16 for earlier changes.
7864
7865 ;; Local Variables:
7866 ;; coding: utf-8
7867 ;; End:
7868
7869 Copyright (C) 2011-2013 Free Software Foundation, Inc.
7870
7871 This file is part of GNU Emacs.
7872
7873 GNU Emacs is free software: you can redistribute it and/or modify
7874 it under the terms of the GNU General Public License as published by
7875 the Free Software Foundation, either version 3 of the License, or
7876 (at your option) any later version.
7877
7878 GNU Emacs is distributed in the hope that it will be useful,
7879 but WITHOUT ANY WARRANTY; without even the implied warranty of
7880 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7881 GNU General Public License for more details.
7882
7883 You should have received a copy of the GNU General Public License
7884 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.