* doc-view.el (doc-view-scale-reset): Rename from
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
529fb53f
TH
12013-09-27 Tassilo Horn <tsdh@gnu.org>
2
3 * doc-view.el (doc-view-scale-reset): Rename from
4 `doc-view-reset-zoom-level'.
5 (doc-view-scale-adjust): New command.
6 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7 `doc-view-scale-adjust'.
8
0550c95a
TH
92013-09-26 Tassilo Horn <tsdh@gnu.org>
10
11 * doc-view.el (doc-view-reset-zoom-level): New command.
12 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13 zoom commands (bug#15466).
14
6950f152
KH
152013-09-26 Kenichi Handa <handa@gnu.org>
16
17 * international/quail.el (quail-help): Make it not a command.
18
39587580
LL
192013-09-26 Leo Liu <sdl.web@gmail.com>
20
21 * minibuffer.el (completion-all-sorted-completions): Make args
22 optional as they are.
23
00578659
DC
242013-09-25 Daniel Colascione <dancol@dancol.org>
25
26 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
27 specs are and that they're not evaluated.
28
0c173878
SS
292013-09-24 Sam Steingold <sds@gnu.org>
30
31 * midnight.el (clean-buffer-list-kill-regexps)
32 (clean-buffer-list-kill-buffer-names): Update for the new Man
33 buffer naming which includes the object name.
34
84998447
SM
352013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * eshell/esh-cmd.el (eshell--sep-terms): New var.
38 (eshell-parse-command, eshell-parse-pipeline): Use it since
39 eshell-separate-commands requires a dynamic scoped var.
40 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
41
33215353
LL
422013-09-23 Leo Liu <sdl.web@gmail.com>
43
44 * autoinsert.el (auto-insert-alist): Make the value of
45 lexical-binding match its file setting.
46
57b16162
JB
472013-09-23 Juanma Barranquero <lekktu@gmail.com>
48
c8af4e67
JB
49 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
50
57b16162
JB
51 * autoarg.el (autoarg-kp-digit-argument):
52 * electric.el (Electric-command-loop):
53 * kmacro.el (kmacro-step-edit-insert):
54 Do not set universal-argument-num-events.
55
7186ba60
LL
562013-09-22 Leo Liu <sdl.web@gmail.com>
57
58 * files.el (interpreter-mode-alist): Add octave.
59
ece15004
AM
602013-09-21 Alan Mackenzie <acm@muc.de>
61
62 C++: fontify identifier in declaration following "public:" correctly.
63 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
64 to match "public", etc.
65 (c-decl-prefix-re): Add ":" into the C++ value.
66 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
67 bit. Add a check for a ":" preceded by "public", etc.
68
75d83e22
EZ
692013-09-21 Eli Zaretskii <eliz@gnu.org>
70
71 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
72 recognized by GDB 7.5 and later.
73
d052d3bd
XF
742013-09-21 Xue Fuqiao <xfq.free@gmail.com>
75
76 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
77
31dca772
R
782013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * subr.el (internal--call-interactively): New const.
81 (called-interactively-p): Use it (bug#3984).
82
98ccf24e
XF
832013-09-20 Xue Fuqiao <xfq.free@gmail.com>
84
85 * vc/pcvs.el (cvs-mode-ignore):
86 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore): Rename
87 cvs-append-to-ignore to vc-cvs-append-to-ignore.
88
c39cc7d1
SM
892013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
92 (eshell-ls-orig-insert-directory): Remove.
93 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
94 (eshell-ls-use-in-dired): Use advice-add/remove.
95 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
96 Add `orig-fun' arg for use in :around advice.
97 Make it check (redundantly) eshell-ls-use-in-dired.
98
9a0289a2
GM
992013-09-19 Glenn Morris <rgm@gnu.org>
100
a2c501b8
GM
101 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
102
c440407a
GM
103 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
104
9a0289a2
GM
105 * emacs-lisp/eieio.el (class-parent): Undo previous change.
106
85e05915
MA
1072013-09-19 Michael Albinus <michael.albinus@gmx.de>
108
109 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
110 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
111 (tramp-get-remote-python): New defuns.
112 (tramp-get-remote-uid-with-perl)
113 (tramp-get-remote-gid-with-perl): New defuns. Perl code
114 contributed by yary <not.com@gmail.com> (tiny change).
115 (tramp-get-remote-uid-with-python)
116 (tramp-get-remote-gid-with-python): New defuns. Python code
117 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
118 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
119
ce503312
GM
1202013-09-19 Glenn Morris <rgm@gnu.org>
121
f7544773
GM
122 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
123
72fd2877
GM
124 * eshell/em-unix.el (eshell-remove-entries):
125 Rename argument to avoid name-clash with global `top-level'.
126
336b5a56
GM
127 * eshell/esh-proc.el (eshell-kill-process-function):
128 Remove eshell-reset-after-proc from eshell-kill-hook if present.
129 (eshell-reset-after-proc): Remove unused arg `proc'.
130
57a3a53d
GM
131 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
132 (directory-files-and-attributes): Mark unused arg.
133
3261d4af
GM
134 * eshell/em-unix.el (eshell-remove-entries):
135 Remove unused arg `path'. Update callers.
136
8e51b5d0
GM
137 * eshell/em-hist.el (eshell-hist-parse-arguments):
138 Remove unused arg `silent'. Update callers.
139
ce503312
GM
140 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
141 Fix (f)boundp mix-up.
142
143 * eshell/em-smart.el (eshell-smart-scroll-window)
144 (eshell-disable-after-change):
336b5a56 145 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 146
ee3ce8a7
AM
1472013-09-18 Alan Mackenzie <acm@muc.de>
148
149 Fix fontification of type when followed by "const".
150 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
151 "known" types from fontification.
152
ec9177ba
GM
1532013-09-18 Glenn Morris <rgm@gnu.org>
154
7bb3e768
GM
155 * emacs-lisp/chart.el (x-display-color-cells): Declare.
156 (chart-face-list): Drop Emacsen without display-color-p.
157
5148da15
GM
158 * net/eww.el (libxml-parse-html-region): Declare.
159 (eww-display-html): Explicit error if no libxml2 support.
160
2f68e157
GM
161 * doc-view.el (doc-view-mode): Silence --without-x compilation.
162
9019d095
GM
163 * image.el (image-type-from-buffer, image-multi-frame-p):
164 Remove --without-x warning/error.
67645389 165
5f30349b 166 * mouse.el (mouse-yank-primary):
45069b2e 167 * term.el (term-mouse-paste):
5f30349b
GM
168 Reorder to silence --without-x compilation.
169
cd8edbbe
GM
170 * mpc.el (doc-view-mode): Silence --without-x compilation.
171
8a78544e
GM
172 * mail/rmailmm.el (rmail-mime-set-bulk-data):
173 Silence --without-x compilation.
174
12679bfd
GM
175 * progmodes/gud.el (gud-find-file, gud-mode):
176 Silence --without-x compilation.
177 (tooltip-mode): Declare.
30810a05 178
f0047cb9
GM
179 * wdired.el (dired-backup-overwrite): Remove declaration.
180 (wdired-mode-map): Add doc string.
181
e740f9d2
GM
182 * custom.el (x-get-resource): Declare.
183
92d77c89
GM
184 * eshell/em-glob.el (ange-cache):
185 * eshell/em-unix.el (ange-cache): Declare.
186
76e69577
GM
187 * faces.el (x-display-list, x-open-connection, x-get-resource):
188 Declare.
7e58af4b
GM
189
190 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
191 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
192 Declare.
76e69577 193
4bd4c0af 194 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 195
ffb82dbd
GM
196 * net/gnutls.el (gnutls-log-level): Declare.
197
986ed135
GM
198 * net/shr.el (image-size, image-animate): Declare.
199
e740f9d2
GM
200 * simple.el (font-info): Declare.
201
d2f3e9f8
GM
202 * subr.el (x-popup-dialog): Declare.
203
047a1a4c
GM
204 * term/common-win.el (x-select-enable-primary)
205 (x-last-selected-text-primary, x-last-selected-text-clipboard):
206 Declare.
207
f4a1d572
GM
208 * term/ns-win.el (x-handle-args): Declare.
209
e843de77
GM
210 * term/x-win.el (x-select-enable-clipboard): Declare.
211
5fa89513
GM
212 * term/w32-win.el (create-default-fontset): Declare.
213
38702b5b
GM
214 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
215 Declare.
216
e740f9d2
GM
217 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
218 (fit-frame-to-buffer): Explicit error if --without-x.
219 (mouse-autoselect-window-select): Silence compiler.
220
49a053fc
GM
221 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
222
223 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
224 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
225 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 226 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
227 Remove unused local variables.
228
229 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
230
ec9177ba
GM
231 * textmodes/two-column.el: Make 2C-split work for --without-x.
232 (scroll-bar-columns): Autoload.
233 (top-level): Require fringe when compiling.
234
9f25cb77
LL
2352013-09-18 Leo Liu <sdl.web@gmail.com>
236
237 * subr.el (add-hook): Robustify to handle closure as well.
238
2b42da98
GM
2392013-09-17 Glenn Morris <rgm@gnu.org>
240
241 * simple.el (messages-buffer-mode-map): Unbind "g".
242
e8b66a6a
SM
2432013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
244
9c0ad4f7
SM
245 * help-mode.el (help-mode-finish): Use derived-mode-p.
246 Remove obsolete highlighting.
247
7a806dfb
SM
248 * play/life.el (life-mode): Use define-derived-mode. Derive from
249 special-mode.
250 (life): Let-bind inhibit-read-only.
251 (life-setup): Avoid `setq'. Use `life-mode'.
252
96dbf5a8
SM
253 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
254 which should not be needed any more.
255 (package-menu-refresh, package-menu-describe-package): Use user-error.
256
e8b66a6a
SM
257 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
258 (eshell-post-rewrite-command-hook): Make obsolete.
259 (eshell-parse-command): Simplify.
260 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
261 (eshell--cmd): Declare.
262 (eshell-parse-pipeline): Remove unused var `final-p'.
263 Pass a dynvar to eshell-post-rewrite-command-hook.
264 Implement the new eshell-post-rewrite-command-function.
265 (eshell-invoke-directly): Remove unused arg `input'.
266 * eshell/esh-io.el (eshell-io-initialize):
267 Use eshell-post-rewrite-command-function (bug#15399).
268 (eshell--apply-redirections): Rename from eshell-apply-redirections;
269 adjust to new calling convention.
270 (eshell-create-handles): Rename args to avoid clashing with dynvar
271 `standard-output'.
272
90582f05
GM
2732013-09-17 Glenn Morris <rgm@gnu.org>
274
275 * simple.el (messages-buffer-mode): New major mode.
276 (messages-buffer): New function.
277 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
278 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 279 (ert-run-test): Use `messages-buffer' function.
90582f05 280 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
281 * help.el (view-echo-area-messages): Use `messages-buffer' function.
282 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 283
39eb0cb5 2842013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
285
286 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
287
1f1e06e2
SM
288 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
289
70568a90
SM
2902013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
291
504a0381
SM
292 * icomplete.el (icomplete-in-buffer): New var.
293 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
294 vars and replace them with functions.
295 (icomplete-minibuffer-setup): Adjust accordingly.
296 (icomplete--completion-table, icomplete--completion-predicate)
297 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
298 New functions.
299 (icomplete-forward-completions, icomplete-backward-completions)
300 (icomplete-simple-completing-p, icomplete-exhibit)
301 (icomplete-completions): Use them.
302 (icomplete--in-region-buffer): New var.
303 (icomplete--in-region-setup): New function.
304 (icomplete-mode): Use it.
305
70568a90
SM
306 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
307 (bug#15379).
308 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
309 return args and options.
310 (eshell-eval-using-options): Use the new return value of
311 eshell--do-opts to set the options's vars in their scope.
312 (eshell--set-option): Rename from eshell-set-option.
313 Add arg `opt-vals'.
314 (eshell--process-option): Rename from eshell-process-option.
315 Add arg `opt-vals'.
316 (eshell--process-args): Use an `opt-vals' alist to store the options's
317 values during their processing and return them additionally to the
318 remaining args.
319
578c21bc
DG
3202013-09-15 Dmitry Gutov <dgutov@yandex.ru>
321
322 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
323 continuation character an operator, as far as indentation is
324 concerned (Bug#15369).
325
c089653d
MR
3262013-09-15 Martin Rudalics <rudalics@gmx.at>
327
328 * window.el (window--state-put-2): Don't process buffer state
329 when buffer doesn't exist any more (Bug#15382).
330
1e53bb4b
GM
3312013-09-15 Glenn Morris <rgm@gnu.org>
332
30753242
GM
333 * eshell/em-unix.el (eshell/rm):
334 Make -f ignore missing files. (Bug#15373)
335
1e53bb4b
GM
336 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
337 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
338 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
339
0d8863b3
GM
3402013-09-14 Glenn Morris <rgm@gnu.org>
341
342 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
343
d3fc6549
GM
3442013-09-13 Glenn Morris <rgm@gnu.org>
345
346 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
347 (dired-guess-default): Make `file' available in the env. (Bug#15363)
348
fcd42c11
DA
3492013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
350
351 * frame.el (x-focus-frame): Mark as declared in frame.c.
352
7830899f
SM
3532013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
354
355 * ls-lisp.el: Use advice-add.
356 (original-insert-directory): Remove.
357 (ls-lisp--insert-directory): Rename from insert-directory; add
358 `orig-fun' argument.
359 (insert-directory): Advise.
360
84387cd2
EZ
3612013-09-13 Eli Zaretskii <eliz@gnu.org>
362
363 * term.el (term-emulate-terminal): Decode the command string
364 before passing it to term-command-hook. (Bug#15337)
365
35ffc6ba
GM
3662013-09-13 Glenn Morris <rgm@gnu.org>
367
5c3f9bcc
GM
368 * eshell/esh-util.el (ange-cache): Move declaration earlier.
369
2ada368a
GM
370 * eshell/esh-ext.el (eshell-search-path): Declare.
371
fcef2e13
GM
372 * eshell/em-prompt.el (eshell/pwd): Autoload it.
373 Otherwise an error occurs if eshell-dirs module not loaded.
374
35ffc6ba
GM
375 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
376
35c3d36e
MA
3772013-09-13 Michael Albinus <michael.albinus@gmx.de>
378
379 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
380 `tramp-check-proper-host'. Check for a valid method name.
381
382 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
383 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
384 * net/tramp-sh.el (tramp-maybe-open-connection):
385 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
386
387 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
388 also for hash values.
389
ae5e4c48
SM
3902013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
391
379add74
SM
392 * term/ns-win.el (parameters): Don't declare as dynamic.
393 (before-make-frame-hook): Don't add ineffective function.
394
ae5e4c48
SM
395 * eshell/*.el: Use lexical-binding (bug#15231).
396
b5623270
KH
3972013-09-12 Kenichi Handa <handa@gnu.org>
398
ae5e4c48 399 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 400
30213927
GM
4012013-09-12 Glenn Morris <rgm@gnu.org>
402
be94d713 403 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 404 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 405
44915370
GM
406 * subr.el (do-after-load-evaluation): Also give compiler warnings
407 when obsolete files are used (except by obsolete files).
408
a6ae021f
GM
409 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
410 in the status output, assume `filename' is the first. (Bug#15322)
411
40e64f0c
GM
412 * vc/vc.el (vc-deduce-fileset): Doc fix.
413
16d9f896
GM
414 * calc/calc-help.el (Info-goto-node):
415 * progmodes/cperl-mode.el (Info-find-node):
416 * vc/ediff.el (Info-goto-node): Update declarations.
417
dea01c6e
GM
418 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
419
759880bf 420 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
421 (vc-bzr-pull): Require vc-dispatcher.
422 * vc/vc-git.el (vc-compilation-mode): Declare.
423 (vc-git-pull): Require vc-dispatcher.
424
08d66420
GM
425 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
426
30b626e9
GM
427 * progmodes/octave.el (help-button-action): Declare.
428
8c05cb10
GM
429 * shell.el (shell-directory-tracker): Output error as a message
430 rather than just returning it as a string.
431 (shell-process-pushd): Remove useless use of message.
432
30213927
GM
433 * dframe.el (dframe-timer-fn):
434 * files.el (dir-locals-read-from-file):
435 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
436 (mpc-format):
437 * reveal.el (reveal-post-command):
438 * saveplace.el (load-save-place-alist-from-file):
439 * shell.el (shell-resync-dirs):
440 * w32-common-fns.el (x-get-selection-value):
441 * emacs-lisp/copyright.el (copyright-find-copyright):
442 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
443 * emulation/tpu-edt.el (tpu-copy-keyfile):
444 * play/bubbles.el (bubbles--mark-neighbourhood):
445 * progmodes/executable.el
446 (executable-make-buffer-file-executable-if-script-p):
447 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
448
d3b049e6
SM
4492013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
450
170266d0
SM
451 Cleanup Eshell to rely less on dynamic scoping.
452 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
453 last-value, and ext-command here. Bind `args' closer to `body'.
454 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
455 (eshell--args): Declare new dynamic var.
456 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
457 last-value, and ext-command. Pass `args' to `body'.
458 (eshell-process-args): Bind eshell--args.
459 (eshell-set-option): Use eshell--args.
460 * eshell/eshell.el (eshell): Use derived-mode-p.
461 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
462 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
463 (eshell-glob-function): Declare.
464 * eshell/esh-util.el: Require cl-lib.
465 (eshell-read-hosts-file): Avoid add-to-list.
466 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
467 `err'.
468 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
469 Declare.
470 (eshell/diff): Remove unused var `err'.
471 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
472 `killflag'.
473 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
474 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
475 first use.
476 * eshell/em-glob.el (eshell-glob-matches, message-shown):
477 Move declaration before first use.
478 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
479 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
480 rely on cl-return.
481
56834f3b
GM
4822013-09-12 Glenn Morris <rgm@gnu.org>
483
484 * term/ns-win.el (global-map): Remove binding for ispell-next,
485 deleted 1999-05-29. (Bug#15357)
486
5c91a2b8
GM
4872013-09-11 Glenn Morris <rgm@gnu.org>
488
da712f22
GM
489 * echistory.el (electric-command-history): Remove call to deleted func.
490
512e4cdc
GM
491 * play/landmark.el (landmark-mode): Fix typos.
492
d3506ca5
GM
493 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
494 Check cvs-sort-ignore-file is bound.
495
5c91a2b8
GM
496 * savehist.el: No need for cl when compiling on Emacs.
497
feeff482
SM
4982013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
499
656bd483
SM
500 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
501 (bug#15338).
d3b049e6
SM
502 (eshell-self-insert-command, eshell-send-invisible):
503 Remove unused argument.
656bd483
SM
504 (eshell-handle-control-codes): Remove unused var `orig'.
505 Avoid delete-backward-char.
506
feeff482
SM
507 * files.el (set-auto-mode): Simplify a bit further.
508
2a08047a
GM
5092013-09-11 Glenn Morris <rgm@gnu.org>
510
511 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
512 (set-auto-mode): Don't regexp-quote elements.
513 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
514 * progmodes/cc-mode.el (interpreter-mode-alist):
515 * progmodes/ruby-mode.el (interpreter-mode-alist):
516 Revert previous change.
517
34675540
SM
5182013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
519
1b3b87df
SM
520 * play/snake.el (snake-mode):
521 * play/mpuz.el (mpuz-mode):
522 * play/landmark.el (lm-mode):
523 * play/blackbox.el (blackbox-mode):
524 * play/5x5.el (5x5-mode):
525 * obsolete/options.el (Edit-options-mode):
526 * net/quickurl.el (quickurl-list-mode):
527 * net/newst-treeview.el (newsticker-treeview-mode):
528 * mail/rmailsum.el (rmail-summary-mode):
529 * mail/mspools.el (mspools-mode):
530 * locate.el (locate-mode):
531 * ibuffer.el (ibuffer-mode):
532 * emulation/ws-mode.el (wordstar-mode):
533 * emacs-lisp/debug.el (debugger-mode):
534 * array.el (array-mode):
535 * net/eudc.el (eudc-mode): Use define-derived-mode.
536 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
537 Move initialization into declaration.
538 (mairix-searches-mode): Use define-derived-mode.
539 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
540 (eudc-edit-hotlist): Use dolist.
541 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
542 (Man-mode): Use define-derived-mode.
543 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
544 (Info-edit-mode): Use define-derived-mode.
545 (Info-cease-edit): Use Info-mode.
546 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
547 into declaration.
548 (eshell-mode): Use define-derived-mode.
549 * chistory.el (command-history-mode-map): Rename from
550 command-history-map.
551 (command-history-mode): Use define-derived-mode.
da712f22 552 (Command-history-setup): Remove function.
1b3b87df
SM
553 * calc/calc.el (calc-trail-mode-map): New var.
554 (calc-trail-mode): Use define-derived-mode.
555 (calc-trail-buffer): Set calc-main-buffer manually.
556 * bookmark.el (bookmark-insert-annotation): New function.
557 (bookmark-edit-annotation): Use it.
558 (bookmark-edit-annotation-mode): Make it a proper major mode.
559 (bookmark-send-edited-annotation): Use derived-mode-p.
560 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
561 closer to its ideal place. Use \' to match EOS.
562
34675540
SM
563 * profiler.el (profiler-calltree-find): Use function-equal.
564
6a5c15d9
GM
5652013-09-10 Glenn Morris <rgm@gnu.org>
566
1af4c220
GM
567 * files.el (interpreter-mode-alist): Convert to regexps.
568 (set-auto-mode): Adapt for this. (Bug#15306)
569 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
570 Comment out unused variable.
571 * progmodes/cc-mode.el (interpreter-mode-alist):
572 * progmodes/python.el (interpreter-mode-alist):
573 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
574 * progmodes/sh-script.el (sh-set-shell):
575 No longer use interpreter-mode-alist to get list of shells.
576
6a5c15d9
GM
577 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
578
8c27f5ff
SM
5792013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
580
02ef6c1a 581 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 582 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
583 Bind switch-frame explicitly. Replace universal-argument-minus with
584 a conditional binding.
585 (universal-argument-num-events, saved-overriding-map): Remove.
586 (restore-overriding-map): Remove.
587 (universal-argument--mode): Rename from save&set-overriding-map,
588 and rewrite.
589 (universal-argument, universal-argument-more, negative-argument)
590 (digit-argument): Adjust accordingly.
591 (universal-argument-minus): Remove.
592 (universal-argument-other-key): Remove.
593
8c27f5ff
SM
594 * subr.el (with-demoted-errors): Add `format' argument.
595
6480194c
MA
5962013-09-10 Michael Albinus <michael.albinus@gmx.de>
597
598 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
599 `tramp-cleanup-connection'.
600
601 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
602 parameters KEEP-DEBUG and KEEP-PASSWORD.
603
604 * net/tramp.el (tramp-file-name-handler):
605 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
606 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
607 (tramp-maybe-open-connection):
8c27f5ff
SM
608 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
609 Use `tramp-cleanup-connection'.
6480194c 610
8c27f5ff
SM
611 * net/tramp-sh.el (tramp-maybe-open-connection):
612 Catch 'uname-changed inside the progress reporter.
6480194c 613
e5e916d8
GM
6142013-09-10 Glenn Morris <rgm@gnu.org>
615
9a2c9b47
GM
616 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
617
e5e916d8
GM
618 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
619 returns "alternate access method" in mode (eg "-rw-r--r--.").
620
144e38fe
GM
6212013-09-08 Glenn Morris <rgm@gnu.org>
622
623 * saveplace.el (load-save-place-alist-from-file):
624 Demote errors. (Bug#15305)
625
af9ff9e8
MA
6262013-09-08 Michael Albinus <michael.albinus@gmx.de>
627
628 Improve compatibility with older Emacsen, and XEmacs.
629
630 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
631 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
632 (with-tramp-progress-reporter): Do not let-bind `result'.
633 This yields to scoping errors in XEmacs.
af9ff9e8
MA
634 (tramp-handle-make-auto-save-file-name): New function, moved from
635 tramp-sh.el.
636
637 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
638 for `make-auto-save-file-name'.
8c27f5ff
SM
639 (tramp-adb--gnu-switches-to-ash):
640 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
641
642 * net/tramp-cache.el (tramp-cache-print): Call
643 `substring-no-properties' only if it is bound. It isn't for XEmacs.
644
645 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
646 bound. It isn't for XEmacs.
647
8c27f5ff
SM
648 * net/tramp-compat.el (tramp-compat-copy-file):
649 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
650 (tramp-compat-replace-regexp-in-string): New defun.
651
652 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
653 for `make-auto-save-file-name'.
654 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
655 `copy-file'.
656 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
657 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
658 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
659
8c27f5ff
SM
660 * net/tramp-gw.el (tramp-gw-open-network-stream):
661 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 662
8c27f5ff
SM
663 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
664 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
665 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
666 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
667 (tramp-sh-file-inotifywait-process-filter):
668 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
669 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
670
671 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
672 for `make-auto-save-file-name'.
8c27f5ff
SM
673 (tramp-smb-handle-copy-directory):
674 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
675 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
676 (tramp-smb-handle-copy-file): Improve error message.
677 (tramp-smb-handle-rename-file): Rename directly only in case
678 `newname' does not exist yet. This is a restriction of smbclient.
679 (tramp-smb-maybe-open-connection): Rerun the function only when
680 `auth-sources' is non-nil.
681
0ca754d0
KH
6822013-09-08 Kenichi Handa <handa@gnu.org>
683
684 * international/characters.el: Set category "^" (Combining) for
685 more characters.
686
e8dd0787
AM
6872013-09-07 Alan Mackenzie <acm@muc.de>
688
689 Correctly fontify Java class constructors.
690 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
691 in Java Mode.
692 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
693 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
694 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
695 "typeless" declaration there.
696
f2f248e7
RW
6972013-09-07 Roland Winkler <winkler@gnu.org>
698
699 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
700 field subtitle for entry type book.
701
67982e2b
SM
7022013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * minibuffer.el: Make minibuffer-complete call completion-in-region
705 rather than other way around.
706 (completion--some, completion-pcm--find-all-completions):
707 Don't delay signals when debugging.
708 (minibuffer-completion-contents): Beware fields within the
709 minibuffer contents.
710 (completion-all-sorted-completions): Use defvar-local.
711 (completion--do-completion, completion--cache-all-sorted-completions)
712 (completion-all-sorted-completions, minibuffer-force-complete):
713 Add args `beg' and `end'.
714 (completion--in-region-1): New fun, extracted from minibuffer-complete.
715 (minibuffer-complete): Use completion-in-region.
716 (completion-complete-and-exit): New fun, extracted from
717 minibuffer-complete-and-exit.
718 (minibuffer-complete-and-exit): Use it.
719 (completion--complete-and-exit): Rename from
720 minibuffer--complete-and-exit.
721 (completion-in-region--single-word): New function, extracted from
722 minibuffer-complete-word.
723 (minibuffer-complete-word): Use it.
724 (display-completion-list): Make `common-substring' argument obsolete.
725 (completion--in-region): Call completion--in-region-1 instead of
726 minibuffer-complete.
727 (completion-help-at-point): Pass boundaries to
728 minibuffer-completion-help as args rather than via an overlay.
729 (completion-pcm--string->pattern): Use `any-delim'.
730 (completion-pcm--optimize-pattern): New function.
731 (completion-pcm--pattern->regex): Handle `any-delim'.
732 * icomplete.el (icomplete-forward-completions)
733 (icomplete-backward-completions, icomplete-completions):
734 Adjust calls to completion-all-sorted-completions and
735 completion--cache-all-sorted-completions.
736 (icomplete-with-completion-tables): Default to t.
737 * emacs-lisp/crm.el (crm--current-element): Rename from
738 crm--select-current-element. Don't put an overlay but return the
739 boundaries instead.
740 (crm--completion-command): Take two new args to bind to the boundaries.
741 (crm-completion-help): Adjust accordingly.
742 (crm-complete): Use completion-in-region.
743 (crm-complete-word): Use completion-in-region--single-word.
744 (crm-complete-and-exit): Use completion-complete-and-exit.
745
e17d94a5
SM
7462013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
749 than dynamically.
750
96727100
JL
7512013-09-06 Juri Linkov <juri@jurta.org>
752
753 * info.el (Info-display-images-node): When image file doesn't exist
754 display text version of the image if it's provided in the Info file.
755 Otherwise, display the location of missing image from SRC attribute.
756 Add help-echo text property from ALT attribute. (Bug#15279)
757
86cf7329
SM
7582013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
761 (edit-abbrevs-mode): Use define-derived-mode.
762
763 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
764 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
765 that it's defined.
766 (epa-key-list-mode, epa-key-mode, epa-info-mode):
767 Use define-derived-mode.
768
769 * epg.el (epg-start-encrypt): Minor CSE simplification.
770
816244a2
WX
7712013-09-06 William Xu <william.xwl@gmail.com>
772
773 * arc-mode.el: Add support for 7za (bug#15264).
774 (archive-7z-program): New var.
775 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
776 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
777 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
778
1486fa31
MA
7792013-09-06 Michael Albinus <michael.albinus@gmx.de>
780
781 Remove URL syntax.
782
783 * net/tramp.el (tramp-syntax, tramp-prefix-format)
784 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
785 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
786 (tramp-postfix-host-format, tramp-file-name-regexp)
787 (tramp-completion-file-name-regexp)
788 (tramp-completion-dissect-file-name)
789 (tramp-handle-substitute-in-file-name): Remove 'url case.
790 (tramp-file-name-regexp-url)
791 (tramp-completion-file-name-regexp-url): Remove constants.
792
39785324
GM
7932013-09-06 Glenn Morris <rgm@gnu.org>
794
795 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
796
1f896cb7
DG
7972013-09-05 Dmitry Gutov <dgutov@yandex.ru>
798
799 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
800 keywords" below "here-doc beginnings" (Bug#15270).
801
c0458e0b
SM
8022013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * subr.el (pop): Use `car-safe'.
805 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
806 to detect unused `pop' return value.
807
808 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
809 var `block-regexp'.
810 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
811 (python-fill-string): Remove unused var `marker'.
812 (python-skeleton-add-menu-items): Remove unused var `items'.
813
814 * international/mule-cmds.el: Require CL.
815 (find-coding-systems-for-charsets): Avoid add-to-list.
816 (sanitize-coding-system-list): New function, extracted from
817 select-safe-coding-system-interactively.
818 (select-safe-coding-system-interactively): Use it.
819 (read-input-method-name): Accept symbols for `default'.
820
821 * emacs-lisp/advice.el (defadvice): Add indent rule.
822
6c42fc3e
DH
8232013-09-05 Daniel Hackney <dan@haxney.org>
824
825 * dired-x.el:
826 * net/ange-ftp.el:
827 * net/browse-url.el:
828 * net/dbus.el:
829 * net/eudc.el:
830 * net/eudcb-ldap.el:
831 * net/eww.el:
832 * net/imap.el:
833 * printing.el:
834 * vc/ediff-diff.el:
835 * vc/ediff-init.el:
836 * vc/ediff-merg.el:
837 * vc/ediff-mult.el:
838 * vc/ediff-util.el:
839 * vc/ediff-wind.el:
840 * vc/ediff.el:
841 * vc/emerge.el:
842 * vc/pcvs.el:
843 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
844 byte compiler. Remove some unused let-bound variables.
845
4c528aab
SM
8462013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
849 a "ref-cell", since it gets better optimized (bug#14883).
850
bd15c390
GM
8512013-09-05 Glenn Morris <rgm@gnu.org>
852
853 * progmodes/cc-awk.el (c-forward-sws): Declare.
854
1c3ac2e5
GM
8552013-09-04 Glenn Morris <rgm@gnu.org>
856
857 * generic-x.el [rul-generic-mode]: Require cc-mode.
858 (c++-mode-syntax-table): Declare.
859 (rul-generic-mode-syntax-table): Init in the defvar.
860
52b1cc79
SM
8612013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
862
c828af56
SM
863 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
864 (vc-do-command, vc-set-async-update):
865 * vc/vc-mtn.el (vc-mtn-dir-status):
866 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
867 (vc-hg-pull, vc-hg-merge-branch):
868 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
869 (vc-git-merge-branch):
870 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
871 (vc-cvs-dir-status-files):
872 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
873 (vc-bzr-dir-status-files):
874 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
875 * vc/vc-annotate.el: Use lexical-binding.
876 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
877 (vc-sentinel-movepoint): Declare.
878 (vc-annotate): Don't use `goto-line'.
879 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
880 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
881 (vc-sentinel-movepoint): Declare.
882 * vc/vc-svn.el: Use lexical-binding.
883 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
884 * vc/vc-sccs.el:
885 * vc/vc-rcs.el: Use lexical-binding.
886
abae272c
SM
887 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
888 `deleted'. Don't drop errors silently.
889
52b1cc79
SM
890 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
891
63191d9f
XF
8922013-09-04 Xue Fuqiao <xfq.free@gmail.com>
893
894 * vc/vc.el (vc-ignore): Rewrite.
895 (vc-default-ignore): New function.
896 (vc-default-ignore-completion-table): Use find-ignore-file.
897
898 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
899 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
900 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
901 Remove. Most code moved to vc.el.
902
9d3f707c
SM
9032013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
904
abae272c 905 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
906 * net/tramp-smb.el (tramp-smb-get-file-entries):
907 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
908 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
909
fde38d49
SM
910 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
911 Update call to it.
912 (eww-change-select): Remove unused var `properties'.
913 (eww-make-unique-file-name): Remove unused var `base'.
914
915 * finder.el (finder-compile-keywords): Don't mess with windows.
916
84032db7
SM
917 * calculator.el (calculator-funcall): Fix typo in last change.
918
724f5e41
SM
919 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
920
14b511d4
SM
921 * emacs-lisp/package.el (package-activate-1): Don't let a missing
922 <pkg>-autoloads.el file stop us.
923
9d3f707c 924 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 925 warnings, and factor out common code.
9d3f707c 926
88527bc0
DG
9272013-09-03 Dmitry Gutov <dgutov@yandex.ru>
928
929 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
930 two-character operators and whether the character preceding them
931 changes their meaning (Bug#15208).
932
96edb677
FEG
9332013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
934
935 Format code sent to Python shell for robustness.
9d3f707c
SM
936 * progmodes/python.el (python-shell-buffer-substring):
937 New function.
96edb677
FEG
938 (python-shell-send-region, python-shell-send-buffer): Use it.
939
95beaef3
MA
9402013-09-02 Michael Albinus <michael.albinus@gmx.de>
941
942 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
943 * net/tramp.el (tramp-user-error): ... here.
944 (tramp-find-method, tramp-check-proper-host)
945 (tramp-dissect-file-name, tramp-debug-message)
946 (tramp-handle-shell-command):
947 * net/tramp-adb.el (tramp-adb-handle-shell-command):
948 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
949
950 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
951
f167c27b
MR
9522013-09-02 Martin Rudalics <rudalics@gmx.at>
953
954 * avoid.el (mouse-avoidance-point-position)
955 (mouse-avoidance-too-close-p): Handle case where posn-at-point
956 returns nil.
957
cd16c5f1
FEG
9582013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
959
960 * progmodes/python.el (python-shell-completion-get-completions):
961 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 962 (python-nav-if-name-main): New command.
cd16c5f1 963
e73c3a0d
GM
9642013-09-01 Glenn Morris <rgm@gnu.org>
965
f8ccce03
GM
966 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
967 Avoid leading space in $wins. Otherwise the sed command used by
968 eg compile-main ends up containing "/*.el". (Bug#15170)
969
e73c3a0d
GM
970 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
971
415f808e
GM
9722013-08-30 Glenn Morris <rgm@gnu.org>
973
974 * emacs-lisp/bytecomp.el (byte-recompile-directory):
975 Fix is-this-a-directory logic. (Bug#15220)
976
f069bba8
SM
9772013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
978
112798c1
SM
979 * textmodes/css-mode.el: Use SMIE.
980 (css-smie-grammar): New var.
981 (css-smie--forward-token, css-smie--backward-token)
982 (css-smie-rules): New functions.
983 (css-mode): Use them.
984 (css-navigation-syntax-table): Remove var.
985 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
986 (css-indent-calculate, css-indent-line): Remove functions.
987
988 Misc changes to reduce use of `(lambda...); and other cleanups.
989 * cus-edit.el: Use lexical-binding.
990 (customize-push-and-save, customize-apropos)
991 (custom-buffer-create-internal): Use closures.
992 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
993 * progmodes/ada-xref.el: Use setq.
994 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
995 * dframe.el: Use lexical-binding.
996 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
997 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
998 * descr-text.el: Use lexical-binding.
999 (describe-text-widget, describe-text-sexp, describe-property-list):
1000 Use closures.
1001 * comint.el (comint-history-isearch-push-state): Use a closure.
1002 * calculator.el: Use lexical-binding.
1003 (calculator-number-to-string): Make it work with lexical-binding.
1004 (calculator-funcall): Same and use cl-letf.
1005
2da4c3ab
SM
1006 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1007 (lisp--company-doc-string, lisp--company-location): New functions.
1008 (lisp-completion-at-point): Use them to improve Company support.
1009
f069bba8
SM
1010 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1011 params of lambda expressions.
1012 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1013 (ruby-smie--opening-pipe-p): New function.
1014 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1015 symbols and matched |...| for formal params.
1016 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1017 from being treated as hanging. Handle "rescue".
1018
6758b6a8
GM
10192013-08-29 Glenn Morris <rgm@gnu.org>
1020
1021 * progmodes/cc-engine.el (c-pull-open-brace):
1022 Move definition before use.
1023
e8dfd197
SM
10242013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1027 are immutable. Don't use `unsafe' any more.
1028 (cl--defsubst-expand): Don't substitute at the same time as keeping
1029 a residual unused let-binding. Don't use `unsafe' any more.
1030
cc585c96
GM
10312013-08-29 Glenn Morris <rgm@gnu.org>
1032
ba579ea6
GM
1033 * calendar/cal-china.el (calendar-chinese-year-cache):
1034 Recenter on 2015.
1035
8201a87e
GM
1036 * nxml/nxml-util.el (nxml-debug-clear-inside):
1037 Use cl-loop rather than loop.
1038
6ee877c7
GM
1039 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1040
cc585c96
GM
1041 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1042
27be8d39
GM
10432013-08-28 Glenn Morris <rgm@gnu.org>
1044
397440a1
GM
1045 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1046
2bb762d4
GM
1047 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1048
27be8d39
GM
1049 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1050
2d69b99e
SM
10512013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1052
f663baa7
SM
1053 * simple.el (repeat-complex-command--called-interactively-skip):
1054 New function.
1055 (repeat-complex-command): Use it (bug#14136).
1056
dd4f8b74
SM
1057 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1058 (c-define-abbrev-table): Add `doc' argument.
1059 (c-mode-abbrev-table, c++-mode-abbrev-table)
1060 (objc-mode-abbrev-table, java-mode-abbrev-table)
1061 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1062 (awk-mode-abbrev-table): Use it.
1063 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1064 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1065 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1066 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1067 Move initialization into the declaration; and remove any
1068 autoload cookie.
1069
b58969f7
SM
1070 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1071 and dynamic let binding.
1072
4021d6a6
SM
1073 * vc/smerge-mode.el: Remove redundant :group args.
1074
2d69b99e
SM
1075 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1076 to load-path.
1077
274919fd
JL
10782013-08-28 Juri Linkov <juri@jurta.org>
1079
1080 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1081 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1082 (isearch-other-meta-char): Handle an undefined shifted printing
1083 character by downshifting it. (Bug#15200)
1084
121f8c95
JL
10852013-08-28 Juri Linkov <juri@jurta.org>
1086
1087 * isearch.el (isearch-search): Change regexp error message for
1088 non-regexp searches. (Bug#15166)
1089
50b13cde
PE
10902013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1091
1092 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1093 for portability to hosts where /bin/sh has problems.
1094
95888bca
SM
10952013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1098
bbe558f1
JL
10992013-08-27 Juri Linkov <juri@jurta.org>
1100
1101 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1102 in the keyboard macro. (Bug#15126)
1103
26f98a7d
JL
11042013-08-27 Juri Linkov <juri@jurta.org>
1105
1106 * isearch.el (isearch-quote-char): Comment out converting unibyte
1107 to multibyte, thus syncing with its `quoted-insert' counterpart.
1108 (Bug#15166)
1109
7c97d35e
MR
11102013-08-27 Martin Rudalics <rudalics@gmx.at>
1111
1112 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1113 argument in call of get-largest-window (Bug#15185).
1114 Reported by Stephen Leake.
7c97d35e 1115
a0b5606e 11162013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1117
1118 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1119
9e89d835
SM
11202013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1123 from a matcher-function unless there's no more matches (bug#15161).
1124
78fc2530
MA
11252013-08-26 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * minibuffer.el: Revert change from 2013-08-20.
1128
1129 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1130 with text property `tramp-default', if appropriate.
1131 (tramp-check-proper-host): New defun.
1132 (tramp-dissect-file-name): Do not check hostname. Revert change
1133 of 2013-03-18.
1134 (tramp-backtrace): Make VEC-OR-PROC optional.
1135
1136 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1137 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1138 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1139 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1140 Apply `tramp-check-proper-host'.
78fc2530 1141
edca97cd
TH
11422013-08-26 Tassilo Horn <tsdh@gnu.org>
1143
1144 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1145 lambda expression in order to have `describe-variable' display it.
1146
df54bcbd
MA
11472013-08-26 Michael Albinus <michael.albinus@gmx.de>
1148
1149 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1150 BUF can be optional. (Bug#15186)
1151
eed99101
XF
11522013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1153
1154 * progmodes/flymake.el (flymake-get-real-file-name-function):
1155 Fix broken customization. (Bug#15184)
1156
b5eb9035
AM
11572013-08-25 Alan Mackenzie <acm@muc.de>
1158
8a51e842
AM
1159 Improve indentation of bracelists defined by macros (without "=").
1160
1161 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1162 expansion begins with "{", regard it as bracelist when it doesn't
1163 contain a ";".
1164
869455d4
AM
1165 Parse C++ inher-intro when there's a template split over 2 lines.
1166
1167 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1168 rigorously the search for "class" etc. followed by ":".
1169
1170 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1171 random languages a regexp which never matches rather than nil.
1172
b5eb9035
AM
1173 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1174
1175 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1176 (c-awk-regexp-one-line-possibly-open-char-list-re)
1177 (c-awk-one-line-possibly-open-regexp-re)
1178 (c-awk-one-line-non-syn-ws*-re): Remove.
1179 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1180 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1181 (c-awk-space*-unclosed-regexp-/-re): New constants.
1182 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1183 aren't regexp delimiters.
1184
1185 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1186 handling for a rare situation in AWK Mode involving unterminated
1187 strings/regexps.
1188
61611d54
GM
11892013-08-23 Glenn Morris <rgm@gnu.org>
1190
2d85dc34
GM
1191 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1192
cb8d2612
GM
1193 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1194
bb35f42f
GM
1195 * files.el (create-file-buffer): If the result would begin with
1196 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1197
b9808e77
SM
11982013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1199
e3a66363
SM
1200 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1201 text-properties (bug#15155).
1202
b9808e77
SM
1203 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1204 exist any more.
1205 (calc-keypad-redraw): Remove unused var `pad'.
1206 (calc-keypad-press): Remove unused var `menu'.
1207
7fd5f65e
MR
12082013-08-23 Martin Rudalics <rudalics@gmx.at>
1209
b9808e77
SM
1210 * window.el (display-buffer-pop-up-frame):
1211 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1212 use it as the new frame's buffer (Bug#15133).
1213
8352b530
SM
12142013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * calendar/timeclock.el: Minor cleanups.
1217 (timeclock-ask-before-exiting, timeclock-use-display-time):
1218 Use `symbol'.
1219 (timeclock-modeline-display): Define as alias before the
1220 actual definition.
1221 (timeclock-mode-line-display): Use define-minor-mode.
1222 (timeclock-day-list-template): Make it a function, add an argument.
1223 (timeclock-day-list-required, timeclock-day-list-length)
1224 (timeclock-day-list-debt, timeclock-day-list-span)
1225 (timeclock-day-list-break): Adjust calls accordingly.
1226
9f7b1925
SM
12272013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1230 Use read--expression so that completion works again.
1231
6e50e983
SS
12322013-08-21 Sam Steingold <sds@gnu.org>
1233
1234 Add rudimentary inferior shell interaction
1235 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1236 (sh-set-shell): Reset it.
9f7b1925
SM
1237 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1238 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1239
dbb0d350
SM
12402013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * align.el: Use lexical-binding.
1243 (align-region): Simplify accordingly.
1244
c88586a9
MA
12452013-08-20 Michael Albinus <michael.albinus@gmx.de>
1246
1247 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1248
1249 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1250 `non-essential' up.
1251
f95527c8
MA
12522013-08-17 Michael Albinus <michael.albinus@gmx.de>
1253
1254 * net/tramp.el:
1255 * net/tramp-adb.el:
1256 * net/tramp-cmds.el:
1257 * net/tramp-ftp.el:
1258 * net/tramp-gvfs.el:
1259 * net/tramp-gw.el:
1260 * net/tramp-sh.el: Don't wrap external variable declarations by
1261 `eval-when-compile'.
1262
4b5fe4ee
LMI
12632013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1264
1265 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1266 now that Emacs supports ImageMagick animations.
1267
13c366c9
MA
12682013-08-16 Michael Albinus <michael.albinus@gmx.de>
1269
1270 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1271 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1272
3dfc5cd6
MR
12732013-08-16 Martin Rudalics <rudalics@gmx.at>
1274
1275 * window.el (mouse-autoselect-window-select): Do autoselect when
1276 mouse pointer is on margin.
1277
4bbb4381
WP
12782013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1279
1280 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1281
3a2ddc2d
GM
12822013-08-16 Glenn Morris <rgm@gnu.org>
1283
e8bedf5a
GM
1284 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1285 Handle "Remote Directory" response of some clients. (Bug#15058)
1286
58c4682f
GM
1287 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1288 Tweak warning. (Bug#14926)
1289
57953f49
GM
1290 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1291 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1292
3a2ddc2d
GM
1293 * image-mode.el (image-mode-map): Add menu items to reverse,
1294 increase, decrease, reset animation speed.
1295 (image--set-speed, image-increase-speed, image-decrease-speed)
1296 (image-reverse-speed, image-reset-speed): New functions.
1297 (image-mode-map): Add bindings for speed commands.
1298
1299 * image.el (image-animate-get-speed, image-animate-set-speed):
1300 New functions.
1301 (image-animate-timeout): Respect image :speed property.
1302
10fa0ed3
SM
13032013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1306 previous line (bug#15101).
1307 (debugger-eval-expression, debugger-record-expression):
1308 Use read--expression (bug#15102).
1309
5d89d9d2
MA
13102013-08-15 Michael Albinus <michael.albinus@gmx.de>
1311
1312 Remove byte compiler warnings, visible when compiling with
1313 `byte-compile-force-lexical-warnings' set to t.
1314
1315 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1316 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1317 (tramp-handle-unhandled-file-name-directory)
1318 (tramp-handle-file-notify-add-watch, tramp-action-login)
1319 (tramp-action-succeed, tramp-action-permission-denied)
1320 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1321 arguments with "_".
1322
1323 * net/tramp-adb.el (tramp-adb-parse-device-names)
1324 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1325 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1326 (tramp-adb-handle-file-truename): Remove unused arguments.
1327
1328 * net/tramp-cache.el (tramp-flush-directory-property)
1329 (tramp-flush-connection-property, tramp-list-connections)
1330 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1331
10fa0ed3
SM
1332 * net/tramp-compat.el (tramp-compat-make-temp-file):
1333 Rename FILENAME to F.
5d89d9d2
MA
1334
1335 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1336 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1337 (tramp-zeroconf-parse-workstation-device-names)
1338 (tramp-zeroconf-parse-webdav-device-names)
1339 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1340
1341 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1342 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1343
1344 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1345 arguments.
1346 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1347 (tramp-sh-handle-insert-file-contents-literally)
1348 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1349 with "_".
1350 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1351 Remove unused variables.
1352
1353 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1354 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1355 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1356
1357 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1358 Make them a defconst.
1359 (tramp-uuencode-region): Remove unused variable.
1360
62f33bae
JB
13612013-08-14 Juanma Barranquero <lekktu@gmail.com>
1362
1363 * frameset.el (frameset--prop-setter): New function.
1364 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1365 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1366 parameter was already set in FILTERED. Doc fix.
1367 (frameset--record-minibuffer-relationships): Allow saving a
1368 minibufferless frame without its corresponding minibuffer frame.
1369 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1370 frame, if the frame id matches.
1371 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1372 frames before orphaned ones.
1373 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1374
c660a885
MR
13752013-08-14 Martin Rudalics <rudalics@gmx.at>
1376
1377 * window.el (window-make-atom): Don't overwrite parameter
1378 already present.
1379 (display-buffer-in-atom-window): Handle special case where we
1380 split an already atomic window.
1381 (window--major-non-side-window, display-buffer-in-side-window)
1382 (window--side-check): Ignore minibuffer window when walking
1383 window tree.
1384 (window-deletable-p): Return 'frame only if no other frame uses
1385 our minibuffer window.
1386 (record-window-buffer): Run buffer-list-update-hook.
1387 (split-window): Make sure window--check-frame won't destroy an
1388 existing atomic window in case the new window gets nested
1389 inside.
1390 (display-buffer-at-bottom): Ignore minibuffer window when
1391 walking window tree. Don't split a side window.
1392 (pop-to-buffer): Don't set-buffer here, the select-window call
1393 should do that.
1394 (mouse-autoselect-window-select): Autoselect only if we are in the
1395 text portion of the window.
1396
8259030d
LMI
13972013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1398
21c58ae2
LMI
1399 * net/shr.el (shr-parse-image-data): New function to grab both the
1400 data itself and the Content-Type.
1401 (shr-put-image): Use it.
1402
1403 * net/eww.el (eww-display-image): Ditto.
1404
8259030d
LMI
1405 * image.el (image-content-type-suffixes): New variable.
1406
ad756449
FEG
14072013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1408
1409 * progmodes/python.el (python-imenu--build-tree)
1410 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1411
f73f4ce6
XF
14122013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1413
1414 * simple.el (backward-word): Mention the optional argument.
1415
1f585e65
SM
14162013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * frameset.el (frameset--make): Rename constructor from make-frameset.
1419 (frameset-p, frameset-valid-p): Don't autoload.
1420 (frameset-valid-p): Use normal accessors.
1421
af1c6c84
GM
14222013-08-13 Glenn Morris <rgm@gnu.org>
1423
55e47f95
GM
1424 * progmodes/compile.el (compile-command): Tweak example in doc.
1425 * obsolete/scribe.el (scribe-mode):
1426 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1427
f0024d8c
GM
1428 * mail/feedmail.el (feedmail-confirm-outgoing)
1429 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1430
1431 * cus-start.el (truncate-partial-width-windows): Fix type.
1432
1433 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1434
af1c6c84
GM
1435 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1436
5514cc4c
SM
14372013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * emacs-lisp/timer.el (timer--time-setter): New function.
1440 (timer--time): Use it as gv-setter.
1441
1442 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1443 setter is not a symbol.
1444
7997a2f1
GJ
14452013-08-12 Grégoire Jadi <daimrod@gmail.com>
1446
1447 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1448 if sending fails. This makes debugging easier.
1449
01f1a9ab
JB
14502013-08-12 Juanma Barranquero <lekktu@gmail.com>
1451
1452 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1453 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1454 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1455
594a4307
EZ
14562013-08-12 Eli Zaretskii <eliz@gnu.org>
1457
1458 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1459
7a22490f 14602013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1461
1462 * format.el (format-annotate-function):
1463 Handle read-only text properties in the source. (Bug#14887)
1464
3e41a054
LMI
14652013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1466
5514cc4c
SM
1467 * net/eww.el (eww-display-html): Ignore coding system errors.
1468 One web site uses "utf-8lias" as the coding system.
3e41a054 1469
7ec326db
JB
14702013-08-11 Juanma Barranquero <lekktu@gmail.com>
1471
1472 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1473
5660113b
JB
14742013-08-10 Juanma Barranquero <lekktu@gmail.com>
1475
9a4ebc74
JB
1476 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1477 (tutorial--detailed-help): Remove unused local variables.
1478 (tutorial--save-tutorial-to): Use ignore-errors.
1479 (help-with-tutorial): Use looking-at-p.
1480
1481 * view.el (view-buffer-other-window, view-buffer-other-frame):
1482 Mark unused arguments.
1483
1484 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1485 (woman-select-symbol-fonts, woman, woman-find-file)
1486 (woman-insert-file-contents, woman-non-underline-faces):
1487 Use string-match-p.
1488 (woman1-unquote): Move declaration.
1489
1490 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1491 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1492 argument. Remove unused local variable.
1493 (xml-parse-elem-type): Use string-match-p.
1494 (xml-substitute-numeric-entities): Use ignore-errors.
1495
45fdb482
JB
1496 * calculator.el (calculator): Mark unused argument.
1497 (calculator-paste, calculator-quit, calculator-integer-p):
1498 Use ignore-errors.
1499 (calculator-string-to-number, calculator-decimal, calculator-exp)
1500 (calculator-op-or-exp): Use string-match-p.
1501
1502 * dired.el (dired-buffer-more-recently-used-p): Declare.
1503 (dired-insert-set-properties, dired-insert-old-subdirs):
1504 Use ignore-errors.
1505
1506 * dired-aux.el (dired-compress): Use ignore-errors.
1507 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1508 (dired-do-async-shell-command, dired-do-shell-command)
1509 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1510 (dired-insert-subdir-validate): Use string-match-p.
1511 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1512 (dired-add-entry): Use string-match-p, looking-at-p.
1513 (dired-insert-subdir-newpos): Remove unused local variable.
1514
1515 * filenotify.el (file-notify-callback): Remove unused local variable.
1516
1517 * filesets.el (filesets-error): Mark unused argument.
1518 (filesets-which-command-p, filesets-filter-dir-names)
1519 (filesets-directory-files, filesets-get-external-viewer)
1520 (filesets-ingroup-get-data): Use string-match-p.
1521
1522 * find-file.el (ff-other-file-name, ff-other-file-name)
1523 (ff-find-the-other-file, ff-cc-hh-converter):
1524 Remove unused local variables.
1525 (ff-get-file-name): Use string-match-p.
1526 (ff-all-dirs-under): Use ignore-errors.
1527
1528 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1529 (follow-select-if-visible): Remove unused local variable.
1530
1531 * forms.el (read-file-filter): Move declaration.
1532 (forms--make-format, forms--make-parser, forms-insert-record):
1533 Quote function with #'.
1534 (forms--update): Use string-match-p. Quote function with #'.
1535
1536 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1537 (help-make-xrefs): Use looking-at-p.
1538 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1539
1540 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1541 (ibuffer-confirm-operation-on): Use string-match-p.
1542
1543 * msb.el (msb-item-handler, msb-dired-item-handler):
1544 Mark unused arguments.
1545
1546 * ses.el (ses-decode-cell-symbol)
1547 (ses-kill-override): Remove unused local variable.
1548 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1549 (ses-load): Use ignore-errors, looking-at-p.
1550 (ses-jump-safe): Use ignore-errors.
1551 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1552
1553 * tabify.el (untabify, tabify): Mark unused arguments.
1554
1555 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1556 Mark unused argument.
1557 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1558 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1559
c880af52
JB
1560 * emacs-lisp/timer.el (timer--time): Define setter with
1561 gv-define-setter to avoid deprecation warning.
1562
5660113b 1563 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 1564 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
1565 (cmpl-statistics-block): Remove (body was commented out).
1566 All callers changed.
1567 (add-completions-from-buffer, load-completions-from-file):
1568 Remove unused variables.
1569
156aab80
JB
15702013-08-09 Juanma Barranquero <lekktu@gmail.com>
1571
5c5dee78
JB
1572 * filecache.el (file-cache-delete-file-list):
1573 Print message only when told so.
1574 (file-cache-files-matching): Use #' in mapconcat argument.
1575
156aab80
JB
1576 * ffap.el (ffap-url-at-point): Fix reference to variable
1577 thing-at-point-default-mail-uri-scheme.
1578
ad9dcd70
SM
15792013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1580
54bd972f
SM
1581 * subr.el (define-error): New function.
1582 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1583 error-file-not-found and define with define-error.
1584 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1585 and define with define-error.
1586 * userlock.el (file-locked, file-supersession):
1587 * simple.el (mark-inactive):
1588 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1589 * progmodes/ada-mode.el (ada-mode-errors):
1590 * play/life.el (life-extinct):
1591 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1592 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1593 * nxml/rng-util.el (rng-error):
1594 * nxml/rng-uri.el (rng-uri-error):
1595 * nxml/rng-match.el (rng-compile-error):
1596 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1597 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1598 * nxml/nxml-rap.el (nxml-scan-error):
1599 * nxml/nxml-outln.el (nxml-outline-error):
1600 * net/soap-client.el (soap-error):
1601 * net/gnutls.el (gnutls-error):
1602 * net/ange-ftp.el (ftp-error):
1603 * mpc.el (mpc-proc-error):
1604 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1605 (json-number-format, json-string-escape, json-string-format)
1606 (json-key-format, json-object-format):
1607 * jka-compr.el (compression-error):
1608 * international/quail.el (quail-error):
1609 * international/kkc.el (kkc-error):
1610 * emacs-lisp/ert.el (ert-test-failed):
1611 * calc/calc.el (calc-error, inexact-result, math-overflow)
1612 (math-underflow):
1613 * bookmark.el (bookmark-error-no-filename):
1614 * epg.el (epg-error): Define with define-error.
1615
0ea9e53a
SM
1616 * time.el (display-time-event-handler)
1617 (display-time-next-load-average): Don't call sit-for since it seems
1618 unnecessary (bug#15045).
1619
b0429158
SM
1620 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1621 Use #' instead of ' to quote functions.
1622 (checkdoc-output-mode): Use setq-local.
1623 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1624 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1625 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1626 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1627 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1628 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1629 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1630 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1631
ad9dcd70
SM
1632 * ido.el (ido-completion-help): Fix up compiler warning.
1633
77187e6f
JB
16342013-08-09 Juanma Barranquero <lekktu@gmail.com>
1635
1636 * frameset.el (frameset-p): Add autoload cookie.
1637 (frameset--jump-to-register): New function, based on code moved from
1638 register.el.
1639 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1640
1641 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1642 (frameset-restore, frameset-save, frameset-session-filter-alist):
1643 Remove declarations.
1644 (register-alist): Doc fix.
1645 (frameset-to-register): Move to frameset.el.
1646 (jump-to-register, describe-register-1): Remove frameset-specific code.
1647
9d3aa82c
JB
16482013-08-08 Juanma Barranquero <lekktu@gmail.com>
1649
1650 * allout-widgets.el (allout-widgets-pre-command-business)
1651 (allout-widgets-post-command-business)
1652 (allout-widgets-after-change-handler)
1653 (allout-decorate-item-and-context, allout-set-boundary-marker)
1654 (allout-body-modification-handler)
1655 (allout-graphics-modification-handler): Mark ignored arguments.
1656 (allout-widgets-post-command-business)
1657 (allout-widgets-exposure-change-processor)
1658 (allout-widgets-exposure-undo-processor)
1659 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1660 (allout-parse-item-at-point, allout-decorate-item-guides)
1661 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1662 * allout.el (epa-passphrase-callback-function): Declare.
1663 (allout-overlay-insert-in-front-handler)
1664 (allout-overlay-interior-modification-handler)
1665 (allout-isearch-end-handler, allout-chart-siblings)
1666 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1667 (allout-yank-processing, allout-process-exposed)
1668 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 1669 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
1670 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1671 (lisp-indent-defform): Mark ignored arguments.
1672 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1673 (calculate-lisp-indent): Remove unused variables.
1674 * international/characters.el (indian-2-column, arabic-2-column)
1675 (tibetan): Mark ignored arguments.
1676 (use-cjk-char-width-table): Mark ignored arguments.
1677 Remove unused variables.
1678 * international/fontset.el (build-default-fontset-data)
1679 (x-compose-font-name, create-fontset-from-fontset-spec):
1680 Mark ignored arguments.
1681 (fontset-plain-name): Remove unused variables.
1682 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1683 (keyboard-coding-system): Mark ignored arguments.
1684 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1685 * help.el (resize-temp-buffer-window):
1686 * window.el (display-buffer-in-major-side-window)
1687 (display-buffer-in-side-window, display-buffer-in-previous-window):
1688 Remove unused variables.
1689 * isearch.el (isearch-forward-symbol):
1690 * version.el (emacs-bzr-version-bzr):
1691 * international/mule-cmds.el (current-language-environment):
1692 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1693 (x-handle-display):
1694 * term/pc-win.el (x-list-fonts, x-display-planes)
1695 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1696 (x-server-version, x-display-screens, x-display-mm-height)
1697 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1698 (x-selection-owner-p, x-own-selection-internal)
1699 (x-disown-selection-internal, x-get-selection-internal)
1700 (msdos-initialize-window-system):
1701 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1702 * term/x-win.el (x-handle-no-bitmap-icon):
1703 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1704 (vc-default-find-file-hook, vc-default-extra-menu):
1705 Mark ignored arguments.
1706
0ca3f70e
SM
17072013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1710 break-condition in the context of the debugged code (bug#12685).
1711
74c5d24c
CS
17122013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1713
1714 * comint.el:
1715 Do not use an overlay to highlight the last prompt. (Bug#14744)
1716 (comint-mode): Make comint-last-prompt buffer local.
1717 (comint-last-prompt): New variable.
1718 (comint-last-prompt-overlay): Remove. Superseded by
1719 comint-last-prompt.
0ca3f70e
SM
1720 (comint-snapshot-last-prompt, comint-output-filter):
1721 Use comint-last-prompt.
74c5d24c 1722
c03c02ee
JB
17232013-08-08 Juanma Barranquero <lekktu@gmail.com>
1724
a3738d20 1725 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
1726 (frameset-save): Check validity of the resulting frameset.
1727
04263d23
XF
17282013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1729
1730 * ido.el (ido-record-command): Add doc string.
1731
76c5e5ab
JB
17322013-08-08 Juanma Barranquero <lekktu@gmail.com>
1733
1734 * frameset.el (frameset): Do not disable creation of the default
1735 frameset-p predicate. Doc fix.
1736 (frameset-valid-p): New function, copied from the old predicate-p.
1737 Add additional checks.
1738 (frameset-restore): Check with frameset-valid-p.
1739 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1740 (frameset-name, frameset-description, frameset-properties)
1741 (frameset-states): Add docstring.
f9dbf1cb
JB
1742 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1743 (frameset-filter-alist): Doc fixes.
76c5e5ab 1744
bd0c3c0b
JB
17452013-08-08 Juanma Barranquero <lekktu@gmail.com>
1746
1747 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1748
c735544c
SM
17492013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1752 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1753 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1754 (byte-compile-normal-call): Remove obsolescence check.
1755
2805a651
JB
17562013-08-08 Juanma Barranquero <lekktu@gmail.com>
1757
3677ffeb
JB
1758 * frameset.el (frameset-restore): Doc fix.
1759
2805a651
JB
1760 * register.el (frameset-frame-id, frameset-frame-with-id)
1761 (frameset-p, frameset-restore, frameset-save): Declare.
1762 (register-alist): Document framesets.
1763 (frameset-session-filter-alist): Declare.
1764 (frameset-to-register): New function.
1765 (jump-to-register): Implement jumping to framesets. Doc fix.
1766 (describe-register-1): Describe framesets.
1767
1768 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1769
a912c016
JB
17702013-08-07 Juanma Barranquero <lekktu@gmail.com>
1771
1772 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1773 Use lexical-binding.
1774
1775 * frameset.el (frameset): Use type vector, not list (incompatible
1776 change). Do not declare a new constructor, use the default one.
1777 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1778 `name' and `description', respectively, and add read-only slot
1779 `timestamp'. Doc fixes.
1780 (frameset-copy, frameset-persistent-filter-alist)
1781 (frameset-filter-alist, frameset-switch-to-gui-p)
1782 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1783 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1784 (frameset-filter-iconified, frameset-keep-original-display-p):
1785 Doc fixes.
1786 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1787 Rename from frameset-filter-(save|restore)-param. All callers changed.
1788 Doc fix.
1789 (frameset-p): Adapt to change to vector and be more thorough.
1790 Change arg name to OBJECT. Doc fix.
1791 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1792 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1793 All callers changed.
1794 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1795 All callers changed.
1796 (frameset--record-minibuffer-relationships): Rename from
1797 frameset--process-minibuffer-frames. All callers changed.
1798 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1799 Use new default constructor (again). Doc fix.
1800 (frameset--find-frame-if): Rename from `frameset--find-frame.
1801 All callers changed.
1802 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1803 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1804 Doc fix.
1805 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1806 PARAMETERS and WINDOW-STATE, respectively.
1807 (frameset-restore): Add new keyword argument PREDICATE.
1808 Reset frameset--target-display to nil. Doc fix.
1809
bb41480a
SM
18102013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1811
f001e98e
SM
1812 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1813 (bat-mode): Use it.
1814 (bat-mode-syntax-table): Mark \n as end-of-comment.
1815 (bat-font-lock-keywords): Remove comment rule.
1816
7679edb1
SM
1817 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1818 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1819
bb41480a
SM
1820 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1821 (byte-compile-callargs-warn): Use `push'.
1822 (byte-compile-arglist-warn): Ignore higher-order "calls".
1823 (byte-compile-file-form-autoload): Use `pcase'.
1824 (byte-compile-function-form): If quoting a symbol, check that it exists.
1825
cdc1ebb9
EZ
18262013-08-07 Eli Zaretskii <eliz@gnu.org>
1827
1828 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1829 and add a few popular commands found in batch files.
1830 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1831 (dos-mode): Doc fixes.
1832
312b1740
SM
18332013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1836 (dos-mode): Use setq-local. Add space after "rem".
1837 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1838 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1839
400a3178
AM
18402013-08-07 Arni Magnusson <arnima@hafro.is>
1841
1842 * progmodes/dos.el: New file.
1843 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1844 dos-mode.
1845
3b5c03d3
GM
18462013-08-06 Glenn Morris <rgm@gnu.org>
1847
1848 * calendar/calendar.el: Add new faces, and day-header-array.
1849 (calendar-weekday-header, calendar-weekend-header)
1850 (calendar-month-header): New faces.
1851 (calendar-day-header-construct): New function.
1852 (calendar-day-header-width): Also :set calendar-day-header-array.
1853 (calendar-american-month-header, calendar-european-month-header)
1854 (calendar-iso-month-header): Use calendar- faces.
1855 (calendar-generate-month):
1856 Use calendar-day-header-array for day headers; apply faces to them.
1857 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1858 (calendar-abbrev-construct): Add optional maxlen argument.
1859 (calendar-day-name-array): Doc fix.
1860 (calendar-day-name-array, calendar-abbrev-length)
1861 (calendar-day-abbrev-array):
1862 Also :set calendar-day-header-array, and maybe redraw.
1863 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 1864 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
1865 (calendar-day-name): Add option to use header array.
1866
ec6a2d7a
LMI
18672013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1868
1869 * net/shr.el (shr-render-td): Remove debugging.
1870 (shr-render-td): Make width computation consistent by defaulting
1871 all zero-width columns to 10 characters. This may not be optimal,
1872 but it's at least consistent.
2122cb6d
LMI
1873 (shr-make-table-1): Redo last change to fix the real problem in
1874 colspan handling.
ec6a2d7a 1875
ed4fd9c5
DA
18762013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1877
0ca3f70e
SM
1878 * files.el (cache-long-line-scans):
1879 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 1880
64e22afe
JB
18812013-08-06 Juanma Barranquero <lekktu@gmail.com>
1882
024b38fc
JB
1883 * frameset.el (frameset, frameset-filter-alist)
1884 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1885 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1886 (frameset-compute-pos): Rename from frameset--compute-pos,
1887 and add docstring.
1888 (frameset-move-onscreen): Use frameset-compute-pos.
1889 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1890
64e22afe
JB
1891 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1892 Fix typos in docstrings.
1893
c8c2aca8
DA
18942013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1895
1896 * frame.el (get-other-frame): Tiny cleanup.
1897
1d237bba
JB
18982013-08-06 Juanma Barranquero <lekktu@gmail.com>
1899
8951efef
JB
1900 * vc/vc.el (vc-default-ignore-completion-table):
1901 Silence byte-compiler warning.
1902
307764cc
JB
1903 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1904 slot , which can indeed be nil.
1905 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1906 Move entry for `left' from persistent to live filter alist.
1907 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1908 Doc fixes.
1909 (frameset-filter-params): When restoring a frame, copy items added to
1910 `filtered', to avoid unwittingly modifying the original parameters.
1911 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1912 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1913
1d237bba
JB
1914 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1915 to use looking-at-p instead of looking-at. (Bug#15028)
1916
dc6c0eda
SM
19172013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 Revert introduction of isearch-filter-predicates (bug#14714).
1920 Rely on add-function instead.
1921 * isearch.el (isearch-filter-predicates): Rename it back to
1922 isearch-filter-predicate.
1923 (isearch-message-prefix): Use advice-function-mapc and advice
1924 properties to get the isearch-message-prefix.
1925 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1926 instead of run-hook-with-args-until-failure.
1927 (isearch-filter-visible): Not obsolete any more.
1928 * loadup.el: Preload nadvice.
1929 * replace.el (perform-replace): Revert to funcall
1930 instead of run-hook-with-args-until-failure.
1931 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1932 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1933 dired-isearch-filenames-toggle; make it into a proper minor mode.
1934 Use add/remove-function.
1935 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1936 Call the minor-mode rather than add/remove-hook.
1937 (dired-isearch-filter-filenames):
1938 Remove isearch-message-prefix property.
1939 * info.el (Info--search-loop): New function, extracted from Info-search.
1940 Funcall isearch-filter-predicate instead of
1941 run-hook-with-args-until-failure isearch-filter-predicates.
1942 (Info-search): Use it.
1943 (Info-mode): Use isearch-filter-predicate instead of
1944 isearch-filter-predicates.
1945
290d5b58
DA
19462013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1947
1948 Do not call to `selected-window' where it is assumed by default.
1949 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1950 `window-hscroll', `window-width', `window-height', `window-buffer',
1951 `window-frame', `window-start', `window-point', `next-window'
1952 and `window-display-table'.
1953 * abbrev.el (abbrev--default-expand):
1954 * bs.el (bs--show-with-configuration):
1955 * buff-menu.el (Buffer-menu-mouse-select):
1956 * calc/calc.el (calc):
1957 * calendar/calendar.el (calendar-generate-window):
1958 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1959 (diary-make-entry):
1960 * comint.el (send-invisible, comint-dynamic-complete-filename)
1961 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1962 * completion.el (complete):
1963 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1964 * disp-table.el (describe-current-display-table):
1965 * doc-view.el (doc-view-insert-image):
1966 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1967 * ehelp.el (with-electric-help):
1968 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1969 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1970 * emacs-lisp/helper.el (Helper-help-scroller):
1971 * emulation/cua-base.el (cua--post-command-handler-1):
1972 * eshell/esh-mode.el (eshell-output-filter):
1973 * ffap.el (ffap-gnus-wrapper):
1974 * help-macro.el (make-help-screen):
1975 * hilit-chg.el (highlight-compare-buffers):
1976 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1977 * hl-line.el (global-hl-line-highlight):
1978 * icomplete.el (icomplete-simple-completing-p):
1979 * isearch.el (isearch-done):
1980 * jit-lock.el (jit-lock-stealth-fontify):
1981 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1982 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1983 * mpc.el (mpc-tagbrowser, mpc):
1984 * net/rcirc.el (rcirc-any-buffer):
1985 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1986 * play/landmark.el (landmark-max-width, landmark-max-height):
1987 * play/zone.el (zone):
1988 * progmodes/compile.el (compilation-goto-locus):
1989 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1990 * progmodes/etags.el (find-tag-other-window):
1991 * progmodes/fortran.el (fortran-column-ruler):
1992 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1993 * progmodes/verilog-mode.el (verilog-point-text):
1994 * reposition.el (reposition-window):
1995 * rot13.el (toggle-rot13-mode):
1996 * server.el (server-switch-buffer):
1997 * shell.el (shell-dynamic-complete-command)
1998 (shell-dynamic-complete-environment-variable):
1999 * simple.el (insert-buffer, set-selective-display)
2000 (delete-completion-window):
2001 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2002 (speedbar-recenter):
2003 * startup.el (fancy-splash-head):
2004 * textmodes/ispell.el (ispell-command-loop):
2005 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2006 * tutorial.el (help-with-tutorial):
2007 * vc/add-log.el (add-change-log-entry):
2008 * vc/compare-w.el (compare-windows):
2009 * vc/ediff-help.el (ediff-indent-help-message):
2010 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2011 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2012 (ediff-setup-control-frame):
2013 * vc/emerge.el (emerge-position-region):
2014 * vc/pcvs-util.el (cvs-bury-buffer):
2015 * window.el (walk-windows, mouse-autoselect-window-select):
2016 * winner.el (winner-set-conf, winner-undo): Related users changed.
2017
38276e01
JB
20182013-08-05 Juanma Barranquero <lekktu@gmail.com>
2019
2020 * frameset.el (frameset--set-id): Doc fix.
2021 (frameset-frame-id, frameset-frame-id-equal-p)
2022 (frameset-locate-frame-id): New functions.
2023 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2024 (frameset-restore): Use them.
2025
12b4c0ea
DA
20262013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2027
2028 Do not call to `selected-frame' where it is assumed by default.
2029 Affected functions are `raise-frame', `redraw-frame',
2030 `frame-first-window', `frame-terminal' and `delete-frame'.
2031 * calendar/appt.el (appt-disp-window):
2032 * epg.el (epg-wait-for-completion):
2033 * follow.el (follow-delete-other-windows-and-split)
2034 (follow-avoid-tail-recenter):
2035 * international/mule.el (set-terminal-coding-system):
2036 * mail/rmail.el (rmail-mail-return):
2037 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2038 * progmodes/f90.el (f90-add-imenu-menu):
2039 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2040 * server.el (server-switch-buffer):
2041 * simple.el (delete-completion-window):
2042 * talk.el (talk):
2043 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2044 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2045 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2046 * vc/ediff.el (ediff-documentation): Related users changed.
2047 * frame.el (selected-terminal): Remove the leftover.
2048
17f25e76
GM
20492013-08-05 Glenn Morris <rgm@gnu.org>
2050
2051 * calendar/calendar.el (calendar-generate-month):
2052 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2053 (calendar-generate-month, calendar-font-lock-keywords):
2054 Fix for calendar-day-header-width > length of any day name.
17f25e76 2055
063233c3
JB
20562013-08-05 Juanma Barranquero <lekktu@gmail.com>
2057
2058 * desktop.el (desktop-clear): Use new name of sort predicate.
2059
2060 * frameset.el (frameset): Add docstring. Move :version property to its
2061 own `version' slot.
2062 (frameset-copy): Rename from copy-frameset.
2063 (frameset-p): Check more thoroughly.
2064 (frameset-prop): Do not check for :version, which is no longer a prop.
2065 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2066 Use new :never value instead of t.
2067 (frameset-filter-alist): Expand and clarify docstring.
2068 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2069 (frameset-filter-minibuffer, frameset-filter-save-param)
2070 (frameset-filter-restore-param, frameset-filter-iconified):
2071 Add pointer to docstring of frameset-filter-alist.
2072 (frameset-filter-params): Rename filter values to be more meaningful:
2073 :never instead of t, and reverse the meanings of :save and :restore.
2074 (frameset--process-minibuffer-frames): Clarify error message.
2075 (frameset-save): Avoid unnecessary and confusing call to framep.
2076 Use new BOA constructor for framesets.
2077 (frameset--reuse-list): Doc fix.
2078 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2079 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2080 (frameset-minibufferless-first-p): Doc fix.
2081 Rename from frameset-sort-frames-for-deletion.
2082 (frameset-restore): Doc fixes. Use new function names.
2083 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2084
d5671a82
JB
20852013-08-04 Juanma Barranquero <lekktu@gmail.com>
2086
2087 * desktop.el (desktop-restore-forces-onscreen)
2088 (desktop-restore-reuses-frames): Document :keyword constant values.
2089 (desktop-filter-parameters-alist): Remove, now identical to
2090 frameset-filter-alist.
2091 (desktop--filter-tty*): Remove, moved to frameset.el.
2092 (desktop-save-frameset, desktop-restore-frameset):
2093 Do not pass :filters argument.
2094
2095 * frameset.el (frameset-live-filter-alist)
2096 (frameset-persistent-filter-alist): New variables.
2097 (frameset-filter-alist): Use them. Add autoload cookie.
2098 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2099 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2100 `frameset--id' (it's supposed to be internal to frameset.el).
2101 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2102 (frameset--initial-params): New function.
2103 (frameset--get-frame): Use it. Doc fix.
2104 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2105 Accept :all, not 'all.
2106 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2107 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2108 with fbound symbols. Fix frame id matching, and remove matching ids if
2109 the frame being restored is deleted. Obey :delete.
2110
671d5c16
SM
21112013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * subr.el (macrop): New function.
2114 (text-clone--maintaining): New var.
2115 (text-clone--maintain): Rename from text-clone-maintain. Use it
2116 instead of inhibit-modification-hooks.
2117
2118 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2119 a proxy, so as handle autoloads and redefinitions of the target.
2120 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2121
2122 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2123 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2124 (pcase--mutually-exclusive-p): New function.
2125 (pcase--split-consp): Use it.
2126 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2127 mutually exclusive with the current predicate.
2128
2129 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2130 (edebug-macrop): Remove. Use `macrop' instead.
2131 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2132 (ad-macro-p):
2133 * eshell/esh-cmd.el (eshell-macrop):
2134 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2135
1d44e9dc
SM
21362013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2139 (advice-mapc): New function, using it.
2140 (advice-function-member-p): New function.
2141 (advice--normalize): Store the cdr in advice--saved-rewrite since
2142 that's the part that will be changed.
2143 (advice--symbol-function): New function.
2144 (advice-remove): Handle removal before the function is defined.
2145 Adjust to new advice--saved-rewrite.
2146 (advice-member-p): Use advice-function-member-p and
2147 advice--symbol-function.
2148
5414a283
JB
21492013-08-04 Juanma Barranquero <lekktu@gmail.com>
2150
51d30f2c
JB
2151 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2152 (frameset-filter-minibuffer): Doc fix.
2153 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2154 (frameset--set-id, frameset--process-minibuffer-frames)
2155 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2156 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2157
5414a283
JB
2158 * desktop.el (desktop-clear): Only delete frames when called
2159 interactively and desktop-restore-frames is non-nil. Doc fix.
2160 (desktop-read): Set desktop-saved-frameset to nil.
2161
ab419665
XF
21622013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2163
2164 * vc/vc.el (vc-ignore): Rewrite.
2165 (vc-default-ignore-completion-table):
2166 (vc--read-lines):
2167 (vc--add-line, vc--remove-regexp): New functions.
2168
2169 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2170 (vc-svn-ignore-completion-table): New function.
2171
2172 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2173 (vc-hg-ignore-completion-table):
2174 (vc-hg-find-ignore-file): New functions.
2175
2176 * vc/vc-git.el (vc-git-ignore): Rewrite.
2177 (vc-git-ignore-completion-table):
2178 (vc-git-find-ignore-file): New functions.
2179
2180 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2181
2182 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2183 (vc-bzr-ignore-completion-table):
2184 (vc-bzr-find-ignore-file): New functions.
2185
2613dea2
JB
21862013-08-03 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * frameset.el (frameset-prop): New function and setter.
2189 (frameset-save): Do not modify frame list passed by the caller.
2190
9c959872
SM
21912013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2194
a104f656
SM
21952013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2196
70122acf
SM
2197 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2198 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2199
a104f656
SM
2200 * custom.el (custom-initialize-default, custom-initialize-set)
2201 (custom-initialize-reset, custom-initialize-changed): Affect the
2202 toplevel-default-value (bug#6275, bug#14586).
2203 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2204 for bug#6275.
2205
f078d570
JB
22062013-08-02 Juanma Barranquero <lekktu@gmail.com>
2207
185e3b5a
JB
2208 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2209 Add cl-def* expressions.
2210
f078d570
JB
2211 * frameset.el (frameset-filter-params): Fix order of arguments.
2212
9421876d
JB
22132013-08-02 Juanma Barranquero <lekktu@gmail.com>
2214
2215 Move code related to saving frames to frameset.el.
2216 * desktop.el: Require frameset.
2217 (desktop-restore-frames): Doc fix.
2218 (desktop-restore-reuses-frames): Rename from
2219 desktop-restoring-reuses-frames.
2220 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2221 (desktop-clear): Clear frames too.
2222 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2223 (desktop--filter-tty*, desktop-save, desktop-read):
2224 Use frameset functions.
2225 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2226 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2227 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2228 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2229 (desktop--process-minibuffer-frames, desktop-save-frames)
2230 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2231 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2232 (desktop--sort-states, desktop-restoring-frames-p)
2233 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2234 (desktop-restoring-frameset-p, desktop-restore-frameset)
2235 (desktop--check-dont-save, desktop-save-frameset): New functions.
2236 (desktop--app-id): New constant.
2237 (desktop-first-buffer, desktop-buffer-ok-count)
2238 (desktop-buffer-fail-count): Move before first use.
2239 * frameset.el: New file.
2240
76dc5996
SM
22412013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * files.el: Use lexical-binding.
2244 (dir-locals-read-from-file): Remove unused `err' variable.
2245 (hack-dir-local-variables--warned-coding): New var.
2246 (hack-dir-local-variables): Use it to avoid repeated warnings.
2247 (make-backup-file-name--default-function): New function.
2248 (make-backup-file-name-function): Use it as default.
2249 (buffer-stale--default-function): New function.
2250 (buffer-stale-function): Use it as default.
2251 (revert-buffer-insert-file-contents--default-function): New function.
2252 (revert-buffer-insert-file-contents-function): Use it as default.
2253 (insert-directory): Avoid add-to-list.
2254
2255 * autorevert.el (auto-revert-handler): Simplify.
2256 Use buffer-stale--default-function.
2257
06d36e2b
TH
22582013-08-01 Tassilo Horn <tsdh@gnu.org>
2259
5f648ab4
TH
2260 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2261
06d36e2b
TH
2262 * whitespace.el (whitespace-ensure-local-variables): New function.
2263 (whitespace-cleanup-region): Call it.
2264 (whitespace-turn-on): Call it.
2265
a43dc424
MA
22662013-08-01 Michael Albinus <michael.albinus@gmx.de>
2267
2268 Complete file name handlers.
2269
2270 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2271 (tramp-handle-verify-visited-file-modtime)
2272 (tramp-handle-file-notify-rm-watch): New functions.
2273 (tramp-call-process): Do not bind `default-directory'.
2274
44e18199
JB
2275 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2276 Order alphabetically.
a43dc424
MA
2277 [access-file, add-name-to-file, dired-call-process]:
2278 [dired-compress-file, file-acl, file-notify-rm-watch]:
2279 [file-ownership-preserved-p, file-selinux-context]:
2280 [make-directory-internal, make-symbolic-link, set-file-acl]:
2281 [set-file-selinux-context, set-visited-file-modtime]:
2282 [verify-visited-file-modtime]: Add handler.
2283 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2284
2285 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2286 [file-notify-add-watch, file-notify-rm-watch]:
2287 [set-file-times, set-visited-file-modtime]:
2288 [verify-visited-file-modtime]: Add handler.
2289 (with-tramp-gvfs-error-message)
2290 (tramp-gvfs-handle-set-visited-file-modtime)
2291 (tramp-gvfs-fuse-file-name): Remove.
2292 (tramp-gvfs-handle-file-notify-add-watch)
2293 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2294 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2295
44e18199
JB
2296 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2297 Order alphabetically.
a43dc424
MA
2298 [file-notify-rm-watch ]: Use default Tramp handler.
2299 [executable-find]: Remove private handler.
2300 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2301 `default-directory'.
2302 (tramp-sh-handle-executable-find)
2303 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2304 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2305 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2306 Do not use `format' in `tramp-message'.
2307
2308 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2309 [file-notify-rm-watch, set-visited-file-modtime]:
2310 [verify-visited-file-modtime]: Add handler.
2311 (tramp-smb-call-winexe): Do not bind `default-directory'.
2312
7188b515
XF
23132013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2314
2315 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2316
2412ee1a
DG
23172013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2318
2319 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2320 use it.
2321 (log-view-diff-changeset): Same.
2322 (log-view-diff-common): Call backend command `previous-revision'
2323 to find out the previous revision, in both cases. Swap the
2324 variables `to' and `fr', so that `fr' usually refers to the
2325 earlier revision (Bug#14989).
2326
5002a754
KRC
23272013-07-31 Kan-Ru Chen <kanru@kanru.info>
2328
2329 * ibuf-ext.el (ibuffer-filter-by-filename):
2330 Make it work with dired buffers too.
2331
44e18199 23322013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2333
2334 * emacs-lisp/re-builder.el (reb-color-display-p):
2335 * files.el (save-buffers-kill-terminal):
2336 * net/browse-url.el (browse-url):
2337 * server.el (server-save-buffers-kill-terminal):
2338 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2339 Prefer nil to selected-frame for the first arg of frame-parameter.
2340
aeca3fbb
XF
23412013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2342
2343 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2344
158bc55c
SB
23452013-07-30 Stephen Berman <stephen.berman@gmx.net>
2346
2347 * minibuffer.el (completion--twq-all): Try and preserve each
2348 completion's case choice (bug#14907).
2349
d50fceab
LMI
23502013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2351
ac38e731
LMI
2352 * net/network-stream.el (open-network-stream): Mention the new
2353 :nogreeting parameter.
2354 (network-stream-open-starttls): Use the :nogreeting parameter
2355 (bug#14938).
2356
1211de50
LMI
2357 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2358
997798bf
LMI
2359 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2360 more natural than popping.
2361
d50fceab 2362 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2363 (shr-urlify): Highlight under mouse.
d50fceab 2364
5c09de04
XF
23652013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2366
207d1d04
XF
2367 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2368
2369 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2370
5c09de04
XF
2371 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2372 buffer for output.
2373
3cd51eaa
XF
2374 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2375 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2376
44e18199 2377 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2378 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2379
2380 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2381
2382 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2383 buffer for output.
2384
35a89bdd
EZ
23852013-07-29 Eli Zaretskii <eliz@gnu.org>
2386
2387 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2388 initial frame is minibuffer-less. (Bug#14841)
2389
78822e94
MA
23902013-07-29 Michael Albinus <michael.albinus@gmx.de>
2391
2392 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2393 option.
2394
2395 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2396 (tramp-maybe-open-connection): Use it.
2397
9503c190
JB
23982013-07-28 Juanma Barranquero <lekktu@gmail.com>
2399
2400 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2401 minimal set of parameters passed when creating a frame, because
2402 the minibuffer status of a frame cannot be changed later.
2403
d5a845b4
SB
24042013-07-28 Stephen Berman <stephen.berman@gmx.net>
2405
2406 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2407 replace-regexp-in-string and inadvertent omissions in previous change.
2408 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2409 name of filtered items buffer.
d5a845b4 2410
ddeffb17
JB
24112013-07-28 Juanma Barranquero <lekktu@gmail.com>
2412
2413 * desktop.el: Optionally force offscreen frames back onscreen.
2414 (desktop-restoring-reuses-frames): New option.
2415 (desktop--compute-pos, desktop--move-onscreen): New functions.
2416 (desktop--make-frame): Use desktop--move-onscreen.
2417
f5950f7a
AM
24182013-07-27 Alan Mackenzie <acm@muc.de>
2419
2420 Fontify a Java generic method as a function.
2421 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2422 value to t.
2423
ae43b66a
SB
24242013-07-27 Stephen Berman <stephen.berman@gmx.net>
2425
2426 * calendar/todo-mode.el: Add command to rename todo files.
2427 (todo-rename-file): New command.
2428 (todo-key-bindings-t): Add key binding for it. Change the
2429 bindings of todo-filter-regexp-items(-multifile) to use `x'
2430 instead of `r', since the latter is better suited to the new
2431 renaming command.
2432
5ab78d3d
AM
24332013-07-27 Alan Mackenzie <acm@muc.de>
2434
2435 Make Java try-with-resources statement parse properly.
2436 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2437 (c-block-stmt-1-2-key): New language constants/variables.
2438 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2439 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2440 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2441 with c-block-stmt-1-2-key.
5ab78d3d 2442
d85c4d50
JB
24432013-07-27 Juanma Barranquero <lekktu@gmail.com>
2444
2445 * desktop.el (desktop--make-frame): Apply most frame parameters after
2446 creating the frame to force (partially or totally) offscreen frames to
2447 be restored as such.
2448
e4c467f9
XF
24492013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2450
2451 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2452 (Bug#14948)
e4c467f9 2453
7ced0d04
SM
24542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2457 `base' arg of backtrace-frame.
2458
fec92060
EZ
24592013-07-26 Eli Zaretskii <eliz@gnu.org>
2460
2461 * simple.el (list-processes): Doc fix.
2462
d58d31fb
JB
24632013-07-26 Juanma Barranquero <lekktu@gmail.com>
2464
2465 * desktop.el (desktop--select-frame):
d85c4d50 2466 Try harder to reuse existing frames.
d58d31fb 2467
53ff3e77
SM
24682013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2471 (edebug-eval): Use backtrace-eval.
2472 (edebug--display, edebug--recursive-edit): Don't let-bind the
2473 edebug-outer-* vars that keep track of variables we locally let-bind.
2474 (edebug-outside-excursion): Don't restore outside values of locally
2475 let-bound vars.
2476 (edebug--display): Use user-error.
2477 (cl-lexical-debug, cl-debug-env): Remove.
2478
045f7a53
JB
24792013-07-26 Juanma Barranquero <lekktu@gmail.com>
2480
2481 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2482 are restored to be sure that they are visible before deleting any
2483 remaining ones.
2484
59070b32
MM
24852013-07-26 Matthias Meulien <orontee@gmail.com>
2486
742a3501
XF
2487 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2488 vc-print-root-log. (Bug#14948)
59070b32 2489
b1fb3596
RS
24902013-07-26 Richard Stallman <rms@gnu.org>
2491
2492 Add aliases for encrypting mail.
2493 * epa.el (epa-mail-aliases): New option.
2494 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2495 Bind inhibit-read-only so read-only text doesn't ruin everything.
2496 (epa-mail-default-recipients): New subroutine broken out.
2497 Handle epa-mail-aliases.
2498
56ea7291
SM
24992013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 Add support for lexical variables to the debugger's `e' command.
2502 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2503 vars, except for debugger-outer-match-data.
2504 (debugger-frame-number): Move check for "on a function call" from
2505 callers into it. Add `skip-base' argument.
2506 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2507 (debugger-env-macro): Only reset the state stored in non-variables,
2508 i.e. current-buffer and match-data.
2509 (debugger-eval-expression): Rewrite using backtrace-eval.
2510 * subr.el (internal--called-interactively-p--get-frame): Remove.
2511 (called-interactively-p):
2512 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2513 `base' arg of backtrace-frame instead.
2514
15ac32d5
GM
25152013-07-26 Glenn Morris <rgm@gnu.org>
2516
8358a09d
GM
2517 * align.el (align-regexp): Doc fix. (Bug#14857)
2518 (align-region): Explicit error if subexpression missing/does not match.
2519
15ac32d5
GM
2520 * simple.el (global-visual-line-mode):
2521 Do not duplicate the mode lighter. (Bug#14858)
2522
f47ad11b
MR
25232013-07-25 Martin Rudalics <rudalics@gmx.at>
2524
2525 * window.el (display-buffer): In display-buffer bind
2526 split-window-keep-point to t, bug#14829.
2527
02530987
JB
25282013-07-25 Juanma Barranquero <lekktu@gmail.com>
2529
2530 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2531 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2532 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2533 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2534 Change accordingly.
f63ebeb5
JB
2535 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2536 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 2537
6ccb9cab 25382013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 2539
6ccb9cab 2540 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 2541
cb3a56d2
JB
25422013-07-25 Juanma Barranquero <lekktu@gmail.com>
2543
2544 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2545 parameter to modify-frame-parameters if the value has not changed;
2546 this is a workaround for bug#14949.
2547 (desktop--make-frame): On cl-delete-if call, check parameter name,
2548 not full parameter.
2549
7aa7fff0
XF
25502013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2551
2552 * vc/vc.el (vc-ignore): New function.
2553
2554 * vc/vc-svn.el (vc-svn-ignore): New function.
2555
2556 * vc/vc-hg.el (vc-hg-ignore): New function.
2557
2558 * vc/vc-git.el (vc-git-ignore): New function.
2559
2560 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2561 (vc-dir-ignore): New function.
2562
2563 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 2564 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
2565
2566 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2567
2568 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2569
889acc5c
JB
25702013-07-24 Juanma Barranquero <lekktu@gmail.com>
2571
2572 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2573 (desktop-restore-frames): Warn when deleting an existing frame failed.
2574
86c40970
GM
25752013-07-24 Glenn Morris <rgm@gnu.org>
2576
2577 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2578
d5d3c58a
MA
25792013-07-24 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * filenotify.el (file-notify-supported-p):
2582 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2583 Remove functions.
2584
2585 * autorevert.el (auto-revert-use-notify):
2586 (auto-revert-notify-add-watch):
2587 * net/tramp.el (tramp-file-name-for-operation):
2588 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2589 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2590 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2591 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2592 Remove `file-notify-supported-p' entry.
2593
d100084b
GM
25942013-07-24 Glenn Morris <rgm@gnu.org>
2595
2596 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 2597 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 2598
ac93e56b
SM
25992013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2600
249eea30
SM
2601 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2602 checked with memq (bug#14935).
2603
ac93e56b
SM
2604 * files.el (revert-buffer-function): Use a non-nil default.
2605 (revert-buffer-preserve-modes): Declare var to
2606 provide access to the `preserve-modes' argument.
2607 (revert-buffer): Let-bind it.
2608 (revert-buffer--default): New function, extracted from revert-buffer.
2609
2cdeb903
SM
26102013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * lpr.el: Signal print errors more prominently.
2613 (print-region-function): Don't default to nil.
2614 (lpr-print-region): New function, extracted from print-region-1.
2615 Check lpr's return value and signal an error in case of problem.
2616 (print-region-1): Use it.
2617 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2618 versions instead.
2619 (ps-printer-name): Default to nil.
2620 (ps-printer-name-option): Default to lpr-printer-switch.
2621 (ps-print-region-function): Don't default to nil.
2622 (ps-postscript-code-directory): Simplify default.
2623 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2624 (ps-string-list, ps-eval-switch, ps-flatten-list)
2625 (ps-flatten-list-1): Remove.
2626 (ps-multibyte-buffer): Avoid setq.
2627 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2628 (print-region-function, ps-print-region-function): Don't set them here.
2629
73600831
XF
26302013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2631
0e55c076
XF
2632 * ido.el (ido-fractionp):
2633 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2634 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2635 (ido-max-directory-size, ido-max-dir-file-cache)
2636 (ido-decorations): Doc fix.
2637
73600831
XF
2638 * ansi-color.el: Fix old URL.
2639
3d012865
MM
26402013-07-23 Michael R. Mauger <michael@mauger.com>
2641
2642 * progmodes/sql.el Version 3.3
2643 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2644 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2645 (sql-interactive-remove-continuation-prompt): Rewrite, use
2646 functions above. Fix continuation prompt and complete output line
2647 handling.
2648 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2649 redirected output buffer.
2650 (sql-mode): Restore deleted code (Bug#13591).
2651
da77a2e2
JB
26522013-07-23 Juanma Barranquero <lekktu@gmail.com>
2653
2654 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2655
80ff0c71
MA
26562013-07-23 Michael Albinus <michael.albinus@gmx.de>
2657
2658 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2659
2660 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2661 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2662 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2663
b61d71e4
JB
26642013-07-23 Juanma Barranquero <lekktu@gmail.com>
2665
2666 * desktop.el (desktop-clear): Simplify; remove useless checks
2667 against invalid buffer names.
2668 (desktop-list*): Use cl-list*.
2669 (desktop-buffer-info, desktop-create-buffer): Simplify.
2670
c3512092
LL
26712013-07-23 Leo Liu <sdl.web@gmail.com>
2672
2673 * bookmark.el (bookmark-make-record): Restore NAME as a default
2674 value. (Bug#14933)
2675
0ac26976
SM
26762013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2677
7d22ce18
SM
2678 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2679 extracted from autoload--insert-text.
2680 (autoload--insert-text): Remove.
2681 (autoload--print-cookie-text): New function, extracted from
2682 autoload--insert-cookie-text.
2683 (autoload--insert-cookie-text): Remove.
2684 (autoload-generate-file-autoloads): Adjust calls accordingly.
2685
9b2607e8
SM
2686 * winner.el (winner-hook-installed-p): Remove.
2687 (winner-mode): Simplify accordingly.
2688
c43a8618
SM
2689 * subr.el (add-to-list): Fix compiler-macro when `append' is
2690 not constant. Don't use `cl-member' for the base case.
2691
0ac26976
SM
2692 * progmodes/subword.el: Fix boundary case (bug#13758).
2693 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2694 own group.
2695 (subword-backward-regexp): Make it a constant.
2696 (subword-forward-internal): Don't treat a trailing capital as the
2697 beginning of a word.
2698
6874724a
AR
26992013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2700
2701 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2702 global value of tabulated-list-revert-hook (bug#14930).
2703
70f1b5e8
JB
27042013-07-22 Juanma Barranquero <lekktu@gmail.com>
2705
a1c80d9d
JB
2706 * desktop.el: Require 'cl-lib.
2707 (desktop-before-saving-frames-functions): New hook.
2708 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2709 for frames being saved. Rename from desktop--save-minibuffer-frames.
2710 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
2711 Do not save frames with non-nil `desktop-dont-save' parameter.
2712 Filter out deleted frames.
a1c80d9d
JB
2713 (desktop--find-frame): Use cl-find-if.
2714 (desktop--select-frame): Use cl-(first|second|third) to access values
2715 of desktop-mini.
2716 (desktop--make-frame): Use cl-delete-if.
2717 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2718 (desktop-restore-frames): Use cl-(first|second|third) to access values
2719 of desktop-mini. Look for visible frame at the end, not while
2720 restoring frames.
2721
70f1b5e8
JB
2722 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2723 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2724 Use string-match-p, looking-at-p (bug#14927).
2725
728dc3cc
JB
27262013-07-21 Juanma Barranquero <lekktu@gmail.com>
2727
56bc453c
JB
2728 * desktop.el (desktop-saved-frame-states):
2729 Rename from desktop--saved-states; all users changed.
2730 (desktop-save-frames): Rename from desktop--save-frames.
2731 Do not save state to desktop file.
2732 (desktop-save): Save desktop-saved-frame-states to desktop file
2733 and reset to nil.
2734 (desktop-restoring-frames-p): New function.
2735 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2736 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2737 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2738
728dc3cc
JB
2739 * desktop.el: Correctly restore iconified frames.
2740 (desktop--filter-iconified-position): New function.
2741 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2742
862f1c9c
GM
27432013-07-20 Glenn Morris <rgm@gnu.org>
2744
c4074c9f
GM
2745 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2746 Let `message' do the formatting.
2747 (def-gdb-preempt-display-buffer): Add explicit format.
2748
d828e5f9
GM
2749 * image-dired.el (image-dired-track-original-file):
2750 Use with-current-buffer.
2751 (image-dired-track-thumbnail): Use with-current-buffer.
2752 Avoid changing point of wrong window.
2753
862f1c9c
GM
2754 * image-dired.el (image-dired-track-original-file):
2755 Avoid changing point of wrong window. (Bug#14909)
2756
f0398ec1 27572013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
2758
2759 * progmodes/gdb-mi.el (gdb-done-or-error):
2760 Guard against "%" in gdb output. (Bug#14127)
2761
1451928f
AS
27622013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2763
763a086d
JB
2764 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2765 (Bug#14826)
f7a03897 2766
1451928f
AS
2767 * international/mule.el (coding-system-iso-2022-flags): Fix last
2768 change.
2769
99107004
KH
27702013-07-20 Kenichi Handa <handa@gnu.org>
2771
763a086d
JB
2772 * international/mule.el (coding-system-iso-2022-flags):
2773 Add `8-bit-level-4'. (Bug#8522)
99107004 2774
48494e06
LMI
27752013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2776
8ba8eec5
LMI
2777 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2778 (bug#14815).
2779
dfbc66e3
LMI
2780 * net/eww.el (eww-process-text-input): Allow inputting when the
2781 point is at the start of the line, as the properties aren't
2782 front-sticky.
2783
48494e06
LMI
2784 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2785 degenerate widths.
2786
77c92cb9
RS
27872013-07-19 Richard Stallman <rms@gnu.org>
2788
aec7da77
RS
2789 * epa.el (epa-popup-info-window): Doc fix.
2790
77c92cb9
RS
2791 * subr.el (split-string): New arg TRIM.
2792
945c5bb1
JB
27932013-07-18 Juanma Barranquero <lekktu@gmail.com>
2794
2795 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2796 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2797
e06ec67f
MA
27982013-07-18 Michael Albinus <michael.albinus@gmx.de>
2799
c7064f05 2800 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
2801 `file-notify-support'. Do not autoload. Adapt all uses.
2802 (file-notify-supported-p): New defun.
2803
c7064f05
JB
2804 * autorevert.el (auto-revert-use-notify):
2805 Use `file-notify-supported-p' instead of `file-notify-support'.
2806 Adapt docstring.
e06ec67f
MA
2807 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2808
2809 * net/tramp.el (tramp-file-name-for-operation):
2810 Add `file-notify-supported-p'.
2811
2812 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2813 New defun.
2814 (tramp-sh-file-name-handler-alist): Add it as handler for
2815 `file-notify-supported-p '.
2816
2817 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2818 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2819 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2820 Add `ignore' as handler for `file-notify-*' functions.
2821
5dc8a629
EZ
28222013-07-17 Eli Zaretskii <eliz@gnu.org>
2823
2824 * simple.el (line-move-partial, line-move): Don't start vscroll or
2825 scroll-up if the current line is not taller than the window.
2826 (Bug#14881)
2827
77aea2fb
DG
28282013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2829
2830 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2831 highlight question marks in the method names as strings.
ac72c08d
DG
2832 (ruby-block-beg-keywords): Inline.
2833 (ruby-font-lock-keyword-beg-re): Extract from
2834 `ruby-font-lock-keywords'.
77aea2fb 2835
18c26d81
JD
28362013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2837
2838 * frame.el (blink-cursor-blinks): New defcustom.
2839 (blink-cursor-blinks-done): New defvar.
2840 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2841 (blink-cursor-timer-function): Check if number of blinks has been
2842 done on X and NS.
2843 (blink-cursor-suspend, blink-cursor-check): New defuns.
2844
da48522e
GM
28452013-07-15 Glenn Morris <rgm@gnu.org>
2846
2847 * edmacro.el (edmacro-format-keys): Fix previous change.
2848
0463c1ef
PE
28492013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2850
2851 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2852 The hack didn't work outside English locales anyway.
2853
b43f6451
JB
28542013-07-15 Juanma Barranquero <lekktu@gmail.com>
2855
2856 * simple.el (define-alternatives): Rename from alternatives-define,
2857 per RMS' suggestion.
2858
b958c0ad
JB
28592013-07-14 Juanma Barranquero <lekktu@gmail.com>
2860
2861 * desktop.el (desktop-restore-frames): Change default to t.
2862 (desktop-restore-in-current-display): Now offer more options.
2863 (desktop-restoring-reuses-frames): New customization option.
2864 (desktop--saved-states): Doc fix.
2865 (desktop-filter-parameters-alist): New variable, renamed and expanded
2866 from desktop--excluded-frame-parameters.
2867 (desktop--target-display): New variable.
2868 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2869 (desktop--filter-tty*, desktop--filter-*-color)
2870 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2871 (desktop--filter-save-desktop-parm)
2872 (desktop-restore-in-original-display-p): New functions.
2873 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2874 (desktop--save-minibuffer-frames): New function, inspired by a similar
2875 function from Martin Rudalics.
2876 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2877 (desktop--restore-in-this-display-p): Remove.
2878 (desktop--find-frame): Rename from desktop--find-frame-in-display
2879 and add predicate argument.
2880 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2881 (desktop--reuse-list): New variable.
2882 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2883 New functions.
2884 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2885
f6dd8b36
MA
28862013-07-14 Michael Albinus <michael.albinus@gmx.de>
2887
2888 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2889
2ce3c565
DG
28902013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2891
763a086d
JB
2892 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2893 Highlight conversion methods on Kernel.
2ce3c565 2894
2cdb7698
AM
28952013-07-13 Alan Mackenzie <acm@muc.de>
2896
2897 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2898 and comment it out. This out-commenting enables certain C++
2899 declarations to be parsed correctly.
2900
1a67b811
EZ
29012013-07-13 Eli Zaretskii <eliz@gnu.org>
2902
1b796d6b
EZ
2903 * international/mule.el (define-coding-system): Doc fix.
2904
1a67b811
EZ
2905 * simple.el (default-font-height): Don't call font-info if the
2906 frame's default font didn't change since the frame was created.
2907 (Bug#14838)
2908
58fbe886
LL
29092013-07-13 Leo Liu <sdl.web@gmail.com>
2910
2911 * ido.el (ido-read-file-name): Guard against non-symbol value.
2912
1f0480d4
FEG
29132013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2914
2915 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2916 in nested defuns.
2917
97ead0e5
LL
29182013-07-13 Leo Liu <sdl.web@gmail.com>
2919
2920 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2921 ido-set-matches call. (Bug#6852)
2922
0880a952
DG
29232013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2924
2925 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2926 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2927 Ruby 2.0.
2928 (ruby-font-lock-keywords): Distinguish calls to functions with
2929 module-like names from module references. Highlight character
2930 literals.
2931
a7d8babb
SDJ
29322013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2933
2934 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 2935 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 2936
acfcc8c5
JB
29372013-07-12 Juanma Barranquero <lekktu@gmail.com>
2938
2939 * desktop.el (desktop--v2s): Remove unused local variable.
2940 (desktop-save-buffer): Make defvar-local; adjust docstring.
2941 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2942 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2943
051f2775
AS
29442013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2945
2946 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2947
f24e7572
GM
29482013-07-12 Eli Zaretskii <eliz@gnu.org>
2949
2950 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2951 (Bug#14842)
2952
539a920c
GM
29532013-07-12 Glenn Morris <rgm@gnu.org>
2954
2955 * doc-view.el: Require cl-lib at runtime too.
2956 (doc-view-remove-if): Remove.
2957 (doc-view-search-next-match, doc-view-search-previous-match):
2958 Use cl-remove-if.
2959
2960 * edmacro.el: Require cl-lib at runtime too.
2961 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2962 (edmacro-mismatch, edmacro-subseq): Remove.
2963
2964 * shadowfile.el: Require cl-lib.
2965 (shadow-remove-if): Remove.
2966 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2967 Use cl-remove-if.
2968
2969 * wid-edit.el: Require cl-lib.
2970 (widget-choose): Use cl-remove-if.
2971 (widget-remove-if): Remove.
2972
2973 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2974 (ebrowse-delete-if-not): Remove.
2975 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2976 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2977 Use cl-delete-if-not.
2978
1048af7c
JB
29792013-07-12 Juanma Barranquero <lekktu@gmail.com>
2980
2981 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2982 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2983
6c0674ee
LL
29842013-07-12 Leo Liu <sdl.web@gmail.com>
2985
2986 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2987
a19b3c2d
GM
29882013-07-11 Glenn Morris <rgm@gnu.org>
2989
4582a01c
GM
2990 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2991 (edebug-gensym-index, edebug-gensym):
2992 Remove reimplementation of cl-gensym.
2993 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2994
2995 * thumbs.el: Require cl-lib at run-time too.
2996 (thumbs-gensym-counter, thumbs-gensym):
2997 Remove reimplementation of cl-gensym.
2998 (thumbs-temp-file): Use cl-gensym.
2999
a19b3c2d
GM
3000 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3001 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3002 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3003 (ert--union, ert--gensym-counter, ert--gensym-counter)
3004 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3005 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3006 (ert-make-test-unbound, ert--expand-should-1)
3007 (ert--expand-should, ert--should-error-handle-error)
3008 (should-error, ert--explain-equal-rec)
3009 (ert--plist-difference-explanation, ert-select-tests)
3010 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3011 Use cl-lib functions rather than reimplementations.
3012
88f6a933
MA
30132013-07-11 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * net/tramp.el (tramp-methods): Extend docstring.
3016 (tramp-connection-timeout): New defcustom.
3017 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3018 (with-tramp-progress-reporter): Simplify.
3019 (tramp-process-actions): Improve messages.
3020
3021 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3022 * net/tramp-sh.el (tramp-maybe-open-connection):
3023 Use `tramp-connection-timeout'.
3024 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3025 (Bug#14808)
3026
a43d577e
LL
30272013-07-11 Leo Liu <sdl.web@gmail.com>
3028
3029 * ido.el (ido-read-file-name): Conform to the requirements of
3030 read-file-name. (Bug#11861)
3031 (ido-read-directory-name): Conform to the requirements of
3032 read-directory-name.
3033
d77974bf
JB
30342013-07-11 Juanma Barranquero <lekktu@gmail.com>
3035
3036 * subr.el (delay-warning): New function.
3037
35cb8a3e
EZ
30382013-07-10 Eli Zaretskii <eliz@gnu.org>
3039
3040 * simple.el (default-line-height): New function.
3041 (line-move-partial, line-move): Use it instead of computing the
3042 line height inline.
3043 (line-move-partial): Always compute ROWH. If the last line is
3044 partially-visible, but its text is completely visible, allow
3045 cursor to enter such a partially-visible line.
3046
525c5c77
MA
30472013-07-10 Michael Albinus <michael.albinus@gmx.de>
3048
3049 Improve error messages. (Bug#14808)
3050
3051 * net/tramp.el (tramp-current-connection): New defvar, moved from
3052 tramp-sh.el.
0ac26976 3053 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3054 needed anymore.
0ac26976
SM
3055 (tramp-error-with-buffer): Show message in minibuffer.
3056 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3057 (with-tramp-progress-reporter): Improve messages.
3058 (tramp-process-actions): Use progress reporter. Delete process in
3059 case of error. Improve messages.
3060
763a086d
JB
3061 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3062 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3063 (tramp-current-connection): Remove.
525c5c77
MA
3064 (tramp-maybe-open-connection): The car of
3065 `tramp-current-connection' are the first 3 slots of the vector.
3066
c7a4d368
TZ
30672013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3068
3069 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3070 inside continued strings.
3071
954b166e
PE
30722013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3073
3074 Timestamp fixes for undo (Bug#14824).
3075 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3076
56973319
LL
30772013-07-10 Leo Liu <sdl.web@gmail.com>
3078
3079 * files.el (require-final-newline): Allow safe local value.
3080 (Bug#14834)
3081
5550a72c
LL
30822013-07-09 Leo Liu <sdl.web@gmail.com>
3083
3084 * ido.el (ido-read-directory-name): Handle fallback.
3085 (ido-read-file-name): Update DIR to ido-current-directory.
3086 (Bug#1516)
c28b9050 3087 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3088
70c46b28
DG
30892013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3090
3091 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3092 "autoload". Remove "warn lower camel case" section, previously
3093 commented out. Highlight negation char. Do not highlight the
3094 target in singleton method definitions.
3095
0b64b838
SM
30962013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3097
7fd72e2c
SM
3098 * faces.el (tty-setup-hook): Declare the hook.
3099
0b64b838
SM
3100 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3101 and detect when a guard/pred depends on local vars (bug#14773).
3102 (pcase--u1): Adjust caller.
3103
ab49d60b
EZ
31042013-07-08 Eli Zaretskii <eliz@gnu.org>
3105
3106 * simple.el (line-move-partial, line-move): Account for
3107 line-spacing.
701d79aa
EZ
3108 (line-move-partial): Avoid setting vscroll when the last
3109 partially-visible line in window is of default height.
ab49d60b 3110
2d756ae0
LMI
31112013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3112
3113 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3114 been used a while.
3115
ed095bd7
JB
31162013-07-07 Juanma Barranquero <lekktu@gmail.com>
3117
3118 * subr.el (read-quoted-char): Remove unused local variable `char'.
3119
f1e6674b
MK
31202013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3121
584ee3fc
GM
3122 * ediff.el (ediff-version): Version update.
3123 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3124 (ediff-merge-with-ancestor-command, ediff-directories-command)
3125 (ediff-directories3-command, ediff-merge-directories-command)
3126 (ediff-merge-directories-with-ancestor-command): New functions.
3127 All are command-line interfaces to ediff: to facilitate calling
3128 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3129
3130 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3131 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3132
584ee3fc
GM
3133 * viper.el (viper-version): Version update.
3134 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3135
584ee3fc
GM
31362013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3139 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3140 (viper-intercept-ESC-key): Simplify.
3141 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3142 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3143 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3144 (viper-setup-ESC-to-escape): New functions.
3145 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3146 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3147
9aff9b38
EZ
31482013-07-07 Eli Zaretskii <eliz@gnu.org>
3149
5165d44a
JB
3150 * simple.el (default-font-height, window-screen-lines):
3151 New functions.
9aff9b38
EZ
3152 (line-move, line-move-partial): Use them instead of
3153 frame-char-height and window-text-height. This makes scrolling
3154 text smoother when the buffer's default face uses a font that is
3155 different from the frame's default font.
3156
1afb1d07
JD
31572013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3158
3159 * files.el (write-file): Do not display confirm dialog for NS,
3160 it does its own dialog, which can't be cancelled (Bug#14578).
3161
23de972a
EZ
31622013-07-06 Eli Zaretskii <eliz@gnu.org>
3163
3164 * simple.el (line-move-partial): Adjust the row returned by
3165 posn-at-point for the current window-vscroll. (Bug#14567)
3166
54a42486
MA
31672013-07-06 Michael Albinus <michael.albinus@gmx.de>
3168
3169 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3170 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3171 spaces.
3172
34ada5f4
MR
31732013-07-06 Martin Rudalics <rudalics@gmx.at>
3174
3175 * window.el (window-state-put-stale-windows): New variable.
3176 (window--state-put-2): Save list of windows without matching buffer.
3177 (window-state-put): Remove "bufferless" windows if possible.
3178
11e03d89
JB
31792013-07-06 Juanma Barranquero <lekktu@gmail.com>
3180
3181 * simple.el (alternatives-define): Remove leftover :group keyword.
3182 Tweak docstring.
3183
3504a4be
LL
31842013-07-06 Leo Liu <sdl.web@gmail.com>
3185
3186 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3187 (ido-enable-virtual-buffers): New variable.
3188 (ido-buffer-internal, ido-toggle-virtual-buffers)
3189 (ido-make-buffer-list): Use it.
3190 (ido-exhibit): Support turning on and off virtual buffers
3191 automatically.
3192
61e56e2c
JB
31932013-07-06 Juanma Barranquero <lekktu@gmail.com>
3194
3195 * simple.el (alternatives-define): New macro.
3196
321e1a9c
SM
31972013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * subr.el (read-quoted-char): Use read-key.
3200 (sit-for): Let read-event decode tty input (bug#14782).
3201
d610f6dd
SB
32022013-07-05 Stephen Berman <stephen.berman@gmx.net>
3203
3204 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3205 mode command and externally. Fix various related bugs.
3206 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3207 (todo-delete-file): New command.
3208 (todo-check-file): New function.
3209 (todo-show): Handle external deletion of the file we're trying to
3210 show (bug#14688). Replace called-interactively-p by an optional
3211 prefix argument to avoid problematic interaction with catch form
3212 when byte compiled (bug#14702).
3213 (todo-quit): Handle external deletion of the archive's todo file.
3214 Make sure the buffer that was visiting the archive file is still
3215 live before trying to bury it.
3216 (todo-category-completions): Handle external deletion of any
3217 category completion files.
3218 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3219 of todo files, in case of external deletion.
3220 (todo-add-file): Replace unnecessary setq by let-binding.
3221 (todo-find-archive): Check whether there are any archives.
3222 Replace unnecessary setq by let-binding.
3223 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3224 archive buffer whether or not the archive already exists.
3225 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3226 check if the archive is new; if it is, update list of archives.
3227 (todo-default-todo-file): Allow nil to be a valid value for when
3228 there are no todo files.
3229 (todo-reevaluate-default-file-defcustom): Use corrected definition
3230 of todo-default-todo-file.
3231 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3232 (todo-delete-category, todo-show-categories-table)
3233 (todo-category-number): Clarify comment.
3234 (todo-filter-items): Clarify documentation string.
3235 (todo-show-current-file, todo-display-as-todo-file)
3236 (todo-reset-and-enable-done-separator): Tweak documentation string.
3237 (todo-done-separator): Make separator length window-width, since
3238 bug#2749 is now fixed.
3239
ddbdfd6f
MA
32402013-07-05 Michael Albinus <michael.albinus@gmx.de>
3241
321e1a9c
SM
3242 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3243 Support both "gvfs-monitor-dir" and "inotifywait".
3244 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3245 `tramp-sh-file-notify-process-filter'.
3246 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3247 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3248
96eb829a
LL
32492013-07-05 Leo Liu <sdl.web@gmail.com>
3250
3251 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3252
cf13177e
YM
32532013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3254
3255 * frame.el (display-pixel-height, display-pixel-width)
3256 (display-mm-height, display-mm-width): Mention behavior on
3257 multi-monitor setups in docstrings.
3258 (w32-display-monitor-attributes-list): Declare function.
3259 (display-monitor-attributes-list): Use it.
3260
864c58ca
MA
32612013-07-04 Michael Albinus <michael.albinus@gmx.de>
3262
3263 * filenotify.el: New package.
3264
3265 * autorevert.el (top): Require filenotify.el.
3266 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3267 instead.
3268 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3269 (auto-revert-notify-handler): Use `file-notify-*' functions.
3270
3271 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3272
321e1a9c
SM
3273 * net/tramp.el (tramp-file-name-for-operation):
3274 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3275
3276 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3277 for `file-notify-add-watch' and `file-notify-rm-watch'.
3278 (tramp-process-sentinel): Improve trace.
3279 (tramp-sh-handle-file-notify-add-watch)
3280 (tramp-sh-file-notify-process-filter)
3281 (tramp-sh-handle-file-notify-rm-watch)
3282 (tramp-get-remote-inotifywait): New defuns.
3283
96673afe
JL
32842013-07-03 Juri Linkov <juri@jurta.org>
3285
3286 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3287 call of `occur-read-primary-args' to interactive spec.
3288
3289 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3290 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3291
924494f4
MM
32922013-07-03 Matthias Meulien <orontee@gmail.com>
3293
3294 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3295 `Buffer-menu-multi-occur'. Add it to the menu.
3296 (Buffer-menu-mode): Document it in docstring.
3297 (Buffer-menu-multi-occur): New command. (Bug#14673)
3298
56f75efc
DG
32992013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3300
3301 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3302 keywords and built-ins.
3303
9b057d61
GM
33042013-07-03 Glenn Morris <rgm@gnu.org>
3305
208dee4d
GM
3306 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3307
9b057d61
GM
3308 Make info-xref checks case-sensitive by default
3309 * info.el (Info-find-node, Info-find-in-tag-table)
3310 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3311 Add option for exact case matching of nodes.
3312 * info-xref.el (info-xref): New custom group.
3313 (info-xref-case-fold): New option.
3314 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3315
e01aa29c
LL
33162013-07-03 Leo Liu <sdl.web@gmail.com>
3317
3318 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3319
3086ca2e
DG
33202013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3321
3322 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3323 middle of block statement initially, lower the depth. Remove
3324 FIXME comment, not longer valid. Remove middle of block statement
3325 detection, no need to do that anymore since we've been using
3326 `ruby-parse-region' here.
3327
a3b49114
JD
33282013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3329
3330 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3331
08e5c823 33322013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3333
3334 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3335
2addf922
JB
33362013-07-01 Juanma Barranquero <lekktu@gmail.com>
3337
3338 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3339 (desktop-restore-in-current-display): New customization option.
3340 (desktop--excluded-frame-parameters): Add `font'.
3341 (desktop--save-frames): Rename from desktop--save-windows.
3342 (desktop--restore-in-this-display-p): New function.
3343 (desktop--make-full-frame): Remove unwanted width/height from
3344 full(width|height) frames.
3345 (desktop--restore-frames): Rename from desktop--restore-windows.
3346 Obey desktop-restore-current-display. Do not delete old frames or
3347 select a new frame unless we were able to restore at least one frame.
3348
ef099a94
MN
33492013-06-30 Michal Nazarewicz <mina86@mina86.com>
3350
3351 * files.el (find-file-noselect): Simplify conditional expression.
3352
3353 * remember.el (remember-append-to-file):
3354 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3355
3356 Add `remember-notes' function to store random notes across Emacs
3357 restarts.
3358 * remember.el (remember-data-file): Add :set callback to affect
3359 notes buffer (if any).
3360 (remember-notes): New command.
3361 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3362 New defcustoms for the `remember-notes' function.
3363 (remember-notes-save-and-bury-buffer): New command.
3364 (remember-notes-mode-map): New variable.
3365 (remember-mode): New minor mode.
3366 (remember-notes--kill-buffer-query): New function.
3367 * startup.el (initial-buffer-choice): Add notes to custom type.
3368
0865d506
EZ
33692013-06-30 Eli Zaretskii <eliz@gnu.org>
3370
0ba54312
EZ
3371 * bindings.el (right-char, left-char): Don't call sit-for, this is
3372 no longer needed. Use arithmetic comparison only for numerical
3373 arguments.
3374
ef099a94
MN
3375 * international/mule-cmds.el (select-safe-coding-system):
3376 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3377
2fae38e5
LMI
33782013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3379
3380 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3381 progression on degenerate tables.
ef099a94 3382 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3383
a47cbd64
JB
33842013-06-30 Juanma Barranquero <lekktu@gmail.com>
3385
3386 Some fixes and improvements for desktop frame restoration.
3387 It is still experimental and disabled by default.
3388 * desktop.el (desktop--save-windows): Put the selected frame at
3389 the head of the list.
3390 (desktop--make-full-frame): New function.
3391 (desktop--restore-windows): Try to re-select the frame that was
3392 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3393 just show an error message and continue. Set up maximized frames
3394 so they have default non-maximized dimensions.
a47cbd64 3395
6dbafa30
DG
33962013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3397
ef099a94
MN
3398 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3399 Don't start heredoc inside a string or comment.
6dbafa30 3400
4c672a0f
EZ
34012013-06-29 Eli Zaretskii <eliz@gnu.org>
3402
3403 * bindings.el (visual-order-cursor-movement): New defcustom.
3404 (right-char, left-char): Provide visual-order cursor motion by
3405 calling move-point-visually. Update the doc strings.
3406
50960f36
KH
34072013-06-28 Kenichi Handa <handa@gnu.org>
3408
3409 * international/mule.el (define-coding-system): New coding system
3410 properties :inhibit-null-byte-detection,
3411 :inhibit-iso-escape-detection, and :prefer-utf-8.
3412 (set-buffer-file-coding-system): If :charset-list property of
3413 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3414 appropriate for setting.
3415
c1ea3abf
JB
3416 * international/mule-cmds.el (select-safe-coding-system):
3417 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3418 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3419
3420 * international/mule-conf.el (prefer-utf-8): New coding system.
3421 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3422 files.
3423
75dbaf9d
IK
34242013-06-28 Ivan Kanis <ivan@kanis.fr>
3425
eadb6068
IK
3426 * net/shr.el (shr-render-region): New function.
3427
75dbaf9d
IK
3428 * net/eww.el: Autoload `eww-browse-url'.
3429
9ea5cf9f
DG
34302013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3431
c1ea3abf
JB
3432 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3433 Adapt to `package-desc-version' being a list.
3434 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3435 archive element.
3436
39c0e36f
JB
34372013-06-27 Juanma Barranquero <lekktu@gmail.com>
3438
3439 New experimental feature to save&restore window and frame setup.
3440 * desktop.el (desktop-save-windows): New defcustom.
3441 (desktop--saved-states): New var.
3442 (desktop--excluded-frame-parameters): New defconst.
3443 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3444 (desktop--restore-windows, desktop--save-windows): New functions.
3445 (desktop-save): Call `desktop--save-windows'.
3446 (desktop-read): Call `desktop--restore-windows'.
3447
7f13406b
LMI
34482013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3449
ef099a94 3450 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3451
1e072639
SB
34522013-06-27 Stephen Berman <stephen.berman@gmx.net>
3453
3454 * info.el (Info-try-follow-nearest-node): Move search for footnote
3455 above search for node name to prevent missing a footnote (bug#14717).
3456
f3e2cbde
SB
34572013-06-27 Stephen Berman <stephen.berman@gmx.net>
3458
3459 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3460
99906aa0
LL
34612013-06-27 Leo Liu <sdl.web@gmail.com>
3462
3463 * net/eww.el (eww-read-bookmarks): Check file size.
3464
539f75f4
SM
34652013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3468 advice--pending if newdef is nil or an autoload (bug#13820).
3469 (advice-mapc): New function.
3470
843571cb
LMI
34712013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3472
3473 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3474 probably.
23a75d7f 3475 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3476 (eww-add-bookmark): New command.
3477 (eww-bookmark-mode): New mode and commands.
a285ce99 3478 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3479 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3480
f2136e1e
GM
34812013-06-26 Glenn Morris <rgm@gnu.org>
3482
eab35f39
GM
3483 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3484 (hfy-size): Handle ttys. (Bug#14668)
3485
f2136e1e
GM
3486 * info-xref.el: Update for Texinfo 5 change in *note format.
3487 (info-xref-node-re, info-xref-note-re): New constants.
3488 (info-xref-check-buffer): Use info-xref-note-re.
3489
a49ff80c
SM
34902013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3491
a343d218
SM
3492 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3493
a49ff80c
SM
3494 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3495 nil terminate the loop (bug#14718).
3496
8308f184
LMI
34972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3498
3499 * net/eww.el: Rework history traversal. When going forward/back,
3500 put these actions into the history, too, so that they can be
3501 replayed.
26bf2b82 3502 (eww-render): Move the history reset to the correct buffer.
8308f184 3503
ec64c273
JL
35042013-06-25 Juri Linkov <juri@jurta.org>
3505
3506 * files-x.el (modify-dir-local-variable): Change the header comment
3507 in the file with directory local variables. (Bug#14692)
3508
e080a9d7
JL
3509 * files-x.el (read-file-local-variable-value): Add `default'.
3510 (Bug#14710)
3511
bfbc93a1
IK
35122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3513
3514 * net/eww.el (eww-make-unique-file-name): Create a unique file
3515 name before saving to entering `y' accidentally asynchronously.
3516
35172013-06-25 Ivan Kanis <ivan@kanis.fr>
3518
3519 * net/eww.el (eww-download): New command and keystroke.
3520
16f74f10
LMI
35212013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3522
a49ff80c 3523 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
3524
3525 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3526 be more consistent with Info and dired.
3527
3528 * net/eww.el (eww-mode-map): Ditto.
3529
12059709
SM
35302013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3533 packages from archives.
3534 (package-archive-contents): Change format; include obsolete packages.
3535 (package-desc): Use `dir' to mark builtin packages.
3536 (package--from-builtin): Set the `dir' field to `builtin'.
3537 (generated-autoload-file, version-control): Declare.
3538 (package-compute-transaction): Change first arg and return value to be
3539 lists of package-descs. Adjust to new package-archive-contents format.
3540 (package--add-to-archive-contents): Adjust to new
3541 package-archive-contents format.
3542 (package-download-transaction): Arg is now a list of package-descs.
3543 (package-install): If `pkg' is a package name, pass it as
3544 a requirement, so it is subject to the usual (e.g. disabled) checks.
3545 (describe-package): Accept package-desc as well.
3546 (describe-package-1): Describe a specific package-desc. Add links to
3547 other package-descs for the same package name.
3548 (package-menu-describe-package): Pass the actual package-desc.
3549 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3550 works correctly.
3551 (package-desc-status): New function.
3552 (package-menu--refresh): New function, extracted
3553 from package-menu--generate.
3554 (package-menu--generate): Use it.
3555 (package-delete): Update package-alist.
3556 (package-menu-execute): Don't call package-initialize.
3557
3558 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3559 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3560 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3561 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3562 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3563 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3564
8bbdea0f
MR
35652013-06-25 Martin Rudalics <rudalics@gmx.at>
3566
3567 * window.el (window--state-get-1): Workaround for bug#14527.
3568 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3569
e82b0991
LMI
35702013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3571
3572 * net/eww.el (eww-back-url): Implement the history by stashing all
3573 the data into a list.
d3f0f918 3574 (eww-forward-url): Allow going forward in the history, too.
e82b0991 3575
c763842b
SM
35762013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3579 for values and use read--expression for expressions (bug#14710).
3580 (read-file-local-variable): Avoid setq.
3581 (read-file-local-variable-mode): Use minor-mode-list.
3582
bceff189
RW
35832013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3584
864c58ca 3585 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
3586 for DOI URLs.
3587
45f431c6
RW
35882013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3589
864c58ca 3590 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
3591 Update imenu-support when dialect changes.
3592
f42d8237
LL
35932013-06-25 Leo Liu <sdl.web@gmail.com>
3594
3595 * ido.el (ido-read-internal): Allow forward slash on windows.
3596
be549ce6
LMI
35972013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3598
3599 * net/eww.el (eww): Start of strings is \\`, not ^.
3600
71d4c19d
IK
36012013-06-24 Ivan Kanis <ivan@kanis.fr>
3602
5196f88a
IK
3603 * net/shr.el (shr-browse-url): Fix interactive spec.
3604
71d4c19d
IK
3605 * net/eww.el (eww): Add a trailing slash to domain names.
3606
ae36ca55
JB
36072013-06-24 Juanma Barranquero <lekktu@gmail.com>
3608
3609 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3610
0ebd92a3
LMI
36112013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3612
bdaa086b
LMI
3613 * net/shr.el (shr-browse-url): Use an external browser if given a
3614 prefix.
3615
c763842b 3616 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 3617
b89fc156
IK
36182013-06-24 Ivan Kanis <ivan@kanis.fr>
3619
3620 * net/eww.el (eww): Work more correctly for file: URLs.
3621 (eww-detect-charset): Allow quoted charsets.
3622 (eww-yank-page-url): New command and keystroke.
3623
18eb4bca
DU
36242013-06-24 Daiki Ueno <ueno@gnu.org>
3625
3626 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3627 file name of gpg executable.
3628 (epg-context-program): New function.
3629 (epg-context-home-directory): New function.
3630 (epg-context-set-program): New function.
3631 (epg-context-set-home-directory): New function.
3632 (epg--start): Use `epg-context-program' instead of
3633 'epg-gpg-program'.
3634 (epg--list-keys-1): Likewise.
3635
6c6268c8
LL
36362013-06-24 Leo Liu <sdl.web@gmail.com>
3637
3638 * ido.el (ido-read-internal): Fix bug#14620.
3639
5e400cb3
JB
36402013-06-23 Juanma Barranquero <lekktu@gmail.com>
3641
3642 * faces.el (face-documentation): Simplify.
3643 (read-face-attribute, tty-find-type, x-resolve-font-name):
3644 Use `string-match-p'.
3645 (list-faces-display): Use `string-match-p'. Simplify.
3646 (face-spec-recalc): Check face to avoid face alias loops.
3647 (read-color): Use `string-match-p' and non-capturing parenthesis.
3648
f3f9606c
LMI
36492013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3650
3651 * net/shr.el (shr-rescale-image): Use the new
3652 :max-width/:max-height functionality.
3653
a3ca09b9
IK
36542013-06-23 Ivan Kanis <ivan@kanis.fr>
3655
3656 * net/eww.el (eww-search-prefix): New variable.
3657 (eww): Use it.
f865b474
IK
3658 (eww-external-browser): New variable.
3659 (eww-mode-map): New keystroke.
3660 (eww-browse-with-external-browser): New command.
a3ca09b9 3661
e854cfc7
IK
3662 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3663
18bb9e21
JB
36642013-06-23 Juanma Barranquero <lekktu@gmail.com>
3665
3666 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3667 Don't skip aligning the next header field when padding is 0;
3668 otherwise, field width is not respected unless the title is as
3669 wide as the field.
3670
5b165ade
SM
36712013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * emacs-lisp/package.el (package-el-version): Remove.
3674 (package-process-define-package): Fix inf-loop.
3675 (package-install): Allow symbols as arguments again.
3676
12adebe9
DG
36772013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3678
3679 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3680 add some more keyword-like methods.
3681 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3682
388573ee
JB
36832013-06-22 Juanma Barranquero <lekktu@gmail.com>
3684
3685 * bs.el (bs-buffer-show-mark): Make defvar-local.
3686 (bs-mode): Use setq-local.
3687
3688 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3689 (emacs-lock--try-unlocking): Make defvar-local.
3690
4582a01c 36912013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 3692
2663dd23
GM
3693 * play/cookie1.el (cookie-apropos): Minor simplification.
3694
3d94f3ad
GM
3695 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3696
f72e2fdb
DG
36972013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3698
3699 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3700 `regexp-opt', it breaks the build during dumping.
3701
73eab938
DG
37022013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3703
c763842b
SM
3704 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3705 Highlight keyword-like methods on Kernel and Module with
73eab938 3706 font-lock-builtin-face.
5cf8176d
DG
3707 (auto-mode-alist): Consolidate different entries into one regexp
3708 and add more *file-s.
73eab938 3709
d26255f6
SB
37102013-06-21 Stephen Berman <stephen.berman@gmx.net>
3711
3712 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3713
3714 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3715 (diary-entry): Use it in the action of this button type instead of
3716 diary-goto-entry.
3717
3718 * calendar/todo-mode.el: New version.
3719 (todo-add-category): Append new category to end of file and give
3720 it the highest number, instead of putting it at the beginning and
3721 giving it 0. Incorporate noninteractive functionality.
3722 (todo-forward-category): Adapt to 1-based category numbering.
3723 Allow skipping over archived categories.
3724 (todo-backward-category): Derive from todo-forward-category.
3725 (todo-backward-item, todo-forward-item): Make noninteractive and
3726 delegate interactive part to new commands. Make sensitive to done items.
3727 (todo-categories): Make value an alist of category names and
3728 vectors of item counts.
3729 (todo-category-beg): Make a defconst.
3730 (todo-category-number): Use 1 instead of 0 as initial value.
3731 (todo-category-select): Make sensitive to overlays, optional item
3732 highlighting and done items.
3733 (todo-delete-item): Make sensitive to overlays and marked and done items.
3734 (todo-edit-item): Make sensitive to overlays and editing of
3735 date/time header optional. Add format checks.
3736 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3737 no-op if point is not on an item. Advertise using todo-edit-quit.
3738 (todo-edit-mode): Make sensitive to new format, font-locking, and
3739 multiple todo files.
3740 (todo-insert-item, todo-insert-item-here): Derive from
3741 todo-basic-insert-item and extend functionality.
3742 (todo-item-end, todo-item-start): Make sensitive to done items.
3743 (todo-item-string): Don't return text properties. Restore point.
3744 (todo-jump-to-category): Make sensitive to multiple todo files and
3745 todo archives. Use extended category completion.
3746 (todo-lower-item, todo-raise-item): Rename to *-priority and
3747 derive from todo-set-item-priority.
3748 (todo-mode): Derive from special-mode. Make sensitive to new
3749 format, font-locking and multiple todo files. Make read-only.
3750 (todo-mode-map): Don't suppress digit keys, so they can supply
3751 prefix arguments. Add many new key bindings.
3752 (todo-prefix): Insert as an overlay instead of file text.
3753 Change semantics from diary date expression to purely visual mark.
3754 (todo-print): Rename to todo-print-buffer. Make buffer display
3755 features printable. Remove option to restrict number of items
3756 printed. Add option to print to file.
3757 (todo-print-function): Rename to todo-print-buffer-function.
3758 (todo-quit): Extend to handle exiting new todo modes.
3759 (todo-remove-item): Make sensitive to overlays.
3760 (todo-save): Extend to buffers of filtered items.
3761 (todo-show): Make sensitive to done items, multiple todo files and
3762 new todo modes. Offer to convert legacy todo file before creating
3763 first new todo file.
3764 (todo-show-priorities): Rename to todo-top-priorities.
3765 Change semantics of value 0.
3766 (todo-top-priorities): Rename to todo-filter-top-priorities,
3767 derive from todo-filter-items and extend functionality.
3768 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3769 and extend functionality to other types of filtered items.
3770 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3771 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3772 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3773 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3774 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3775 (todo-edit-mode-hook, todo-entry-prefix-function)
3776 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3777 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3778 (todo-initials, todo-insert-threshold, todo-item-string-start)
3779 (todo-line-string, todo-menu, todo-mode-hook)
3780 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3781 (todo-print-priorities, todo-remove-separator)
3782 (todo-save-top-priorities-too, todo-string-count-lines)
3783 (todo-string-multiline-p, todo-time-string-format)
3784 (todo-tmp-buffer-name): Remove.
3785 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3786 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3787 (todo-edit-category-diary-inclusion)
3788 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3789 (todo-edit-file, todo-edit-item-date-day)
3790 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3791 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3792 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3793 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3794 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3795 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3796 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3797 (todo-filter-top-priorities-multifile, todo-find-archive)
3798 (todo-find-filtered-items-file, todo-go-to-source-item)
3799 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3800 (todo-jump-to-archive-category, todo-lower-category)
3801 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3802 (todo-move-category, todo-move-item, todo-next-button)
3803 (todo-next-item, todo-padded-string, todo-powerset)
3804 (todo-previous-button, todo-previous-item)
3805 (todo-print-buffer-to-file, todo-raise-category)
3806 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3807 (todo-set-category-number, todo-set-item-priority)
3808 (todo-set-top-priorities-in-category)
3809 (todo-set-top-priorities-in-file, todo-show-categories-table)
3810 (todo-sort-categories-alphabetically-or-numerically)
3811 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3812 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3813 (todo-toggle-item-header, todo-toggle-item-highlighting)
3814 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3815 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3816 (todo-unarchive-items, todo-unmark-category): New commands.
3817 (todo-absolute-file-name, todo-add-to-buffer-list)
3818 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3819 (todo-basic-insert-item, todo-category-completions)
3820 (todo-category-number, todo-category-string-matcher-1)
3821 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3822 (todo-check-format, todo-clear-matches)
3823 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3824 (todo-current-category, todo-date-string-matcher)
3825 (todo-define-insertion-command, todo-diary-expired-matcher)
3826 (todo-diary-goto-entry, todo-diary-item-p)
3827 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3828 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3829 (todo-done-item-section-p, todo-done-separator)
3830 (todo-done-string-matcher, todo-files, todo-filter-items)
3831 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3832 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3833 (todo-insert-category-line, todo-insert-item-from-calendar)
3834 (todo-insert-sort-button, todo-insert-with-overlays)
3835 (todo-insertion-command-name, todo-insertion-key-bindings)
3836 (todo-label-to-key, todo-longest-category-name-length)
3837 (todo-make-categories-list, todo-mode-external-set)
3838 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3839 (todo-modes-set-3, todo-multiple-filter-files)
3840 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3841 (todo-read-category, todo-read-date, todo-read-dayname)
3842 (todo-read-file-name, todo-read-time)
3843 (todo-reevaluate-category-completions-files-defcustom)
3844 (todo-reevaluate-default-file-defcustom)
3845 (todo-reevaluate-filelist-defcustoms)
3846 (todo-reevaluate-filter-files-defcustom)
3847 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3848 (todo-reset-done-separator, todo-reset-done-separator-string)
3849 (todo-reset-done-string, todo-reset-global-current-todo-file)
3850 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3851 (todo-reset-prefix, todo-set-categories)
3852 (todo-set-date-from-calendar, todo-set-show-current-file)
3853 (todo-set-top-priorities, todo-short-file-name)
3854 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3855 (todo-total-item-counts, todo-update-buffer-list)
3856 (todo-update-categories-display, todo-update-categories-sexp)
3857 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3858 New functions.
3859 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3860 New major modes.
3861 (todo-categories, todo-display, todo-edit, todo-faces)
3862 (todo-filtered): New defgroups.
3863 (todo-archived-only, todo-button, todo-category-string, todo-date)
3864 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3865 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3866 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3867 (todo-add-item-if-new-category, todo-always-add-time-string)
3868 (todo-categories-align, todo-categories-archived-label)
3869 (todo-categories-category-label, todo-categories-diary-label)
3870 (todo-categories-done-label, todo-categories-number-separator)
3871 (todo-categories-todo-label, todo-categories-totals-label)
3872 (todo-category-completions-files, todo-completion-ignore-case)
3873 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3874 (todo-done-separator-string, todo-done-string)
3875 (todo-files-function, todo-filter-done-items, todo-filter-files)
3876 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3877 (todo-initial-category, todo-initial-file, todo-item-mark)
3878 (todo-legacy-date-time-regexp, todo-mode-line-function)
3879 (todo-nondiary-marker, todo-number-prefix)
3880 (todo-print-buffer-function, todo-show-current-file)
3881 (todo-show-done-only, todo-show-first, todo-show-with-done)
3882 (todo-skip-archived-categories, todo-top-priorities-overrides)
3883 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3884 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3885 New defcustoms.
3886 (todo-category-done, todo-date-pattern, todo-date-string-start)
3887 (todo-diary-items-buffer, todo-done-string-start)
3888 (todo-filtered-items-buffer, todo-item-start)
3889 (todo-month-abbrev-array, todo-month-name-array)
3890 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3891 (todo-top-priorities-buffer): New defconsts.
3892 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3893 (todo-categories-with-marks, todo-category-string-face)
3894 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3895 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3896 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3897 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3898 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3899 (todo-font-lock-keywords, todo-global-current-todo-file)
3900 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3901 (todo-insertion-commands-args)
3902 (todo-insertion-commands-args-genlist)
3903 (todo-insertion-commands-names, todo-insertion-map)
3904 (todo-key-bindings-t, todo-key-bindings-t+a)
3905 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3906 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3907 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3908 (todo-visited): New variables.
3909
cad5d1cb
GM
39102013-06-21 Glenn Morris <rgm@gnu.org>
3911
3912 * play/cookie1.el (cookie-apropos): Add optional display argument.
3913 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3914 (psychoanalyze-pinhead): Use cookie-doctor.
3915
9e277302
JB
39162013-06-21 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * emacs-lisp/package.el (tar-get-file-descriptor)
3919 (tar--extract): Declare.
3920
c5b0993e
EW
39212013-06-21 Eduard Wiebe <usenet@pusto.de>
3922
3923 Extend flymake's warning predicate to be a function (bug#14217).
3924 * progmodes/flymake.el (flymake-warning-predicate): New.
3925 (flymake-parse-line): Use it.
3926 (flymake-warning-re): Make obsolete alias to
3927 `flymake-warning-predicate'.
3928
a7d2d465
SM
39292013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3932 (package-obsolete-list): Remove.
3933 (package-activate): Remove min-version argument. Add `force' argument.
3934 Adjust to new package-alist format.
3935 (package-mark-obsolete): Remove.
3936 (package-unpack): Force reload of the package's autoloads.
3937 (package-installed-p): Check builtins if the installed package is not
3938 recent enough.
3939 (package-initialize): Don't reset package-obsolete-list.
3940 Don't specify which package version to activate.
3941 (package-process-define-package, describe-package-1)
3942 (package-menu--generate): Adjust to new package-alist format.
3943
cedf5c9d
JB
39442013-06-21 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * allout-widgets.el (allout-widgets-mode-off)
3947 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3948 (allout-widgets-post-command-business)
3949 (allout-widgets-after-copy-or-kill-function)
3950 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3951 (allout-decorate-item-and-context)
3952 (allout-graphics-modification-handler): Fix typos in docstrings.
3953 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3954
3955 * cmuscheme.el (scheme-start-file): Doc fix.
3956 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3957 (scheme-input-filter): Use `string-match-p'.
3958
3959 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3960
3961 * dired-x.el: Use Dired consistently in docstrings.
3962
3963 * dired.el: Use Dired consistently in docstrings.
3964 (dired-readin, dired-mode): Use `setq-local'.
3965 (dired-switches-alist): Make defvar-local.
3966 (dired-buffers-for-dir): Use `zerop'.
3967 (dired-safe-switches-p, dired-switches-escape-p)
3968 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3969 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3970 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3971 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3972 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3973 (dired-toggle-marks, dired-mark-files-containing-regexp)
3974 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3975 (dired-flag-auto-save-files, dired-flag-backup-files):
3976 Use `looking-at-p'.
3977 (dired-mark-files-regexp, dired-build-subdir-alist):
3978 Use `string-match-p', `looking-at-p'.
3979
3980 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3981 (direct-print-region-helper): Use `string-match-p'.
3982
aed838b5
LL
39832013-06-21 Leo Liu <sdl.web@gmail.com>
3984
cedf5c9d
JB
3985 * comint.el (comint-redirect-results-list-from-process):
3986 Fix infinite loop.
aed838b5 3987
d80a808f
LMI
39882013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3989
3990 * net/eww.el (eww-update-header-line-format): Quote % characters.
3991
e7a526e3
GM
39922013-06-21 Glenn Morris <rgm@gnu.org>
3993
3994 * play/cookie1.el (cookie): New custom group.
3995 (cookie-file): New option.
3996 (cookie-check-file): New function.
3997 (cookie): Make it interactive. Make start and end messages optional.
3998 Interactively, display the result. Default to cookie-file.
3999 (cookie-insert): Default to cookie-file.
4000 (cookie-snarf): Make start and end messages optional.
4001 Default to cookie-file. Use with-temp-buffer.
4002 (cookie-read): Rename from read-cookie.
4003 Make start and end messages optional. Default to cookie-file.
4004 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4005 Do not autoload it.
e7a526e3
GM
4006 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4007 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4008
62efb35e
LL
40092013-06-21 Leo Liu <sdl.web@gmail.com>
4010
4011 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4012
21e3f963
GM
40132013-06-21 Glenn Morris <rgm@gnu.org>
4014
4015 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4016
fd846ab4
SM
40172013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4018 Daniel Hackney <dan@haxney.org>
4019
4020 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4021 Consolidate the single-file vs tarball code.
4022 (package-desc-suffix): New function.
4023 (package-desc-full-name): Don't bother inlining it.
4024 (package-load-descriptor): Return the new package-desc.
4025 (package-mark-obsolete): Remove unused arg `package'.
4026 (package-unpack): Make it work for single files as well.
4027 Make it update package-alist.
4028 (package--make-autoloads-and-stuff): Rename from
4029 package--make-autoloads-and-compile. Don't compile any more.
4030 (package--compile): New function.
4031 (package-generate-description-file): New function, extracted from
4032 package-unpack-single.
4033 (package-unpack-single): Remove.
4034 (package--with-work-buffer): Add indentation and debugging info.
4035 (package-download-single): Remove.
4036 (package-install-from-archive): Rename from package-download-tar, make
4037 it take a pkg-desc, and make it work for single files as well.
4038 (package-download-transaction): Simplify.
4039 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4040 external tar program.
4041 (package-install-from-buffer): Remove `pkg-desc' argument.
4042 Use package-tar-file-info for tar-mode buffers.
4043 (package-install-file): Simplify accordingly.
4044 (package-archive-base): Change to take a pkg-desc.
4045 * tar-mode.el (tar--check-descriptor): New function, extracted from
4046 tar-get-descriptor.
4047 (tar-get-descriptor): Use it.
4048 (tar-get-file-descriptor): New function.
4049 (tar--extract): New function, extracted from tar-extract.
4050 (tar--extract): Use it.
4051 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4052 case the summary uses non-ascii. Adjust to new calling convention of
4053 package-tar-file-info.
4054
b7deae5e
LL
40552013-06-21 Leo Liu <sdl.web@gmail.com>
4056
fd846ab4
SM
4057 * comint.el (comint-redirect-results-list-from-process):
4058 Fix random delay. (Bug#14681)
b7deae5e 4059
7a65a0b2
JB
40602013-06-21 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * profiler.el (profiler-format-number): Use log, not log10.
4063
1493c2af
JB
40642013-06-20 Juanma Barranquero <lekktu@gmail.com>
4065
4066 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4067
aff6371e
SM
40682013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4069
4070 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4071 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4072 yet available.
4073 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4074 (AUTOGENEL): ... here.
4075 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4076 (cl--defsubst-expand): Use it.
4077
89561f72
PE
40782013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4079
4080 * subr.el (log10): Move here from C code, and declare as obsolete.
4081 All uses of (log10 X) replaced with (log X 10).
4082
47199123
JB
40832013-06-20 Juanma Barranquero <lekktu@gmail.com>
4084
4085 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4086 Declare with `defvar-local'.
4087 (tabulated-list-use-header-line, tabulated-list-entries)
4088 (tabulated-list-padding, tabulated-list-printer)
4089 (tabulated-list-sort-key): Declare with `defvar-local'.
4090 (tabulated-list-init-header, tabulated-list-print-fake-header):
4091 Use `setq-local'.
4092
4a172eab
MA
40932013-06-20 Michael Albinus <michael.albinus@gmx.de>
4094
47199123
JB
4095 * arc-mode.el (archive-mode): Add `archive-write-file' to
4096 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4097
5fc0acc0
JB
40982013-06-20 Juanma Barranquero <lekktu@gmail.com>
4099
d5b27848
JB
4100 * cus-edit.el (custom-commands): Fix typos.
4101 (custom-display): Fix tooltip text.
4102 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4103 Fix typos in docstrings.
4104 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4105 (custom-unlispify-menu-entry, custom-magic-value-create)
4106 (custom-add-see-also, custom-group-value-create): Use ?\s.
4107 (custom-guess-type, customize-apropos, editable-field)
4108 (custom-face-value-create): Use `string-match-p'.
4109 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4110
4111 * custom.el (custom-load-symbol): Use `string-match-p'.
4112
a5c581d8
JB
4113 * ansi-color.el: Convert to lexical binding.
4114 (ansi-colors): Fix URL.
4115 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4116 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4117 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4118
970ad972
G
41192013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4120
4121 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4122
4123 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4124
41252013-06-19 Tom Tromey <tromey@redhat.com>
4126
4127 * net/eww.el (eww-top-url): Remove.
4128 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4129 (eww-render): Set new variables. Don't set eww-top-url.
4130 (eww-handle-link): Handle "prev", "home", and "contents".
4131 Downcase the rel text.
4132 (eww-top-url): Choose best top URL.
4133
41342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4135
4136 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4137 relying in widget.el. Using widget.el leads to too many
4138 user interface inconsistencies.
4139 (eww-self-insert): Implement entering commands in text fields.
4140 (eww-process-text-input): New function to make text input field editing
4141 work.
4142 (eww-submit): Rewrite to use the new-style form methods.
4143 (eww-select-display): Display the correct selected item.
4144 (eww-change-select): Implement changing the select value.
4145 (eww-toggle-checkbox): Implement radio/checkboxes.
4146 (eww-update-field): Fix compilation error.
4147 (eww-tag-textarea): Implement <textarea>.
4148
4149 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4150 we don't shadow mode-specific bindings.
4151
4152 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4153 nothing to push.
4154
4155 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4156
4582a01c 41572013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4158
4159 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4160
15b263dc
MA
41612013-06-19 Michael Albinus <michael.albinus@gmx.de>
4162
4163 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4164 not needed.
4165
4166 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4167
8f5297f7
LMI
41682013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4169
4170 * net/browse-url.el (browse-url-browser-function):
4171 `eww-browse-url' has the right calling signature, `eww' does not.
4172
011c4552
GM
41732013-06-19 Glenn Morris <rgm@gnu.org>
4174
2285bd27
GM
4175 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4176 Only eval autoloaded macros.
4177 (byte-compile-autoload): Only give the macro warning for macros.
4178
1d653303
GM
4179 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4180 (ps-underlined-faces): Declare.
4181
bdd779ec
GM
4182 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4183 (speedbar-add-supported-extension): Declare.
4184
011c4552
GM
4185 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4186 Don't include a date stamp in the header of the generated file;
4187 it leads to needless differences between output files.
4188
e59dfb0e
MA
41892013-06-19 Michael Albinus <michael.albinus@gmx.de>
4190
c763842b
SM
4191 * net/secrets.el (secrets-struct-secret-content-type):
4192 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4193 Some servers do not offer introspection.
e59dfb0e 4194
102626e2
SM
41952013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * electric.el (electric-pair-mode): Improve interaction with
4198 electric-layout-mode.
4199 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4200 (electric-pair-syntax): Use text-mode-syntax-table in comments
4201 and strings.
4202 (electric-pair--insert): New function.
4203 (electric-pair-post-self-insert-function): Use it and
4204 electric--after-char-pos.
4205
ad528125
LL
42062013-06-19 Leo Liu <sdl.web@gmail.com>
4207
4208 * progmodes/octave.el (octave-help): Fix regexp.
4209
924d6997
G
42102013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4211
4212 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4213 (shr-table-horizontal-line): Allow nil as a value, and change the
4214 default.
4215 (shr-insert-table-ruler): Respect the nil value.
4216
42172013-06-18 Tom Tromey <tromey@barimba>
4218
4219 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4220 New defvars.
4221 (eww-open-file): New defun.
4222 (eww-render): Initialize new variables.
4223 (eww-display-html): Handle "link" and "a".
4224 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4225 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4226 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4227 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4228 New defuns.
924d6997 4229
d1bbba4f
DG
42302013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4231
4232 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4233 Distinguish ternary operator tokens from slash symbol and slash
4234 char literal.
4235
14dd22d2
JB
42362013-06-18 Juanma Barranquero <lekktu@gmail.com>
4237
4238 Convert symbol prettification into minor mode and global minor mode.
4239
4240 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4241 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4242 (prettify-symbols--keywords): Rename from
4243 `prog-prettify-symbols-alist' and make a local defvar.
4244 (prettify-symbols--compose-symbol): Rename from
4245 `prog--prettify-font-lock-compose-symbol'.
4246 (prettify-symbols--make-keywords): Rename from
4247 `prog-prettify-font-lock-symbols-keywords' and simplify.
4248 (prog-prettify-install): Remove.
4249 (prettify-symbols-mode): New minor mode, based on
4250 `prog-prettify-install'.
4251 (turn-on-prettify-symbols-mode): New function.
4252 (global-prettify-symbols-mode): New globalized minor mode.
4253
4254 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4255 * progmodes/cfengine.el (cfengine3-mode):
4256 * progmodes/perl-mode.el (perl-mode): Don't call
4257 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4258
292c880c
JL
42592013-06-18 Juri Linkov <juri@jurta.org>
4260
4261 * files-x.el (modify-file-local-variable-message): New function.
4262 (modify-file-local-variable)
4263 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4264 and call `modify-file-local-variable-message' when it's non-nil.
4265 (add-file-local-variable, delete-file-local-variable)
4266 (add-file-local-variable-prop-line)
4267 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4268 and use it. (Bug#9820)
4269
0950aa27
JL
42702013-06-18 Juri Linkov <juri@jurta.org>
4271
4272 * emulation/vi.el (vi-shell-op):
4273 * emulation/vip.el (vip-execute-com, ex-command):
4274 * emulation/viper-cmd.el (viper-exec-bang):
4275 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4276 the call of `shell-command-on-region'. (Bug#14637)
4277
4278 * simple.el (shell-command-on-region): Doc fix.
4279
8fbcca16
SM
42802013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4283 (bug#14633).
4284
dd7426ea
GM
42852013-06-18 Glenn Morris <rgm@gnu.org>
4286
4ba54f7d
GM
4287 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4288
dd7426ea
GM
4289 * newcomment.el (comment-search-forward, comment-search-backward):
4290 Doc fix. (Bug#14376)
4291
58aa805b
JB
42922013-06-18 Juanma Barranquero <lekktu@gmail.com>
4293
4294 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4295 (buffer-face-mode-invoke): Doc fix.
4296
9a08a617
MM
42972013-06-18 Matthias Meulien <orontee@gmail.com>
4298
4299 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4300 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4301
f2f426ca
GM
43022013-06-18 Glenn Morris <rgm@gnu.org>
4303
9445f99b
GM
4304 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4305 Replace obsolete function generic-make-keywords with its expansion.
4306
e0df2d14
GM
4307 * progmodes/python.el (ffap-alist): Declare.
4308
f2f426ca
GM
4309 * textmodes/reftex.el (bibtex-mode-map): Declare.
4310
f7f9a720
SM
43112013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4314 (package-unpack, package-unpack-single): Return the pkg-dir.
4315 (package-download-transaction): Use it to update package-alist.
4316
57ff04e0
LMI
43172013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4318
4319 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4320 possible choice.
4321
c048c022
JL
43222013-06-17 Juri Linkov <juri@jurta.org>
4323
4324 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4325
b5bcaee5
DG
43262013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4327
a020afb9
JB
4328 * emacs-lisp/package.el (package-load-descriptor):
4329 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4330 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4331
551e07e5
JB
43322013-06-17 Juanma Barranquero <lekktu@gmail.com>
4333
4334 * startup.el (command-line): Expand package name returned by
4335 `package--description-file' (bug#14639).
4336
d363bffb
DG
43372013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4338
4339 * emacs-lisp/package.el (package-load-descriptor): Do not call
4340 `emacs-lisp-mode', just use its syntax table.
4341
f612933b
JB
43422013-06-17 Juanma Barranquero <lekktu@gmail.com>
4343
4344 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4345 `font-lock-extra-managed-props' if any prettifying keyword is added.
4346 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4347 (prog-mode): Use `setq-local'.
4348
db3b7db5
SM
43492013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * international/characters.el (standard-case-table): Set syntax of ?»
4352 and ?« to punctuation.
4353
f3d674df
JB
43542013-06-16 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4357 Save relevant match data before calling `syntax-ppss' (bug#14595).
4358
31489a32
JL
43592013-06-15 Juri Linkov <juri@jurta.org>
4360
4361 * files-x.el (modify-file-local-variable-prop-line): Add local
4362 variables to the end of the existing comment on the first line.
4363 Use `file-auto-mode-skip' to skip interpreter magic line,
4364 and also skip XML declaration.
4365
66bd25ab
SM
43662013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * startup.el (package--builtin-versions): New var.
4369 (package-subdirectory-regexp): Remove.
4370 (package--description-file): Hard code its value instead.
4371
4372 * emacs-lisp/package.el: Don't activate packages older than builtin.
4373 (package-obsolete-list): Rename from package-obsolete-alist, and make
4374 it into a simple list of package-desc.
4375 (package-strip-version): Remove.
4376 (package-built-in-p): Use package--builtin-versions.
4377 (package-mark-obsolete): Simplify.
4378 (package-process-define-package): Mark it obsolete if older than the
4379 builtin version.
4380 (package-handle-response): Use line-end-position.
4381 (package-read-archive-contents, package--download-one-archive):
4382 Simplify.
4383 (package--add-to-archive-contents): Skip if older than the builtin or
4384 installed version.
4385 (package-menu-describe-package): Fix last change.
4386 (package-list-unversioned): New var.
4387 (package-menu--generate): Use it.
4388
4389 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4390 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4391 (autoload-builtin-package-versions): New variable.
4392 (autoload-generate-file-autoloads): Use them.
4393 Remove the list of autoloaded functions/macros from the
4394 (autoload...) comments.
4395
4396 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4397
9583ec36
EZ
43982013-06-15 Eli Zaretskii <eliz@gnu.org>
4399
4400 * simple.el (line-move-partial): Don't jump to the next screen
4401 line as soon as it becomes visible. Instead, continue enlarging
4402 the vscroll until the portion of a tall screen line that's left on
4403 display is about the height of the frame's default font.
4404 (Bug#14567)
4405
f0100d8a
GM
44062013-06-15 Glenn Morris <rgm@gnu.org>
4407
b86a85ca
GM
4408 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4409 compilation-error-regexp-alist void, or local while let-bound.
4410
f0100d8a
GM
4411 * progmodes/make-mode.el (makefile-mode-syntax-table):
4412 Treat "=" as punctuation. (Bug#14614)
4413
05e7ce90
JB
44142013-06-15 Juanma Barranquero <lekktu@gmail.com>
4415
4416 * help-fns.el (describe-variable):
4417 Add extra line for permanent-local variables.
4418
12e5e86e
SH
44192013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4420
4421 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4422 Add export, import, library. (Bug#9164)
4423 (library): Set indent function.
4424
230dcbaf
GM
44252013-06-14 Glenn Morris <rgm@gnu.org>
4426
4427 * term/xterm.el (xterm--query):
4428 Stop after first matching handler. (Bug#14615)
4429
e36b2d20 44302013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4431
4432 Add support for dired in saveplace.
4433 * dired.el (dired-initial-position-hook): New variable.
4434 (dired-initial-position): Call hook to place cursor position.
4435 * saveplace.el (save-place-to-alist): Add dired position.
4436 (save-place-dired-hook): New function.
4437
0b31660d
SM
44382013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4439
bf1e6ae8
SM
4440 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4441 through a symbol rather than letrec.
4442
1b8dff23
SM
4443 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4444 (package-desc): Add `dir' field.
4445 (package-desc-full-name): New function.
4446 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4447 (package-maybe-load-descriptor): Remove.
4448 (package-load-all-descriptors): Just call package-load-descriptor.
4449 (package--disabled-p): New function.
4450 (package-desc-vers, package-desc-doc): Remove aliases.
4451 (package--dir): Remove function.
4452 (package-activate): Check if a package is disabled.
4453 (package-process-define-package): New function, extracted from
4454 define-package.
4455 (define-package): Turn into a place holder.
4456 (package-unpack-single, package-tar-file-info):
4457 Use package--description-file.
4458 (package-compute-transaction): Use package--disabled-p.
4459 (package-download-transaction): Don't call
4460 package-maybe-load-descriptor since they're all loaded anyway.
4461 (package-install): Change argument to be a pkg-desc.
4462 (package-delete): Use a single pkg-desc argument.
4463 (describe-package-1): Use package-desc-dir instead of package--dir.
4464 Use package-desc property instead of package-symbol.
4465 (package-install-button-action): Adjust accordingly.
4466 (package--push): Rewrite.
4467 (package-menu--print-info): Adjust accordingly. Change the ID format
4468 to be a pkg-desc.
4469 (package-menu-describe-package, package-menu-get-status)
4470 (package-menu--find-upgrades, package-menu-mark-upgrades)
4471 (package-menu-execute, package-menu--name-predicate):
4472 Adjust accordingly.
4473 * startup.el (package--description-file): New function.
4474 (command-line): Use it.
4475 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4476 Use package-desc-version.
4477
0b31660d
SM
4478 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4479 (byte-compile-preprocess): Use it.
4480 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4481 can't quite recognize.
4482 (byte-compile-add-to-list): Remove.
4483 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4484 (cconv-closure-convert): Add assertion.
4485
4486 * emacs-lisp/map-ynp.el: Use lexical-binding.
4487 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4488 Factor out some repeated code.
4489
de0503df
SM
44902013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * subr.el (with-eval-after-load): New macro.
4493 (eval-after-load): Allow form to be a function.
4494 take advantage of lexical-binding.
4495 (do-after-load-evaluation): Use dolist and adjust to new format.
4496 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4497
bc5c8c5a
JL
44982013-06-13 Juri Linkov <juri@jurta.org>
4499
4500 * replace.el (perform-replace): Display "symbol " and other search
4501 modes from `isearch-message-prefix' in the *Help* buffer.
4502
4503 * isearch.el (isearch-query-replace): Add " symbol" and other
4504 possible search modes from `isearch-message-prefix' to the prompt.
4505 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4506 when reading a regexp to collect.
4507
a22289f7
JL
45082013-06-13 Juri Linkov <juri@jurta.org>
4509
4510 * isearch.el (word-search-regexp): Match whitespace if the search
4511 string begins or ends in whitespace. The LAX arg is applied to
4512 both ends of the search string. Use `regexp-quote' and explicit
4513 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4514 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4515 boundaries are replaced with symbol boundaries, and characters
4516 between symbols match non-word non-symbol syntax. (Bug#14602)
4517
cb89acab
JL
45182013-06-13 Juri Linkov <juri@jurta.org>
4519
4520 * isearch.el (isearch-del-char): Don't exceed the length of
4521 `isearch-string' by the prefix arg. (Bug#14563)
4522
6e8cfc81
JL
45232013-06-13 Juri Linkov <juri@jurta.org>
4524
4525 * isearch.el (isearch-yank-word, isearch-yank-line)
4526 (isearch-char-by-name, isearch-quote-char)
4527 (isearch-printing-char, isearch-process-search-char):
4528 Add optional count prefix arg. (Bug#14563)
4529
4530 * international/isearch-x.el
4531 (isearch-process-search-multibyte-characters):
4532 Add optional count prefix arg.
4533
c23d55f4
VS
45342013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4537 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4538 lexical-binding.
4539
45402013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4541
4542 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4543
ba947bc4
GM
45442013-06-13 Glenn Morris <rgm@gnu.org>
4545
8baeb37a
GM
4546 * startup.el (tty-handle-args):
4547 Don't just discard "--" and anything after. (Bug#14608)
4548
ba947bc4
GM
4549 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4550
9abefce4
MA
45512013-06-13 Michael Albinus <michael.albinus@gmx.de>
4552
4553 Implement changes in Secret Service API. Make it backward compatible.
4554 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4555 (secrets-create-item): Use it. Prefix properties with interface.
4556
5755011f
MH
45572013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4558
4559 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4560 (term-emulate-terminal): Respect term-suppress-hard-newline.
4561
1261d2da
S
45622013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4563
4564 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4565 Only remove a `thumb-file' overlay. (Bug#14548)
4566
868490bb
GJ
45672013-06-12 Grégoire Jadi <daimrod@gmail.com>
4568
4569 * mail/reporter.el (reporter-submit-bug-report):
4570 Handle missing package-name. (Bug#14600)
4571
79d7167f
TH
45722013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4573
4574 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4575 (reftex-citation-prompt, reftex-default-bibliography)
4576 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4577 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4578 (reftex-bib-sort-author, reftex-bib-sort-year)
4579 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4580 (reftex-extract-bib-entries-from-thebibliography)
4581 (reftex-get-bibkey-default, reftex-get-bib-names)
4582 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4583 (reftex-format-bib-entry, reftex-parse-bibitem)
4584 (reftex-format-bibitem, reftex-do-citation)
4585 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4586 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4587 (reftex-insert-bib-matches, reftex-format-citation)
4588 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4589 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4590 existing comments into docstrings.
4591
5f9dbd7a
XF
45922013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4593
4594 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4595
94df41ab
AS
45962013-06-12 Andreas Schwab <schwab@suse.de>
4597
4598 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4599 for auto-save files.
4600
a7f3fecc
GM
46012013-06-12 Glenn Morris <rgm@gnu.org>
4602
001809f6
GM
4603 * ido.el (ido-delete-ignored-files): Remove.
4604 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4605 Go back to calling ido-ignore-item-p directly.
a7f3fecc 4606
834b5ded
EL
46072013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4608
08c73ed2
EL
4609 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4610
834b5ded
EL
4611 * ido.el (ido-delete-ignored-files): New function,
4612 split from ido-make-file-list-1.
4613 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4614 (ido-make-file-list-1): Use ido-delete-ignored-files.
4615
daabf15a
LL
46162013-06-12 Leo Liu <sdl.web@gmail.com>
4617
4618 * progmodes/octave.el (inferior-octave-startup)
4619 (inferior-octave-completion-table)
4620 (inferior-octave-track-window-width-change)
4621 (octave-eldoc-function-signatures, octave-help)
4622 (octave-find-definition): Use single quoted strings.
4623 (inferior-octave-startup-args): Change default value.
4624 (inferior-octave-startup): Do not hard code "-i" and
4625 "--no-line-editing".
4626 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4627 (inferior-octave-directory-tracker): Use it.
4628 (octave-goto-function-definition): Robustify.
4629 (octave-help): Support highlighting operators in 'See also'.
4630 (octave-find-definition): Find subfunctions only in Octave mode.
4631
cf4e5178
SM
46322013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * help-fns.el (help-fns--compiler-macro): If the handler function is
4635 named, then put a link to it.
4636 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4637 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4638 (cl-typep): Use it.
4639 (cl-eval-when): Simplify debug spec.
4640 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4641 compiler-macro function instead of setting `compiler-macro-file'.
4642
99c81280 46432013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
4644
4645 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4646 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4647
f56be016
SM
46482013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4649 Daniel Hackney <dan@haxney.org>
4650
4651 First part of Daniel Hackney's patch to package.el.
4652 * emacs-lisp/package.el: Use defstruct.
4653 (package-desc): New, main struct.
4654 (package--bi-desc, package--ac-desc): New structs, used to describe the
4655 format in external files.
4656 (package-desc-vers): Replace with package-desc-version accessor.
4657 (package-desc-doc): Replace with package-desc-summary accessor.
4658 (package-activate-1): Remove `package' arg since the pkg-vec now
4659 includes the name.
4660 (define-package): Use package-desc-from-define.
4661 (package-unpack-single): Change file-name arg to be a symbol.
4662 (package--add-to-archive-contents): Use package-desc-create and new
4663 accessor functions to package--ac-desc.
4664 (package-buffer-info, package-tar-file-info): Return a package-desc.
4665 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4666 arg to be a package-desc.
4667 (package-install-file): Adjust accordingly. Use \' to match EOS.
4668 (package--from-builtin): New function.
4669 (describe-package-1, package-menu--generate): Use it.
4670 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4671 (package-generate-autoloads): Idem and return the name of the file.
4672 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4673 Change pkg-info arg to be a package-desc.
4674 Use package-make-ac-desc.
4675 (package-upload-file): Use \' to match EOS.
4676 * finder.el (finder-compile-keywords): Use package-make-builtin.
4677
31119d63
SM
46782013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4679
931a2762
SM
4680 * vc/vc.el (vc-deduce-fileset): Change error message.
4681 (vc-read-backend): New function.
4682 (vc-next-action): Use it.
4683
5a3eb0c6
SM
4684 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4685
e3eb1bb7
SM
4686 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4687 (prolog-font-lock-keywords): Use regexp-opt instead.
4688 Don't manually highlight strings.
4689 (prolog-mode-variables): Simplify comment-start-skip.
4690 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4691
31119d63
SM
4692 * emacs-lisp/generic.el (generic--normalise-comments)
4693 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4694 (generic-mode-set-comments): Use them.
4695 (generic-bracket-support): Use setq-local.
4696 (generic-make-keywords-list): Declare obsolete.
4697
7de135d0
GM
46982013-06-11 Glenn Morris <rgm@gnu.org>
4699
4700 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4701 Prettify after setting font-lock-defaults. (Bug#14574)
4702
fa6bc6fd
JB
47032013-06-11 Juanma Barranquero <lekktu@gmail.com>
4704
4705 * replace.el (query-replace, occur-read-regexp-defaults-function)
4706 (replace-search):
4707 * subr.el (declare-function, number-sequence, local-set-key)
4708 (substitute-key-definition, locate-user-emacs-file)
4709 (with-silent-modifications, split-string, eval-after-load):
4710 Fix typos, remove unneeded backslashes and reflow some docstrings.
4711
cf1f9b9a
SM
47122013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4715 default for Elisp files.
4716
56602a4b
GM
47172013-06-11 Glenn Morris <rgm@gnu.org>
4718
4719 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4720 although define-derived-mode was doing this anyway. (Bug#14583)
4721
30ae0b2c
JB
47222013-06-10 Juanma Barranquero <lekktu@gmail.com>
4723
4724 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4725 Fix make-variable-buffer-local call to refer to the correct variable.
4726
fa472906
AG
47272013-06-10 Aidan Gauland <aidalgol@amuri.net>
4728
4729 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
4730 (eshell-visual-subcommands, eshell-visual-options):
4731 Add summary line to docstrings. Add cross-references.
fa472906 4732
ff4871b9
GM
47332013-06-10 Glenn Morris <rgm@gnu.org>
4734
4735 * epa.el (epa-read-file-name): New function. (Bug#14510)
4736 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4737
04fcf1b0
AG
47382013-06-09 Aidan Gauland <aidalgol@amuri.net>
4739
4740 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4741 output redirection to be ignored with visual commands.
4742
88b00caa
AG
47432013-06-09 Aidan Gauland <aidalgol@amuri.net>
4744
4745 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
4746 (eshell-term-initialize): Move long lambda to separate function
4747 eshell-visual-command-p.
e7b41c4c
JB
4748 * eshell/em-dirs.el (eshell-dirs-initialise):
4749 * eshell/em-script.el (eshell-script-initialize):
4750 Add missing #' to lambda.
88b00caa 4751
fda74125
LL
47522013-06-08 Leo Liu <sdl.web@gmail.com>
4753
4754 * progmodes/octave.el (octave-add-log-current-defun): New function.
4755 (octave-mode): Set add-log-current-defun-function.
4756 (octave-goto-function-definition): Do not move point if not found.
4757 (octave-find-definition): Enhance to try subfunctions first.
4758
467f3b33
GM
47592013-06-08 Glenn Morris <rgm@gnu.org>
4760
4761 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4762 (byte-compile-backward-char, byte-compile-backward-word):
4763 Improve previous change, to handle non-explicit nil.
4764
544badc3
SM
47652013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4766
4767 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4768 (smie--opener/closer-at-point): New function.
4769 (smie--matching-block-data): Use it. Don't match from right after an
4770 opener or right before a closer. Obey smie-blink-matching-inners.
4771 Don't signal a mismatch for repeated inners like "switch..case..case".
4772
a175bf33
LL
47732013-06-07 Leo Liu <sdl.web@gmail.com>
4774
4775 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4776 to t. (Bug#14303)
ce8209d4
LL
4777 (octave-function-header-regexp): Fix. (Bug#14570)
4778 (octave-help-mode-finish-hook, octave-help-mode-finish):
4779 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
4780
4781 * newcomment.el (comment-search-backward): Revert last change.
4782 (Bug#14434)
4783
4784 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4785
a822acff
EZ
47862013-06-07 Eli Zaretskii <eliz@gnu.org>
4787
4788 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4789 through xargs, to avoid failure due to MS-Windows limitations on
4790 command-line length.
4791
961166f5
GM
47922013-06-06 Glenn Morris <rgm@gnu.org>
4793
d0341459
GM
4794 * font-lock.el (lisp-font-lock-keywords-2):
4795 Treat user-error like error.
4796
961166f5
GM
4797 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4798 (byte-compile-backward-char, byte-compile-backward-word):
4799 Handle explicit nil arguments. (Bug#14565)
4800
80fa505f
AM
48012013-06-05 Alan Mackenzie <acm@muc.de>
4802
4803 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 4804 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 4805 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 4806 (Bug#9706)
80fa505f 4807
fccdc796
SM
48082013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * autorevert.el (auto-revert-notify-handler): Use memq.
4811 Hide assertion failure.
4812
4813 * skeleton.el: Use cl-lib.
4814 (skeleton-further-elements): Use defvar-local.
4815 (skeleton-insert): Use cl-progv.
4816
9bfff84b
TZ
48172013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4818
4819 * progmodes/prog-mode.el (prog-prettify-symbols)
4820 (prog-prettify-install): Update docstrings.
4821
55577e7c
SM
48222013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * simple.el: Move all the prog-mode code to prog-mode.el.
4825 * progmodes/prog-mode.el: New file.
4826 * loadup.el: Add prog-mode.el.
4827
8fc57765
TZ
48282013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4829
4830 * simple.el (prog-prettify-symbols): Add version.
4831 (prog-prettify-install): Add convenience function to prettify symbols.
4832
4833 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4834 (perl--augmented-font-lock-keywords-1)
4835 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4836 variables and use it.
4837
4838 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4839 (cfengine3-mode): Remove unneeded variable and use it.
4840
4841 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4842 (lisp--augmented-font-lock-keywords-1)
4843 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4844 Remove unneeded variables and use it.
4845
650645d5 48462013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
4847
4848 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 4849 to point when opening the connection. (Bug#14380)
28f5da6d 4850
781b4af6
SM
48512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * subr.el (load-history-regexp, load-history-filename-element)
4854 (eval-after-load, after-load-functions, do-after-load-evaluation)
4855 (eval-next-after-load, display-delayed-warnings)
4856 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4857 definition of save-match-data.
4858 (overriding-local-map): Remove accidental obsolescence declaration.
4859
4860 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4861
3ca0d0b4
TZ
48622013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4863
4864 Generalize symbol prettify support to prog-mode and implement it
4865 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4866 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4867 (prog--prettify-font-lock-compose-symbol)
4868 (prog-prettify-font-lock-symbols-keywords): New variables and
4869 functions to support symbol prettification.
4870 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4871 (lisp--augmented-font-lock-keywords-1)
4872 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4873 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4874 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
4875 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4876 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
4877 * progmodes/perl-mode.el (perl-prettify-symbols)
4878 (perl--font-lock-compose-symbol)
4879 (perl--font-lock-symbols-keywords): Move to prog-mode.
4880 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4881 (perl-font-lock-keywords-1)
4882 (perl-font-lock-keywords-2): Remove explicit prettify support.
4883 (perl--augmented-font-lock-keywords)
4884 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
4885 (perl--augmented-font-lock-keywords-2, perl-mode):
4886 Implement prettify support.
3ca0d0b4 4887
976cb066
LL
48882013-06-05 Leo Liu <sdl.web@gmail.com>
4889
4890 Re-implement smie matching block highlight using
4891 show-paren-data-function. (Bug#14395)
4892 * emacs-lisp/smie.el (smie-matching-block-highlight)
4893 (smie--highlight-matching-block-overlay)
4894 (smie--highlight-matching-block-lastpos)
4895 (smie-highlight-matching-block)
4896 (smie-highlight-matching-block-mode): Remove.
4897 (smie--matching-block-data-cache): New variable.
4898 (smie--matching-block-data): New function.
4899 (smie-setup): Use smie--matching-block-data for
4900 show-paren-data-function.
4901
4902 * progmodes/octave.el (octave-mode-menu): Fix.
4903 (octave-find-definition): Skip garbage lines.
4904
208d0342
SM
49052013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 Fix compilation error with simultaneous dynamic+lexical scoping.
4908 Add warning when a defvar appears after the first let-binding.
4909 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4910 (byte-compile-close-variables): Initialize it.
4911 (byte-compile--declare-var): New function.
4912 (byte-compile-file-form-defvar)
4913 (byte-compile-file-form-define-abbrev-table)
4914 (byte-compile-file-form-custom-declare-variable): Use it.
4915 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4916 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4917 (byte-compile-bind): Handle dynamic bindings that shadow
4918 lexical bindings.
4919 (byte-compile-unbind): Make arg non-optional.
4920 (byte-compile-let): Simplify.
4921 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4922 (cconv--analyse-function, cconv-analyse-form): Populate it.
4923 Protect byte-compile-bound-variables to limit the scope of defvars.
4924 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4925 Remove unneeded rule for `declare'.
4926
4927 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4928 so as to avoid depending on cl-adjoin at run-time.
4929 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4930
4931 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4932 (macroexp--warn-and-return): Use it.
4933
2587b005
LL
49342013-06-05 Leo Liu <sdl.web@gmail.com>
4935
4936 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4937
f1da3c88
LL
49382013-06-04 Leo Liu <sdl.web@gmail.com>
4939
4940 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4941 (compilation-auto-jump): Suppress the "Mark set" message to give
4942 way to exit message.
4943
3caa391f
AM
49442013-06-04 Alan Mackenzie <acm@muc.de>
4945
4946 Remove faulty optimisation from indentation calculation.
4947 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4948 search limit based on 2000 characters back from indent-point.
4949
068922a2
TH
49502013-06-03 Tassilo Horn <tsdh@gnu.org>
4951
4952 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4953
1f8fdd53
SM
49542013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4955
bbcc4d97
SM
4956 * emacs-lisp/lisp.el: Use lexical-binding.
4957 (lisp--local-variables-1, lisp--local-variables): New functions.
4958 (lisp--local-variables-completion-table): New var.
208d0342 4959 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 4960
1f8fdd53
SM
4961 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4962 eagerly (bug#14422).
4963
c9628c79
MA
49642013-06-03 Michael Albinus <michael.albinus@gmx.de>
4965
4966 * autorevert.el (auto-revert-notify-enabled)
4967 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4968 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4969 (auto-revert-notify-handler): Handle also gfilenotify.
4970
e7b41c4c 4971 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 4972 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 4973 Remove.
c9628c79 4974
e5e4a942
JL
49752013-06-03 Juri Linkov <juri@jurta.org>
4976
4977 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4978 `M-s h .'. (Bug#14427)
4979
4980 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4981 command `hi-lock-face-symbol-at-point'.
4982 (hi-lock-face-symbol-at-point): New command.
4983 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4984 (hi-lock-menu): Add `highlight-symbol-at-point'.
4985 (hi-lock-mode): Doc fix.
4986
4987 * isearch.el (isearch-forward-symbol-at-point): New command.
4988 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4989 (isearch-highlight-regexp): Add a regexp which matches
4990 words/symbols for word/symbol mode.
4991
4992 * subr.el (find-tag-default-bounds): New function with the body
4993 mostly moved from `find-tag-default'.
4994 (find-tag-default): Move most code to `find-tag-default-bounds',
4995 call it and apply `buffer-substring-no-properties' afterwards.
4996
26b3353a
TH
49972013-06-03 Tassilo Horn <tsdh@gnu.org>
4998
781b4af6
SM
4999 * eshell/em-term.el (eshell-term-initialize):
5000 Use `cl-intersection' rather than `intersection'.
26b3353a 5001
51b60f53
XF
50022013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5003
fe054b63 5004 * vc/log-view.el: Doc fix.
d3ffe17c 5005 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5006
a0eb10b3 50072013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5008
5009 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5010 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5011 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5012 (eieio-unbound, eieio-default-superclass)
5013 (eieio--define-field-accessors, method-static, method-before)
5014 (method-primary, method-after, method-num-lists)
5015 (method-generic-before, method-generic-primary)
5016 (method-generic-after, method-num-slots)
5017 (eieio-specialized-key-to-generic-key)
5018 (eieio--check-type, class-v, class-p)
5019 (eieio-class-name, define-obsolete-function-alias)
5020 (eieio-class-parents-fast, eieio-class-children-fast)
5021 (same-class-fast-p, class-constructor, generic-p)
5022 (generic-primary-only-p, generic-primary-only-one-p)
5023 (class-option-assoc, class-option, eieio-object-p)
5024 (class-abstract-p, class-method-invocation-order)
5025 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5026 (eieio-class-un-autoload, eieio-defclass)
5027 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5028 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5029 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5030 (eieio-defgeneric-reset-generic-form)
5031 (eieio-defgeneric-form-primary-only)
5032 (eieio-defgeneric-reset-generic-form-primary-only)
5033 (eieio-defgeneric-form-primary-only-one)
5034 (eieio-defgeneric-reset-generic-form-primary-only-one)
5035 (eieio-unbind-method-implementations)
5036 (eieio--defmethod, eieio--typep)
5037 (eieio-perform-slot-validation, eieio-validate-slot-value)
5038 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5039 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5040 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5041 (eieio-slot-name-index, eieio-class-slot-name-index)
5042 (eieio-set-defaults, eieio-initarg-to-attribute)
5043 (eieio-attribute-to-initarg, eieio-c3-candidate)
5044 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5045 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5046 (eieio-class-precedence-list, eieio-generic-call-methodname)
5047 (eieio-generic-call-arglst, eieio-generic-call-key)
5048 (eieio-generic-call-next-method-list)
5049 (eieio-pre-method-execution-functions, eieio-generic-call)
5050 (eieio-generic-call-primary-only, eieiomt-method-list)
5051 (eieiomt-optimizing-obarray, eieiomt-install)
5052 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5053 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5054 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5055 (defclass): Remove `eval-and-compile' from macro.
5056 (call-next-method, shared-initialize): Instead of using
5057 `scoped-class' variable, use new eieio--scoped-class, and
5058 eieio--with-scoped-class.
5059 (initialize-instance): Rename local variable 'scoped-class' to
5060 'this-class' to remove ambiguitity from old global.
5061
5062 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5063 eieio.el.
4f405069
JB
5064 (eieio--scoped-class-stack): New variable.
5065 (eieio--scoped-class): New fcn.
890f7890
DE
5066 (eieio--with-scoped-class): New scoping macro.
5067 (eieio-defclass): Use pushnew instead of add-to-list.
5068 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5069 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5070 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5071 `scoped-class' variable, use new eieio--scoped-class, and
5072 eieio--with-scoped-class.
5073
5074 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5075
d105b0e2
TH
50762013-06-02 Tassilo Horn <tsdh@gnu.org>
5077
5078 * eshell/esh-ext.el (eshell-external-command): Pass args to
5079 `eshell-find-interpreter'.
5080 (eshell-find-interpreter): Add new second parameter ARGS.
5081
5082 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5083 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5084
5085 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5086 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5087
5088 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5089 (eshell-visual-options): New defcustom.
5090 (eshell-escape-control-x): Adapt docstring.
5091 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5092 `eshell-visual-options' in addition to `eshell-visual-commands'.
5093 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5094
f46305c8 50952013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5096
5097 * progmodes/python.el (python-indent-block-enders): Add break,
5098 continue and raise keywords.
5099
d870df21
GM
51002013-06-01 Glenn Morris <rgm@gnu.org>
5101
9133b82e
GM
5102 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5103
02c992ec 5104 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5105 * progmodes/cc-cmds.el (delete-forward-p):
5106 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5107 * progmodes/cc-engine.el (buffer-syntactic-context):
5108 * progmodes/cc-fonts.el (face-property-instance):
5109 * progmodes/cc-mode.el (set-keymap-parents):
5110 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5111 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5112 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5113 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5114 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5115
31e7b090
GM
5116 * progmodes/cc-vars.el (other): Emacs has this widget since
5117 at least 21.1, so don't (re)define it.
5118
d870df21
GM
5119 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5120 Replace the obsolete alias pcomplete-arg-quote-list.
5121
c75c93c7
LL
51222013-06-01 Leo Liu <sdl.web@gmail.com>
5123
5124 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5125 punctuation syntax.
5126 (inferior-octave-minimal-columns)
5127 (inferior-octave-last-column-width): New variables.
5128 (inferior-octave-track-window-width-change): New function.
5129 (inferior-octave-mode): Adjust column width so that Octave output,
5130 for example from 'ls', can fit into the window nicely.
5131
973d1e12
DG
51322013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5133
5134 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5135 Highlight expansions inside regexp literals.
5136
0888c286
GM
51372013-05-31 Glenn Morris <rgm@gnu.org>
5138
e26aac1f
GM
5139 * obsolete/sym-comp.el (symbol-complete):
5140 Replace obsolete completion-annotate-function.
5141
0888c286
GM
5142 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5143
19bb8e62
DG
51442013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5145
781b4af6
SM
5146 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5147 New function, checks if point is inside a literal that allows
19bb8e62
DG
5148 expression expansion.
5149 (ruby-syntax-propertize-expansion): Use it.
5150 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5151 around the body.
5152
01dea85f
JL
51532013-05-30 Juri Linkov <juri@jurta.org>
5154
5155 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5156 to "\M-si".
5157 (isearch-invisible): New variable.
5158 (isearch-forward): Doc fix.
5159 (isearch-mode): Set `isearch-invisible'
5160 to the value of `search-invisible'.
5161 (isearch-toggle-case-fold): Doc fix.
5162 (isearch-toggle-invisible): New command.
5163 (isearch-query-replace): Let-bind `search-invisible'
5164 to the value of `isearch-invisible'.
5165 (isearch-search): Use `isearch-invisible' instead of
5166 `search-invisible'. Let-bind `search-invisible'
5167 to the value of `isearch-invisible'. (Bug#11378)
5168
ab1bdce5
JL
51692013-05-30 Juri Linkov <juri@jurta.org>
5170
5171 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5172 call when `query-flag' is nil and `search-invisible' is non-nil.
5173 (Bug#11746)
5174
d6d236e2
GM
51752013-05-30 Glenn Morris <rgm@gnu.org>
5176
8accd027
GM
5177 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5178
2a8bed1c
GM
5179 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5180 (cc-require): Suppress spurious "noruntime" warnings.
5181 (cc-require-when-compile): Use fboundp, for sake of compiler.
5182
d6d236e2
GM
5183 * progmodes/cc-mode.el: Move load of cc-vars before that of
5184 cc-langs (which in turn loads cc-vars), to quieten compiler.
5185
9190b35b
SM
51862013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * paren.el: Simplify the code.
5189 (show-paren-mode): Always start the timer.
5190 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5191 (show-paren--overlay, show-paren--overlay-1): Rename from
5192 show-paren-overlay and show-paren-overlay-1, and initialize to an
5193 overlay rather than to nil.
5194 (show-paren-function): Misc cleanup and simplifications.
5195
4f8d1cf6
SM
51962013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * paren.el (show-paren-data-function): New hook.
5199 (show-paren--default): New function, extracted from show-paren-function.
5200 (show-paren-function): Use show-paren-data-function.
5201
02d844b5
GM
52022013-05-30 Glenn Morris <rgm@gnu.org>
5203
d209d4a9
GM
5204 * ielm.el (ielm-map, ielm-complete-symbol):
5205 Use completion-at-point rather than obsolete functions.
5206 (inferior-emacs-lisp-mode): Doc fix.
5207 Set completion-at-point-functions, rather than
5208 comint-dynamic-complete-functions.
5209
2082faa6
GM
5210 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5211 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5212 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5213
dd8620de
GM
5214 * image.el (image-animated-p): Tweak definition.
5215
ceca95b1
GM
5216 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5217 (rlogin-process-connection-type): Tweak default. Add set-after.
5218 (rlogin-host): Doc fix.
5219 (rlogin): Tweak prompt.
5220 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5221
ee9f1acc
GM
5222 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5223 * progmodes/tcl.el (inferior-tcl-mode-map):
5224 Use completion-at-point rather than obsolete alias.
5225
45ce222e
GM
5226 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5227
02d844b5
GM
5228 * minibuffer.el (read-file-name-completion-ignore-case):
5229 Move before completion--in-region, for eager macro expansion.
5230
ac44d6c1
JL
52312013-05-29 Juri Linkov <juri@jurta.org>
5232
5233 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5234 for total count of matching lines. Add `global-matches' for total
5235 count of matches. Rename `matches' to `lines' for count of
5236 matching lines. Add `matches' for count of matches.
5237 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5238 to `prev-line' for line number of prev match endpt.
5239 Increment `matches' for every match. Print the number of
5240 matching lines in the header.
5241 (occur-context-lines): Rename `lines' to `curr-line'.
5242 Rename `prev-lines' to `prev-line'. (Bug#14017)
5243
3c9c9d38
JL
52442013-05-29 Juri Linkov <juri@jurta.org>
5245
5246 * replace.el (perform-replace): Add `skip-read-only-count',
5247 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5248 Increment them for corresponding conditions and report the number
5249 of skipped occurrences in the final message. (Bug#11746)
5250 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5251 (replace-string, replace-regexp): Doc fix.
5252
33e249a2
SM
52532013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5254
8e399682
SM
5255 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5256
33e249a2 5257 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5258 prog-mode-map (bug#14504).
33e249a2 5259
f236dd84
LL
52602013-05-29 Leo Liu <sdl.web@gmail.com>
5261
5262 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5263 (octave-help): Small simplification.
5264
5265 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5266 off the highlight first.
5267
3694d13f
GM
52682013-05-29 Glenn Morris <rgm@gnu.org>
5269
03983bdc
GM
5270 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5271 Handle idlwave-last-system-routine-info-cons-cell being nil.
5272
bc74a74a
GM
5273 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5274 (idlwave-write-paths): Simplify via with-temp-buffer.
5275
8b394200
GM
5276 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5277 * emulation/cua-rect.el: Also load cua-base at run time.
5278
3694d13f
GM
5279 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5280 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5281 (cperl-imenu-on-info): Require imenu.
5282
336d7284
AM
52832013-05-28 Alan Mackenzie <acm@muc.de>
5284
5285 Handle "capitalised keywords" correctly.
33e249a2 5286 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5287
cb29c582
AG
52882013-05-28 Aidan Gauland <aidalgol@amuri.net>
5289
781b4af6 5290 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5291
690e44b2
GM
52922013-05-28 Glenn Morris <rgm@gnu.org>
5293
e658d75c
GM
5294 * vc/vc-arch.el (vc-exec-after): Declare.
5295 (vc-switches): Autoload.
5296 * vc/vc-bzr.el: No need to require vc when compiling.
5297 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5298 (vc-resynch-buffer, vc-dir-refresh): Declare.
5299 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5300 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5301 (vc-resynch-buffer): Declare.
5302 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5303 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5304 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5305 (grep-read-regexp, grep-read-files, grep-expand-template)
5306 (vc-dir-refresh): Declare.
5307 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5308 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5309 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5310 * vc/vc-mtn.el (vc-exec-after): Declare.
5311 (vc-switches): Autoload.
5312 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5313 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5314 (vc-file-tree-walk): Declare.
712b9732
GM
5315 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5316 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5317 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5318 * vc/vc-svn.el (vc-exec-after): Declare.
5319 (vc-switches, vc-setup-buffer): Autoload.
5320 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5321 Autoload.
5322 (vc-resynch-buffer): Declare.
5323
98e87fb3
GM
5324 * obsolete/fast-lock.el (byte-compile-warnings):
5325 Don't warn about obsolete features in this obsolete file.
5326
f5379553
GM
5327 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5328 Move definition before use.
5329
7a20ef83
GM
5330 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5331 (dun-unix-verbs): Remove dun-zippy.
5332 (dun-zippy): Remove function.
5333
690e44b2
GM
5334 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5335
3a52ccf7
JL
53362013-05-27 Juri Linkov <juri@jurta.org>
5337
5338 * replace.el (replace-search): New function with code moved out
5339 from `perform-replace'.
5340 (replace-highlight, replace-dehighlight): Move function definitions
5341 up closer to `replace-search'. (Bug#11746)
5342
d289938a
JL
53432013-05-27 Juri Linkov <juri@jurta.org>
5344
5345 * replace.el (perform-replace): Ignore invisible matches.
5346 In addition to checking `query-replace-skip-read-only', also
5347 filter out matches by calling `run-hook-with-args-until-failure'
5348 on `isearch-filter-predicates', and also check `search-invisible'
5349 for t or call `isearch-range-invisible'.
5350 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5351
66fc57e3
JL
53522013-05-27 Juri Linkov <juri@jurta.org>
5353
5354 * isearch.el (isearch-filter-predicates): Rename from
5355 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5356 (isearch-message-prefix): Display text from the property
5357 `isearch-message-prefix' of the currently active filters.
5358 (isearch-search): Don't compare `isearch-filter-predicate' with
5359 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5360 on `isearch-filter-predicates'. Also check `search-invisible' for t
5361 or call `isearch-range-invisible'.
5362 (isearch-filter-visible): Make obsolete.
5363 (isearch-lazy-highlight-search):
5364 Call `run-hook-with-args-until-failure' on
5365 `isearch-filter-predicates' and use `isearch-range-invisible'.
5366
5367 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5368 `isearch-filter-predicates' instead of `funcall'ing
5369 `isearch-filter-predicate'.
5370 (Info-mode): Set `Info-isearch-filter' to
5371 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5372
5373 * dired-aux.el (dired-isearch-filter-predicate-orig):
5374 Remove variable.
5375 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5376 (dired-isearch-filenames-end): Add and remove
5377 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5378 instead of changing the value of `isearch-filter-predicate'.
5379 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5380 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5381 Put property `isearch-message-prefix' to "filename " on
5382 `dired-isearch-filter-filenames'.
5383
5384 * wdired.el (wdired-change-to-wdired-mode):
5385 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5386 locally instead of changing `isearch-filter-predicate'.
5387 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5388
f1a60a0f
DG
53892013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5390
5391 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5392 return the commit hash (Bug#14459). Also set the
5393 `vc-git-detached' property.
5394 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5395 (vc-git-mode-line-string): Use the same help-echo format whether
5396 in detached mode or not, because we know the actual revision now.
5397 When in detached mode, shorten the revision to 7 chars.
5398
7f17cc40
SM
53992013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * emacs-lisp/easy-mmode.el (define-minor-mode):
5402 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5403 mode hook and provide a docstring.
5404
25c8401c
AM
54052013-05-27 Alan Mackenzie <acm@muc.de>
5406
5407 Remove spurious syntax-table text properties inserted by C-y.
5408 * progmodes/cc-mode.el (c-after-change): Also clear hard
5409 syntax-table property with value nil.
5410
dde84790
MA
54112013-05-27 Michael Albinus <michael.albinus@gmx.de>
5412
5413 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5414 when reading the events; the buffer layout shall not be changed.
5415
837fd9af
LL
54162013-05-27 Leo Liu <sdl.web@gmail.com>
5417
5418 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5419 New variable.
5420 (inferior-octave-directory-tracker): Automatically re-sync
5421 default-directory.
5422 (octave-help): Improve handling of 'See also'.
5423
4fd996b3
SM
54242013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5425
416f1802
SM
5426 * doc-view.el: Minor naming convention tweaks.
5427 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5428
4fd996b3
SM
5429 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5430 even if there's no `display' property yet (bug#14435).
5431
a052ef3b
EZ
54322013-05-25 Eli Zaretskii <eliz@gnu.org>
5433
4fd996b3 5434 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5435
5436 * Makefile.in (custom-deps, finder-data, autoloads)
5437 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5438 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5439 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5440
c9023370
SM
54412013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5444 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5445 Don't burp at EOB.
c9023370 5446
24d699fa
LL
54472013-05-25 Leo Liu <sdl.web@gmail.com>
5448
5449 * comint.el (comint-previous-matching-input): Do not flood the
5450 *Messages* buffer with trivial messages.
5451
17e5c0cc
SM
54522013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * progmodes/flymake.el (flymake-nop): Don't return a string.
5455 (flymake-set-at): Fix typo.
5456
5457 * simple.el (read--expression): New function, extracted from
5458 eval-expression. Set completion-at-point-functions (bug#14465).
5459 (eval-expression, eval-minibuffer): Use it.
5460
5d028165
XF
54612013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5462
5463 * progmodes/flymake.el (flymake-save-buffer-in-file)
5464 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5465 (flymake-selected-frame, flymake-log, flymake-ins-after)
5466 (flymake-set-at, flymake-get-buildfile-from-cache)
5467 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5468 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5469 Refine the doc string.
5470 (flymake-get-file-name-mode-and-masks): Reformat.
5471 (flymake-get-real-file-name-function): Fix a minor bug.
5472
7a1d7ba7
JL
54732013-05-24 Juri Linkov <juri@jurta.org>
5474
5475 * progmodes/grep.el (grep-mode-font-lock-keywords):
5476 Support =linenumber= format used by git-grep for lines with
5477 function names. (Bug#13549)
5478
650cff3d
SM
54792013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5480
5481 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5482 0 after a semi-colon; it works better for smie-auto-fill.
5483 (octave--indent-new-comment-line): New function.
5484 (octave-indent-new-comment-line): Use it (indirectly).
5485 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5486 modify comment-line-break-function.
5487
5488 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5489 (smie-setup): Use add-function to set it.
5490
9631677d
SS
54912013-05-24 Sam Steingold <sds@gnu.org>
5492
5493 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5494 argument (before the `interactive' argument).
5495
50105835
SM
54962013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * image-mode.el (image-mode-winprops): Add winprops to
5499 image-mode-winprops-alist before running
5500 image-mode-new-window-functions.
5501 * doc-view.el (doc-view-new-window-function): Don't delay
5502 doc-view-goto-page via timers (bug#14435).
5503
57b9823e
TH
55042013-05-24 Tassilo Horn <tsdh@gnu.org>
5505
5506 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5507 (doc-view-desktop-save-buffer): New function.
5508 (doc-view-restore-desktop-buffer): New function.
50105835
SM
5509 (desktop-buffer-mode-handlers):
5510 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
5511 handler.
5512 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5513 `desktop-save-buffer' function.
5514
91aafa16
MA
55152013-05-24 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5518 (tramp-gvfs-file-name-handler): Raise a user error when
5519 `tramp-gvfs-enabled' is nil.
5520 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5521 Do not raise a user error when loading package. (Bug#14447)
5522
ec076379
MA
5523 * net/xesam.el: Move to obsolete/.
5524
db785726
GM
55252013-05-24 Glenn Morris <rgm@gnu.org>
5526
af5c7606
GM
5527 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5528
e5d1916a
GM
5529 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5530
ded62b08
GM
5531 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5532 (Info-find-node, Man-getpage-in-background): Declare.
5533
9e614a3f
GM
5534 * mail/unrmail.el (unrmail):
5535 Replace obsolete detect-coding-with-priority.
5536
892f8ca3
GM
5537 * net/socks.el (socks-split-string): Use this rather than split-string.
5538 (socks-nslookup-host): Update for above change.
5539 (dynamic-choice, s5-dynamic-choice-match)
5540 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5541 Comment out unused code.
5542
3c291973
GM
5543 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5544 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5545 (gud-tooltip-echo-area): Make obsolete.
5546 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5547
43cc956b
GM
5548 * progmodes/js.el (js--optimize-arglist): Declare.
5549
dab49a3b
GM
5550 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5551
36b9d085
GM
5552 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5553 (ediff-window-C): Declare.
5554
e354ae76
GM
5555 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5556 Tweak requires to silence compiler.
5557
b8e57bf4
GM
5558 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5559 (he-search-string, he-tried-table, he-expand-list)
5560 (he-init-string, he-string-member, he-substitute-string)
5561 (he-reset-string): Declare.
5562
db785726
GM
5563 * obsolete/options.el (list-options): Use custom-variable-p,
5564 rather than obsolete alias.
5565
b3531901
SS
55662013-05-23 Sam Steingold <sds@gnu.org>
5567
5568 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 5569 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
5570 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5571
bdda4c66
SM
55722013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * emacs-lisp/smie.el (smie-indent-forward-token)
5575 (smie-indent-backward-token): Handle string tokens (bug#14381).
5576
c43d45f9
TH
55772013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5578
fe1eb856
RS
5579 * ielm.el (ielm-menu): New menu.
5580 (inferior-emacs-lisp-mode): Set comment-start.
96172128 5581
fe1eb856
RS
55822013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5583
5584 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5585 Fix deactivate action.
5586
5587 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5588 Add cleveref macros.
074dd971 5589
c43d45f9
TH
5590 * lisp/textmodes/reftex-parse.el
5591 (reftex-locate-bibliography-files): Accept options for
5592 bibliography commands.
5593 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5594 Add addbibresource. Basic Biblatex support.
5595
7764286e
MA
55962013-05-23 Michael Albinus <michael.albinus@gmx.de>
5597
5598 * net/tramp-gvfs.el (top):
5599 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5600 when loading package. (Bug#14447)
5601
d361bc10
GM
56022013-05-23 Glenn Morris <rgm@gnu.org>
5603
8fa23984
GM
5604 * progmodes/js.el: No need to load comint when compiling.
5605 (ring-insert, comint-send-string, comint-send-input)
5606 (comint-last-input-end, ido-chop): Declare.
5607
a5c7df1a
GM
5608 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5609 * vc/ediff-mult.el: Adjust requires.
5610 (ediff-directories-internal, ediff-directory-revisions-internal)
5611 (ediff-patch-file-internal): Declare.
5612 * vc/ediff-ptch.el: Adjust requires.
5613 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5614 (ediff-find-file): Autoload.
5615 * vc/ediff-util.el: No need to load ediff when compiling.
5616 (ediff-regions-internal): Declare.
5617 * vc/ediff-wind.el: Adjust requires.
5618 (ediff-compute-toolbar-width): Define when compiling.
5619 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5620 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5621 (dired-get-filename, dired-get-marked-files)
5622 (ediff-last-dir-patch, ediff-patch-default-directory)
5623 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5624 (ediff-patch-buffer-internal): Declare.
5625
e2aec513
GM
5626 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5627 (ispell-process, ispell-buffer-local-words, lm-summary)
5628 (lm-section-start, lm-section-end): Declare.
5629 (checkdoc-ispell-init): Simplify.
5630
e68bbd7c
GM
5631 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5632 (he-string-member, he-reset-string, he-substitute-string): Declare.
5633
7efe0991
GM
5634 * eshell/em-ls.el: Adjust requires.
5635 (eshell-glob-regexp): Declare.
f87b1284
GM
5636 * eshell/em-tramp.el: Adjust requires.
5637 (eshell-parse-command): Autoload.
5638 * eshell/em-xtra.el: Adjust requires.
5639 (eshell-parse-command): Autoload.
5640 * eshell/esh-ext.el: Adjust requires.
5641 (eshell-parse-command, eshell-close-handles): Autoload.
5642 * eshell/esh-io.el: Adjust requires.
5643 (eshell-output-filter): Autoload.
5644 * eshell/esh-util.el: No need to load tramp when compiling.
5645 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5646 Declare.
5647 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5648 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5649 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5650 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5651 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5652 * eshell/esh-opt.el, eshell/esh-proc.el:
5653 * eshell/esh-var.el: Adjust requires.
5654 * eshell/eshell.el: Do not require esh-util twice.
5655 (eshell-add-input-to-history): Declare.
5656 (eshell-command): Check history module is active before using it.
5657
d361bc10
GM
5658 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5659
85d090a9
LL
56602013-05-22 Leo Liu <sdl.web@gmail.com>
5661
5662 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5663
5d0acd9d
MA
56642013-05-22 Michael Albinus <michael.albinus@gmx.de>
5665
5666 * autorevert.el (auto-revert-notify-add-watch)
5667 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5668 it indicates changes in file modification time.
5669
0cdffd7d
GM
56702013-05-22 Glenn Morris <rgm@gnu.org>
5671
ca5995ec
GM
5672 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5673 Always delete the autoloaded function from the noruntime and
5674 unresolved functions lists.
5675
6450907e
GM
5676 * allout.el: No need to load epa, epg, overlay when compiling.
5677 (epg-context-set-passphrase-callback, epg-list-keys)
5678 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5679 (epg-key-user-id-list): Declare.
5680
9c6906f6
GM
5681 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5682 (viper-set-parsing-style-toggling-macro)
5683 (viper-set-emacs-state-searchstyle-macros):
5684 Use called-interactively-p on Emacs.
5685 (viper-looking-back): Make it an obsolete alias. Update callers.
5686 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5687 Use looking-back rather than viper-looking-back.
5688 (viper-tmp-insert-at-eob, viper-enlarge-region)
5689 (viper-read-string-with-history, viper-register-to-point)
5690 (viper-append-to-register, viper-change-state-to-vi)
5691 (viper-backward-char-carefully, viper-forward-char-carefully)
5692 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5693 (viper-change-state-to-emacs): Declare.
5694 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5695 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5696 * emulation/viper-mous.el: Do not load viper-cmd.
5697 (viper-backward-char-carefully, viper-forward-char-carefully)
5698 (viper-forward-word, viper-adjust-window): Declare.
5699
5f70c169
GM
5700 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5701
b1b7f300
GM
5702 * progmodes/idlw-help.el (idlwave-help-fontify):
5703 Use called-interactively-p.
5704
f6ebbb46
GM
5705 * term/w32console.el (w32-get-console-codepage)
5706 (w32-get-console-output-codepage): Declare.
5707
0cdffd7d
GM
5708 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5709 Remove unnecessary declarations.
5710 (dframe-message): Doc fix.
5711
5712 * info.el (dframe-select-attached-frame, dframe-current-frame):
5713 Declare.
5714
5715 * speedbar.el (speedbar-message): Make it an obsolete alias.
5716 Update all callers.
5717 (speedbar-with-attached-buffer)
5718 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5719 (speedbar-with-writable): Use backquote.
5720 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5721 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5722 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5723 rather than speedbar- aliases.
5724 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5725 (speedbar-make-specialized-keymap, speedbar-insert-button)
5726 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5727 (speedbar-do-function-pointer): Declare.
5728 (rmail-speedbar-button, rmail-speedbar-find-file)
5729 (rmail-speedbar-move-message):
5730 Use dframe-with-attached-buffer rather than speedbar- alias.
5731 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5732 (dframe-message, speedbar-make-specialized-keymap)
5733 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5734 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5735 (speedbar-insert-button, dframe-select-attached-frame)
5736 (dframe-maybee-jump-to-attached-frame)
5737 (speedbar-change-initial-expansion-list)
5738 (speedbar-previously-used-expansion-list-name): Declare.
5739 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5740 Use dframe-message, dframe-with-attached-buffer rather than
5741 speedbar- aliases.
5742 (gud-sentinel): Silence compiler.
5743 * progmodes/vhdl-mode.el (speedbar-refresh)
5744 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5745 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5746 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5747 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5748 (speedbar-file-lists, speedbar-make-tag-line)
5749 (speedbar-line-directory, speedbar-goto-this-file)
5750 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5751 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5752 (speedbar-make-button, speedbar-reset-scanners)
5753 (speedbar-files-item-info, speedbar-line-text)
5754 (speedbar-find-file-in-frame, speedbar-set-timer)
5755 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5756 (speedbar-with-writable): Do not (re)define it.
5757 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5758 rather than speedbar- alias.
5759
ee44b62a
LL
57602013-05-21 Leo Liu <sdl.web@gmail.com>
5761
5762 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5763 menu items.
5764 (octave-mode): Tweak fill-nobreak-predicate.
5765 (inferior-octave-startup): Check process to avoid infinite loop.
5766 (inferior-octave): Pop to buffer first to show abornmal process
5767 exit information.
5768
640f050f
GM
57692013-05-21 Glenn Morris <rgm@gnu.org>
5770
79458038
GM
5771 * printing.el (pr-menu-bar): Define when compiling.
5772
9cc3e83f
LL
57732013-05-21 Leo Liu <sdl.web@gmail.com>
5774
5775 * progmodes/octave.el (octave-auto-fill): Remove.
5776 (octave-indent-new-comment-line): Improve.
5777 (octave-mode): Use auto fill mode through
4f405069 5778 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 5779 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 5780 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
5781 (octave-help): Show parent directory.
5782
f440830d
GM
57832013-05-21 Glenn Morris <rgm@gnu.org>
5784
5785 * files.el (dired-unmark):
5786 * progmodes/gud.el (gdb-input): Update declarations.
5787
5788 * calculator.el (electric, ehelp): No need to load when compiling.
5789 (Electric-command-loop, electric-describe-mode): Declare.
5790
5791 * doc-view.el (doc-view-current-converter-processes): Move before use.
5792
5793 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5794 Move MODE-set-explicitly definition before use.
5795
5796 * international/mule-diag.el (mule-diag):
5797 Don't use obsolete window-system-version.
5798
5799 * mail/feedmail.el (smtpmail): No need to load when compiling.
5800 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5801
5802 * mail/mail-utils.el (rfc822): No need to load when compiling.
5803 (rfc822-addresses): Autoload it.
5804 (mail-strip-quoted-names): Trivial simplification.
5805
5806 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5807 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5808
5809 * net/snmp-mode.el (tempo): Don't duplicate requires.
5810
5811 * progmodes/prolog.el (info): No need to load when compiling.
5812 (comint): Require before shell requires it.
5813 (Info-goto-node): Autoload it.
5814 (Info-follow-nearest-node): Declare.
5815 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5816
5817 * textmodes/artist.el (picture-mode-exit): Declare.
5818
5819 * textmodes/reftex-parse.el (reftex-parse-from-file):
5820 Trivial rewrite so the compiler can parse it better.
5821
b4da2cbb
LL
58222013-05-20 Leo Liu <sdl.web@gmail.com>
5823
5824 * progmodes/octave.el (octave-help-mode-map)
5825 (octave-help-mode-finish-hook): New variables.
5826 (octave-help-mode, octave-help-mode-finish): New functions.
5827 (octave-help): Use octave-help-mode.
5828
33c0f65b
GM
58292013-05-20 Glenn Morris <rgm@gnu.org>
5830
5831 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5832
1a0a0a8a
DG
58332013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5834
5835 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5836 start at point, so that expansion starting right after opening
5837 slash in a regexp is recognized.
5838 (ruby-syntax-before-regexp-re): New defvar, extracted from
5839 ruby-syntax-propertize-function. Since the value of this regexp
5840 is looked up at runtime now, we should be able to turn
5841 `ruby-syntax-methods-before-regexp' into a defcustom later.
5842 (ruby-syntax-propertize-function): Split regexp matching into two
5843 parts, for opening and closing slashes. That allows us to skip
5844 over string interpolations and support multiline regexps.
5845 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5846 for them, which calls `ruby-syntax-propertize-expansion'.
5847 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5848 call to `ruby-syntax-propertize-function'.
5849 (ruby-syntax-propertize-expansion): Extracted from
5850 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
5851 (ruby-syntax-propertize-percent-literal): Leave point right after
5852 the percent symbol, so that the expression expansion rule can
5853 propertize the contents.
462388b6
DG
5854 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5855 heredoc openers.
5856 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 5857
c1a6c0a4
JL
58582013-05-18 Juri Linkov <juri@jurta.org>
5859
5860 * man.el (Man-default-man-entry): Remove `-' from the end
5861 of the default value. (Bug#14400)
5862
8051fccd
GM
58632013-05-18 Glenn Morris <rgm@gnu.org>
5864
5865 * comint.el (comint-password-prompt-regexp):
5866 Allow "password for XXX" where XXX contains colons (eg https://...).
5867
5e80b74f
LL
58682013-05-18 Leo Liu <sdl.web@gmail.com>
5869
5870 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 5871 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
5872 (octave-source-directories): Don't check process.
5873 (octave-source-directories, octave-find-definition): Doc fix.
5874
521a54c5
GM
58752013-05-18 Glenn Morris <rgm@gnu.org>
5876
86a94b05
GM
5877 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5878 Remove backspace/delete bindings. (Bug#14392)
5879
521a54c5
GM
5880 * cus-dep.el (custom-make-dependencies): Sort the output.
5881 (custom-versions-load-alist): Convert comment to doc.
5882
42caeb89
LL
58832013-05-17 Leo Liu <sdl.web@gmail.com>
5884
5885 * newcomment.el (comment-search-backward): Stricter in finding
5886 comment start. (Bug#14303)
5887
5888 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5889 (octave-comment-start-skip): Properly anchored.
5890
e219dd97
LL
58912013-05-17 Leo Liu <sdl.web@gmail.com>
5892
fe1eb856
RS
5893 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5894 Clean up when turned off. (Bug#14395)
e219dd97
LL
5895 (smie--highlight-matching-block-overlay): No longer buffer-local.
5896 (smie-highlight-matching-block): Adjust.
5897
dc5dcb4b
PE
58982013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5899
5900 Doc string fix for "nanoseconds" (Bug#14406).
5901 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5902 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5903
1db165f0
JB
59042013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5905
5906 * calc/calc-units.el (math-extract-units): Preserve powers
5907 of units.
5908
c7a8fcac
LL
59092013-05-17 Leo Liu <sdl.web@gmail.com>
5910
5911 * subr.el (delete-consecutive-dups): New function.
5912 * ido.el (ido-set-matches-1): Use it.
5913 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5914 * ido.el (ido-remove-consecutive-dups): Remove.
5915
f678b18a
SM
59162013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5919 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5920 regexp-opt's `words'.
5921
ebfe68e8
LL
59222013-05-16 Leo Liu <sdl.web@gmail.com>
5923
5924 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5925 (smie--highlight-matching-block-overlay)
5926 (smie--highlight-matching-block-lastpos)
5927 (smie--highlight-matching-block-timer): New variables.
5928 (smie-highlight-matching-block): New function.
5929 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5930 (smie-setup): Conditionally enable smie-blink-matching-open.
5931
bc8bc17d
WS
59322013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5933
5934 Sync with upstream verilog-mode r840.
5935 * progmodes/verilog-mode.el (verilog-mode-version)
5936 (verilog-mode-release-date): Update.
5937 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5938 (verilog-sig-tieoff): Fix string error on
5939 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5940 (verilog-read-decls): Fix parameters confusing
5941 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5942
df065a0b
EZ
59432013-05-16 Eli Zaretskii <eliz@gnu.org>
5944
5945 * subr.el (reveal-filename): New function.
5946
5947 * loadup.el: Compute Emacs executable versions on MS-Windows,
5948 where executables have the .exe extension. Add a hard link
5949 emacs-XX.YY.ZZ.exe on MS-Windows.
5950
5951 * Makefile.in (XARGS_LIMIT): New variable.
5952 (custom-deps, finder-data, autoloads)
5953 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5954 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5955 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5956 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5957
2d4bf34b
LL
59582013-05-16 Leo Liu <sdl.web@gmail.com>
5959
5960 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5961 (octave-mode-menu, octave-mode-map): Remove its uses.
5962
6b9c2d85
RZ
59632013-05-16 Reto Zimmermann <reto@gnu.org>
5964
5965 Sync with upstream vhdl mode v3.34.2.
5966 * progmodes/vhdl-mode.el: Use `push' throughout.
5967 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5968 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5969 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5970 (vhdl-actual-generic-name): New option to derive actual generic name.
5971 (vhdl-port-paste-signals): Replace formal by actual generics.
5972 (vhdl-beautify): New name for old group vhdl-align. Update users.
5973 (vhdl-beautify-options): New option.
5974 (vhdl-last-input-event): New compat alias. Use throughout.
5975 (vhdl-goto-line): Replace user level function `goto-line'.
5976 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5977 vhdl-fix-statement-buffer.
5978 (vhdl-create-mode-menu): Add some entries.
5979 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5980 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5981 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5982 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5983 to force statements on one line.
5984 (vhdl-remove-trailing-spaces-region):
5985 New, split from vhdl-remove-trailing-spaces.
5986 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5987 Respect vhdl-beautify-options.
5988 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5989 (vhdl-update-sensitivity-list): Not add with index if exists without.
5990 Not include array index with signal. Ignore keywords in comments.
5991 (vhdl-get-visible-signals): Regexp tweaks.
5992 (vhdl-template-component-inst): Handle empty library.
5993 (vhdl-template-type): Add template for 'enum' type.
5994 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5995 Use vhdl-replace-string.
5996 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5997 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5998 (vhdl-speedbar-initialize): Update for above name change.
5999 (vhdl-compose-wire-components): Fix in handling of constants.
6000 (vhdl-error-regexp-emacs-alist): New variable.
6001 (vhdl-error-regexp-add-emacs): New function;
6002 adds support for new compile.el (Emacs 22+)
6003 (vhdl-generate-makefile-1): Change target order for single lib. units.
6004 Allow use of absolute file names.
6005
9df4ec5e
LL
60062013-05-16 Leo Liu <sdl.web@gmail.com>
6007
6008 * simple.el (prog-indent-sexp): Indent enclosing defun.
6009
f5ba00a6
GM
60102013-05-15 Glenn Morris <rgm@gnu.org>
6011
ed8be7ff
GM
6012 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6013 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6014 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6015 (whitespace-highlight): Move to whitespace group.
6016
6017 * comint.el (comint-source):
6018 * pcmpl-linux.el (pcmpl-linux):
6019 * shell.el (shell-faces):
6020 * eshell/esh-opt.el (eshell-opt):
6021 * international/ccl.el (ccl): Remove empty custom groups.
6022
6023 * completion.el (dynamic-completion-mode):
6024 * jit-lock.el (jit-lock-debug-mode):
6025 * minibuffer.el (completion-in-region-mode):
6026 * type-break.el (type-break-mode-line-message-mode)
6027 (type-break-query-mode):
6028 * emulation/tpu-edt.el (tpu-edt-mode):
6029 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6030 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6031 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6032
6033 * term/xterm.el (xterm): Change parent group to terminals.
6034
6035 * master.el (master): Remove empty custom group.
6036 (master-mode): Remove unused :group argument.
6037 * textmodes/refill.el (refill): Remove empty custom group.
6038 (refill-mode): Remove unused :group argument.
6039
6040 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6041
82a7c41b
GM
6042 * cus-dep.el: Provide a feature.
6043 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6044 Don't mistakenly ignore files whose basenames match a basename
6045 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6046 Add a fallback method for getting :group.
f5ba00a6 6047
6d65486d
JL
60482013-05-15 Juri Linkov <juri@jurta.org>
6049
da547b32
JL
6050 * isearch.el (isearch-char-by-name): Rename from
6051 `isearch-insert-char-by-name'. Doc fix.
6052 (isearch-forward): Mention `isearch-char-by-name' in
6053 the docstring. (Bug#13348)
6054
6d65486d
JL
6055 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6056 `exit-minibuffer' instead of
6057 `isearch-nonincremental-exit-minibuffer'.
6058 (isearch-edit-string): Remove mention of
6059 `isearch-nonincremental-exit-minibuffer' from docstring.
6060 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6061 (isearch-forward-exit-minibuffer)
6062 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6063
c9990474
SM
60642013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6e911150
SM
6066 * loadup.el: Just use unversioned DOC.
6067
c9990474
SM
6068 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6069 literals as extending to EOB.
6070 (nxml-last-fontify-end): Remove unused variable.
6071 (nxml-after-change1): Use with-silent-modifications.
6072 (nxml-extend-after-change-region): Simplify.
6073 (nxml-extend-after-change-region1): Remove function.
6074 (nxml-after-change1): Don't adjust for dependent regions.
6075 (nxml-fontify-matcher): Simplify.
6076 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6077 (xmltok-add-dependent): Remove function.
6078 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6079 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6080 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6081 unclosed <[[, <?, comment, and other literals as extending to EOB.
6082 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6083 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6084 Remove functions.
6085 (rng-do-some-validation-1): Don't mark dependent regions.
6086 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6087 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6088 (nxml-clear-dependent-regions): Remove functions.
6089 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6090 (nxml-ensure-scan-up-to-date):
6091 Don't clear&mark dependent regions.
6092
e3772e98
LL
60932013-05-15 Leo Liu <sdl.web@gmail.com>
6094
c9990474
SM
6095 * progmodes/octave.el (octave-goto-function-definition):
6096 Improve and fix callers.
e3772e98 6097
5ac2eb34
SM
60982013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6099
c46c57b0
SM
6100 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6101 the setter (bug#14387).
6102
5ac2eb34
SM
6103 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6104 surrounding group (bug#14402).
6105
180ed218
JL
61062013-05-14 Juri Linkov <juri@jurta.org>
6107
6108 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6109 (Bug#14390)
6110
0ac0fecb
GM
61112013-05-14 Glenn Morris <rgm@gnu.org>
6112
6113 * progmodes/f90.el (f90-imenu-generic-expression):
6114 Fix typo in 2013-05-08 change. (Bug#14402)
6115
2e78e6a7
JPG
61162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6117
5ac2eb34
SM
6118 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6119 Remove signals for which replies are never received.
2e78e6a7 6120
53267cca
JPG
61212013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6122
6123 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6124 (gdb-handler-alist, gdb-handler-number): Remove variables.
6125 (gdb-handler-list): New variable.
6126 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6127 (gdb-pending-handler-p, gdb-handle-reply)
6128 (gdb-remove-all-pending-triggers): New functions.
6129 (gdb-discard-unordered-replies): New defcustom.
6130 (gdb-handler): New defstruct.
6131 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6132 instead of gdb-pending-triggers. Update docstring.
6133 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6134 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6135 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6136 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6137 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6138 (gdb-frame-handler): Pending triggers are now automatically managed.
6139 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6140 Remove argument.
6141 (gdb-input): Automatically handles pending triggers. Update docstring.
6142 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6143 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6144 Update comments.
6145 (gdb-done-or-error): Now use gdb-handle-reply.
6146
d04ce803
JPG
61472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6148
6149 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6150 gdb-debug-log.
6151
0114073a
GM
61522013-05-14 Glenn Morris <rgm@gnu.org>
6153
6154 * subr.el (user-emacs-directory-warning): New option.
6155 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6156
4d25fd7e
LL
61572013-05-14 Leo Liu <sdl.web@gmail.com>
6158
6159 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6160 during redisplay.
6161 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6162 (octave-font-lock-texinfo-comment): Fix invalid search bound
6163 error: wrong side of point.
4d25fd7e 6164
27c8b6eb
GM
61652013-05-14 Glenn Morris <rgm@gnu.org>
6166
61aaeb01
GM
6167 * progmodes/flymake.el (flymake-xml-program): New option.
6168 (flymake-xml-init): Use it.
6169
5bf90bc5
GM
6170 * term/xterm.el: Provide a feature.
6171
6172 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6173
f4c7dfd2
GM
61742013-05-13 Glenn Morris <rgm@gnu.org>
6175
6176 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6177 Add compat aliases as a hack workaround. (Bug#14384)
6178
2aeb3a1d
LL
61792013-05-13 Leo Liu <sdl.web@gmail.com>
6180
b0e069c2
LL
6181 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6182 ###, and %!.
f5a9432f
LL
6183 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6184 C-M-q.
b0e069c2
LL
6185 (octave-comment-start-skip): Include %!.
6186 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6187
30ea8374
LL
61882013-05-12 Leo Liu <sdl.web@gmail.com>
6189
6190 * progmodes/octave.el (inferior-octave-startup): Store the value
6191 of __octave_srcdir__ for octave-source-directories.
6192 (inferior-octave-check-process): New function refactored out of
6193 inferior-octave-send-list-and-digest.
6194 (octave-source-directories)
6195 (octave-find-definition-filename-function): New variables.
6196 (octave-source-directories)
6197 (octave-find-definition-default-filename): New functions.
6198 (octave-find-definition): Improve to find functions implemented in C++.
6199
472a3834
GM
62002013-05-12 Glenn Morris <rgm@gnu.org>
6201
6202 * calendar/diary-lib.el (diary-outlook-format-1):
6203 Don't include dayname in the output. (Bug#14349)
6204
3191b52f
GM
62052013-05-11 Glenn Morris <rgm@gnu.org>
6206
0060ac73
GM
6207 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6208
3191b52f
GM
6209 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6210 Treat cc-provide like provide.
6211
e065ba74
KR
62122013-05-11 Kevin Ryde <user42@zip.com.au>
6213
6214 * cus-dep.el (custom-make-dependencies):
6215 Use generated-autoload-load-name for the sake of files such
6216 such cedet/semantic/bovine/c.el, where the base file name
6217 is not in load-path. (Bug#5277)
6218
36f84c37
GM
62192013-05-11 Glenn Morris <rgm@gnu.org>
6220
6221 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6222 Provide features.
6223
c8730c3a
LL
62242013-05-11 Leo Liu <sdl.web@gmail.com>
6225
6226 * progmodes/octave.el (octave-indent-comment): Improve.
6227 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6228 (octave-eldoc-function-signatures, octave-eldoc-function):
6229 New functions.
c8730c3a
LL
6230 (octave-mode, inferior-octave-mode): Add eldoc support.
6231
212e29f2
RS
62322013-05-11 Richard Stallman <rms@gnu.org>
6233
6234 * epa.el (epa-decrypt-file): Take output file name as argument
6235 and read it using `interactive'.
6236
083fe0d7
LL
62372013-05-11 Leo Liu <sdl.web@gmail.com>
6238
6239 * progmodes/octave.el (octave-beginning-of-line)
6240 (octave-end-of-line): Check before using up-list because it jumps
6241 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6242 (octave-indent-comment): New function.
6243 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6244 (octave-begin-keywords, octave-end-keywords)
6245 (octave-reserved-words, octave-smie-bnf-table)
6246 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6247
8582e4c4
GM
62482013-05-11 Glenn Morris <rgm@gnu.org>
6249
f20def1f
GM
6250 * faces.el (internal-face-x-get-resource):
6251 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6252 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6253 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6254 Fix declarations.
f20def1f 6255
445f95e2
GM
6256 * calc/calc-menu.el: Make it loadable in isolation.
6257
6258 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6259 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6260 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6261 (eudc-bbdb-query-internal): Require 'bbdb.
6262
99fb2756
GM
6263 * lpr.el (lpr-headers-switches):
6264 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6265
6266 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6267
0da7ad96
GM
6268 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6269
8582e4c4
GM
6270 * term.el (term-set-escape-char): Make it idempotent.
6271
f71c50d0
LL
62722013-05-10 Leo Liu <sdl.web@gmail.com>
6273
5ac2eb34
SM
6274 * progmodes/octave.el (inferior-octave-completion-table):
6275 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6276 completion due to bug#11906.
6277 (octave-beginning-of-defun): Re-write to be more general.
6278
d5837773
GM
62792013-05-10 Glenn Morris <rgm@gnu.org>
6280
6281 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6282
027c0f75
SM
62832013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * comint.el (comint-redirect-send-command-to-process): Use :around
6286 rather than :override for comint-redirect-filter.
6287 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6288 Call it instead of comint-redirect-original-filter-function (which
6289 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6290
4465bfb4
JD
62912013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6292
6293 * frame.el (display-monitor-attributes-list): Add NS case.
6294 (ns-display-monitor-attributes-list): Declare.
6295
2d809ffa 62962013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6297
6298 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6299
e54eeb9b
GM
63002013-05-09 Glenn Morris <rgm@gnu.org>
6301
56cd351d
GM
6302 * international/fontset.el (vertical-centering-font-regexp):
6303 Set standard-value.
6304
d84b6108
GM
6305 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6306
a931698a
GM
6307 * bookmark.el (bookmark-search-delay):
6308 * cus-start.el (vertical-centering-font-regexp):
6309 * ps-mule.el (ps-mule-font-info-database-default):
6310 * ps-print.el (ps-default-fg, ps-default-bg):
6311 * type-break.el (type-break-good-break-interval):
6312 * whitespace.el (whitespace-indentation-regexp)
6313 (whitespace-space-after-tab-regexp):
6314 * emacs-lisp/testcover.el (testcover-1value-functions)
6315 (testcover-noreturn-functions, testcover-progn-functions)
6316 (testcover-prog1-functions):
6317 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6318 * eshell/em-glob.el (eshell-glob-translate-alist):
6319 * play/tetris.el (tetris-tty-colors):
6320 * progmodes/cpp.el (cpp-face-default-list):
6321 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6322 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6323 (idlwave-help-browser-generic-args):
6324 * progmodes/make-mode.el (makefile-special-targets-list):
6325 * progmodes/python.el (python-shell-virtualenv-path):
6326 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6327 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6328 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6329 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6330 * textmodes/reftex-vars.el (reftex-format-label-function):
6331 * textmodes/remember.el (remember-diary-file): Fix custom types.
6332
e54eeb9b
GM
6333 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6334 Add :version.
6335
455851dd
LL
63362013-05-09 Leo Liu <sdl.web@gmail.com>
6337
6338 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6339 Restore file completion. (Bug#14300)
455851dd
LL
6340 (inferior-octave-startup): Fix incorrect highlighting for the
6341 first prompt.
6342
a9e4425b
SM
63432013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * progmodes/ruby-mode.el: First cut at SMIE support.
6346 (ruby-use-smie): New var.
6347 (ruby-smie-grammar): New constant.
6348 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6349 (ruby-smie--forward-token, ruby-smie--backward-token)
6350 (ruby-smie-rules): New functions.
6351 (ruby-mode-variables): Setup SMIE if applicable.
6352
060ca408
EZ
63532013-05-08 Eli Zaretskii <eliz@gnu.org>
6354
6355 * simple.el (line-move-visual): Signal beginning/end of buffer
6356 only if vertical-motion moved less than it was requested. Avoids
6357 silly incorrect error messages when there are display strings with
6358 multiple newlines at EOL.
6359
1d5963cc
SM
63602013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6363 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6364 (prolog-char-quote-workaround):
6365 * progmodes/cperl-mode.el (cperl-under-as-char):
6366 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6367 Mark as obsolete.
6368 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6369 their declaration.
6370 (vhdl-mode-syntax-table-init): Remove.
6371
c9990474
SM
6372 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6373 last change.
1d5963cc
SM
6374
6375 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6376 syntax for "_".
6377 (ld-script-font-lock-keywords):
6378 Change regexps to use things like \_< and \_>.
6379
6380 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6381 Change all regexps to use things like \_< and \_>.
6382
6383 * progmodes/autoconf.el (autoconf-definition-regexp)
6384 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6385 Handle a _ with symbol syntax.
6386 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6387
c9990474
SM
6388 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6389 Consolidate declaration.
1d5963cc
SM
6390 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6391 the declaration.
6392 (ada-create-syntax-table): Remove.
6393 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6394 already has the right syntax nowadays.
6395 (ada-goto-next-word): Don't change the syntax of "_".
6396
6397 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6398 with-wrapper-hook.
6399
72d3cfca
SS
64002013-05-08 Sam Steingold <sds@gnu.org>
6401
6402 * thingatpt.el (thing-at-point): Accept optional second argument
6403 NO-PROPERTIES to strip the text properties from the return value.
6404 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6405 to `thing-at-point' instead of stripping the properties ourselves.
6406 Also, when `thing-at-point' fails to find a url, prepend "http://"
6407 to the filename at point on the assumption that the user is
6408 pointing at something like gnu.org/gnu.
6409
5cb15713
JB
64102013-05-08 Juanma Barranquero <lekktu@gmail.com>
6411
6412 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6413 * faces.el (crm-separator):
6414 Silence byte-compiler.
6415
6416 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6417 (tool-bar-map): Remove unneeded defvars.
6418
ea78b95b
LL
64192013-05-08 Leo Liu <sdl.web@gmail.com>
6420
6421 Re-work a fix for bug#10994 based on Le Wang's patch.
6422 * ido.el (ido-remove-consecutive-dups): New helper.
6423 (ido-completing-read): Use it.
6424 (ido-chop): Revert fix for bug#10994.
6425
dc7466df
AS
64262013-05-08 Adam Spiers <emacs@adamspiers.org>
6427
6428 * cus-edit.el (custom-save-variables):
6429 Pretty-print long values. (Bug#14187)
6430
9ecf672a
GM
64312013-05-08 Glenn Morris <rgm@gnu.org>
6432
6433 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6434 (m4-mode-syntax-table): Init in the defvar.
6435 (m4-mode-abbrev-table): Let define-derived-mode define it.
6436
3f555be8
TT
64372013-05-08 Tom Tromey <tromey@redhat.com>
6438
6439 * progmodes/m4-mode.el (m4-mode-syntax-table):
6440 Do not treat "_" as word constituent. (Bug#14167)
6441
7cc8ae06
GM
64422013-05-07 Glenn Morris <rgm@gnu.org>
6443
4f58bc06
GM
6444 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6445 Remove explicit eshell-isearch-cancel-map.
6446
7cc8ae06
GM
6447 * progmodes/f90.el (f90-smart-end-names): New option.
6448 (f90-smart-end): Doc fix.
6449 (f90-end-block-optional-name): New constant.
6450 (f90-block-match): Respect f90-smart-end-names.
6451
ceb57e59
SM
64522013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6455 about implicit semi-colons (bug#14218).
6456
4e3f9230
YM
64572013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6458
6459 * frame.el (display-monitor-attributes-list)
6460 (frame-monitor-attributes): New functions.
6461
203a5572
LL
64622013-05-06 Leo Liu <sdl.web@gmail.com>
6463
6464 * progmodes/octave.el (octave-syntax-propertize-function): Change
6465 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6466 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6467 (octave-completion-at-point): Rename from
203a5572
LL
6468 octave-completion-at-point-function.
6469 (inferior-octave-directory-tracker): Robustify.
6470 (octave-text-functions): Remove and fix its uses. No such things
6471 any more.
6472
ee6cff99
SM
64732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * emacs-lisp/trace.el (trace--display-buffer): New function.
6476 (trace-make-advice): Use it.
6477
32985194
JL
64782013-05-06 Juri Linkov <juri@jurta.org>
6479
6480 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6481 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6482 Doc fix.
6483 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6484 in the help string. (Bug#12985)
6485
a1c700de
KD
64862013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6487
6488 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6489
c67c0839
SM
64902013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6491
323885fd
SM
6492 * progmodes/perl-mode.el: Add support for here documents.
6493 (perl-syntax-propertize-function): Match here-doc markers.
6494 (perl-syntax-propertize-special-constructs): Find their end.
6495 (perl-imenu-generic-expression): Use [:alnum:].
6496
c67c0839
SM
6497 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6498 (advice--add-function): Refresh the advice if already present
6499 (bug#14317).
6500
d491e7a8
IA
65012013-05-06 Ivan Andrus <darthandrus@gmail.com>
6502
6503 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6504
ddf9925e
GM
65052013-05-06 Glenn Morris <rgm@gnu.org>
6506
7cc3af27
GM
6507 * w32-fns.el (w32-charset-info-alist): Declare.
6508
16e343d6
GM
6509 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6510 of its defcustom properties.
6511 (eshell-cmpl-initialize): No need to load pcomplete.
6512
7d889a47
GM
6513 * generic-x.el: No need to require comint when compiling.
6514
ddf9925e
GM
6515 * net/eudc-export.el: Make it loadable without bbdb.
6516 (top-level): Use require rather than load-library.
6517 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6518 (eudc-batch-export-records-to-bbdb)
6519 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6520 Require bbdb.
6521
1e2c18df
SM
65222013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6525 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6526 some tweaks, instead.
6527
02502a5f
LL
65282013-05-05 Leo Liu <sdl.web@gmail.com>
6529
6530 * progmodes/octave.el (octave-font-lock-keywords)
6531 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6532 (inferior-octave-send-list-and-digest): Improve error message.
6533 (octave-mode, inferior-octave-mode): Use setq-local.
6534 (octave-help): Set info-lookup-mode.
6535
0dc04f42
RS
65362013-05-05 Richard Stallman <rms@gnu.org>
6537
6c54491c
RS
6538 * vc/compare-w.el (compare-windows-whitespace):
6539 Treat no-break space as whitespace.
6540
0dc04f42
RS
6541 * mail/rmailsum.el (rmail-summary-rmail-update):
6542 Detect empty summary and don't change selected message.
6543 (rmail-summary-goto-msg): Likewise.
6544
df8f35df
RS
6545 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6546 Doc fixes, rename args.
6547
5356e1a3
AM
65482013-05-05 Alan Mackenzie <acm@muc.de>
6549
6550 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6551
d44014cb
JL
65522013-05-05 Juri Linkov <juri@jurta.org>
6553
6554 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6555 to not add the length of the summary segment to the return value.
6556 (Bug#14125)
6557
c129b51f
LL
65582013-05-05 Leo Liu <sdl.web@gmail.com>
6559
6560 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6561 (inferior-octave-output-filter): Remove.
6562 (octave-send-region, inferior-octave-startup): Fix callers.
6563 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6564 (octave-binary-file-extensions): New user variable.
6565 (octave-find-definition): Confirm if opening binary files.
6566 (octave-help-file): Use octave-find-definition to get the binary
6567 confirmation.
6568 (octave-help): Adjust for octave-help-file change.
6569
aa7dab97
SM
65702013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6573 Merge the two entries that handle function definitions.
6574 (pascal--syntax-propertize): New const.
6575 (pascal-mode): Use it. Use setq-local.
6576
fd3a9a6b
GM
65772013-05-04 Glenn Morris <rgm@gnu.org>
6578
6579 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6580 (diary-from-outlook): Respect diary-from-outlook-function.
6581
30c7e542
SM
65822013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6585 Move the declaration from C.
6586 (read-minibuffer, eval-minibuffer): Move from C.
6587 (completion-setup-function): Avoid minibuffer-completion-contents.
6588
b54f978b
LL
65892013-05-03 Leo Liu <sdl.web@gmail.com>
6590
6591 * progmodes/octave.el (octave-font-lock-keywords): Do not
6592 dehighlight 'end' in comments or strings.
30c7e542
SM
6593 (octave-completing-read, octave-goto-function-definition):
6594 New helpers.
d4d0f9b3
LL
6595 (octave-help-buffer): New user variable.
6596 (octave-help-file, octave-help-function): New button types.
6597 (octave-help): New command and bind it to C-h ;.
6598 (octave-find-definition): New command and bind it to M-.
d74a1581 6599 (user-error): Alias to error if not defined.
b54f978b 6600
27135018
LL
66012013-05-02 Leo Liu <sdl.web@gmail.com>
6602
6603 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6604 for \. (bug#14332)
6605 (octave-font-lock-keywords): Include [ and {.
6606
0d634d3a
LL
66072013-05-02 Leo Liu <sdl.web@gmail.com>
6608
6609 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6610 (inferior-octave): Remove calling comint-mode and return the buffer.
6611 (inferior-octave-startup): Cosmetic changes.
6612
b4c8295e
LL
66132013-05-02 Leo Liu <sdl.web@gmail.com>
6614
30c7e542
SM
6615 * progmodes/octave.el (octave-syntax-propertize-function):
6616 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 6617
f12ad6ec
GM
66182013-05-02 Glenn Morris <rgm@gnu.org>
6619
6620 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6621 * desktop.el (vc-dir-mode): Just autoload it here.
6622
30cac1e0
AM
66232013-05-02 Alan Mackenzie <acm@muc.de>
6624
6625 Eliminate variable c-standard-font-lock-fontify-region-function.
6626 * progmodes/cc-mode.el
6627 (c-standard-font-lock-fontify-region-function): Remove.
6628 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6629
d8ef28b1
LL
66302013-05-01 Leo Liu <sdl.web@gmail.com>
6631
2640d52e 6632 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 6633 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 6634 variables were removed from Octave in 2007.
d8ef28b1
LL
6635 (inferior-octave-startup): Fix uses.
6636 (comint-line-beginning-position): Remove compatibility code for
6637 emacs 21.
6638
ac63ec89
JL
66392013-05-01 Juri Linkov <juri@jurta.org>
6640
6641 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6642
9e9be37c
JL
66432013-05-01 Juri Linkov <juri@jurta.org>
6644
6645 * comint.el (comint-previous-matching-input): Don't print message
6646 "History item: %d" when `isearch-mode' is active.
6647 (comint-history-isearch-message): Print message "History item: %d"
6648 when `comint-input-ring-index' is not empty and this function is
6649 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6650
9b92c13b
LL
66512013-05-01 Leo Liu <sdl.web@gmail.com>
6652
6653 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6654 definitions. Use completion-at-point to insert keywords.
6655 (octave-abbrev-start): Remove.
6656 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6657
b12d33d7
LL
66582013-04-30 Leo Liu <sdl.web@gmail.com>
6659
6660 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6661 change.
6662
3d1c39fa
AM
66632013-04-30 Alan Mackenzie <acm@muc.de>
6664
6665 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
6666 * progmodes/cc-engine.el (c-back-over-member-initializers):
6667 new function.
3d1c39fa
AM
6668 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6669 (most) member init lists.
6670
5147fc17
RS
66712013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6672
6673 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6674 variable.
6675
5b78d7fc
LL
66762013-04-30 Leo Liu <sdl.web@gmail.com>
6677
6678 * progmodes/octave.el (octave-variables): Remove. No builtin
6679 variables any more. All converted to functions.
6680 (octave-font-lock-keywords, octave-completion-at-point-function):
6681 Fix uses.
6682 (octave-font-lock-texinfo-comment): New user variable.
6683 (octave-texinfo-font-lock-keywords): New variable for texinfo
6684 comment block.
6685 (octave-function-comment-block): New face.
6686 (octave-font-lock-texinfo-comment): New function.
6687 (octave-mode): Font lock texinfo comment block.
6688
38d8527b
LL
66892013-04-29 Leo Liu <sdl.web@gmail.com>
6690
6691 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6692 indexing expression.
6693 (octave-continuation-string): Do not use \.
6694 (inferior-octave-complete-impossible): Remove.
6695 (inferior-octave-completion-table)
6696 (inferior-octave-completion-at-point): Remove its uses.
6697 (inferior-octave-startup): completion_matches was introduced to
6698 Octave in 1996 so safe to assume it.
6699 (octave-function-file-comment): Improve to follow how Octave does it.
6700 (octave-update-function-file-comment): Tweak.
6701
2ec12cb0
LL
67022013-04-29 Leo Liu <sdl.web@gmail.com>
6703
6704 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6705 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6706 (octave-function-file-comment): Fix typo.
6707 (octave-sync-function-file-names): Use read-char-choice.
6708
6eaed048
JB
67092013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6710
6711 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6712 to t for the less important warnings.
6713
3ffa2d4f
DH
67142013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6715
6716 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6717
685c9501
GM
67182013-04-27 Glenn Morris <rgm@gnu.org>
6719
6720 * vc/log-view.el (log-view-current-entry):
6721 Treat "---" separator lines as part of the following rev. (Bug#14169)
6722
0208ede7
JL
67232013-04-27 Juri Linkov <juri@jurta.org>
6724
6725 * subr.el (read-number): Doc fix about using it by interactive
6726 code letter `n'. (Bug#14254)
6727
5db9dace
JL
67282013-04-27 Juri Linkov <juri@jurta.org>
6729
6730 * desktop.el (desktop-auto-save-timeout): New option.
6731 (desktop-file-checksum): New variable.
6732 (desktop-save): Add optional arg `auto-save' and don't auto-save
6733 if nothing changed.
6734 (desktop-auto-save-timer): New variable.
6735 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6736 (after-init-hook): Call `desktop-auto-save-set-timer'.
6737 Suggested by Reuben Thomas <rrt@sc3d.org> in
6738 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6739
b7260dd4
LL
67402013-04-27 Leo Liu <sdl.web@gmail.com>
6741
6742 * progmodes/octave.el (octave-function-file-p)
6743 (octave-skip-comment-forward, octave-function-file-comment)
6744 (octave-update-function-file-comment): New functions.
6745 (octave-mode-map): Bind C-c ; to
6746 octave-update-function-file-comment.
6747 (octave-mode-menu): Add octave-update-function-file-comment.
6748 (octave-mode, inferior-octave-mode): Fix doc-string.
6749 (octave-insert-defun): Conform to Octave's coding convention.
6750 (Bug#14285)
6751
6752 * files.el (basic-save-buffer): Don't let errors in
6753 before-save-hook prevent saving buffer.
6754
c46da669
RW
67552013-04-20 Roland Winkler <winkler@gnu.org>
6756
6757 * faces.el (read-face-name): Use completing-read if arg multiple
6758 is nil.
6759
a81ee1eb
IL
67602013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6761
6762 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
6763 displayed, move point to after the totals line.
6764 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
6765 for the details.
6766
4fac34ce
SM
67672013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6770 Add current dir to the load-path.
6771 (package-generate-autoloads): Don't rely on
6772 autoload-ensure-default-file.
6773
f6bfc063
RT
67742013-04-26 Reuben Thomas <rrt@sc3d.org>
6775
d40ab5cf
BG
6776 * textmodes/remember.el (remember-store-in-files): Document that
6777 the file name format is passed to `format-time-string'.
f6bfc063 6778
e55d3b04
LL
67792013-04-26 Leo Liu <sdl.web@gmail.com>
6780
6781 * progmodes/octave.el (octave-sync-function-file-names): New function.
6782 (octave-mode): Use it in before-save-hook.
6783
e53052d3
SM
67842013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6785
140ef50c
SM
6786 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6787 (bug#14274).
6788
e53052d3
SM
6789 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6790 \n and comment, even if it's not an implicit ; (bug#14218).
6791
af80458d 67922013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
6793
6794 * subr.el (read-number): Once more use `read' rather than
6795 `string-to-number', to trap non-numeric input. (Bug#14254)
6796
af80458d 67972013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
6798
6799 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6800 Use `syntax-multiline' text property consistently instead of
8a621d53 6801 `font-lock-multiline'. (Bug#14237)
70203c2e 6802
e6ea1f6c
GM
68032013-04-26 Glenn Morris <rgm@gnu.org>
6804
6805 * emacs-lisp/shadow.el (list-load-path-shadows):
6806 No longer necessary to check for duplicate simple.el, since
6807 2012-07-07 change to init_lread to not include installation lisp
6808 directories in load-path when running uninstalled. (Bug#14270)
6809
070ccca4
LL
68102013-04-26 Leo Liu <sdl.web@gmail.com>
6811
6812 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6813 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 6814 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
6815 octave-in-string-or-comment-p.
6816 (octave-in-comment-p, octave-in-string-p)
6817 (octave-in-string-or-comment-p): Replace defsubst with defun.
6818
9d1c5fb6
PE
68192013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6820
6821 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6822
c034abda
BG
68232013-04-25 Bastien Guerry <bzg@gnu.org>
6824
6825 * textmodes/remember.el (remember-data-directory)
6826 (remember-directory-file-name-format): Fix custom types.
6827
584ea277
LL
68282013-04-25 Leo Liu <sdl.web@gmail.com>
6829
e53052d3
SM
6830 * progmodes/octave.el (octave-completion-at-point-function):
6831 Make use of inferior octave process.
584ea277
LL
6832 (octave-initialize-completions): Remove.
6833 (inferior-octave-completion-table): New function.
6834 (inferior-octave-completion-at-point): Use it.
6835 (octave-completion-alist): Remove.
6836
1693b06a
SM
68372013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6840 (opascal-mode-syntax-table): New var.
6841 (opascal-literal-kind, opascal-is-literal-end)
6842 (opascal-literal-token-at): Rewrite.
6843 (opascal--literal-start-re, opascal-font-lock-keywords)
6844 (opascal--syntax-propertize): New constants.
6845 (opascal-font-lock-defaults): Adjust.
6846 (opascal-mode): Use them. Set comment-<foo> variables as well.
6847 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6848 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6849 (delphi-other-face, opascal-other-face): Remove face variables.
6850 (opascal-save-state): Remove macro.
6851 (opascal-fontifying-progress-step): Remove constant.
6852 (opascal--ignore-changes): Remove var.
6853 (opascal-set-token-property, opascal-parse-next-literal)
6854 (opascal-is-stable-literal, opascal-complete-literal)
6855 (opascal-is-literal-start, opascal-face-of)
6856 (opascal-parse-region, opascal-parse-region-until-stable)
6857 (opascal-fontify-region, opascal-after-change)
6858 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6859 (opascal-debug-parse-region, opascal-debug-parse-window)
6860 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6861 (opascal-debug-fontify-buffer): Remove.
6862 (opascal-debug-mode-map): Adjust accordingly.
6863
be64c05d
LL
68642013-04-25 Leo Liu <sdl.web@gmail.com>
6865
6866 Merge octave-mod.el and octave-inf.el into octave.el with some
6867 cleanups.
6868 * progmodes/octave.el: New file renamed from octave-mod.el.
6869 * progmodes/octave-inf.el: Merged into octave.el.
6870 * progmodes/octave-mod.el: Renamed to octave.el.
6871
d79d37bd
TH
68722013-04-25 Tassilo Horn <tsdh@gnu.org>
6873
6874 * textmodes/reftex-vars.el
6875 (reftex-label-ignored-macros-and-environments): New defcustom.
6876
6877 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6878
ced3fc5d
SM
68792013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6882 (smie-indent-keyword): Improve the check to ensure that the next
6883 comment is really on the same line.
6884 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6885
6886 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6887 semi-colons if the line is not otherwise empty (bug#14218).
6888
1c141dad
GM
68892013-04-25 Glenn Morris <rgm@gnu.org>
6890
6891 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6892
5058062a
SM
68932013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * progmodes/opascal.el (opascal-set-token-property): Rename from
6896 opascal-set-text-properties and only set `token' (bug#14134).
6897 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6898 (opascal-literal-text-properties): Remove.
6899 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6900 Adjust callers.
6901
5db9dace 69022013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
6903
6904 * textmodes/remember.el (remember-handler-functions): Add an
6905 option for a new handler `remember-store-in-files'.
6906 (remember-data-directory, remember-directory-file-name-format):
6907 New options.
6908 (remember-store-in-files): New function to store remember notes
6909 as separate files within a directory.
6910
4391916c
MH
69112013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6912
6913 * progmodes/compile.el (compilation-next-error-function):
6914 Pass "formats" to compilation-find-file (bug#11777).
6915
bb7cdf58
GM
69162013-04-24 Glenn Morris <rgm@gnu.org>
6917
3b8fe752 6918 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
6919 * vc/vc-hg.el (vc-hg-print-log):
6920 * vc/vc-svn.el (vc-svn-print-log):
6921 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6922
bb7cdf58
GM
6923 * vc/vc-bzr.el (vc-bzr-print-log):
6924 * vc/vc-cvs.el (vc-cvs-print-log):
6925 * vc/vc-git.el (vc-git-print-log):
6926 * vc/vc-hg.el (vc-hg-print-log):
6927 * vc/vc-mtn.el (vc-mtn-print-log):
6928 * vc/vc-rcs.el (vc-rcs-print-log):
6929 * vc/vc-sccs.el (vc-sccs-print-log):
6930 * vc/vc-svn.el (vc-svn-print-log):
6931 * vc/vc.el (vc-print-log-internal): Doc fixes.
6932
b46a056e
GM
69332013-04-23 Glenn Morris <rgm@gnu.org>
6934
6935 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6936 Remove venerable code attempting to avoid substitute-command-keys.
6937
0aecf718
TH
69382013-04-23 Tassilo Horn <tsdh@gnu.org>
6939
4391916c
MH
6940 * textmodes/reftex-vars.el (reftex-label-regexps):
6941 Call `reftex-compile-variables' after changes to this variable.
0aecf718 6942
117f94cf
SM
69432013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6944
4391916c 6945 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
6946 Use lexical-binding.
6947 (jit-lock-force-redisplay): Use markers, check buffer's continued
6948 existence and beware narrowed buffers.
6949 (jit-lock-fontify-now): Adjust call accordingly.
6950
1d829c64
SM
69512013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6954 to avoid misleading the user.
6955
72d548a9
LL
69562013-04-22 Leo Liu <sdl.web@gmail.com>
6957
6958 * info-look.el: Prefer latex2e.info. (Bug#14240)
6959
d0853629
MA
69602013-04-22 Michael Albinus <michael.albinus@gmx.de>
6961
6962 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6963
6964 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 6965 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
6966 (tramp-set-completion-function, tramp-parse-putty):
6967 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6968 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6969 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6970 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6971 (tramp-call-local-coding-command): Use `tramp-call-process'
6972 instead of `tramp-compat-call-process'.
6973
6974 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6975 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6976 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 6977 (tramp-find-inline-compress): Improve traces.
d0853629
MA
6978 (tramp-maybe-send-script): Check for Perl binary.
6979 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6980
38cc0210
DU
69812013-04-22 Daiki Ueno <ueno@gnu.org>
6982
6983 * epg.el (epg-context-pinentry-mode): New function.
6984 (epg-context-set-pinentry-mode): New function.
6985 (epg--start): Pass --pinentry-mode option to gpg command.
6986
cc641ee1
XF
69872013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6988
02d844b5 6989 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 6990 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 6991 `completion-at-point'. (Bug#13774)
5d4e5c31 6992
cc641ee1
XF
6993 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6994 default key binding for `describe-distribution' has been moved to
6995 `C-h C-o'. (Bug#13970)
6996
1b42ee43
GM
69972013-04-21 Glenn Morris <rgm@gnu.org>
6998
6999 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7000 Add doc strings.
7001 (vc-print-log): Clarify interactive prompt.
7002
a6d63d97
GM
70032013-04-20 Glenn Morris <rgm@gnu.org>
7004
7005 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7006 No longer include timestamp etc information.
7007
d7f5c16f
RW
70082013-04-20 Roland Winkler <winkler@gnu.org>
7009
7010 * faces.el (read-face-name): Bug fix, return just one face if arg
7011 multiple is nil. (Bug#14209)
7012
bcd7a0a4
SM
70132013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7016 (remove-function): Autoload.
7017
7018 * comint.el (comint-redirect-original-filter-function): Remove.
7019 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7020 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7021 (vc-cvs-annotate-command):
bcd7a0a4
SM
7022 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7023 * progmodes/prolog.el (prolog-consult-compile):
7024 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7025 Use add/remove-function instead.
7026 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7027 (gud-tooltip-process-output, gud-tooltip-tips):
7028 Use add/remove-function instead.
7029 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7030 (scheme-interaction-mode, exit-scheme-interaction-mode):
7031 Use add/remove-function instead.
7032
7033 * vc/vc-dispatcher.el: Use lexical-binding.
7034 (vc--process-sentinel): Rename from vc-process-sentinel.
7035 Change last arg to be the code to run. Don't use vc-previous-sentinel
7036 and vc-sentinel-commands any more.
7037 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7038 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7039
e36b2d20 70402013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7041
bcd7a0a4 7042 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7043 Handle function names with a single character. (Bug#14111)
4d3268ba 7044
781b4af6 70452013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7046
7047 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7048 for subroutines defined in an eval (bug#14182).
7049
7d688336
TV
70502013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7051
7052 * bookmark.el (bookmark-completing-read): Improve handling of empty
7053 string (bug#14176).
7054
31dcede0
SM
70552013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7056
7057 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7058
adc31213
FEG
70592013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7060
7061 New faster Imenu implementation (bug#14058).
7062 * progmodes/python.el:
7063 (python-imenu-prev-index-position):
7064 (python-imenu-format-item-label-function)
7065 (python-imenu-format-parent-item-label-function)
7066 (python-imenu-format-parent-item-jump-label-function):
7067 New vars.
7068 (python-imenu-format-item-label)
7069 (python-imenu-format-parent-item-label)
7070 (python-imenu-format-parent-item-jump-label)
7071 (python-imenu--put-parent, python-imenu--build-tree)
7072 (python-imenu-create-index, python-imenu-create-flat-index)
7073 (python-util-popn): New functions.
7074 (python-mode): Set imenu-create-index-function to
7075 python-imenu-create-index.
7076
cdca8255
SM
70772013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * winner.el (winner-active-region): Use region-active-p, activate-mark
7080 and deactivate-mark (bug#14225).
7081
7082 * simple.el (deactivate-mark): Don't inline it.
7083
beb42340
MA
70842013-04-18 Michael Albinus <michael.albinus@gmx.de>
7085
7086 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7087
fc7f4d7e
TH
70882013-04-18 Tassilo Horn <tsdh@gnu.org>
7089
7090 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7091 file extensions from the archive-mode entry in order to prefer
7092 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7093
29f47822
LL
70942013-04-18 Leo Liu <sdl.web@gmail.com>
7095
7096 * bindings.el (help-event-list): Add ?\?.
7097
d36ed1c8
SM
70982013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * subr.el (with-wrapper-hook): Declare obsolete.
7101 * simple.el (filter-buffer-substring-function): New hook.
7102 (filter-buffer-substring): Use it.
7103 (filter-buffer-substring-functions): Mark obsolete.
7104 * minibuffer.el (completion-in-region-function): New hook.
7105 (completion-in-region): Use it.
7106 (completion-in-region-functions): Mark obsolete.
7107 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7108 * abbrev.el (abbrev-expand-function): New hook.
7109 (expand-abbrev): Use it.
7110 (abbrev-expand-functions): Mark obsolete.
7111 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7112 and :filter-return.
7113
04754d36
FEG
71142013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7115
7116 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7117 and do not care about match data.
7118
dd8791e9
SM
71192013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7122 completion tables when completing error conditions and
7123 `declare' arguments.
7124 (lisp-complete-symbol, field-complete): Mark as obsolete.
7125 (check-parens): Unmatched parens are user errors.
7126 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7127
ffe54a13
AM
71282013-04-17 Michal Nazarewicz <mina86@mina86.com>
7129
dd8791e9
SM
7130 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7131 command changed buffer (ie. `flyspell-pre-buffer' is not current
7132 buffer), which prevents making decisions based on invalid value of
7133 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7134 cause an error when `flyspell-pre-point' was nil after switching
7135 buffers.
7136 (flyspell-post-command-hook): No longer needs to change buffers when
7137 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7138
ec7e39f2
AM
71392013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7140
7141 * textmodes/ispell.el (ispell-add-per-file-word-list):
7142 Fix `flyspell-correct-word-before-point' error when accepting
7143 words and `coment-padding' is an integer by using
7144 `comment-normalize-vars' (Bug #14214).
7145
083850a6
FEG
71462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7147
7148 New defun movement commands.
7149 * progmodes/python.el (python-nav--syntactically)
7150 (python-nav--forward-defun, python-nav-backward-defun)
7151 (python-nav-forward-defun): New functions.
7152
619ed6e1
FEG
71532013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7154
7155 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7156 (python-syntax-context): Use named compiler-macro for backwards
7157 compatibility with Emacs 24.x.
7158
7a1beb6c
LL
71592013-04-17 Leo Liu <sdl.web@gmail.com>
7160
7161 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7162 octave-hide-process-buffer.
7163
2d3fa3e5
SM
71642013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7167 (bug#14216).
7168
7ce5be54
JPG
71692013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7170
7171 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7172 Fix adjustment of offset when receiving incomplete responses from GDB
7173 (bug#14129).
7174
351edece
SM
71752013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7176
7177 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7178 python-mode-abbrev-table.
7179 (python-skeleton-define): Adjust accordingly.
7180 (python-mode-abbrev-table): New table that inherits from it so that
7181 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7182
7183 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7184 (abbrev-symbol): Use it.
7185 (abbrev--before-point): Use it since we already handle inheritance.
7186
613f9481
LL
71872013-04-16 Leo Liu <sdl.web@gmail.com>
7188
7189 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7190 binding to info-lookup-symbol.
7191
51646b62
JB
71922013-04-16 Juanma Barranquero <lekktu@gmail.com>
7193
7194 * minibuffer.el (completion--twq-all):
7195 * term/ns-win.el (ns-initialize-window-system):
7196 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7197
efb3f01d
SM
71982013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7199
36c0a301
SM
7200 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7201 global bindings.
7202
efb3f01d
SM
7203 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7204
fb549d64
DG
72052013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7206
7207 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7208 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7209 to nil.
7210 (ruby-end-of-defun): Remove the unused arg, change the docstring
7211 to reflect that this function is only used as the value of
7212 `end-of-defun-function'.
7213 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7214 to reflect an earlier change that beginning/end-of-defun functions
7215 jump between methods in a class definition, as well as top-level
7216 functions.
7217
21e8fe2f
SM
72182013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * minibuffer.el (minibuffer-complete): Don't just scroll
7221 a *Completions* that's been iconified.
7222 (minibuffer-force-complete): Make sure repetitions do cycle when going
7223 through completion-in-region -> minibuffer-complete.
7224
20e527d0
AM
72252013-04-15 Alan Mackenzie <acm@muc.de>
7226
7227 Correct the placement of c-cpp-delimiters when there're #s not at
7228 col 0.
7229
7230 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7231 place a submatch around the #.
21e8fe2f
SM
7232 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7233 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7234 on the #, not BOL.
7235
dabefae5
SM
72362013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7239 (advice--member-p): New arg `name'.
7240 (advice--add-function, advice-member-p): Use it (bug#14202).
7241
85c9ab64
AM
72422013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7243
7244 Reformulate java imenu-generic-expression.
7245 The old expression contained ill formed regexps.
7246
7247 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7248 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7249 (cc-imenu-java-method-arg-regexp): New defconsts.
7250 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7251 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7252 handling of spaces in the regexp.
7253
0f821d99
AM
72542013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7255
7256 * textmodes/ispell.el (ispell-command-loop): Remove
7257 flyspell highlight of a word when ispell accepts it (bug #14178).
7258
eb922adf
MA
72592013-04-15 Michael Albinus <michael.albinus@gmx.de>
7260
7261 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7262 uses code from the previous `ange-ftp-run-real-handler'.
7263 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7264 only in case that function exist. This is needed for proper
7265 unloading of Tramp.
7266
4d9a0979
TH
72672013-04-15 Tassilo Horn <tsdh@gnu.org>
7268
7269 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7270
7271 * textmodes/reftex.el (reftex-compile-variables): Use it.
7272
a829b0dc
SM
72732013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7274
91e8293c
SM
7275 * files.el (normal-mode): Only use default major-mode if no other mode
7276 was specified.
7277
830aed4d
SM
7278 * emacs-lisp/trace.el (trace-values): New function.
7279
a829b0dc
SM
7280 * files.el: Allow : in local variables (bug#14089).
7281 (hack-local-variable-regexp): New var.
7282 (hack-local-variables-prop-line, hack-local-variables): Use it.
7283
7ae9f0fb
RW
72842013-04-13 Roland Winkler <winkler@gnu.org>
7285
7286 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7287 data before it gets modified by bibtex-beginning-of-entry.
7288
6646e848
RW
72892013-04-13 Roland Winkler <winkler@gnu.org>
7290
7291 * textmodes/bibtex.el (bibtex-url): Doc fix.
7292
72932013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7294
7295 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7296 does not visit a BibTeX file, exclude it from the list of buffers
7297 returned by bibtex-initialize.
7298
0aa3616e
SB
72992013-04-13 Stephen Berman <stephen.berman@gmx.net>
7300
7301 * window.el (split-window): Remove interactive form, since as a
7302 command this function is a special case of split-window-below.
7303 Correct doc string.
7304
011cddd6
RW
73052013-04-12 Roland Winkler <winkler@gnu.org>
7306
7307 * faces.el (read-face-name): Do not override value of arg default.
7308 Allow single faces and strings as default values. Remove those
7309 elements from return value that are not faces.
7310 (describe-face): Simplify.
7311 (face-at-point): New optional args thing and multiple so that this
7312 function can provide the same functionality previously provided by
7313 read-face-name.
7314 (make-face-bold, make-face-unbold, make-face-italic)
7315 (make-face-unitalic, make-face-bold-italic, invert-face)
7316 (modify-face, read-face-and-attribute): Use face-at-point.
7317
7318 * cus-edit.el (customize-face, customize-face-other-window)
7319 * cus-theme.el (custom-theme-add-face)
7320 * face-remap.el (buffer-face-set)
7321 * facemenu.el (facemenu-set-face): Use face-at-point.
7322
f24e0036
MA
73232013-04-12 Michael Albinus <michael.albinus@gmx.de>
7324
7325 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7326
da3cda2d
TH
73272013-04-10 Tassilo Horn <tsdh@gnu.org>
7328
7329 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7330 off leading { and trailing } from field values.
7331
15e54145
SM
73322013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7333
78ce603d
SM
7334 * emacs-lisp/timer.el (timer--check): New function.
7335 (timer--time, timer-set-function, timer-event-handler): Use it.
7336 (timer-set-idle-time): Simplify.
7337 (timer--activate): CSE.
7338 (timer-event-handler): Give more info in error message.
7339 (internal-timer-start-idle): New function, moved from C.
7340
15e54145
SM
7341 * mpc.el (mpc-proc): Add `restart' argument.
7342 (mpc-proc-cmd): Use it.
7343 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7344 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7345 less often.
7346
7144c627
MY
73472013-04-10 Masatake YAMATO <yamato@redhat.com>
7348
7349 * progmodes/sh-script.el: Implement `sh-mode' own
7350 `add-log-current-defun-function' (bug#14112).
7351 (sh-current-defun-name): New function.
7352 (sh-mode): Use the function.
7353
b39792eb
BG
73542013-04-09 Bastien Guerry <bzg@gnu.org>
7355
7356 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7357
8acdeb71
SM
73582013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7359
6fcdab68
SM
7360 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7361
8acdeb71
SM
7362 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7363 timer (bug#14156).
7364
e3e7b504
NF
73652013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7366
7367 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7368 declaration.
7369
201bb296
LL
73702013-04-07 Leo Liu <sdl.web@gmail.com>
7371
7372 * pcmpl-x.el: New file.
7373
ebb19708
DA
73742013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7375
7376 Do not set x-display-name until X connection is established.
7377 This is needed to prevent from weird situation described at
7378 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7379 * frame.el (make-frame): Set x-display-name after call to
7380 window system initialization function, not before.
7381 * term/x-win.el (x-initialize-window-system): Add optional
7382 display argument and use it.
7383 * term/w32-win.el (w32-initialize-window-system):
7384 * term/ns-win.el (ns-initialize-window-system):
7385 * term/pc-win.el (msdos-initialize-window-system):
7386 Add compatible optional display argument.
7387
33bb237a
EZ
73882013-04-06 Eli Zaretskii <eliz@gnu.org>
7389
7390 * files.el (normal-backup-enable-predicate): On MS-Windows and
7391 MS-DOS compare truenames of temporary-file-directory and of the
7392 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7393 don't fail comparison by compare-strings. Also, compare file
7394 names case-insensitively on MS-Windows and MS-DOS.
7395
134abf1f
SM
73962013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7399 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7400
d695cb94
DG
74012013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7402
e3e7b504
NF
7403 * whitespace.el (whitespace-color-on, whitespace-color-off):
7404 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7405
f4ad7ea1 74062013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7407
7408 * ispell.el (ispell-set-spellchecker-params):
7409 Really set `ispell-args' for all equivs.
7410
632556e4
SM
74112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * ido.el (ido-completions): Use extra elements of ido-decorations
7414 (bug#14143).
7415 (ido-decorations): Update docstring.
7416
2a417372
MA
74172013-04-05 Michael Albinus <michael.albinus@gmx.de>
7418
7419 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7420 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7421 nil during initialization, in order not to miss changes since the
7422 file was opened. (Bug#14140)
7423
fc164b0c
LL
74242013-04-05 Leo Liu <sdl.web@gmail.com>
7425
7426 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7427
0ccecc08
JB
74282013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7429
7430 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7431
51af1aa2
GM
74322013-04-04 Glenn Morris <rgm@gnu.org>
7433
7434 * electric.el (electric-pair-inhibit-predicate): Add :version.
7435
b208ebc6
SM
74362013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7439 when a package is required several times (bug#14082).
7440
f3d3eaf0
RW
74412013-04-04 Roland Winkler <winkler@gnu.org>
7442
7443 * faces.el (read-face-name): Behave as promised by the docstring.
7444 Assume that arg default is a list of faces.
7445 (describe-face): Call read-face-name with list of default faces.
7446
2575da50
TV
74472013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7448
7449 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7450 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7451 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7452 the header.
7453 (bookmark-exit-hook-internal): Save even if list is empty.
7454
397703b4
YH
74552013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7456
7457 * emacs-lisp/package.el (package-pinned-packages): New var.
7458 (package--add-to-archive-contents): Obey it (bug#14118).
7459
691e26ae
AM
74602013-04-03 Alan Mackenzie <acm@muc.de>
7461
8a621d53
JB
7462 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7463 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7464
7465 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7466 parameter `not-in-delimiter'. Handle being inside comment opener.
7467 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7468 character in case we're typing a '*' after a '/'.
7469 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7470 instead by passing the parameter to c-state-pp-to-literal.
7471
7472 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7473 for elt. 7 of a parse state.
7474
4b725a70
PE
74752013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7476
7477 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7478 * international/latin1-disp.el, international/mule-util.el:
7479 * language/cyril-util.el, language/european.el, language/ind-util.el:
7480 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7481 * language/tibetan.el, language/viet-util.el:
7482 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7483
15c579f0
SM
74842013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7487 (electric-pair-post-self-insert-function): Use it.
7488 (electric-pair-default-inhibit): New function, extracted from
7489 electric-pair-post-self-insert-function.
7490
a77e2924
RW
74912013-03-31 Roland Winkler <winkler@gnu.org>
7492
7493 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7494
2bd8a4a8
SM
74952013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7498
8d3655be 74992013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
7500
7501 Un-indent after "pass" and "return" statements (Bug#13888)
7502 * progmodes/python.el (python-indent-block-enders): New var.
7503 (python-indent-calculate-indentation): Use it.
7504
8d3655be 75052013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
7506
7507 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7508 defun. Defining it as defalias could introduce too eager
7509 byte-compiler optimization. (Bug#14030)
7510
8d3655be 75112013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
7512
7513 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7514
0b1619da
LL
75152013-03-30 Leo Liu <sdl.web@gmail.com>
7516
7517 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7518 (kmacro-execute-from-register): Pass the keyboard macro to
7519 kmacro-call-macro or repeating won't work correctly.
7520
0b938190
TZ
75212013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7522
7523 * progmodes/subword.el: Back to using `forward-symbol'.
7524
7525 * subr.el (forward-whitespace, forward-symbol)
7526 (forward-same-syntax): Move from thingatpt.el.
7527
35710234
LL
75282013-03-29 Leo Liu <sdl.web@gmail.com>
7529
7530 * kmacro.el (kmacro-to-register): New command.
7531 (kmacro-execute-from-register): New function.
7532 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7533
efc0bb73
SM
75342013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * mpc.el: Use defvar-local and setq-local.
7537 (mpc--proc-connect): Connection failures are not bugs.
7538 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7539 (mpc-volume-map): Bind to the up-events.
7540
75a2f981
TZ
75412013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7542
7543 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7544 instead of `forward-symbol'.
7545
17c781d1
SM
75462013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7549 (edebug--recursive-edit): Use it.
7550 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7551 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7552
f67bfbcf
LL
75532013-03-28 Leo Liu <sdl.web@gmail.com>
7554
7555 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7556
b59f639d
EZ
75572013-03-27 Eli Zaretskii <eliz@gnu.org>
7558
7559 * facemenu.el (list-colors-callback): New defvar.
7560 (list-colors-redisplay): New function.
7561 (list-colors-display): Install list-colors-redisplay as the
7562 revert-buffer-function. (Bug#14063)
7563
f557c1b1
SM
75642013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7565
b1da2957
SM
7566 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7567 and suffixes don't overlap (bug#14061).
7568
f557c1b1
SM
7569 * case-table.el: Use lexical-binding.
7570 (case-table-get-table): New function.
7571 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7572
002668e1
TZ
75732013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7574
7575 * progmodes/subword.el: Add `superword-mode' to do word motion
7576 over symbol_words (parallels and leverages `subword-mode' which
7577 does word motion inside MixedCaseWords).
7578
73572c72
AG
75792013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7580
78b8f320 7581 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 7582 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 7583
69b2c07e
SM
75842013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7587 Change return value to be a sexp. Delay `get-buffer' to after
7588 restoring the desktop (bug#13951).
7589
08bb5ee2
LL
75902013-03-26 Leo Liu <sdl.web@gmail.com>
7591
7592 * register.el: Move semantic tag handling back to
7593 cedet/semantic/senator.el. (Bug#14052)
7594
8d4c974e
SM
75952013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7598 into the prompt either (bug#13963).
7599
b234d92c
SM
76002013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7603 part of "(error-foo)".
7604
ddfa3cb4
JL
76052013-03-24 Juri Linkov <juri@jurta.org>
7606
7607 * replace.el (list-matching-lines-prefix-face): New defcustom.
7608 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7609 `occur-engine' if `face-differs-from-default-p' returns t.
7610 (occur-engine): Add `,' inside backquote construct to evaluate
7611 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7612 Pass `prefix-face' to the functions `occur-context-lines' and
7613 `occur-engine-add-prefix'.
7614 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7615 `prefix-face' and propertize the prefix with `prefix-face'.
7616 (Bug#14017)
7617
7b0e2f85
LL
76182013-03-24 Leo Liu <sdl.web@gmail.com>
7619
7620 * nxml/rng-valid.el (rng-validate-while-idle)
7621 (rng-validate-quick-while-idle): Guard against deleted buffer.
7622 (Bug#13999)
7623
7624 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7625 is the last entry in kill-buffer-hook.
7626
7627 * files.el (kill-buffer-hook): Doc fix.
7628
b3082f49
DG
76292013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7630
b234d92c
SM
7631 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7632 Make it safe-local.
bde73d27 7633
b3082f49
DG
7634 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7635
a320a2db
LL
76362013-03-23 Leo Liu <sdl.web@gmail.com>
7637
7e74b0fb
LL
7638 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7639 Remove.
7640
7641 * nxml/rng-valid.el (rng-validate-mode)
7642 (rng-after-change-function, rng-do-some-validation):
7643 * nxml/rng-maint.el (rng-validate-buffer):
7644 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7645 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7646 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7647 (nxml-extend-after-change-region): Use with-silent-modifications.
7648
a320a2db
LL
7649 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7650 timer-idle-list.
7651
7652 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7653 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7654 timer-idle-list. (Bug#13999)
7655
e38e6780
JL
76562013-03-23 Juri Linkov <juri@jurta.org>
7657
7658 * info.el (info-index-match): New face.
7659 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7660 main pattern and add text properties with the new face to matches
7661 in index entries relative to the beginning of the index entry.
7662 (Bug#14015)
7663
e8cc7880
DE
76642013-03-21 Eric Ludlam <zappo@gnu.org>
7665
7666 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7667 Inhibit read only while inserting objects.
7668
9bb0d822
TZ
76692013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7670
7671 * progmodes/cfengine.el: Update docs to mention
7672 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7673 symbol motion. Remove "_" from the word syntax.
7674
aa703640
TZ
76752013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7676
7677 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7678 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7679
afff09d0
JL
76802013-03-20 Juri Linkov <juri@jurta.org>
7681
7682 * info.el (Info-next-reference-or-link)
7683 (Info-prev-reference-or-link): New functions.
7684 (Info-next-reference, Info-prev-reference): Use them.
7685 (Info-try-follow-nearest-node): Handle footnote navigation.
7686 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7687
9a1ff164
SM
76882013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7689
7690 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7691 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7692
2667d15d
PE
76932013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7694
7695 Suppress unnecessary non-ASCII chatter during build process.
7696 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7697 (batch-skkdic-convert): Suppress most of the chatter.
7698 It's not needed so much now that machines are faster,
7699 and its non-ASCII component was confusing; see Dmitry Gutov in
7700 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7701
438b0579
LL
77022013-03-20 Leo Liu <sdl.web@gmail.com>
7703
7704 * ido.el (ido-chop): Fix bug#10994.
7705
c128ab07
DG
77062013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7707
7708 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7709 Remove vars.
9a1ff164
SM
7710 (whitespace-color-on, whitespace-color-off):
7711 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 7712
0e6008c5
SM
77132013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7716 remapping in mode-line.
7717 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7718
627b52b0
DG
77192013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7720
7721 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7722 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
7723 (whitespace-font-lock-keywords): Change description.
7724 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7725 the constructed keywords instead.
7726 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 7727
50c3a20b
LL
77282013-03-19 Leo Liu <sdl.web@gmail.com>
7729
7730 * progmodes/compile.el (compilation-display-error): New command.
7731 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7732 C-o. (Bug#13992)
7733
2aa2157b
PE
77342013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7735
7736 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7737
e477dbfa
JD
77382013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7739
7740 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7741
64ab82d1
MA
77422013-03-18 Michael Albinus <michael.albinus@gmx.de>
7743
7744 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7745
7746 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7747 * net/tramp-gvfs.el (top):
7748 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7749 (tramp-handle-shell-command): Use it.
7750 (tramp-dissect-file-name): Raise an error when hostname is a
7751 method name, and neither method nor user is specified.
7752
7753 * net/trampver.el: Update release number.
7754
33cef733
LL
77552013-03-18 Leo Liu <sdl.web@gmail.com>
7756
7757 Make sure eldoc can be turned off properly.
7758 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7759 eldoc-mode.
7760 (eldoc-display-message-p): Revert last change.
7761 (eldoc-display-message-no-interference-p)
7762 (eldoc-print-current-symbol-info): Tweak.
7763
2167b7b2
TH
77642013-03-18 Tassilo Horn <tsdh@gnu.org>
7765
7766 * doc-view.el (doc-view-new-window-function): Check the new window
7767 overlay's display property instead the char property of the
7768 buffer's first char. Use `with-selected-window' instead of
7769 `save-window-excursion' with `select-window'.
7770 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 7771 display property instead the char property of the buffer's first char.
2167b7b2 7772
982efbcd
PE
77732013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7774
7775 Automate the build of ja-dic.el (Bug#13984).
7776 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7777 from the input, rather than assume that it's been done for us by the
7778 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7779 the current date into a ja-dic.el comment, as that complicates
7780 regression testing.
7781
2fcc7665
SM
77822013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7783
7784 * whitespace.el: Fix double evaluation.
7785 (whitespace-space, whitespace-hspace, whitespace-tab)
7786 (whitespace-newline, whitespace-trailing, whitespace-line)
7787 (whitespace-space-before-tab, whitespace-indentation)
7788 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7789 obsolete defvars.
7790 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7791 (whitespace-color-on): Use a single font-lock-add-keywords call.
7792 Fix double-evaluation of face variables.
7793
67c0a6e6
MA
77942013-03-17 Michael Albinus <michael.albinus@gmx.de>
7795
2fcc7665
SM
7796 * net/tramp-adb.el (tramp-adb-parse-device-names):
7797 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 7798 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 7799
69489f1d
LL
78002013-03-17 Leo Liu <sdl.web@gmail.com>
7801
7802 Extend eldoc to display info in the mode-line. (Bug#13978)
7803 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7804 (eldoc-mode-line-string): New variable.
7805 (eldoc-minibuffer-message): New function.
7806 (eldoc-message-function): New variable.
7807 (eldoc-message): Use it.
7808 (eldoc-display-message-p)
2fcc7665
SM
7809 (eldoc-display-message-no-interference-p):
7810 Support eldoc-post-insert-mode.
69489f1d
LL
7811
7812 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7813 (eval-expression): Run it.
7814
9c44569e
RW
78152013-03-17 Roland Winkler <winkler@gnu.org>
7816
7817 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7818 strings in the list of return values.
7819
327f1f6f
JB
78202013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7821
7822 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7823 radix before checking for HMS forms.
7824
67ed8fcd
LL
78252013-03-16 Leo Liu <sdl.web@gmail.com>
7826
7827 * progmodes/scheme.el: Add indentation and font-locking for λ.
7828 (Bug#13975)
7829
78be8b64 78302013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
7831
7832 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7833 token before point (bug#13942).
7834
78be8b64 78352013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 7836
95b43468 7837 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 7838
98e775e6
EZ
78392013-03-16 Eli Zaretskii <eliz@gnu.org>
7840
7841 * startup.el (command-line-normalize-file-name): Fix handling of
7842 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7843 <xfq.free@gmail.com> in
7844 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7845
2edd6029
MA
78462013-03-15 Michael Albinus <michael.albinus@gmx.de>
7847
7848 Sync with Tramp 2.2.7.
7849
7850 * net/trampver.el: Update release number.
7851
d35f5864
TH
78522013-03-14 Tassilo Horn <tsdh@gnu.org>
7853
f35ffe5e
TH
7854 * doc-view.el Fix bug#13887.
7855 (doc-view-insert-image): Don't modify overlay associated to
7856 non-live windows, and implement horizontal centering of image in
7857 case it's smaller than the window.
7858 (doc-view-new-window-function): Force redisplay of new windows on
7859 doc-view buffers.
d35f5864 7860
1c4a85ed
KF
78612013-03-13 Karl Fogel <kfogel@red-bean.com>
7862
7863 * saveplace.el (save-place-alist-to-file): Don't sort
7864 `save-place-alist', just pretty-print it (bug#13882).
7865
85b66a21
MA
78662013-03-13 Michael Albinus <michael.albinus@gmx.de>
7867
a020afb9
JB
7868 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7869 Check whether `default-file-name-coding-system' is bound.
7870 It isn't in XEmacs.
85b66a21 7871
175600da
SM
78722013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7873
e7f7cb1a
SM
7874 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7875 backquotes for `obsolete' (bug#13929).
7876
175600da
SM
7877 * international/mule.el (find-auto-coding): Include file name in
7878 obsolescence warning (bug#13922).
7879
ca68a22e
TZ
78802013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7881
7882 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7883 for CFEngine 3-specific indentation.
7884 (cfengine3-indent-line): Use it. Fix up category regex.
7885 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7886
940e5099
SM
78872013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * type-break.el (type-break-file-name):
7890 * textmodes/remember.el (remember-data-file):
7891 * strokes.el (strokes-file):
7892 * shadowfile.el (shadow-initialize):
7893 * saveplace.el (save-place-file):
7894 * ps-bdf.el (bdf-cache-file):
7895 * progmodes/idlwave.el (idlwave-config-directory):
7896 * net/quickurl.el (quickurl-url-file):
7897 * international/kkc.el (kkc-init-file-name):
7898 * ido.el (ido-save-directory-list-file):
7899 * emulation/viper.el (viper-custom-file-name):
7900 * emulation/vip.el (vip-startup-file):
7901 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7902 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7903
cc725808
PE
79042013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7905
7906 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7907 * language/thai-word.el: Switch to UTF-8.
7908
a020afb9 7909See ChangeLog.16 for earlier changes.
e3d51b27
MR
7910
7911;; Local Variables:
7912;; coding: utf-8
e3d51b27
MR
7913;; End:
7914
ab422c4d 7915 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
7916
7917 This file is part of GNU Emacs.
7918
7919 GNU Emacs is free software: you can redistribute it and/or modify
7920 it under the terms of the GNU General Public License as published by
7921 the Free Software Foundation, either version 3 of the License, or
7922 (at your option) any later version.
7923
7924 GNU Emacs is distributed in the hope that it will be useful,
7925 but WITHOUT ANY WARRANTY; without even the implied warranty of
7926 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7927 GNU General Public License for more details.
7928
7929 You should have received a copy of the GNU General Public License
7930 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.