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