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