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