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