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