]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge: cleanup for vc-ignore.
[gnu-emacs] / lisp / ChangeLog
1 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2
3 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4 (frameset-filter-minibuffer): Doc fix.
5 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6 (frameset--set-id, frameset--process-minibuffer-frames)
7 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9
10 * desktop.el (desktop-clear): Only delete frames when called
11 interactively and desktop-restore-frames is non-nil. Doc fix.
12 (desktop-read): Set desktop-saved-frameset to nil.
13
14 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
15
16 * vc/vc.el (vc-ignore): Rewrite.
17 (vc-default-ignore-completion-table):
18 (vc--read-lines):
19 (vc--add-line, vc--remove-regexp): New functions.
20
21 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
22 (vc-svn-ignore-completion-table): New function.
23
24 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
25 (vc-hg-ignore-completion-table):
26 (vc-hg-find-ignore-file): New functions.
27
28 * vc/vc-git.el (vc-git-ignore): Rewrite.
29 (vc-git-ignore-completion-table):
30 (vc-git-find-ignore-file): New functions.
31
32 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
33
34 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35 (vc-bzr-ignore-completion-table):
36 (vc-bzr-find-ignore-file): New functions.
37
38 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
39
40 * frameset.el (frameset-prop): New function and setter.
41 (frameset-save): Do not modify frame list passed by the caller.
42
43 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
46
47 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
50 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
51
52 * custom.el (custom-initialize-default, custom-initialize-set)
53 (custom-initialize-reset, custom-initialize-changed): Affect the
54 toplevel-default-value (bug#6275, bug#14586).
55 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
56 for bug#6275.
57
58 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
59
60 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
61 Add cl-def* expressions.
62
63 * frameset.el (frameset-filter-params): Fix order of arguments.
64
65 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
66
67 Move code related to saving frames to frameset.el.
68 * desktop.el: Require frameset.
69 (desktop-restore-frames): Doc fix.
70 (desktop-restore-reuses-frames): Rename from
71 desktop-restoring-reuses-frames.
72 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
73 (desktop-clear): Clear frames too.
74 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
75 (desktop--filter-tty*, desktop-save, desktop-read):
76 Use frameset functions.
77 (desktop-before-saving-frames-functions, desktop--filter-*-color)
78 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
79 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
80 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
81 (desktop--process-minibuffer-frames, desktop-save-frames)
82 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
83 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
84 (desktop--sort-states, desktop-restoring-frames-p)
85 (desktop-restore-frames): Remove. Most code moved to frameset.el.
86 (desktop-restoring-frameset-p, desktop-restore-frameset)
87 (desktop--check-dont-save, desktop-save-frameset): New functions.
88 (desktop--app-id): New constant.
89 (desktop-first-buffer, desktop-buffer-ok-count)
90 (desktop-buffer-fail-count): Move before first use.
91 * frameset.el: New file.
92
93 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * files.el: Use lexical-binding.
96 (dir-locals-read-from-file): Remove unused `err' variable.
97 (hack-dir-local-variables--warned-coding): New var.
98 (hack-dir-local-variables): Use it to avoid repeated warnings.
99 (make-backup-file-name--default-function): New function.
100 (make-backup-file-name-function): Use it as default.
101 (buffer-stale--default-function): New function.
102 (buffer-stale-function): Use it as default.
103 (revert-buffer-insert-file-contents--default-function): New function.
104 (revert-buffer-insert-file-contents-function): Use it as default.
105 (insert-directory): Avoid add-to-list.
106
107 * autorevert.el (auto-revert-handler): Simplify.
108 Use buffer-stale--default-function.
109
110 2013-08-01 Tassilo Horn <tsdh@gnu.org>
111
112 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
113
114 * whitespace.el (whitespace-ensure-local-variables): New function.
115 (whitespace-cleanup-region): Call it.
116 (whitespace-turn-on): Call it.
117
118 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
119
120 Complete file name handlers.
121
122 * net/tramp.el (tramp-handle-set-visited-file-modtime)
123 (tramp-handle-verify-visited-file-modtime)
124 (tramp-handle-file-notify-rm-watch): New functions.
125 (tramp-call-process): Do not bind `default-directory'.
126
127 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
128 Order alphabetically.
129 [access-file, add-name-to-file, dired-call-process]:
130 [dired-compress-file, file-acl, file-notify-rm-watch]:
131 [file-ownership-preserved-p, file-selinux-context]:
132 [make-directory-internal, make-symbolic-link, set-file-acl]:
133 [set-file-selinux-context, set-visited-file-modtime]:
134 [verify-visited-file-modtime]: Add handler.
135 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
136
137 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
138 [file-notify-add-watch, file-notify-rm-watch]:
139 [set-file-times, set-visited-file-modtime]:
140 [verify-visited-file-modtime]: Add handler.
141 (with-tramp-gvfs-error-message)
142 (tramp-gvfs-handle-set-visited-file-modtime)
143 (tramp-gvfs-fuse-file-name): Remove.
144 (tramp-gvfs-handle-file-notify-add-watch)
145 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
146 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
147
148 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
149 Order alphabetically.
150 [file-notify-rm-watch ]: Use default Tramp handler.
151 [executable-find]: Remove private handler.
152 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
153 `default-directory'.
154 (tramp-sh-handle-executable-find)
155 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
156 (tramp-sh-file-gvfs-monitor-dir-process-filter)
157 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
158 Do not use `format' in `tramp-message'.
159
160 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
161 [file-notify-rm-watch, set-visited-file-modtime]:
162 [verify-visited-file-modtime]: Add handler.
163 (tramp-smb-call-winexe): Do not bind `default-directory'.
164
165 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
166
167 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
168
169 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
170
171 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
172 use it.
173 (log-view-diff-changeset): Same.
174 (log-view-diff-common): Call backend command `previous-revision'
175 to find out the previous revision, in both cases. Swap the
176 variables `to' and `fr', so that `fr' usually refers to the
177 earlier revision (Bug#14989).
178
179 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
180
181 * ibuf-ext.el (ibuffer-filter-by-filename):
182 Make it work with dired buffers too.
183
184 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
185
186 * emacs-lisp/re-builder.el (reb-color-display-p):
187 * files.el (save-buffers-kill-terminal):
188 * net/browse-url.el (browse-url):
189 * server.el (server-save-buffers-kill-terminal):
190 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
191 Prefer nil to selected-frame for the first arg of frame-parameter.
192
193 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
194
195 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
196
197 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
198
199 * minibuffer.el (completion--twq-all): Try and preserve each
200 completion's case choice (bug#14907).
201
202 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
203
204 * net/network-stream.el (open-network-stream): Mention the new
205 :nogreeting parameter.
206 (network-stream-open-starttls): Use the :nogreeting parameter
207 (bug#14938).
208
209 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
210
211 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
212 more natural than popping.
213
214 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
215 (shr-urlify): Highlight under mouse.
216
217 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
218
219 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
220
221 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
222
223 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
224 buffer for output.
225
226 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
227 point-min==1. Fix search string. Fix parentheses missing.
228
229 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
230 assume point-min==1. Fix search string. Fix parentheses missing.
231
232 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
233
234 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
235 buffer for output.
236
237 2013-07-29 Eli Zaretskii <eliz@gnu.org>
238
239 * frame.el (frame-notice-user-settings): Avoid inflooping when the
240 initial frame is minibuffer-less. (Bug#14841)
241
242 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
243
244 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
245 option.
246
247 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
248 (tramp-maybe-open-connection): Use it.
249
250 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
251
252 * desktop.el (desktop--make-frame): Include `minibuffer' in the
253 minimal set of parameters passed when creating a frame, because
254 the minibuffer status of a frame cannot be changed later.
255
256 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
257
258 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
259 replace-regexp-in-string and inadvertent omissions in previous change.
260 (todo-filter-items): Ensure only file names are comma-separated in
261 name of filtered items buffer.
262
263 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
264
265 * desktop.el: Optionally force offscreen frames back onscreen.
266 (desktop-restoring-reuses-frames): New option.
267 (desktop--compute-pos, desktop--move-onscreen): New functions.
268 (desktop--make-frame): Use desktop--move-onscreen.
269
270 2013-07-27 Alan Mackenzie <acm@muc.de>
271
272 Fontify a Java generic method as a function.
273 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
274 value to t.
275
276 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
277
278 * calendar/todo-mode.el: Add command to rename todo files.
279 (todo-rename-file): New command.
280 (todo-key-bindings-t): Add key binding for it. Change the
281 bindings of todo-filter-regexp-items(-multifile) to use `x'
282 instead of `r', since the latter is better suited to the new
283 renaming command.
284
285 2013-07-27 Alan Mackenzie <acm@muc.de>
286
287 Make Java try-with-resources statement parse properly.
288 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
289 (c-block-stmt-1-2-key): New language constants/variables.
290 * progmodes/cc-engine.el (c-beginning-of-statement-1)
291 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
292 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
293 with c-block-stmt-1-2-key.
294
295 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
296
297 * desktop.el (desktop--make-frame): Apply most frame parameters after
298 creating the frame to force (partially or totally) offscreen frames to
299 be restored as such.
300
301 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
302
303 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
304 (Bug#14948)
305
306 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
309 `base' arg of backtrace-frame.
310
311 2013-07-26 Eli Zaretskii <eliz@gnu.org>
312
313 * simple.el (list-processes): Doc fix.
314
315 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
316
317 * desktop.el (desktop--select-frame):
318 Try harder to reuse existing frames.
319
320 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
323 (edebug-eval): Use backtrace-eval.
324 (edebug--display, edebug--recursive-edit): Don't let-bind the
325 edebug-outer-* vars that keep track of variables we locally let-bind.
326 (edebug-outside-excursion): Don't restore outside values of locally
327 let-bound vars.
328 (edebug--display): Use user-error.
329 (cl-lexical-debug, cl-debug-env): Remove.
330
331 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
332
333 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
334 are restored to be sure that they are visible before deleting any
335 remaining ones.
336
337 2013-07-26 Matthias Meulien <orontee@gmail.com>
338
339 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
340 vc-print-root-log. (Bug#14948)
341
342 2013-07-26 Richard Stallman <rms@gnu.org>
343
344 Add aliases for encrypting mail.
345 * epa.el (epa-mail-aliases): New option.
346 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
347 Bind inhibit-read-only so read-only text doesn't ruin everything.
348 (epa-mail-default-recipients): New subroutine broken out.
349 Handle epa-mail-aliases.
350
351 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 Add support for lexical variables to the debugger's `e' command.
354 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
355 vars, except for debugger-outer-match-data.
356 (debugger-frame-number): Move check for "on a function call" from
357 callers into it. Add `skip-base' argument.
358 (debugger-frame, debugger-frame-clear): Simplify accordingly.
359 (debugger-env-macro): Only reset the state stored in non-variables,
360 i.e. current-buffer and match-data.
361 (debugger-eval-expression): Rewrite using backtrace-eval.
362 * subr.el (internal--called-interactively-p--get-frame): Remove.
363 (called-interactively-p):
364 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
365 `base' arg of backtrace-frame instead.
366
367 2013-07-26 Glenn Morris <rgm@gnu.org>
368
369 * align.el (align-regexp): Doc fix. (Bug#14857)
370 (align-region): Explicit error if subexpression missing/does not match.
371
372 * simple.el (global-visual-line-mode):
373 Do not duplicate the mode lighter. (Bug#14858)
374
375 2013-07-25 Martin Rudalics <rudalics@gmx.at>
376
377 * window.el (display-buffer): In display-buffer bind
378 split-window-keep-point to t, bug#14829.
379
380 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
381
382 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
383 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
384 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
385 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
386 Change accordingly.
387 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
388 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
389
390 2013-07-25 Glenn Morris <rgm@gnu.org>
391
392 * dired-x.el (dired-mark-extension): Convert comment to doc string.
393
394 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
395
396 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
397 parameter to modify-frame-parameters if the value has not changed;
398 this is a workaround for bug#14949.
399 (desktop--make-frame): On cl-delete-if call, check parameter name,
400 not full parameter.
401
402 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
403
404 * vc/vc.el (vc-ignore): New function.
405
406 * vc/vc-svn.el (vc-svn-ignore): New function.
407
408 * vc/vc-hg.el (vc-hg-ignore): New function.
409
410 * vc/vc-git.el (vc-git-ignore): New function.
411
412 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
413 (vc-dir-ignore): New function.
414
415 * vc/vc-cvs.el (vc-cvs-ignore): New function.
416 (cvs-append-to-ignore): Move here from pcvs.el.
417
418 * vc/vc-bzr.el (vc-bzr-ignore): New function.
419
420 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
421
422 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
423
424 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
425 (desktop-restore-frames): Warn when deleting an existing frame failed.
426
427 2013-07-24 Glenn Morris <rgm@gnu.org>
428
429 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
430
431 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
432
433 * filenotify.el (file-notify-supported-p):
434 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
435 Remove functions.
436
437 * autorevert.el (auto-revert-use-notify):
438 (auto-revert-notify-add-watch):
439 * net/tramp.el (tramp-file-name-for-operation):
440 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
441 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
442 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
443 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
444 Remove `file-notify-supported-p' entry.
445
446 2013-07-24 Glenn Morris <rgm@gnu.org>
447
448 * printing.el: Replace all uses of deleted ps-windows-system,
449 ps-lp-system, ps-flatten-list with lpr- versions.
450
451 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
454 checked with memq (bug#14935).
455
456 * files.el (revert-buffer-function): Use a non-nil default.
457 (revert-buffer-preserve-modes): Declare var to
458 provide access to the `preserve-modes' argument.
459 (revert-buffer): Let-bind it.
460 (revert-buffer--default): New function, extracted from revert-buffer.
461
462 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * lpr.el: Signal print errors more prominently.
465 (print-region-function): Don't default to nil.
466 (lpr-print-region): New function, extracted from print-region-1.
467 Check lpr's return value and signal an error in case of problem.
468 (print-region-1): Use it.
469 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
470 versions instead.
471 (ps-printer-name): Default to nil.
472 (ps-printer-name-option): Default to lpr-printer-switch.
473 (ps-print-region-function): Don't default to nil.
474 (ps-postscript-code-directory): Simplify default.
475 (ps-do-despool): Use lpr-print-region to properly check the outcome.
476 (ps-string-list, ps-eval-switch, ps-flatten-list)
477 (ps-flatten-list-1): Remove.
478 (ps-multibyte-buffer): Avoid setq.
479 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
480 (print-region-function, ps-print-region-function): Don't set them here.
481
482 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
483
484 * ido.el (ido-fractionp):
485 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
486 (ido-max-file-prompt-width, ido-unc-hosts-cache)
487 (ido-max-directory-size, ido-max-dir-file-cache)
488 (ido-decorations): Doc fix.
489
490 * ansi-color.el: Fix old URL.
491
492 2013-07-23 Michael R. Mauger <michael@mauger.com>
493
494 * progmodes/sql.el Version 3.3
495 (sql-product-alist): Improve oracle :prompt-cont-regexp.
496 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
497 (sql-interactive-remove-continuation-prompt): Rewrite, use
498 functions above. Fix continuation prompt and complete output line
499 handling.
500 (sql-redirect-one, sql-execute): Use `read-only-mode' on
501 redirected output buffer.
502 (sql-mode): Restore deleted code (Bug#13591).
503
504 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
505
506 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
507
508 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
511
512 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
513 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
514 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
515
516 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
517
518 * desktop.el (desktop-clear): Simplify; remove useless checks
519 against invalid buffer names.
520 (desktop-list*): Use cl-list*.
521 (desktop-buffer-info, desktop-create-buffer): Simplify.
522
523 2013-07-23 Leo Liu <sdl.web@gmail.com>
524
525 * bookmark.el (bookmark-make-record): Restore NAME as a default
526 value. (Bug#14933)
527
528 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * emacs-lisp/autoload.el (autoload--setup-output): New function,
531 extracted from autoload--insert-text.
532 (autoload--insert-text): Remove.
533 (autoload--print-cookie-text): New function, extracted from
534 autoload--insert-cookie-text.
535 (autoload--insert-cookie-text): Remove.
536 (autoload-generate-file-autoloads): Adjust calls accordingly.
537
538 * winner.el (winner-hook-installed-p): Remove.
539 (winner-mode): Simplify accordingly.
540
541 * subr.el (add-to-list): Fix compiler-macro when `append' is
542 not constant. Don't use `cl-member' for the base case.
543
544 * progmodes/subword.el: Fix boundary case (bug#13758).
545 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
546 own group.
547 (subword-backward-regexp): Make it a constant.
548 (subword-forward-internal): Don't treat a trailing capital as the
549 beginning of a word.
550
551 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
552
553 * emacs-lisp/package.el (package-menu-mode): Don't modify the
554 global value of tabulated-list-revert-hook (bug#14930).
555
556 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
557
558 * desktop.el: Require 'cl-lib.
559 (desktop-before-saving-frames-functions): New hook.
560 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
561 for frames being saved. Rename from desktop--save-minibuffer-frames.
562 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
563 Do not save frames with non-nil `desktop-dont-save' parameter.
564 Filter out deleted frames.
565 (desktop--find-frame): Use cl-find-if.
566 (desktop--select-frame): Use cl-(first|second|third) to access values
567 of desktop-mini.
568 (desktop--make-frame): Use cl-delete-if.
569 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
570 (desktop-restore-frames): Use cl-(first|second|third) to access values
571 of desktop-mini. Look for visible frame at the end, not while
572 restoring frames.
573
574 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
575 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
576 Use string-match-p, looking-at-p (bug#14927).
577
578 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
579
580 * desktop.el (desktop-saved-frame-states):
581 Rename from desktop--saved-states; all users changed.
582 (desktop-save-frames): Rename from desktop--save-frames.
583 Do not save state to desktop file.
584 (desktop-save): Save desktop-saved-frame-states to desktop file
585 and reset to nil.
586 (desktop-restoring-frames-p): New function.
587 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
588 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
589 buffer-lists when restoring frames. Suggested by Martin Rudalics.
590
591 * desktop.el: Correctly restore iconified frames.
592 (desktop--filter-iconified-position): New function.
593 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
594
595 2013-07-20 Glenn Morris <rgm@gnu.org>
596
597 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
598 Let `message' do the formatting.
599 (def-gdb-preempt-display-buffer): Add explicit format.
600
601 * image-dired.el (image-dired-track-original-file):
602 Use with-current-buffer.
603 (image-dired-track-thumbnail): Use with-current-buffer.
604 Avoid changing point of wrong window.
605
606 * image-dired.el (image-dired-track-original-file):
607 Avoid changing point of wrong window. (Bug#14909)
608
609 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
610
611 * progmodes/gdb-mi.el (gdb-done-or-error):
612 Guard against "%" in gdb output. (Bug#14127)
613
614 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
615
616 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
617 (Bug#14826)
618
619 * international/mule.el (coding-system-iso-2022-flags): Fix last
620 change.
621
622 2013-07-20 Kenichi Handa <handa@gnu.org>
623
624 * international/mule.el (coding-system-iso-2022-flags):
625 Add `8-bit-level-4'. (Bug#8522)
626
627 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
628
629 * net/shr.el (shr-mouse-browse-url): New command and keystroke
630 (bug#14815).
631
632 * net/eww.el (eww-process-text-input): Allow inputting when the
633 point is at the start of the line, as the properties aren't
634 front-sticky.
635
636 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
637 degenerate widths.
638
639 2013-07-19 Richard Stallman <rms@gnu.org>
640
641 * epa.el (epa-popup-info-window): Doc fix.
642
643 * subr.el (split-string): New arg TRIM.
644
645 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
646
647 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
648 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
649
650 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
651
652 * filenotify.el (file-notify--library): Rename from
653 `file-notify-support'. Do not autoload. Adapt all uses.
654 (file-notify-supported-p): New defun.
655
656 * autorevert.el (auto-revert-use-notify):
657 Use `file-notify-supported-p' instead of `file-notify-support'.
658 Adapt docstring.
659 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
660
661 * net/tramp.el (tramp-file-name-for-operation):
662 Add `file-notify-supported-p'.
663
664 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
665 New defun.
666 (tramp-sh-file-name-handler-alist): Add it as handler for
667 `file-notify-supported-p '.
668
669 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
670 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
671 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
672 Add `ignore' as handler for `file-notify-*' functions.
673
674 2013-07-17 Eli Zaretskii <eliz@gnu.org>
675
676 * simple.el (line-move-partial, line-move): Don't start vscroll or
677 scroll-up if the current line is not taller than the window.
678 (Bug#14881)
679
680 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
681
682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
683 highlight question marks in the method names as strings.
684 (ruby-block-beg-keywords): Inline.
685 (ruby-font-lock-keyword-beg-re): Extract from
686 `ruby-font-lock-keywords'.
687
688 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
689
690 * frame.el (blink-cursor-blinks): New defcustom.
691 (blink-cursor-blinks-done): New defvar.
692 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
693 (blink-cursor-timer-function): Check if number of blinks has been
694 done on X and NS.
695 (blink-cursor-suspend, blink-cursor-check): New defuns.
696
697 2013-07-15 Glenn Morris <rgm@gnu.org>
698
699 * edmacro.el (edmacro-format-keys): Fix previous change.
700
701 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
702
703 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
704 The hack didn't work outside English locales anyway.
705
706 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
707
708 * simple.el (define-alternatives): Rename from alternatives-define,
709 per RMS' suggestion.
710
711 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
712
713 * desktop.el (desktop-restore-frames): Change default to t.
714 (desktop-restore-in-current-display): Now offer more options.
715 (desktop-restoring-reuses-frames): New customization option.
716 (desktop--saved-states): Doc fix.
717 (desktop-filter-parameters-alist): New variable, renamed and expanded
718 from desktop--excluded-frame-parameters.
719 (desktop--target-display): New variable.
720 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
721 (desktop--filter-tty*, desktop--filter-*-color)
722 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
723 (desktop--filter-save-desktop-parm)
724 (desktop-restore-in-original-display-p): New functions.
725 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
726 (desktop--save-minibuffer-frames): New function, inspired by a similar
727 function from Martin Rudalics.
728 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
729 (desktop--restore-in-this-display-p): Remove.
730 (desktop--find-frame): Rename from desktop--find-frame-in-display
731 and add predicate argument.
732 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
733 (desktop--reuse-list): New variable.
734 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
735 New functions.
736 (desktop--restore-frames): Add support for "minibuffer-special" frames.
737
738 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
739
740 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
741
742 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
743
744 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
745 Highlight conversion methods on Kernel.
746
747 2013-07-13 Alan Mackenzie <acm@muc.de>
748
749 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
750 and comment it out. This out-commenting enables certain C++
751 declarations to be parsed correctly.
752
753 2013-07-13 Eli Zaretskii <eliz@gnu.org>
754
755 * international/mule.el (define-coding-system): Doc fix.
756
757 * simple.el (default-font-height): Don't call font-info if the
758 frame's default font didn't change since the frame was created.
759 (Bug#14838)
760
761 2013-07-13 Leo Liu <sdl.web@gmail.com>
762
763 * ido.el (ido-read-file-name): Guard against non-symbol value.
764
765 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
766
767 * progmodes/python.el (python-imenu--build-tree): Fix corner case
768 in nested defuns.
769
770 2013-07-13 Leo Liu <sdl.web@gmail.com>
771
772 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
773 ido-set-matches call. (Bug#6852)
774
775 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
776
777 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
778 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
779 Ruby 2.0.
780 (ruby-font-lock-keywords): Distinguish calls to functions with
781 module-like names from module references. Highlight character
782 literals.
783
784 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
785
786 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
787 (gdb-send): Handle continued commands. (Bug#14847)
788
789 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
790
791 * desktop.el (desktop--v2s): Remove unused local variable.
792 (desktop-save-buffer): Make defvar-local; adjust docstring.
793 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
794 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
795
796 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
797
798 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
799
800 2013-07-12 Eli Zaretskii <eliz@gnu.org>
801
802 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
803 (Bug#14842)
804
805 2013-07-12 Glenn Morris <rgm@gnu.org>
806
807 * doc-view.el: Require cl-lib at runtime too.
808 (doc-view-remove-if): Remove.
809 (doc-view-search-next-match, doc-view-search-previous-match):
810 Use cl-remove-if.
811
812 * edmacro.el: Require cl-lib at runtime too.
813 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
814 (edmacro-mismatch, edmacro-subseq): Remove.
815
816 * shadowfile.el: Require cl-lib.
817 (shadow-remove-if): Remove.
818 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
819 Use cl-remove-if.
820
821 * wid-edit.el: Require cl-lib.
822 (widget-choose): Use cl-remove-if.
823 (widget-remove-if): Remove.
824
825 * progmodes/ebrowse.el: Require cl-lib at runtime too.
826 (ebrowse-delete-if-not): Remove.
827 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
828 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
829 Use cl-delete-if-not.
830
831 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
832
833 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
834 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
835
836 2013-07-12 Leo Liu <sdl.web@gmail.com>
837
838 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
839
840 2013-07-11 Glenn Morris <rgm@gnu.org>
841
842 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
843 (edebug-gensym-index, edebug-gensym):
844 Remove reimplementation of cl-gensym.
845 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
846
847 * thumbs.el: Require cl-lib at run-time too.
848 (thumbs-gensym-counter, thumbs-gensym):
849 Remove reimplementation of cl-gensym.
850 (thumbs-temp-file): Use cl-gensym.
851
852 * emacs-lisp/ert.el: Require cl-lib at runtime too.
853 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
854 (ert--intersection, ert--set-difference, ert--set-difference-eq)
855 (ert--union, ert--gensym-counter, ert--gensym-counter)
856 (ert--coerce-to-vector, ert--remove*, ert--string-position)
857 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
858 (ert-make-test-unbound, ert--expand-should-1)
859 (ert--expand-should, ert--should-error-handle-error)
860 (should-error, ert--explain-equal-rec)
861 (ert--plist-difference-explanation, ert-select-tests)
862 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
863 Use cl-lib functions rather than reimplementations.
864
865 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
866
867 * net/tramp.el (tramp-methods): Extend docstring.
868 (tramp-connection-timeout): New defcustom.
869 (tramp-error-with-buffer): Reset timestamp only when appropriate.
870 (with-tramp-progress-reporter): Simplify.
871 (tramp-process-actions): Improve messages.
872
873 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
874 * net/tramp-sh.el (tramp-maybe-open-connection):
875 Use `tramp-connection-timeout'.
876 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
877 (Bug#14808)
878
879 2013-07-11 Leo Liu <sdl.web@gmail.com>
880
881 * ido.el (ido-read-file-name): Conform to the requirements of
882 read-file-name. (Bug#11861)
883 (ido-read-directory-name): Conform to the requirements of
884 read-directory-name.
885
886 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
887
888 * subr.el (delay-warning): New function.
889
890 2013-07-10 Eli Zaretskii <eliz@gnu.org>
891
892 * simple.el (default-line-height): New function.
893 (line-move-partial, line-move): Use it instead of computing the
894 line height inline.
895 (line-move-partial): Always compute ROWH. If the last line is
896 partially-visible, but its text is completely visible, allow
897 cursor to enter such a partially-visible line.
898
899 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
900
901 Improve error messages. (Bug#14808)
902
903 * net/tramp.el (tramp-current-connection): New defvar, moved from
904 tramp-sh.el.
905 (tramp-message-show-progress-reporter-message): Remove, not
906 needed anymore.
907 (tramp-error-with-buffer): Show message in minibuffer.
908 Discard input before waiting. Reset connection timestamp.
909 (with-tramp-progress-reporter): Improve messages.
910 (tramp-process-actions): Use progress reporter. Delete process in
911 case of error. Improve messages.
912
913 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
914 Call `tramp-error-with-buffer' with vector and buffer.
915 (tramp-current-connection): Remove.
916 (tramp-maybe-open-connection): The car of
917 `tramp-current-connection' are the first 3 slots of the vector.
918
919 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
920
921 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
922 inside continued strings.
923
924 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
925
926 Timestamp fixes for undo (Bug#14824).
927 * files.el (clear-visited-file-modtime): Move here from fileio.c.
928
929 2013-07-10 Leo Liu <sdl.web@gmail.com>
930
931 * files.el (require-final-newline): Allow safe local value.
932 (Bug#14834)
933
934 2013-07-09 Leo Liu <sdl.web@gmail.com>
935
936 * ido.el (ido-read-directory-name): Handle fallback.
937 (ido-read-file-name): Update DIR to ido-current-directory.
938 (Bug#1516)
939 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
940
941 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
942
943 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
944 "autoload". Remove "warn lower camel case" section, previously
945 commented out. Highlight negation char. Do not highlight the
946 target in singleton method definitions.
947
948 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * faces.el (tty-setup-hook): Declare the hook.
951
952 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
953 and detect when a guard/pred depends on local vars (bug#14773).
954 (pcase--u1): Adjust caller.
955
956 2013-07-08 Eli Zaretskii <eliz@gnu.org>
957
958 * simple.el (line-move-partial, line-move): Account for
959 line-spacing.
960 (line-move-partial): Avoid setting vscroll when the last
961 partially-visible line in window is of default height.
962
963 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
964
965 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
966 been used a while.
967
968 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
969
970 * subr.el (read-quoted-char): Remove unused local variable `char'.
971
972 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
973
974 * ediff.el (ediff-version): Version update.
975 (ediff-files-command, ediff3-files-command, ediff-merge-command)
976 (ediff-merge-with-ancestor-command, ediff-directories-command)
977 (ediff-directories3-command, ediff-merge-directories-command)
978 (ediff-merge-directories-with-ancestor-command): New functions.
979 All are command-line interfaces to ediff: to facilitate calling
980 Emacs with the appropriate ediff functions invoked.
981
982 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
983 (viper-save-kill-buffer): Check if buffer is modified.
984
985 * viper.el (viper-version): Version update.
986 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
987
988 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
989
990 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
991 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
992 (viper-intercept-ESC-key): Simplify.
993 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
994 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
995 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
996 (viper-setup-ESC-to-escape): New functions.
997 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
998 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
999
1000 2013-07-07 Eli Zaretskii <eliz@gnu.org>
1001
1002 * simple.el (default-font-height, window-screen-lines):
1003 New functions.
1004 (line-move, line-move-partial): Use them instead of
1005 frame-char-height and window-text-height. This makes scrolling
1006 text smoother when the buffer's default face uses a font that is
1007 different from the frame's default font.
1008
1009 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1010
1011 * files.el (write-file): Do not display confirm dialog for NS,
1012 it does its own dialog, which can't be cancelled (Bug#14578).
1013
1014 2013-07-06 Eli Zaretskii <eliz@gnu.org>
1015
1016 * simple.el (line-move-partial): Adjust the row returned by
1017 posn-at-point for the current window-vscroll. (Bug#14567)
1018
1019 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
1020
1021 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1022 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1023 spaces.
1024
1025 2013-07-06 Martin Rudalics <rudalics@gmx.at>
1026
1027 * window.el (window-state-put-stale-windows): New variable.
1028 (window--state-put-2): Save list of windows without matching buffer.
1029 (window-state-put): Remove "bufferless" windows if possible.
1030
1031 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1032
1033 * simple.el (alternatives-define): Remove leftover :group keyword.
1034 Tweak docstring.
1035
1036 2013-07-06 Leo Liu <sdl.web@gmail.com>
1037
1038 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1039 (ido-enable-virtual-buffers): New variable.
1040 (ido-buffer-internal, ido-toggle-virtual-buffers)
1041 (ido-make-buffer-list): Use it.
1042 (ido-exhibit): Support turning on and off virtual buffers
1043 automatically.
1044
1045 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * simple.el (alternatives-define): New macro.
1048
1049 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * subr.el (read-quoted-char): Use read-key.
1052 (sit-for): Let read-event decode tty input (bug#14782).
1053
1054 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
1055
1056 * calendar/todo-mode.el: Add handling of file deletion, both by
1057 mode command and externally. Fix various related bugs.
1058 Clarify Commentary and improve some documentation strings and code.
1059 (todo-delete-file): New command.
1060 (todo-check-file): New function.
1061 (todo-show): Handle external deletion of the file we're trying to
1062 show (bug#14688). Replace called-interactively-p by an optional
1063 prefix argument to avoid problematic interaction with catch form
1064 when byte compiled (bug#14702).
1065 (todo-quit): Handle external deletion of the archive's todo file.
1066 Make sure the buffer that was visiting the archive file is still
1067 live before trying to bury it.
1068 (todo-category-completions): Handle external deletion of any
1069 category completion files.
1070 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1071 of todo files, in case of external deletion.
1072 (todo-add-file): Replace unnecessary setq by let-binding.
1073 (todo-find-archive): Check whether there are any archives.
1074 Replace unnecessary setq by let-binding.
1075 (todo-archive-done-item): Use find-file-noselect to get the
1076 archive buffer whether or not the archive already exists.
1077 Remove superfluous code. Use file size instead of buffer-file-name to
1078 check if the archive is new; if it is, update list of archives.
1079 (todo-default-todo-file): Allow nil to be a valid value for when
1080 there are no todo files.
1081 (todo-reevaluate-default-file-defcustom): Use corrected definition
1082 of todo-default-todo-file.
1083 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1084 (todo-delete-category, todo-show-categories-table)
1085 (todo-category-number): Clarify comment.
1086 (todo-filter-items): Clarify documentation string.
1087 (todo-show-current-file, todo-display-as-todo-file)
1088 (todo-reset-and-enable-done-separator): Tweak documentation string.
1089 (todo-done-separator): Make separator length window-width, since
1090 bug#2749 is now fixed.
1091
1092 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
1093
1094 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1095 Support both "gvfs-monitor-dir" and "inotifywait".
1096 (tramp-sh-file-inotifywait-process-filter): Rename from
1097 `tramp-sh-file-notify-process-filter'.
1098 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1099 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1100
1101 2013-07-05 Leo Liu <sdl.web@gmail.com>
1102
1103 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1104
1105 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1106
1107 * frame.el (display-pixel-height, display-pixel-width)
1108 (display-mm-height, display-mm-width): Mention behavior on
1109 multi-monitor setups in docstrings.
1110 (w32-display-monitor-attributes-list): Declare function.
1111 (display-monitor-attributes-list): Use it.
1112
1113 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * filenotify.el: New package.
1116
1117 * autorevert.el (top): Require filenotify.el.
1118 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1119 instead.
1120 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1121 (auto-revert-notify-handler): Use `file-notify-*' functions.
1122
1123 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1124
1125 * net/tramp.el (tramp-file-name-for-operation):
1126 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1127
1128 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1129 for `file-notify-add-watch' and `file-notify-rm-watch'.
1130 (tramp-process-sentinel): Improve trace.
1131 (tramp-sh-handle-file-notify-add-watch)
1132 (tramp-sh-file-notify-process-filter)
1133 (tramp-sh-handle-file-notify-rm-watch)
1134 (tramp-get-remote-inotifywait): New defuns.
1135
1136 2013-07-03 Juri Linkov <juri@jurta.org>
1137
1138 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1139 call of `occur-read-primary-args' to interactive spec.
1140
1141 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1142 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1143
1144 2013-07-03 Matthias Meulien <orontee@gmail.com>
1145
1146 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1147 `Buffer-menu-multi-occur'. Add it to the menu.
1148 (Buffer-menu-mode): Document it in docstring.
1149 (Buffer-menu-multi-occur): New command. (Bug#14673)
1150
1151 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1152
1153 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1154 keywords and built-ins.
1155
1156 2013-07-03 Glenn Morris <rgm@gnu.org>
1157
1158 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1159
1160 Make info-xref checks case-sensitive by default
1161 * info.el (Info-find-node, Info-find-in-tag-table)
1162 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1163 Add option for exact case matching of nodes.
1164 * info-xref.el (info-xref): New custom group.
1165 (info-xref-case-fold): New option.
1166 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1167
1168 2013-07-03 Leo Liu <sdl.web@gmail.com>
1169
1170 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1171
1172 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1173
1174 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1175 middle of block statement initially, lower the depth. Remove
1176 FIXME comment, not longer valid. Remove middle of block statement
1177 detection, no need to do that anymore since we've been using
1178 `ruby-parse-region' here.
1179
1180 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1181
1182 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1183
1184 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
1185
1186 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1187
1188 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
1189
1190 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1191 (desktop-restore-in-current-display): New customization option.
1192 (desktop--excluded-frame-parameters): Add `font'.
1193 (desktop--save-frames): Rename from desktop--save-windows.
1194 (desktop--restore-in-this-display-p): New function.
1195 (desktop--make-full-frame): Remove unwanted width/height from
1196 full(width|height) frames.
1197 (desktop--restore-frames): Rename from desktop--restore-windows.
1198 Obey desktop-restore-current-display. Do not delete old frames or
1199 select a new frame unless we were able to restore at least one frame.
1200
1201 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
1202
1203 * files.el (find-file-noselect): Simplify conditional expression.
1204
1205 * remember.el (remember-append-to-file):
1206 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1207
1208 Add `remember-notes' function to store random notes across Emacs
1209 restarts.
1210 * remember.el (remember-data-file): Add :set callback to affect
1211 notes buffer (if any).
1212 (remember-notes): New command.
1213 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1214 New defcustoms for the `remember-notes' function.
1215 (remember-notes-save-and-bury-buffer): New command.
1216 (remember-notes-mode-map): New variable.
1217 (remember-mode): New minor mode.
1218 (remember-notes--kill-buffer-query): New function.
1219 * startup.el (initial-buffer-choice): Add notes to custom type.
1220
1221 2013-06-30 Eli Zaretskii <eliz@gnu.org>
1222
1223 * bindings.el (right-char, left-char): Don't call sit-for, this is
1224 no longer needed. Use arithmetic comparison only for numerical
1225 arguments.
1226
1227 * international/mule-cmds.el (select-safe-coding-system):
1228 Handle the case of FROM being a string correctly. (Bug#14755)
1229
1230 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1231
1232 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1233 progression on degenerate tables.
1234 (shr-rescale-image): ImageMagick animated images currently don't work.
1235
1236 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
1237
1238 Some fixes and improvements for desktop frame restoration.
1239 It is still experimental and disabled by default.
1240 * desktop.el (desktop--save-windows): Put the selected frame at
1241 the head of the list.
1242 (desktop--make-full-frame): New function.
1243 (desktop--restore-windows): Try to re-select the frame that was
1244 selected upon saving. Do not abort if some frames fail to restore,
1245 just show an error message and continue. Set up maximized frames
1246 so they have default non-maximized dimensions.
1247
1248 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1249
1250 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1251 Don't start heredoc inside a string or comment.
1252
1253 2013-06-29 Eli Zaretskii <eliz@gnu.org>
1254
1255 * bindings.el (visual-order-cursor-movement): New defcustom.
1256 (right-char, left-char): Provide visual-order cursor motion by
1257 calling move-point-visually. Update the doc strings.
1258
1259 2013-06-28 Kenichi Handa <handa@gnu.org>
1260
1261 * international/mule.el (define-coding-system): New coding system
1262 properties :inhibit-null-byte-detection,
1263 :inhibit-iso-escape-detection, and :prefer-utf-8.
1264 (set-buffer-file-coding-system): If :charset-list property of
1265 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1266 appropriate for setting.
1267
1268 * international/mule-cmds.el (select-safe-coding-system):
1269 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1270 multibyte characters, return utf-8 (or one of its siblings).
1271
1272 * international/mule-conf.el (prefer-utf-8): New coding system.
1273 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1274 files.
1275
1276 2013-06-28 Ivan Kanis <ivan@kanis.fr>
1277
1278 * net/shr.el (shr-render-region): New function.
1279
1280 * net/eww.el: Autoload `eww-browse-url'.
1281
1282 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1283
1284 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1285 Adapt to `package-desc-version' being a list.
1286 Use `package--ac-desc-version' to retrieve version from a package
1287 archive element.
1288
1289 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
1290
1291 New experimental feature to save&restore window and frame setup.
1292 * desktop.el (desktop-save-windows): New defcustom.
1293 (desktop--saved-states): New var.
1294 (desktop--excluded-frame-parameters): New defconst.
1295 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1296 (desktop--restore-windows, desktop--save-windows): New functions.
1297 (desktop-save): Call `desktop--save-windows'.
1298 (desktop-read): Call `desktop--restore-windows'.
1299
1300 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1301
1302 * net/shr.el (add-face-text-property): Remove compat definition.
1303
1304 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1305
1306 * info.el (Info-try-follow-nearest-node): Move search for footnote
1307 above search for node name to prevent missing a footnote (bug#14717).
1308
1309 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
1310
1311 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1312
1313 2013-06-27 Leo Liu <sdl.web@gmail.com>
1314
1315 * net/eww.el (eww-read-bookmarks): Check file size.
1316
1317 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1320 advice--pending if newdef is nil or an autoload (bug#13820).
1321 (advice-mapc): New function.
1322
1323 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1324
1325 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1326 probably.
1327 (eww-mode-map): Add a menu bar.
1328 (eww-add-bookmark): New command.
1329 (eww-bookmark-mode): New mode and commands.
1330 (eww-add-bookmark): Remove newlines from the title.
1331 (eww-bookmark-browse): Don't bug out if it's the only window.
1332
1333 2013-06-26 Glenn Morris <rgm@gnu.org>
1334
1335 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1336 (hfy-size): Handle ttys. (Bug#14668)
1337
1338 * info-xref.el: Update for Texinfo 5 change in *note format.
1339 (info-xref-node-re, info-xref-note-re): New constants.
1340 (info-xref-check-buffer): Use info-xref-note-re.
1341
1342 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1345
1346 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1347 nil terminate the loop (bug#14718).
1348
1349 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1350
1351 * net/eww.el: Rework history traversal. When going forward/back,
1352 put these actions into the history, too, so that they can be
1353 replayed.
1354 (eww-render): Move the history reset to the correct buffer.
1355
1356 2013-06-25 Juri Linkov <juri@jurta.org>
1357
1358 * files-x.el (modify-dir-local-variable): Change the header comment
1359 in the file with directory local variables. (Bug#14692)
1360
1361 * files-x.el (read-file-local-variable-value): Add `default'.
1362 (Bug#14710)
1363
1364 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1365
1366 * net/eww.el (eww-make-unique-file-name): Create a unique file
1367 name before saving to entering `y' accidentally asynchronously.
1368
1369 2013-06-25 Ivan Kanis <ivan@kanis.fr>
1370
1371 * net/eww.el (eww-download): New command and keystroke.
1372
1373 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1374
1375 * net/eww.el (eww-copy-page-url): Change name of command.
1376
1377 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1378 be more consistent with Info and dired.
1379
1380 * net/eww.el (eww-mode-map): Ditto.
1381
1382 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1385 packages from archives.
1386 (package-archive-contents): Change format; include obsolete packages.
1387 (package-desc): Use `dir' to mark builtin packages.
1388 (package--from-builtin): Set the `dir' field to `builtin'.
1389 (generated-autoload-file, version-control): Declare.
1390 (package-compute-transaction): Change first arg and return value to be
1391 lists of package-descs. Adjust to new package-archive-contents format.
1392 (package--add-to-archive-contents): Adjust to new
1393 package-archive-contents format.
1394 (package-download-transaction): Arg is now a list of package-descs.
1395 (package-install): If `pkg' is a package name, pass it as
1396 a requirement, so it is subject to the usual (e.g. disabled) checks.
1397 (describe-package): Accept package-desc as well.
1398 (describe-package-1): Describe a specific package-desc. Add links to
1399 other package-descs for the same package name.
1400 (package-menu-describe-package): Pass the actual package-desc.
1401 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1402 works correctly.
1403 (package-desc-status): New function.
1404 (package-menu--refresh): New function, extracted
1405 from package-menu--generate.
1406 (package-menu--generate): Use it.
1407 (package-delete): Update package-alist.
1408 (package-menu-execute): Don't call package-initialize.
1409
1410 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1411 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1412 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1413 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1414 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1415 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1416
1417 2013-06-25 Martin Rudalics <rudalics@gmx.at>
1418
1419 * window.el (window--state-get-1): Workaround for bug#14527.
1420 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1421
1422 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1423
1424 * net/eww.el (eww-back-url): Implement the history by stashing all
1425 the data into a list.
1426 (eww-forward-url): Allow going forward in the history, too.
1427
1428 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1431 for values and use read--expression for expressions (bug#14710).
1432 (read-file-local-variable): Avoid setq.
1433 (read-file-local-variable-mode): Use minor-mode-list.
1434
1435 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1436
1437 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
1438 for DOI URLs.
1439
1440 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1441
1442 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
1443 Update imenu-support when dialect changes.
1444
1445 2013-06-25 Leo Liu <sdl.web@gmail.com>
1446
1447 * ido.el (ido-read-internal): Allow forward slash on windows.
1448
1449 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1450
1451 * net/eww.el (eww): Start of strings is \\`, not ^.
1452
1453 2013-06-24 Ivan Kanis <ivan@kanis.fr>
1454
1455 * net/shr.el (shr-browse-url): Fix interactive spec.
1456
1457 * net/eww.el (eww): Add a trailing slash to domain names.
1458
1459 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1462
1463 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1464
1465 * net/shr.el (shr-browse-url): Use an external browser if given a
1466 prefix.
1467
1468 * net/eww.el (eww-external-browser): Move to shr.
1469
1470 2013-06-24 Ivan Kanis <ivan@kanis.fr>
1471
1472 * net/eww.el (eww): Work more correctly for file: URLs.
1473 (eww-detect-charset): Allow quoted charsets.
1474 (eww-yank-page-url): New command and keystroke.
1475
1476 2013-06-24 Daiki Ueno <ueno@gnu.org>
1477
1478 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1479 file name of gpg executable.
1480 (epg-context-program): New function.
1481 (epg-context-home-directory): New function.
1482 (epg-context-set-program): New function.
1483 (epg-context-set-home-directory): New function.
1484 (epg--start): Use `epg-context-program' instead of
1485 'epg-gpg-program'.
1486 (epg--list-keys-1): Likewise.
1487
1488 2013-06-24 Leo Liu <sdl.web@gmail.com>
1489
1490 * ido.el (ido-read-internal): Fix bug#14620.
1491
1492 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
1493
1494 * faces.el (face-documentation): Simplify.
1495 (read-face-attribute, tty-find-type, x-resolve-font-name):
1496 Use `string-match-p'.
1497 (list-faces-display): Use `string-match-p'. Simplify.
1498 (face-spec-recalc): Check face to avoid face alias loops.
1499 (read-color): Use `string-match-p' and non-capturing parenthesis.
1500
1501 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1502
1503 * net/shr.el (shr-rescale-image): Use the new
1504 :max-width/:max-height functionality.
1505
1506 2013-06-23 Ivan Kanis <ivan@kanis.fr>
1507
1508 * net/eww.el (eww-search-prefix): New variable.
1509 (eww): Use it.
1510 (eww-external-browser): New variable.
1511 (eww-mode-map): New keystroke.
1512 (eww-browse-with-external-browser): New command.
1513
1514 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1515
1516 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
1517
1518 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1519 Don't skip aligning the next header field when padding is 0;
1520 otherwise, field width is not respected unless the title is as
1521 wide as the field.
1522
1523 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/package.el (package-el-version): Remove.
1526 (package-process-define-package): Fix inf-loop.
1527 (package-install): Allow symbols as arguments again.
1528
1529 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1530
1531 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1532 add some more keyword-like methods.
1533 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1534
1535 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * bs.el (bs-buffer-show-mark): Make defvar-local.
1538 (bs-mode): Use setq-local.
1539
1540 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1541 (emacs-lock--try-unlocking): Make defvar-local.
1542
1543 2013-06-22 Glenn Morris <rgm@gnu.org>
1544
1545 * play/cookie1.el (cookie-apropos): Minor simplification.
1546
1547 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1548
1549 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1550
1551 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1552 `regexp-opt', it breaks the build during dumping.
1553
1554 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
1555
1556 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1557 Highlight keyword-like methods on Kernel and Module with
1558 font-lock-builtin-face.
1559 (auto-mode-alist): Consolidate different entries into one regexp
1560 and add more *file-s.
1561
1562 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
1563
1564 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1565
1566 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1567 (diary-entry): Use it in the action of this button type instead of
1568 diary-goto-entry.
1569
1570 * calendar/todo-mode.el: New version.
1571 (todo-add-category): Append new category to end of file and give
1572 it the highest number, instead of putting it at the beginning and
1573 giving it 0. Incorporate noninteractive functionality.
1574 (todo-forward-category): Adapt to 1-based category numbering.
1575 Allow skipping over archived categories.
1576 (todo-backward-category): Derive from todo-forward-category.
1577 (todo-backward-item, todo-forward-item): Make noninteractive and
1578 delegate interactive part to new commands. Make sensitive to done items.
1579 (todo-categories): Make value an alist of category names and
1580 vectors of item counts.
1581 (todo-category-beg): Make a defconst.
1582 (todo-category-number): Use 1 instead of 0 as initial value.
1583 (todo-category-select): Make sensitive to overlays, optional item
1584 highlighting and done items.
1585 (todo-delete-item): Make sensitive to overlays and marked and done items.
1586 (todo-edit-item): Make sensitive to overlays and editing of
1587 date/time header optional. Add format checks.
1588 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
1589 no-op if point is not on an item. Advertise using todo-edit-quit.
1590 (todo-edit-mode): Make sensitive to new format, font-locking, and
1591 multiple todo files.
1592 (todo-insert-item, todo-insert-item-here): Derive from
1593 todo-basic-insert-item and extend functionality.
1594 (todo-item-end, todo-item-start): Make sensitive to done items.
1595 (todo-item-string): Don't return text properties. Restore point.
1596 (todo-jump-to-category): Make sensitive to multiple todo files and
1597 todo archives. Use extended category completion.
1598 (todo-lower-item, todo-raise-item): Rename to *-priority and
1599 derive from todo-set-item-priority.
1600 (todo-mode): Derive from special-mode. Make sensitive to new
1601 format, font-locking and multiple todo files. Make read-only.
1602 (todo-mode-map): Don't suppress digit keys, so they can supply
1603 prefix arguments. Add many new key bindings.
1604 (todo-prefix): Insert as an overlay instead of file text.
1605 Change semantics from diary date expression to purely visual mark.
1606 (todo-print): Rename to todo-print-buffer. Make buffer display
1607 features printable. Remove option to restrict number of items
1608 printed. Add option to print to file.
1609 (todo-print-function): Rename to todo-print-buffer-function.
1610 (todo-quit): Extend to handle exiting new todo modes.
1611 (todo-remove-item): Make sensitive to overlays.
1612 (todo-save): Extend to buffers of filtered items.
1613 (todo-show): Make sensitive to done items, multiple todo files and
1614 new todo modes. Offer to convert legacy todo file before creating
1615 first new todo file.
1616 (todo-show-priorities): Rename to todo-top-priorities.
1617 Change semantics of value 0.
1618 (todo-top-priorities): Rename to todo-filter-top-priorities,
1619 derive from todo-filter-items and extend functionality.
1620 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
1621 and extend functionality to other types of filtered items.
1622 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
1623 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
1624 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
1625 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
1626 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
1627 (todo-edit-mode-hook, todo-entry-prefix-function)
1628 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
1629 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
1630 (todo-initials, todo-insert-threshold, todo-item-string-start)
1631 (todo-line-string, todo-menu, todo-mode-hook)
1632 (todo-more-important-p, todo-previous-answer, todo-previous-line)
1633 (todo-print-priorities, todo-remove-separator)
1634 (todo-save-top-priorities-too, todo-string-count-lines)
1635 (todo-string-multiline-p, todo-time-string-format)
1636 (todo-tmp-buffer-name): Remove.
1637 (todo-add-file, todo-archive-done-item, todo-choose-archive)
1638 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
1639 (todo-edit-category-diary-inclusion)
1640 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
1641 (todo-edit-file, todo-edit-item-date-day)
1642 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
1643 (todo-edit-item-date-month, todo-edit-item-date-to-today)
1644 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
1645 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
1646 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
1647 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
1648 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
1649 (todo-filter-top-priorities-multifile, todo-find-archive)
1650 (todo-find-filtered-items-file, todo-go-to-source-item)
1651 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
1652 (todo-jump-to-archive-category, todo-lower-category)
1653 (todo-mark-category, todo-marked-item-p, todo-merge-category)
1654 (todo-move-category, todo-move-item, todo-next-button)
1655 (todo-next-item, todo-padded-string, todo-powerset)
1656 (todo-previous-button, todo-previous-item)
1657 (todo-print-buffer-to-file, todo-raise-category)
1658 (todo-rename-category, todo-repair-categories-sexp, todo-search)
1659 (todo-set-category-number, todo-set-item-priority)
1660 (todo-set-top-priorities-in-category)
1661 (todo-set-top-priorities-in-file, todo-show-categories-table)
1662 (todo-sort-categories-alphabetically-or-numerically)
1663 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
1664 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
1665 (todo-toggle-item-header, todo-toggle-item-highlighting)
1666 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
1667 (todo-toggle-view-done-items, todo-toggle-view-done-only)
1668 (todo-unarchive-items, todo-unmark-category): New commands.
1669 (todo-absolute-file-name, todo-add-to-buffer-list)
1670 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
1671 (todo-basic-insert-item, todo-category-completions)
1672 (todo-category-number, todo-category-string-matcher-1)
1673 (todo-category-string-matcher-2, todo-check-filtered-items-file)
1674 (todo-check-format, todo-clear-matches)
1675 (todo-comment-string-matcher, todo-convert-legacy-date-time)
1676 (todo-current-category, todo-date-string-matcher)
1677 (todo-define-insertion-command, todo-diary-expired-matcher)
1678 (todo-diary-goto-entry, todo-diary-item-p)
1679 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
1680 (todo-display-categories, todo-display-sorted, todo-done-item-p)
1681 (todo-done-item-section-p, todo-done-separator)
1682 (todo-done-string-matcher, todo-files, todo-filter-items)
1683 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
1684 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
1685 (todo-insert-category-line, todo-insert-item-from-calendar)
1686 (todo-insert-sort-button, todo-insert-with-overlays)
1687 (todo-insertion-command-name, todo-insertion-key-bindings)
1688 (todo-label-to-key, todo-longest-category-name-length)
1689 (todo-make-categories-list, todo-mode-external-set)
1690 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
1691 (todo-modes-set-3, todo-multiple-filter-files)
1692 (todo-nondiary-marker-matcher, todo-prefix-overlays)
1693 (todo-read-category, todo-read-date, todo-read-dayname)
1694 (todo-read-file-name, todo-read-time)
1695 (todo-reevaluate-category-completions-files-defcustom)
1696 (todo-reevaluate-default-file-defcustom)
1697 (todo-reevaluate-filelist-defcustoms)
1698 (todo-reevaluate-filter-files-defcustom)
1699 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
1700 (todo-reset-done-separator, todo-reset-done-separator-string)
1701 (todo-reset-done-string, todo-reset-global-current-todo-file)
1702 (todo-reset-highlight-item, todo-reset-nondiary-marker)
1703 (todo-reset-prefix, todo-set-categories)
1704 (todo-set-date-from-calendar, todo-set-show-current-file)
1705 (todo-set-top-priorities, todo-short-file-name)
1706 (todo-show-current-file, todo-sort, todo-time-string-matcher)
1707 (todo-total-item-counts, todo-update-buffer-list)
1708 (todo-update-categories-display, todo-update-categories-sexp)
1709 (todo-update-count, todo-validate-name, todo-y-or-n-p):
1710 New functions.
1711 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
1712 New major modes.
1713 (todo-categories, todo-display, todo-edit, todo-faces)
1714 (todo-filtered): New defgroups.
1715 (todo-archived-only, todo-button, todo-category-string, todo-date)
1716 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
1717 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
1718 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
1719 (todo-add-item-if-new-category, todo-always-add-time-string)
1720 (todo-categories-align, todo-categories-archived-label)
1721 (todo-categories-category-label, todo-categories-diary-label)
1722 (todo-categories-done-label, todo-categories-number-separator)
1723 (todo-categories-todo-label, todo-categories-totals-label)
1724 (todo-category-completions-files, todo-completion-ignore-case)
1725 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
1726 (todo-done-separator-string, todo-done-string)
1727 (todo-files-function, todo-filter-done-items, todo-filter-files)
1728 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
1729 (todo-initial-category, todo-initial-file, todo-item-mark)
1730 (todo-legacy-date-time-regexp, todo-mode-line-function)
1731 (todo-nondiary-marker, todo-number-prefix)
1732 (todo-print-buffer-function, todo-show-current-file)
1733 (todo-show-done-only, todo-show-first, todo-show-with-done)
1734 (todo-skip-archived-categories, todo-top-priorities-overrides)
1735 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
1736 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
1737 New defcustoms.
1738 (todo-category-done, todo-date-pattern, todo-date-string-start)
1739 (todo-diary-items-buffer, todo-done-string-start)
1740 (todo-filtered-items-buffer, todo-item-start)
1741 (todo-month-abbrev-array, todo-month-name-array)
1742 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
1743 (todo-top-priorities-buffer): New defconsts.
1744 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
1745 (todo-categories-with-marks, todo-category-string-face)
1746 (todo-comment-face, todo-comment-string, todo-current-todo-file)
1747 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
1748 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
1749 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
1750 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
1751 (todo-font-lock-keywords, todo-global-current-todo-file)
1752 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
1753 (todo-insertion-commands-args)
1754 (todo-insertion-commands-args-genlist)
1755 (todo-insertion-commands-names, todo-insertion-map)
1756 (todo-key-bindings-t, todo-key-bindings-t+a)
1757 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
1758 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
1759 (todo-nondiary-face, todo-print-buffer, todo-time-face)
1760 (todo-visited): New variables.
1761
1762 2013-06-21 Glenn Morris <rgm@gnu.org>
1763
1764 * play/cookie1.el (cookie-apropos): Add optional display argument.
1765 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
1766 (psychoanalyze-pinhead): Use cookie-doctor.
1767
1768 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
1769
1770 * emacs-lisp/package.el (tar-get-file-descriptor)
1771 (tar--extract): Declare.
1772
1773 2013-06-21 Eduard Wiebe <usenet@pusto.de>
1774
1775 Extend flymake's warning predicate to be a function (bug#14217).
1776 * progmodes/flymake.el (flymake-warning-predicate): New.
1777 (flymake-parse-line): Use it.
1778 (flymake-warning-re): Make obsolete alias to
1779 `flymake-warning-predicate'.
1780
1781 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * emacs-lisp/package.el (package-alist): Include obsolete packages.
1784 (package-obsolete-list): Remove.
1785 (package-activate): Remove min-version argument. Add `force' argument.
1786 Adjust to new package-alist format.
1787 (package-mark-obsolete): Remove.
1788 (package-unpack): Force reload of the package's autoloads.
1789 (package-installed-p): Check builtins if the installed package is not
1790 recent enough.
1791 (package-initialize): Don't reset package-obsolete-list.
1792 Don't specify which package version to activate.
1793 (package-process-define-package, describe-package-1)
1794 (package-menu--generate): Adjust to new package-alist format.
1795
1796 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
1797
1798 * allout-widgets.el (allout-widgets-mode-off)
1799 (allout-widgets-mode-on, allout-widgets-pre-command-business)
1800 (allout-widgets-post-command-business)
1801 (allout-widgets-after-copy-or-kill-function)
1802 (allout-widgets-after-undo-function, allout-test-range-overlaps)
1803 (allout-decorate-item-and-context)
1804 (allout-graphics-modification-handler): Fix typos in docstrings.
1805 (allout-get-or-create-parent-widget): Use `looking-at-p'.
1806
1807 * cmuscheme.el (scheme-start-file): Doc fix.
1808 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
1809 (scheme-input-filter): Use `string-match-p'.
1810
1811 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
1812
1813 * dired-x.el: Use Dired consistently in docstrings.
1814
1815 * dired.el: Use Dired consistently in docstrings.
1816 (dired-readin, dired-mode): Use `setq-local'.
1817 (dired-switches-alist): Make defvar-local.
1818 (dired-buffers-for-dir): Use `zerop'.
1819 (dired-safe-switches-p, dired-switches-escape-p)
1820 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
1821 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
1822 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
1823 (dired-goto-next-nontrivial-file): Use `string-match-p'.
1824 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
1825 (dired-toggle-marks, dired-mark-files-containing-regexp)
1826 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
1827 (dired-flag-auto-save-files, dired-flag-backup-files):
1828 Use `looking-at-p'.
1829 (dired-mark-files-regexp, dired-build-subdir-alist):
1830 Use `string-match-p', `looking-at-p'.
1831
1832 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
1833 (direct-print-region-helper): Use `string-match-p'.
1834
1835 2013-06-21 Leo Liu <sdl.web@gmail.com>
1836
1837 * comint.el (comint-redirect-results-list-from-process):
1838 Fix infinite loop.
1839
1840 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1841
1842 * net/eww.el (eww-update-header-line-format): Quote % characters.
1843
1844 2013-06-21 Glenn Morris <rgm@gnu.org>
1845
1846 * play/cookie1.el (cookie): New custom group.
1847 (cookie-file): New option.
1848 (cookie-check-file): New function.
1849 (cookie): Make it interactive. Make start and end messages optional.
1850 Interactively, display the result. Default to cookie-file.
1851 (cookie-insert): Default to cookie-file.
1852 (cookie-snarf): Make start and end messages optional.
1853 Default to cookie-file. Use with-temp-buffer.
1854 (cookie-read): Rename from read-cookie.
1855 Make start and end messages optional. Default to cookie-file.
1856 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
1857 Do not autoload it.
1858 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
1859 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
1860
1861 2013-06-21 Leo Liu <sdl.web@gmail.com>
1862
1863 * progmodes/octave.el (octave-mode): Backward compatibility fix.
1864
1865 2013-06-21 Glenn Morris <rgm@gnu.org>
1866
1867 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
1868
1869 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1870 Daniel Hackney <dan@haxney.org>
1871
1872 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
1873 Consolidate the single-file vs tarball code.
1874 (package-desc-suffix): New function.
1875 (package-desc-full-name): Don't bother inlining it.
1876 (package-load-descriptor): Return the new package-desc.
1877 (package-mark-obsolete): Remove unused arg `package'.
1878 (package-unpack): Make it work for single files as well.
1879 Make it update package-alist.
1880 (package--make-autoloads-and-stuff): Rename from
1881 package--make-autoloads-and-compile. Don't compile any more.
1882 (package--compile): New function.
1883 (package-generate-description-file): New function, extracted from
1884 package-unpack-single.
1885 (package-unpack-single): Remove.
1886 (package--with-work-buffer): Add indentation and debugging info.
1887 (package-download-single): Remove.
1888 (package-install-from-archive): Rename from package-download-tar, make
1889 it take a pkg-desc, and make it work for single files as well.
1890 (package-download-transaction): Simplify.
1891 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
1892 external tar program.
1893 (package-install-from-buffer): Remove `pkg-desc' argument.
1894 Use package-tar-file-info for tar-mode buffers.
1895 (package-install-file): Simplify accordingly.
1896 (package-archive-base): Change to take a pkg-desc.
1897 * tar-mode.el (tar--check-descriptor): New function, extracted from
1898 tar-get-descriptor.
1899 (tar-get-descriptor): Use it.
1900 (tar-get-file-descriptor): New function.
1901 (tar--extract): New function, extracted from tar-extract.
1902 (tar--extract): Use it.
1903 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
1904 case the summary uses non-ascii. Adjust to new calling convention of
1905 package-tar-file-info.
1906
1907 2013-06-21 Leo Liu <sdl.web@gmail.com>
1908
1909 * comint.el (comint-redirect-results-list-from-process):
1910 Fix random delay. (Bug#14681)
1911
1912 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
1913
1914 * profiler.el (profiler-format-number): Use log, not log10.
1915
1916 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1917
1918 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
1919
1920 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
1923 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
1924 yet available.
1925 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
1926 (AUTOGENEL): ... here.
1927 * emacs-lisp/cl-macs.el (cl--sublis): New function.
1928 (cl--defsubst-expand): Use it.
1929
1930 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
1931
1932 * subr.el (log10): Move here from C code, and declare as obsolete.
1933 All uses of (log10 X) replaced with (log X 10).
1934
1935 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1936
1937 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1938 Declare with `defvar-local'.
1939 (tabulated-list-use-header-line, tabulated-list-entries)
1940 (tabulated-list-padding, tabulated-list-printer)
1941 (tabulated-list-sort-key): Declare with `defvar-local'.
1942 (tabulated-list-init-header, tabulated-list-print-fake-header):
1943 Use `setq-local'.
1944
1945 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
1946
1947 * arc-mode.el (archive-mode): Add `archive-write-file' to
1948 `write-contents-functions' also for remote files. (Bug#14652)
1949
1950 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1951
1952 * cus-edit.el (custom-commands): Fix typos.
1953 (custom-display): Fix tooltip text.
1954 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1955 Fix typos in docstrings.
1956 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1957 (custom-unlispify-menu-entry, custom-magic-value-create)
1958 (custom-add-see-also, custom-group-value-create): Use ?\s.
1959 (custom-guess-type, customize-apropos, editable-field)
1960 (custom-face-value-create): Use `string-match-p'.
1961 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
1962
1963 * custom.el (custom-load-symbol): Use `string-match-p'.
1964
1965 * ansi-color.el: Convert to lexical binding.
1966 (ansi-colors): Fix URL.
1967 (ansi-color-context, ansi-color-context-region): Use defvar-local.
1968 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
1969 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
1970
1971 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1972
1973 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
1974
1975 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
1976
1977 2013-06-19 Tom Tromey <tromey@redhat.com>
1978
1979 * net/eww.el (eww-top-url): Remove.
1980 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
1981 (eww-render): Set new variables. Don't set eww-top-url.
1982 (eww-handle-link): Handle "prev", "home", and "contents".
1983 Downcase the rel text.
1984 (eww-top-url): Choose best top URL.
1985
1986 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1987
1988 * net/eww.el: Rewrite to implement form elements "by hand" instead of
1989 relying in widget.el. Using widget.el leads to too many
1990 user interface inconsistencies.
1991 (eww-self-insert): Implement entering commands in text fields.
1992 (eww-process-text-input): New function to make text input field editing
1993 work.
1994 (eww-submit): Rewrite to use the new-style form methods.
1995 (eww-select-display): Display the correct selected item.
1996 (eww-change-select): Implement changing the select value.
1997 (eww-toggle-checkbox): Implement radio/checkboxes.
1998 (eww-update-field): Fix compilation error.
1999 (eww-tag-textarea): Implement <textarea>.
2000
2001 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2002 we don't shadow mode-specific bindings.
2003
2004 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2005 nothing to push.
2006
2007 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2008
2009 2013-06-19 Glenn Morris <rgm@gnu.org>
2010
2011 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2012
2013 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2016 not needed.
2017
2018 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2019
2020 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2021
2022 * net/browse-url.el (browse-url-browser-function):
2023 `eww-browse-url' has the right calling signature, `eww' does not.
2024
2025 2013-06-19 Glenn Morris <rgm@gnu.org>
2026
2027 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2028 Only eval autoloaded macros.
2029 (byte-compile-autoload): Only give the macro warning for macros.
2030
2031 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2032 (ps-underlined-faces): Declare.
2033
2034 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2035 (speedbar-add-supported-extension): Declare.
2036
2037 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2038 Don't include a date stamp in the header of the generated file;
2039 it leads to needless differences between output files.
2040
2041 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2042
2043 * net/secrets.el (secrets-struct-secret-content-type):
2044 Replace check of introspection data by a test call of "CreateItem".
2045 Some servers do not offer introspection.
2046
2047 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * electric.el (electric-pair-mode): Improve interaction with
2050 electric-layout-mode.
2051 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2052 (electric-pair-syntax): Use text-mode-syntax-table in comments
2053 and strings.
2054 (electric-pair--insert): New function.
2055 (electric-pair-post-self-insert-function): Use it and
2056 electric--after-char-pos.
2057
2058 2013-06-19 Leo Liu <sdl.web@gmail.com>
2059
2060 * progmodes/octave.el (octave-help): Fix regexp.
2061
2062 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2063
2064 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2065 (shr-table-horizontal-line): Allow nil as a value, and change the
2066 default.
2067 (shr-insert-table-ruler): Respect the nil value.
2068
2069 2013-06-18 Tom Tromey <tromey@barimba>
2070
2071 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2072 New defvars.
2073 (eww-open-file): New defun.
2074 (eww-render): Initialize new variables.
2075 (eww-display-html): Handle "link" and "a".
2076 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2077 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2078 (eww-back-url): Rename from eww-previous-url.
2079 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2080 New defuns.
2081
2082 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2085 Distinguish ternary operator tokens from slash symbol and slash
2086 char literal.
2087
2088 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2089
2090 Convert symbol prettification into minor mode and global minor mode.
2091
2092 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2093 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2094 (prettify-symbols--keywords): Rename from
2095 `prog-prettify-symbols-alist' and make a local defvar.
2096 (prettify-symbols--compose-symbol): Rename from
2097 `prog--prettify-font-lock-compose-symbol'.
2098 (prettify-symbols--make-keywords): Rename from
2099 `prog-prettify-font-lock-symbols-keywords' and simplify.
2100 (prog-prettify-install): Remove.
2101 (prettify-symbols-mode): New minor mode, based on
2102 `prog-prettify-install'.
2103 (turn-on-prettify-symbols-mode): New function.
2104 (global-prettify-symbols-mode): New globalized minor mode.
2105
2106 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2107 * progmodes/cfengine.el (cfengine3-mode):
2108 * progmodes/perl-mode.el (perl-mode): Don't call
2109 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2110
2111 2013-06-18 Juri Linkov <juri@jurta.org>
2112
2113 * files-x.el (modify-file-local-variable-message): New function.
2114 (modify-file-local-variable)
2115 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2116 and call `modify-file-local-variable-message' when it's non-nil.
2117 (add-file-local-variable, delete-file-local-variable)
2118 (add-file-local-variable-prop-line)
2119 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2120 and use it. (Bug#9820)
2121
2122 2013-06-18 Juri Linkov <juri@jurta.org>
2123
2124 * emulation/vi.el (vi-shell-op):
2125 * emulation/vip.el (vip-execute-com, ex-command):
2126 * emulation/viper-cmd.el (viper-exec-bang):
2127 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2128 the call of `shell-command-on-region'. (Bug#14637)
2129
2130 * simple.el (shell-command-on-region): Doc fix.
2131
2132 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2135 (bug#14633).
2136
2137 2013-06-18 Glenn Morris <rgm@gnu.org>
2138
2139 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2140
2141 * newcomment.el (comment-search-forward, comment-search-backward):
2142 Doc fix. (Bug#14376)
2143
2144 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2145
2146 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2147 (buffer-face-mode-invoke): Doc fix.
2148
2149 2013-06-18 Matthias Meulien <orontee@gmail.com>
2150
2151 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2152 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2153
2154 2013-06-18 Glenn Morris <rgm@gnu.org>
2155
2156 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2157 Replace obsolete function generic-make-keywords with its expansion.
2158
2159 * progmodes/python.el (ffap-alist): Declare.
2160
2161 * textmodes/reftex.el (bibtex-mode-map): Declare.
2162
2163 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2166 (package-unpack, package-unpack-single): Return the pkg-dir.
2167 (package-download-transaction): Use it to update package-alist.
2168
2169 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2170
2171 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2172 possible choice.
2173
2174 2013-06-17 Juri Linkov <juri@jurta.org>
2175
2176 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2177
2178 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2179
2180 * emacs-lisp/package.el (package-load-descriptor):
2181 Remove `with-syntax-table' call, `read' doesn't need it.
2182 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2183
2184 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2185
2186 * startup.el (command-line): Expand package name returned by
2187 `package--description-file' (bug#14639).
2188
2189 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2190
2191 * emacs-lisp/package.el (package-load-descriptor): Do not call
2192 `emacs-lisp-mode', just use its syntax table.
2193
2194 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
2195
2196 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2197 `font-lock-extra-managed-props' if any prettifying keyword is added.
2198 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2199 (prog-mode): Use `setq-local'.
2200
2201 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * international/characters.el (standard-case-table): Set syntax of ?»
2204 and ?« to punctuation.
2205
2206 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
2207
2208 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2209 Save relevant match data before calling `syntax-ppss' (bug#14595).
2210
2211 2013-06-15 Juri Linkov <juri@jurta.org>
2212
2213 * files-x.el (modify-file-local-variable-prop-line): Add local
2214 variables to the end of the existing comment on the first line.
2215 Use `file-auto-mode-skip' to skip interpreter magic line,
2216 and also skip XML declaration.
2217
2218 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * startup.el (package--builtin-versions): New var.
2221 (package-subdirectory-regexp): Remove.
2222 (package--description-file): Hard code its value instead.
2223
2224 * emacs-lisp/package.el: Don't activate packages older than builtin.
2225 (package-obsolete-list): Rename from package-obsolete-alist, and make
2226 it into a simple list of package-desc.
2227 (package-strip-version): Remove.
2228 (package-built-in-p): Use package--builtin-versions.
2229 (package-mark-obsolete): Simplify.
2230 (package-process-define-package): Mark it obsolete if older than the
2231 builtin version.
2232 (package-handle-response): Use line-end-position.
2233 (package-read-archive-contents, package--download-one-archive):
2234 Simplify.
2235 (package--add-to-archive-contents): Skip if older than the builtin or
2236 installed version.
2237 (package-menu-describe-package): Fix last change.
2238 (package-list-unversioned): New var.
2239 (package-menu--generate): Use it.
2240
2241 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2242 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2243 (autoload-builtin-package-versions): New variable.
2244 (autoload-generate-file-autoloads): Use them.
2245 Remove the list of autoloaded functions/macros from the
2246 (autoload...) comments.
2247
2248 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2249
2250 2013-06-15 Eli Zaretskii <eliz@gnu.org>
2251
2252 * simple.el (line-move-partial): Don't jump to the next screen
2253 line as soon as it becomes visible. Instead, continue enlarging
2254 the vscroll until the portion of a tall screen line that's left on
2255 display is about the height of the frame's default font.
2256 (Bug#14567)
2257
2258 2013-06-15 Glenn Morris <rgm@gnu.org>
2259
2260 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2261 compilation-error-regexp-alist void, or local while let-bound.
2262
2263 * progmodes/make-mode.el (makefile-mode-syntax-table):
2264 Treat "=" as punctuation. (Bug#14614)
2265
2266 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
2267
2268 * help-fns.el (describe-variable):
2269 Add extra line for permanent-local variables.
2270
2271 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2272
2273 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2274 Add export, import, library. (Bug#9164)
2275 (library): Set indent function.
2276
2277 2013-06-14 Glenn Morris <rgm@gnu.org>
2278
2279 * term/xterm.el (xterm--query):
2280 Stop after first matching handler. (Bug#14615)
2281
2282 2013-06-14 Ivan Kanis <ivan@kanis.fr>
2283
2284 Add support for dired in saveplace.
2285 * dired.el (dired-initial-position-hook): New variable.
2286 (dired-initial-position): Call hook to place cursor position.
2287 * saveplace.el (save-place-to-alist): Add dired position.
2288 (save-place-dired-hook): New function.
2289
2290 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2293 through a symbol rather than letrec.
2294
2295 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2296 (package-desc): Add `dir' field.
2297 (package-desc-full-name): New function.
2298 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2299 (package-maybe-load-descriptor): Remove.
2300 (package-load-all-descriptors): Just call package-load-descriptor.
2301 (package--disabled-p): New function.
2302 (package-desc-vers, package-desc-doc): Remove aliases.
2303 (package--dir): Remove function.
2304 (package-activate): Check if a package is disabled.
2305 (package-process-define-package): New function, extracted from
2306 define-package.
2307 (define-package): Turn into a place holder.
2308 (package-unpack-single, package-tar-file-info):
2309 Use package--description-file.
2310 (package-compute-transaction): Use package--disabled-p.
2311 (package-download-transaction): Don't call
2312 package-maybe-load-descriptor since they're all loaded anyway.
2313 (package-install): Change argument to be a pkg-desc.
2314 (package-delete): Use a single pkg-desc argument.
2315 (describe-package-1): Use package-desc-dir instead of package--dir.
2316 Use package-desc property instead of package-symbol.
2317 (package-install-button-action): Adjust accordingly.
2318 (package--push): Rewrite.
2319 (package-menu--print-info): Adjust accordingly. Change the ID format
2320 to be a pkg-desc.
2321 (package-menu-describe-package, package-menu-get-status)
2322 (package-menu--find-upgrades, package-menu-mark-upgrades)
2323 (package-menu-execute, package-menu--name-predicate):
2324 Adjust accordingly.
2325 * startup.el (package--description-file): New function.
2326 (command-line): Use it.
2327 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2328 Use package-desc-version.
2329
2330 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2331 (byte-compile-preprocess): Use it.
2332 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2333 can't quite recognize.
2334 (byte-compile-add-to-list): Remove.
2335 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2336 (cconv-closure-convert): Add assertion.
2337
2338 * emacs-lisp/map-ynp.el: Use lexical-binding.
2339 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2340 Factor out some repeated code.
2341
2342 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * subr.el (with-eval-after-load): New macro.
2345 (eval-after-load): Allow form to be a function.
2346 take advantage of lexical-binding.
2347 (do-after-load-evaluation): Use dolist and adjust to new format.
2348 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2349
2350 2013-06-13 Juri Linkov <juri@jurta.org>
2351
2352 * replace.el (perform-replace): Display "symbol " and other search
2353 modes from `isearch-message-prefix' in the *Help* buffer.
2354
2355 * isearch.el (isearch-query-replace): Add " symbol" and other
2356 possible search modes from `isearch-message-prefix' to the prompt.
2357 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2358 when reading a regexp to collect.
2359
2360 2013-06-13 Juri Linkov <juri@jurta.org>
2361
2362 * isearch.el (word-search-regexp): Match whitespace if the search
2363 string begins or ends in whitespace. The LAX arg is applied to
2364 both ends of the search string. Use `regexp-quote' and explicit
2365 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2366 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2367 boundaries are replaced with symbol boundaries, and characters
2368 between symbols match non-word non-symbol syntax. (Bug#14602)
2369
2370 2013-06-13 Juri Linkov <juri@jurta.org>
2371
2372 * isearch.el (isearch-del-char): Don't exceed the length of
2373 `isearch-string' by the prefix arg. (Bug#14563)
2374
2375 2013-06-13 Juri Linkov <juri@jurta.org>
2376
2377 * isearch.el (isearch-yank-word, isearch-yank-line)
2378 (isearch-char-by-name, isearch-quote-char)
2379 (isearch-printing-char, isearch-process-search-char):
2380 Add optional count prefix arg. (Bug#14563)
2381
2382 * international/isearch-x.el
2383 (isearch-process-search-multibyte-characters):
2384 Add optional count prefix arg.
2385
2386 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2389 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2390 lexical-binding.
2391
2392 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2393
2394 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2395
2396 2013-06-13 Glenn Morris <rgm@gnu.org>
2397
2398 * startup.el (tty-handle-args):
2399 Don't just discard "--" and anything after. (Bug#14608)
2400
2401 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2402
2403 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
2404
2405 Implement changes in Secret Service API. Make it backward compatible.
2406 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2407 (secrets-create-item): Use it. Prefix properties with interface.
2408
2409 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2410
2411 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2412 (term-emulate-terminal): Respect term-suppress-hard-newline.
2413
2414 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2415
2416 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2417 Only remove a `thumb-file' overlay. (Bug#14548)
2418
2419 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
2420
2421 * mail/reporter.el (reporter-submit-bug-report):
2422 Handle missing package-name. (Bug#14600)
2423
2424 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2425
2426 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2427 (reftex-citation-prompt, reftex-default-bibliography)
2428 (reftex-bib-or-thebib, reftex-get-bibfile-list)
2429 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2430 (reftex-bib-sort-author, reftex-bib-sort-year)
2431 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2432 (reftex-extract-bib-entries-from-thebibliography)
2433 (reftex-get-bibkey-default, reftex-get-bib-names)
2434 (reftex-parse-bibtex-entry, reftex-get-bib-field)
2435 (reftex-format-bib-entry, reftex-parse-bibitem)
2436 (reftex-format-bibitem, reftex-do-citation)
2437 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2438 (reftex-restrict-bib-matches, reftex-extract-bib-file)
2439 (reftex-insert-bib-matches, reftex-format-citation)
2440 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2441 (reftex-create-bibtex-file): Add docstrings, mostly by converting
2442 existing comments into docstrings.
2443
2444 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2445
2446 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2447
2448 2013-06-12 Andreas Schwab <schwab@suse.de>
2449
2450 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2451 for auto-save files.
2452
2453 2013-06-12 Glenn Morris <rgm@gnu.org>
2454
2455 * ido.el (ido-delete-ignored-files): Remove.
2456 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2457 Go back to calling ido-ignore-item-p directly.
2458
2459 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
2460
2461 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2462
2463 * ido.el (ido-delete-ignored-files): New function,
2464 split from ido-make-file-list-1.
2465 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
2466 (ido-make-file-list-1): Use ido-delete-ignored-files.
2467
2468 2013-06-12 Leo Liu <sdl.web@gmail.com>
2469
2470 * progmodes/octave.el (inferior-octave-startup)
2471 (inferior-octave-completion-table)
2472 (inferior-octave-track-window-width-change)
2473 (octave-eldoc-function-signatures, octave-help)
2474 (octave-find-definition): Use single quoted strings.
2475 (inferior-octave-startup-args): Change default value.
2476 (inferior-octave-startup): Do not hard code "-i" and
2477 "--no-line-editing".
2478 (inferior-octave-resync-dirs): Add optional arg NOERROR.
2479 (inferior-octave-directory-tracker): Use it.
2480 (octave-goto-function-definition): Robustify.
2481 (octave-help): Support highlighting operators in 'See also'.
2482 (octave-find-definition): Find subfunctions only in Octave mode.
2483
2484 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * help-fns.el (help-fns--compiler-macro): If the handler function is
2487 named, then put a link to it.
2488 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2489 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2490 (cl-typep): Use it.
2491 (cl-eval-when): Simplify debug spec.
2492 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
2493 compiler-macro function instead of setting `compiler-macro-file'.
2494
2495 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2496
2497 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2498 * vc/vc-hooks.el (vc-stay-local): Doc fix.
2499
2500 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2501 Daniel Hackney <dan@haxney.org>
2502
2503 First part of Daniel Hackney's patch to package.el.
2504 * emacs-lisp/package.el: Use defstruct.
2505 (package-desc): New, main struct.
2506 (package--bi-desc, package--ac-desc): New structs, used to describe the
2507 format in external files.
2508 (package-desc-vers): Replace with package-desc-version accessor.
2509 (package-desc-doc): Replace with package-desc-summary accessor.
2510 (package-activate-1): Remove `package' arg since the pkg-vec now
2511 includes the name.
2512 (define-package): Use package-desc-from-define.
2513 (package-unpack-single): Change file-name arg to be a symbol.
2514 (package--add-to-archive-contents): Use package-desc-create and new
2515 accessor functions to package--ac-desc.
2516 (package-buffer-info, package-tar-file-info): Return a package-desc.
2517 (package-install-from-buffer): Remove `type' argument. Change pkg-info
2518 arg to be a package-desc.
2519 (package-install-file): Adjust accordingly. Use \' to match EOS.
2520 (package--from-builtin): New function.
2521 (describe-package-1, package-menu--generate): Use it.
2522 (package--make-autoloads-and-compile): Change name arg to be a symbol.
2523 (package-generate-autoloads): Idem and return the name of the file.
2524 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2525 Change pkg-info arg to be a package-desc.
2526 Use package-make-ac-desc.
2527 (package-upload-file): Use \' to match EOS.
2528 * finder.el (finder-compile-keywords): Use package-make-builtin.
2529
2530 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * vc/vc.el (vc-deduce-fileset): Change error message.
2533 (vc-read-backend): New function.
2534 (vc-next-action): Use it.
2535
2536 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2537
2538 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2539 (prolog-font-lock-keywords): Use regexp-opt instead.
2540 Don't manually highlight strings.
2541 (prolog-mode-variables): Simplify comment-start-skip.
2542 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
2543
2544 * emacs-lisp/generic.el (generic--normalise-comments)
2545 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2546 (generic-mode-set-comments): Use them.
2547 (generic-bracket-support): Use setq-local.
2548 (generic-make-keywords-list): Declare obsolete.
2549
2550 2013-06-11 Glenn Morris <rgm@gnu.org>
2551
2552 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2553 Prettify after setting font-lock-defaults. (Bug#14574)
2554
2555 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
2556
2557 * replace.el (query-replace, occur-read-regexp-defaults-function)
2558 (replace-search):
2559 * subr.el (declare-function, number-sequence, local-set-key)
2560 (substitute-key-definition, locate-user-emacs-file)
2561 (with-silent-modifications, split-string, eval-after-load):
2562 Fix typos, remove unneeded backslashes and reflow some docstrings.
2563
2564 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2567 default for Elisp files.
2568
2569 2013-06-11 Glenn Morris <rgm@gnu.org>
2570
2571 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2572 although define-derived-mode was doing this anyway. (Bug#14583)
2573
2574 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
2575
2576 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2577 Fix make-variable-buffer-local call to refer to the correct variable.
2578
2579 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
2580
2581 * eshell/em-term.el (eshell-visual-commands)
2582 (eshell-visual-subcommands, eshell-visual-options):
2583 Add summary line to docstrings. Add cross-references.
2584
2585 2013-06-10 Glenn Morris <rgm@gnu.org>
2586
2587 * epa.el (epa-read-file-name): New function. (Bug#14510)
2588 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
2589
2590 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
2591
2592 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
2593 output redirection to be ignored with visual commands.
2594
2595 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
2596
2597 * eshell/em-term.el (eshell-visual-command-p): New function.
2598 (eshell-term-initialize): Move long lambda to separate function
2599 eshell-visual-command-p.
2600 * eshell/em-dirs.el (eshell-dirs-initialise):
2601 * eshell/em-script.el (eshell-script-initialize):
2602 Add missing #' to lambda.
2603
2604 2013-06-08 Leo Liu <sdl.web@gmail.com>
2605
2606 * progmodes/octave.el (octave-add-log-current-defun): New function.
2607 (octave-mode): Set add-log-current-defun-function.
2608 (octave-goto-function-definition): Do not move point if not found.
2609 (octave-find-definition): Enhance to try subfunctions first.
2610
2611 2013-06-08 Glenn Morris <rgm@gnu.org>
2612
2613 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2614 (byte-compile-backward-char, byte-compile-backward-word):
2615 Improve previous change, to handle non-explicit nil.
2616
2617 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
2620 (smie--opener/closer-at-point): New function.
2621 (smie--matching-block-data): Use it. Don't match from right after an
2622 opener or right before a closer. Obey smie-blink-matching-inners.
2623 Don't signal a mismatch for repeated inners like "switch..case..case".
2624
2625 2013-06-07 Leo Liu <sdl.web@gmail.com>
2626
2627 * progmodes/octave.el (octave-mode): Set comment-use-global-state
2628 to t. (Bug#14303)
2629 (octave-function-header-regexp): Fix. (Bug#14570)
2630 (octave-help-mode-finish-hook, octave-help-mode-finish):
2631 Remove. Just use temp-buffer-show-hook.
2632
2633 * newcomment.el (comment-search-backward): Revert last change.
2634 (Bug#14434)
2635
2636 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
2637
2638 2013-06-07 Eli Zaretskii <eliz@gnu.org>
2639
2640 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
2641 through xargs, to avoid failure due to MS-Windows limitations on
2642 command-line length.
2643
2644 2013-06-06 Glenn Morris <rgm@gnu.org>
2645
2646 * font-lock.el (lisp-font-lock-keywords-2):
2647 Treat user-error like error.
2648
2649 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2650 (byte-compile-backward-char, byte-compile-backward-word):
2651 Handle explicit nil arguments. (Bug#14565)
2652
2653 2013-06-05 Alan Mackenzie <acm@muc.de>
2654
2655 * isearch.el (isearch-allow-prefix): New user option.
2656 (isearch-other-meta-char): Don't exit isearch when a prefix
2657 argument is typed whilst `isearch-allow-prefix' is non-nil.
2658 (Bug#9706)
2659
2660 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * autorevert.el (auto-revert-notify-handler): Use memq.
2663 Hide assertion failure.
2664
2665 * skeleton.el: Use cl-lib.
2666 (skeleton-further-elements): Use defvar-local.
2667 (skeleton-insert): Use cl-progv.
2668
2669 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2670
2671 * progmodes/prog-mode.el (prog-prettify-symbols)
2672 (prog-prettify-install): Update docstrings.
2673
2674 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * simple.el: Move all the prog-mode code to prog-mode.el.
2677 * progmodes/prog-mode.el: New file.
2678 * loadup.el: Add prog-mode.el.
2679
2680 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2681
2682 * simple.el (prog-prettify-symbols): Add version.
2683 (prog-prettify-install): Add convenience function to prettify symbols.
2684
2685 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
2686 (perl--augmented-font-lock-keywords-1)
2687 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
2688 variables and use it.
2689
2690 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2691 (cfengine3-mode): Remove unneeded variable and use it.
2692
2693 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2694 (lisp--augmented-font-lock-keywords-1)
2695 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
2696 Remove unneeded variables and use it.
2697
2698 2013-06-05 João Távora <joaotavora@gmail.com>
2699
2700 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
2701 to point when opening the connection. (Bug#14380)
2702
2703 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * subr.el (load-history-regexp, load-history-filename-element)
2706 (eval-after-load, after-load-functions, do-after-load-evaluation)
2707 (eval-next-after-load, display-delayed-warnings)
2708 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
2709 definition of save-match-data.
2710 (overriding-local-map): Remove accidental obsolescence declaration.
2711
2712 * emacs-lisp/edebug.el (edebug-result): Move before first use.
2713
2714 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2715
2716 Generalize symbol prettify support to prog-mode and implement it
2717 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
2718 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
2719 (prog--prettify-font-lock-compose-symbol)
2720 (prog-prettify-font-lock-symbols-keywords): New variables and
2721 functions to support symbol prettification.
2722 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2723 (lisp--augmented-font-lock-keywords-1)
2724 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
2725 (lisp--prettify-symbols-alist): Implement prettify of lambda.
2726 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2727 (cfengine3--prettify-symbols-alist, cfengine3-mode):
2728 Implement prettify of -> => :: strings.
2729 * progmodes/perl-mode.el (perl-prettify-symbols)
2730 (perl--font-lock-compose-symbol)
2731 (perl--font-lock-symbols-keywords): Move to prog-mode.
2732 (perl--prettify-symbols-alist): Prettify -> => :: strings.
2733 (perl-font-lock-keywords-1)
2734 (perl-font-lock-keywords-2): Remove explicit prettify support.
2735 (perl--augmented-font-lock-keywords)
2736 (perl--augmented-font-lock-keywords-1)
2737 (perl--augmented-font-lock-keywords-2, perl-mode):
2738 Implement prettify support.
2739
2740 2013-06-05 Leo Liu <sdl.web@gmail.com>
2741
2742 Re-implement smie matching block highlight using
2743 show-paren-data-function. (Bug#14395)
2744 * emacs-lisp/smie.el (smie-matching-block-highlight)
2745 (smie--highlight-matching-block-overlay)
2746 (smie--highlight-matching-block-lastpos)
2747 (smie-highlight-matching-block)
2748 (smie-highlight-matching-block-mode): Remove.
2749 (smie--matching-block-data-cache): New variable.
2750 (smie--matching-block-data): New function.
2751 (smie-setup): Use smie--matching-block-data for
2752 show-paren-data-function.
2753
2754 * progmodes/octave.el (octave-mode-menu): Fix.
2755 (octave-find-definition): Skip garbage lines.
2756
2757 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 Fix compilation error with simultaneous dynamic+lexical scoping.
2760 Add warning when a defvar appears after the first let-binding.
2761 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
2762 (byte-compile-close-variables): Initialize it.
2763 (byte-compile--declare-var): New function.
2764 (byte-compile-file-form-defvar)
2765 (byte-compile-file-form-define-abbrev-table)
2766 (byte-compile-file-form-custom-declare-variable): Use it.
2767 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
2768 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
2769 (byte-compile-bind): Handle dynamic bindings that shadow
2770 lexical bindings.
2771 (byte-compile-unbind): Make arg non-optional.
2772 (byte-compile-let): Simplify.
2773 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
2774 (cconv--analyse-function, cconv-analyse-form): Populate it.
2775 Protect byte-compile-bound-variables to limit the scope of defvars.
2776 (cconv-analyse-form): Add missing rule for (defvar <foo>).
2777 Remove unneeded rule for `declare'.
2778
2779 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
2780 so as to avoid depending on cl-adjoin at run-time.
2781 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
2782
2783 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
2784 (macroexp--warn-and-return): Use it.
2785
2786 2013-06-05 Leo Liu <sdl.web@gmail.com>
2787
2788 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
2789
2790 2013-06-04 Leo Liu <sdl.web@gmail.com>
2791
2792 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
2793 (compilation-auto-jump): Suppress the "Mark set" message to give
2794 way to exit message.
2795
2796 2013-06-04 Alan Mackenzie <acm@muc.de>
2797
2798 Remove faulty optimisation from indentation calculation.
2799 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
2800 search limit based on 2000 characters back from indent-point.
2801
2802 2013-06-03 Tassilo Horn <tsdh@gnu.org>
2803
2804 * eshell/em-term.el (cl-lib): Require `cl-lib'.
2805
2806 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/lisp.el: Use lexical-binding.
2809 (lisp--local-variables-1, lisp--local-variables): New functions.
2810 (lisp--local-variables-completion-table): New var.
2811 (lisp-completion-at-point): Use it complete let-bound vars.
2812
2813 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
2814 eagerly (bug#14422).
2815
2816 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * autorevert.el (auto-revert-notify-enabled)
2819 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2820 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
2821 (auto-revert-notify-handler): Handle also gfilenotify.
2822
2823 * subr.el (file-notify-handle-event): New defun. Replacing ...
2824 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
2825 Remove.
2826
2827 2013-06-03 Juri Linkov <juri@jurta.org>
2828
2829 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
2830 `M-s h .'. (Bug#14427)
2831
2832 * hi-lock.el (highlight-symbol-at-point): New alias for the new
2833 command `hi-lock-face-symbol-at-point'.
2834 (hi-lock-face-symbol-at-point): New command.
2835 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
2836 (hi-lock-menu): Add `highlight-symbol-at-point'.
2837 (hi-lock-mode): Doc fix.
2838
2839 * isearch.el (isearch-forward-symbol-at-point): New command.
2840 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
2841 (isearch-highlight-regexp): Add a regexp which matches
2842 words/symbols for word/symbol mode.
2843
2844 * subr.el (find-tag-default-bounds): New function with the body
2845 mostly moved from `find-tag-default'.
2846 (find-tag-default): Move most code to `find-tag-default-bounds',
2847 call it and apply `buffer-substring-no-properties' afterwards.
2848
2849 2013-06-03 Tassilo Horn <tsdh@gnu.org>
2850
2851 * eshell/em-term.el (eshell-term-initialize):
2852 Use `cl-intersection' rather than `intersection'.
2853
2854 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
2855
2856 * vc/log-view.el: Doc fix.
2857 (log-view-mode-map): Copy keymap from `special-mode-map'.
2858
2859 2013-06-02 Eric Ludlam <zappo@gnu.org>
2860
2861 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
2862 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
2863 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
2864 (eieio-unbound, eieio-default-superclass)
2865 (eieio--define-field-accessors, method-static, method-before)
2866 (method-primary, method-after, method-num-lists)
2867 (method-generic-before, method-generic-primary)
2868 (method-generic-after, method-num-slots)
2869 (eieio-specialized-key-to-generic-key)
2870 (eieio--check-type, class-v, class-p)
2871 (eieio-class-name, define-obsolete-function-alias)
2872 (eieio-class-parents-fast, eieio-class-children-fast)
2873 (same-class-fast-p, class-constructor, generic-p)
2874 (generic-primary-only-p, generic-primary-only-one-p)
2875 (class-option-assoc, class-option, eieio-object-p)
2876 (class-abstract-p, class-method-invocation-order)
2877 (eieio-defclass-autoload-map, eieio-defclass-autoload)
2878 (eieio-class-un-autoload, eieio-defclass)
2879 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
2880 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
2881 (eieio--defgeneric-init-form, eieio-defgeneric-form)
2882 (eieio-defgeneric-reset-generic-form)
2883 (eieio-defgeneric-form-primary-only)
2884 (eieio-defgeneric-reset-generic-form-primary-only)
2885 (eieio-defgeneric-form-primary-only-one)
2886 (eieio-defgeneric-reset-generic-form-primary-only-one)
2887 (eieio-unbind-method-implementations)
2888 (eieio--defmethod, eieio--typep)
2889 (eieio-perform-slot-validation, eieio-validate-slot-value)
2890 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
2891 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
2892 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
2893 (eieio-slot-name-index, eieio-class-slot-name-index)
2894 (eieio-set-defaults, eieio-initarg-to-attribute)
2895 (eieio-attribute-to-initarg, eieio-c3-candidate)
2896 (eieio-c3-merge-lists, eieio-class-precedence-c3)
2897 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
2898 (eieio-class-precedence-list, eieio-generic-call-methodname)
2899 (eieio-generic-call-arglst, eieio-generic-call-key)
2900 (eieio-generic-call-next-method-list)
2901 (eieio-pre-method-execution-functions, eieio-generic-call)
2902 (eieio-generic-call-primary-only, eieiomt-method-list)
2903 (eieiomt-optimizing-obarray, eieiomt-install)
2904 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
2905 (eieio-generic-form, eieio-defmethod, make-obsolete)
2906 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
2907 (defclass): Remove `eval-and-compile' from macro.
2908 (call-next-method, shared-initialize): Instead of using
2909 `scoped-class' variable, use new eieio--scoped-class, and
2910 eieio--with-scoped-class.
2911 (initialize-instance): Rename local variable 'scoped-class' to
2912 'this-class' to remove ambiguitity from old global.
2913
2914 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
2915 eieio.el.
2916 (eieio--scoped-class-stack): New variable.
2917 (eieio--scoped-class): New fcn.
2918 (eieio--with-scoped-class): New scoping macro.
2919 (eieio-defclass): Use pushnew instead of add-to-list.
2920 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
2921 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
2922 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
2923 `scoped-class' variable, use new eieio--scoped-class, and
2924 eieio--with-scoped-class.
2925
2926 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
2927
2928 2013-06-02 Tassilo Horn <tsdh@gnu.org>
2929
2930 * eshell/esh-ext.el (eshell-external-command): Pass args to
2931 `eshell-find-interpreter'.
2932 (eshell-find-interpreter): Add new second parameter ARGS.
2933
2934 * eshell/em-script.el (eshell-script-initialize): Add second arg
2935 to the function added as MATCH to `eshell-interpreter-alist'.
2936
2937 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
2938 the function added as MATCH to `eshell-interpreter-alist'.
2939
2940 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2941 (eshell-visual-options): New defcustom.
2942 (eshell-escape-control-x): Adapt docstring.
2943 (eshell-term-initialize): Test `eshell-visual-subcommands' and
2944 `eshell-visual-options' in addition to `eshell-visual-commands'.
2945 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2946
2947 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
2948
2949 * progmodes/python.el (python-indent-block-enders): Add break,
2950 continue and raise keywords.
2951
2952 2013-06-01 Glenn Morris <rgm@gnu.org>
2953
2954 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2955
2956 Plain (f)boundp silences compilation warnings since Emacs 22.1.
2957 * progmodes/cc-cmds.el (delete-forward-p):
2958 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2959 * progmodes/cc-engine.el (buffer-syntactic-context):
2960 * progmodes/cc-fonts.el (face-property-instance):
2961 * progmodes/cc-mode.el (set-keymap-parents):
2962 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
2963 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
2964 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
2965 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
2966 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
2967
2968 * progmodes/cc-vars.el (other): Emacs has this widget since
2969 at least 21.1, so don't (re)define it.
2970
2971 * eshell/em-cmpl.el (eshell-cmpl-initialize):
2972 Replace the obsolete alias pcomplete-arg-quote-list.
2973
2974 2013-06-01 Leo Liu <sdl.web@gmail.com>
2975
2976 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
2977 punctuation syntax.
2978 (inferior-octave-minimal-columns)
2979 (inferior-octave-last-column-width): New variables.
2980 (inferior-octave-track-window-width-change): New function.
2981 (inferior-octave-mode): Adjust column width so that Octave output,
2982 for example from 'ls', can fit into the window nicely.
2983
2984 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2985
2986 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2987 Highlight expansions inside regexp literals.
2988
2989 2013-05-31 Glenn Morris <rgm@gnu.org>
2990
2991 * obsolete/sym-comp.el (symbol-complete):
2992 Replace obsolete completion-annotate-function.
2993
2994 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2995
2996 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2997
2998 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2999 New function, checks if point is inside a literal that allows
3000 expression expansion.
3001 (ruby-syntax-propertize-expansion): Use it.
3002 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3003 around the body.
3004
3005 2013-05-30 Juri Linkov <juri@jurta.org>
3006
3007 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3008 to "\M-si".
3009 (isearch-invisible): New variable.
3010 (isearch-forward): Doc fix.
3011 (isearch-mode): Set `isearch-invisible'
3012 to the value of `search-invisible'.
3013 (isearch-toggle-case-fold): Doc fix.
3014 (isearch-toggle-invisible): New command.
3015 (isearch-query-replace): Let-bind `search-invisible'
3016 to the value of `isearch-invisible'.
3017 (isearch-search): Use `isearch-invisible' instead of
3018 `search-invisible'. Let-bind `search-invisible'
3019 to the value of `isearch-invisible'. (Bug#11378)
3020
3021 2013-05-30 Juri Linkov <juri@jurta.org>
3022
3023 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3024 call when `query-flag' is nil and `search-invisible' is non-nil.
3025 (Bug#11746)
3026
3027 2013-05-30 Glenn Morris <rgm@gnu.org>
3028
3029 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3030
3031 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3032 (cc-require): Suppress spurious "noruntime" warnings.
3033 (cc-require-when-compile): Use fboundp, for sake of compiler.
3034
3035 * progmodes/cc-mode.el: Move load of cc-vars before that of
3036 cc-langs (which in turn loads cc-vars), to quieten compiler.
3037
3038 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * paren.el: Simplify the code.
3041 (show-paren-mode): Always start the timer.
3042 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3043 (show-paren--overlay, show-paren--overlay-1): Rename from
3044 show-paren-overlay and show-paren-overlay-1, and initialize to an
3045 overlay rather than to nil.
3046 (show-paren-function): Misc cleanup and simplifications.
3047
3048 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * paren.el (show-paren-data-function): New hook.
3051 (show-paren--default): New function, extracted from show-paren-function.
3052 (show-paren-function): Use show-paren-data-function.
3053
3054 2013-05-30 Glenn Morris <rgm@gnu.org>
3055
3056 * ielm.el (ielm-map, ielm-complete-symbol):
3057 Use completion-at-point rather than obsolete functions.
3058 (inferior-emacs-lisp-mode): Doc fix.
3059 Set completion-at-point-functions, rather than
3060 comint-dynamic-complete-functions.
3061
3062 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3063 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3064 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3065
3066 * image.el (image-animated-p): Tweak definition.
3067
3068 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3069 (rlogin-process-connection-type): Tweak default. Add set-after.
3070 (rlogin-host): Doc fix.
3071 (rlogin): Tweak prompt.
3072 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3073
3074 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3075 * progmodes/tcl.el (inferior-tcl-mode-map):
3076 Use completion-at-point rather than obsolete alias.
3077
3078 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3079
3080 * minibuffer.el (read-file-name-completion-ignore-case):
3081 Move before completion--in-region, for eager macro expansion.
3082
3083 2013-05-29 Juri Linkov <juri@jurta.org>
3084
3085 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3086 for total count of matching lines. Add `global-matches' for total
3087 count of matches. Rename `matches' to `lines' for count of
3088 matching lines. Add `matches' for count of matches.
3089 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3090 to `prev-line' for line number of prev match endpt.
3091 Increment `matches' for every match. Print the number of
3092 matching lines in the header.
3093 (occur-context-lines): Rename `lines' to `curr-line'.
3094 Rename `prev-lines' to `prev-line'. (Bug#14017)
3095
3096 2013-05-29 Juri Linkov <juri@jurta.org>
3097
3098 * replace.el (perform-replace): Add `skip-read-only-count',
3099 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3100 Increment them for corresponding conditions and report the number
3101 of skipped occurrences in the final message. (Bug#11746)
3102 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3103 (replace-string, replace-regexp): Doc fix.
3104
3105 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3108
3109 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3110 prog-mode-map (bug#14504).
3111
3112 2013-05-29 Leo Liu <sdl.web@gmail.com>
3113
3114 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3115 (octave-help): Small simplification.
3116
3117 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3118 off the highlight first.
3119
3120 2013-05-29 Glenn Morris <rgm@gnu.org>
3121
3122 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3123 Handle idlwave-last-system-routine-info-cons-cell being nil.
3124
3125 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3126 (idlwave-write-paths): Simplify via with-temp-buffer.
3127
3128 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3129 * emulation/cua-rect.el: Also load cua-base at run time.
3130
3131 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3132 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3133 (cperl-imenu-on-info): Require imenu.
3134
3135 2013-05-28 Alan Mackenzie <acm@muc.de>
3136
3137 Handle "capitalised keywords" correctly.
3138 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3139
3140 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
3141
3142 * eshell/em-unix.el: Add -r option to cp.
3143
3144 2013-05-28 Glenn Morris <rgm@gnu.org>
3145
3146 * vc/vc-arch.el (vc-exec-after): Declare.
3147 (vc-switches): Autoload.
3148 * vc/vc-bzr.el: No need to require vc when compiling.
3149 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3150 (vc-resynch-buffer, vc-dir-refresh): Declare.
3151 (vc-setup-buffer, vc-switches): Autoload.
3152 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3153 (vc-resynch-buffer): Declare.
3154 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3155 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3156 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3157 (grep-read-regexp, grep-read-files, grep-expand-template)
3158 (vc-dir-refresh): Declare.
3159 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3160 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3161 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3162 * vc/vc-mtn.el (vc-exec-after): Declare.
3163 (vc-switches): Autoload.
3164 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3165 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3166 (vc-file-tree-walk): Declare.
3167 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3168 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3169 (vc-tag-precondition, vc-rename-master): Autoload.
3170 * vc/vc-svn.el (vc-exec-after): Declare.
3171 (vc-switches, vc-setup-buffer): Autoload.
3172 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3173 Autoload.
3174 (vc-resynch-buffer): Declare.
3175
3176 * obsolete/fast-lock.el (byte-compile-warnings):
3177 Don't warn about obsolete features in this obsolete file.
3178
3179 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3180 Move definition before use.
3181
3182 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3183 (dun-unix-verbs): Remove dun-zippy.
3184 (dun-zippy): Remove function.
3185
3186 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3187
3188 2013-05-27 Juri Linkov <juri@jurta.org>
3189
3190 * replace.el (replace-search): New function with code moved out
3191 from `perform-replace'.
3192 (replace-highlight, replace-dehighlight): Move function definitions
3193 up closer to `replace-search'. (Bug#11746)
3194
3195 2013-05-27 Juri Linkov <juri@jurta.org>
3196
3197 * replace.el (perform-replace): Ignore invisible matches.
3198 In addition to checking `query-replace-skip-read-only', also
3199 filter out matches by calling `run-hook-with-args-until-failure'
3200 on `isearch-filter-predicates', and also check `search-invisible'
3201 for t or call `isearch-range-invisible'.
3202 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3203
3204 2013-05-27 Juri Linkov <juri@jurta.org>
3205
3206 * isearch.el (isearch-filter-predicates): Rename from
3207 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3208 (isearch-message-prefix): Display text from the property
3209 `isearch-message-prefix' of the currently active filters.
3210 (isearch-search): Don't compare `isearch-filter-predicate' with
3211 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3212 on `isearch-filter-predicates'. Also check `search-invisible' for t
3213 or call `isearch-range-invisible'.
3214 (isearch-filter-visible): Make obsolete.
3215 (isearch-lazy-highlight-search):
3216 Call `run-hook-with-args-until-failure' on
3217 `isearch-filter-predicates' and use `isearch-range-invisible'.
3218
3219 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3220 `isearch-filter-predicates' instead of `funcall'ing
3221 `isearch-filter-predicate'.
3222 (Info-mode): Set `Info-isearch-filter' to
3223 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3224
3225 * dired-aux.el (dired-isearch-filter-predicate-orig):
3226 Remove variable.
3227 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3228 (dired-isearch-filenames-end): Add and remove
3229 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3230 instead of changing the value of `isearch-filter-predicate'.
3231 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3232 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3233 Put property `isearch-message-prefix' to "filename " on
3234 `dired-isearch-filter-filenames'.
3235
3236 * wdired.el (wdired-change-to-wdired-mode):
3237 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3238 locally instead of changing `isearch-filter-predicate'.
3239 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3240
3241 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3242
3243 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3244 return the commit hash (Bug#14459). Also set the
3245 `vc-git-detached' property.
3246 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3247 (vc-git-mode-line-string): Use the same help-echo format whether
3248 in detached mode or not, because we know the actual revision now.
3249 When in detached mode, shorten the revision to 7 chars.
3250
3251 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * emacs-lisp/easy-mmode.el (define-minor-mode):
3254 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3255 mode hook and provide a docstring.
3256
3257 2013-05-27 Alan Mackenzie <acm@muc.de>
3258
3259 Remove spurious syntax-table text properties inserted by C-y.
3260 * progmodes/cc-mode.el (c-after-change): Also clear hard
3261 syntax-table property with value nil.
3262
3263 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
3264
3265 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3266 when reading the events; the buffer layout shall not be changed.
3267
3268 2013-05-27 Leo Liu <sdl.web@gmail.com>
3269
3270 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3271 New variable.
3272 (inferior-octave-directory-tracker): Automatically re-sync
3273 default-directory.
3274 (octave-help): Improve handling of 'See also'.
3275
3276 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * doc-view.el: Minor naming convention tweaks.
3279 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3280
3281 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3282 even if there's no `display' property yet (bug#14435).
3283
3284 2013-05-25 Eli Zaretskii <eliz@gnu.org>
3285
3286 * subr.el (unmsys--file-name): Rename from reveal-filename.
3287
3288 * Makefile.in (custom-deps, finder-data, autoloads)
3289 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3290 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3291 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3292
3293 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3296 error-completion on the first 2 args of condition-case (bug#14446).
3297 Don't burp at EOB.
3298
3299 2013-05-25 Leo Liu <sdl.web@gmail.com>
3300
3301 * comint.el (comint-previous-matching-input): Do not flood the
3302 *Messages* buffer with trivial messages.
3303
3304 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * progmodes/flymake.el (flymake-nop): Don't return a string.
3307 (flymake-set-at): Fix typo.
3308
3309 * simple.el (read--expression): New function, extracted from
3310 eval-expression. Set completion-at-point-functions (bug#14465).
3311 (eval-expression, eval-minibuffer): Use it.
3312
3313 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3314
3315 * progmodes/flymake.el (flymake-save-buffer-in-file)
3316 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3317 (flymake-selected-frame, flymake-log, flymake-ins-after)
3318 (flymake-set-at, flymake-get-buildfile-from-cache)
3319 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3320 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3321 Refine the doc string.
3322 (flymake-get-file-name-mode-and-masks): Reformat.
3323 (flymake-get-real-file-name-function): Fix a minor bug.
3324
3325 2013-05-24 Juri Linkov <juri@jurta.org>
3326
3327 * progmodes/grep.el (grep-mode-font-lock-keywords):
3328 Support =linenumber= format used by git-grep for lines with
3329 function names. (Bug#13549)
3330
3331 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3334 0 after a semi-colon; it works better for smie-auto-fill.
3335 (octave--indent-new-comment-line): New function.
3336 (octave-indent-new-comment-line): Use it (indirectly).
3337 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3338 modify comment-line-break-function.
3339
3340 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3341 (smie-setup): Use add-function to set it.
3342
3343 2013-05-24 Sam Steingold <sds@gnu.org>
3344
3345 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3346 argument (before the `interactive' argument).
3347
3348 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * image-mode.el (image-mode-winprops): Add winprops to
3351 image-mode-winprops-alist before running
3352 image-mode-new-window-functions.
3353 * doc-view.el (doc-view-new-window-function): Don't delay
3354 doc-view-goto-page via timers (bug#14435).
3355
3356 2013-05-24 Tassilo Horn <tsdh@gnu.org>
3357
3358 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3359 (doc-view-desktop-save-buffer): New function.
3360 (doc-view-restore-desktop-buffer): New function.
3361 (desktop-buffer-mode-handlers):
3362 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3363 handler.
3364 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3365 `desktop-save-buffer' function.
3366
3367 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3370 (tramp-gvfs-file-name-handler): Raise a user error when
3371 `tramp-gvfs-enabled' is nil.
3372 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3373 Do not raise a user error when loading package. (Bug#14447)
3374
3375 * net/xesam.el: Move to obsolete/.
3376
3377 2013-05-24 Glenn Morris <rgm@gnu.org>
3378
3379 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3380
3381 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3382
3383 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3384 (Info-find-node, Man-getpage-in-background): Declare.
3385
3386 * mail/unrmail.el (unrmail):
3387 Replace obsolete detect-coding-with-priority.
3388
3389 * net/socks.el (socks-split-string): Use this rather than split-string.
3390 (socks-nslookup-host): Update for above change.
3391 (dynamic-choice, s5-dynamic-choice-match)
3392 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3393 Comment out unused code.
3394
3395 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3396 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3397 (gud-tooltip-echo-area): Make obsolete.
3398 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3399
3400 * progmodes/js.el (js--optimize-arglist): Declare.
3401
3402 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3403
3404 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3405 (ediff-window-C): Declare.
3406
3407 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3408 Tweak requires to silence compiler.
3409
3410 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3411 (he-search-string, he-tried-table, he-expand-list)
3412 (he-init-string, he-string-member, he-substitute-string)
3413 (he-reset-string): Declare.
3414
3415 * obsolete/options.el (list-options): Use custom-variable-p,
3416 rather than obsolete alias.
3417
3418 2013-05-23 Sam Steingold <sds@gnu.org>
3419
3420 * simple.el (shell-command-on-region): Pass the `replace' argument
3421 down to `call-process-region' to comply with the doc as reported on
3422 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3423
3424 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/smie.el (smie-indent-forward-token)
3427 (smie-indent-backward-token): Handle string tokens (bug#14381).
3428
3429 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3430
3431 * ielm.el (ielm-menu): New menu.
3432 (inferior-emacs-lisp-mode): Set comment-start.
3433
3434 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3435
3436 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3437 Fix deactivate action.
3438
3439 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3440 Add cleveref macros.
3441
3442 * lisp/textmodes/reftex-parse.el
3443 (reftex-locate-bibliography-files): Accept options for
3444 bibliography commands.
3445 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3446 Add addbibresource. Basic Biblatex support.
3447
3448 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
3449
3450 * net/tramp-gvfs.el (top):
3451 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3452 when loading package. (Bug#14447)
3453
3454 2013-05-23 Glenn Morris <rgm@gnu.org>
3455
3456 * progmodes/js.el: No need to load comint when compiling.
3457 (ring-insert, comint-send-string, comint-send-input)
3458 (comint-last-input-end, ido-chop): Declare.
3459
3460 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3461 * vc/ediff-mult.el: Adjust requires.
3462 (ediff-directories-internal, ediff-directory-revisions-internal)
3463 (ediff-patch-file-internal): Declare.
3464 * vc/ediff-ptch.el: Adjust requires.
3465 (ediff-use-last-dir, ediff-buffers-internal): Declare.
3466 (ediff-find-file): Autoload.
3467 * vc/ediff-util.el: No need to load ediff when compiling.
3468 (ediff-regions-internal): Declare.
3469 * vc/ediff-wind.el: Adjust requires.
3470 (ediff-compute-toolbar-width): Define when compiling.
3471 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3472 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3473 (dired-get-filename, dired-get-marked-files)
3474 (ediff-last-dir-patch, ediff-patch-default-directory)
3475 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3476 (ediff-patch-buffer-internal): Declare.
3477
3478 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3479 (ispell-process, ispell-buffer-local-words, lm-summary)
3480 (lm-section-start, lm-section-end): Declare.
3481 (checkdoc-ispell-init): Simplify.
3482
3483 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3484 (he-string-member, he-reset-string, he-substitute-string): Declare.
3485
3486 * eshell/em-ls.el: Adjust requires.
3487 (eshell-glob-regexp): Declare.
3488 * eshell/em-tramp.el: Adjust requires.
3489 (eshell-parse-command): Autoload.
3490 * eshell/em-xtra.el: Adjust requires.
3491 (eshell-parse-command): Autoload.
3492 * eshell/esh-ext.el: Adjust requires.
3493 (eshell-parse-command, eshell-close-handles): Autoload.
3494 * eshell/esh-io.el: Adjust requires.
3495 (eshell-output-filter): Autoload.
3496 * eshell/esh-util.el: No need to load tramp when compiling.
3497 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3498 Declare.
3499 (eshell-parse-ange-ls): Require ange-ftp and tramp.
3500 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3501 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3502 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3503 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3504 * eshell/esh-opt.el, eshell/esh-proc.el:
3505 * eshell/esh-var.el: Adjust requires.
3506 * eshell/eshell.el: Do not require esh-util twice.
3507 (eshell-add-input-to-history): Declare.
3508 (eshell-command): Check history module is active before using it.
3509
3510 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3511
3512 2013-05-22 Leo Liu <sdl.web@gmail.com>
3513
3514 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3515
3516 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * autorevert.el (auto-revert-notify-add-watch)
3519 (auto-revert-notify-handler): Add `attrib' for the inotify case,
3520 it indicates changes in file modification time.
3521
3522 2013-05-22 Glenn Morris <rgm@gnu.org>
3523
3524 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3525 Always delete the autoloaded function from the noruntime and
3526 unresolved functions lists.
3527
3528 * allout.el: No need to load epa, epg, overlay when compiling.
3529 (epg-context-set-passphrase-callback, epg-list-keys)
3530 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3531 (epg-key-user-id-list): Declare.
3532
3533 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3534 (viper-set-parsing-style-toggling-macro)
3535 (viper-set-emacs-state-searchstyle-macros):
3536 Use called-interactively-p on Emacs.
3537 (viper-looking-back): Make it an obsolete alias. Update callers.
3538 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3539 Use looking-back rather than viper-looking-back.
3540 (viper-tmp-insert-at-eob, viper-enlarge-region)
3541 (viper-read-string-with-history, viper-register-to-point)
3542 (viper-append-to-register, viper-change-state-to-vi)
3543 (viper-backward-char-carefully, viper-forward-char-carefully)
3544 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3545 (viper-change-state-to-emacs): Declare.
3546 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3547 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3548 * emulation/viper-mous.el: Do not load viper-cmd.
3549 (viper-backward-char-carefully, viper-forward-char-carefully)
3550 (viper-forward-word, viper-adjust-window): Declare.
3551
3552 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3553
3554 * progmodes/idlw-help.el (idlwave-help-fontify):
3555 Use called-interactively-p.
3556
3557 * term/w32console.el (w32-get-console-codepage)
3558 (w32-get-console-output-codepage): Declare.
3559
3560 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3561 Remove unnecessary declarations.
3562 (dframe-message): Doc fix.
3563
3564 * info.el (dframe-select-attached-frame, dframe-current-frame):
3565 Declare.
3566
3567 * speedbar.el (speedbar-message): Make it an obsolete alias.
3568 Update all callers.
3569 (speedbar-with-attached-buffer)
3570 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3571 (speedbar-with-writable): Use backquote.
3572 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3573 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3574 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
3575 rather than speedbar- aliases.
3576 * mail/rmail.el: Load dframe rather than speedbar when compiling.
3577 (speedbar-make-specialized-keymap, speedbar-insert-button)
3578 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
3579 (speedbar-do-function-pointer): Declare.
3580 (rmail-speedbar-button, rmail-speedbar-find-file)
3581 (rmail-speedbar-move-message):
3582 Use dframe-with-attached-buffer rather than speedbar- alias.
3583 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
3584 (dframe-message, speedbar-make-specialized-keymap)
3585 (speedbar-add-expansion-list, speedbar-mode-functions-list)
3586 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
3587 (speedbar-insert-button, dframe-select-attached-frame)
3588 (dframe-maybee-jump-to-attached-frame)
3589 (speedbar-change-initial-expansion-list)
3590 (speedbar-previously-used-expansion-list-name): Declare.
3591 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
3592 Use dframe-message, dframe-with-attached-buffer rather than
3593 speedbar- aliases.
3594 (gud-sentinel): Silence compiler.
3595 * progmodes/vhdl-mode.el (speedbar-refresh)
3596 (speedbar-do-function-pointer, speedbar-add-supported-extension)
3597 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
3598 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
3599 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
3600 (speedbar-file-lists, speedbar-make-tag-line)
3601 (speedbar-line-directory, speedbar-goto-this-file)
3602 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
3603 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
3604 (speedbar-make-button, speedbar-reset-scanners)
3605 (speedbar-files-item-info, speedbar-line-text)
3606 (speedbar-find-file-in-frame, speedbar-set-timer)
3607 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
3608 (speedbar-with-writable): Do not (re)define it.
3609 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
3610 rather than speedbar- alias.
3611
3612 2013-05-21 Leo Liu <sdl.web@gmail.com>
3613
3614 * progmodes/octave.el (octave-mode-menu): Update and re-organize
3615 menu items.
3616 (octave-mode): Tweak fill-nobreak-predicate.
3617 (inferior-octave-startup): Check process to avoid infinite loop.
3618 (inferior-octave): Pop to buffer first to show abornmal process
3619 exit information.
3620
3621 2013-05-21 Glenn Morris <rgm@gnu.org>
3622
3623 * printing.el (pr-menu-bar): Define when compiling.
3624
3625 2013-05-21 Leo Liu <sdl.web@gmail.com>
3626
3627 * progmodes/octave.el (octave-auto-fill): Remove.
3628 (octave-indent-new-comment-line): Improve.
3629 (octave-mode): Use auto fill mode through
3630 comment-line-break-function and fill-nobreak-predicate.
3631 (octave-goto-function-definition): Support DEFUN_DLD.
3632 (octave-beginning-of-defun): Small tweak.
3633 (octave-help): Show parent directory.
3634
3635 2013-05-21 Glenn Morris <rgm@gnu.org>
3636
3637 * files.el (dired-unmark):
3638 * progmodes/gud.el (gdb-input): Update declarations.
3639
3640 * calculator.el (electric, ehelp): No need to load when compiling.
3641 (Electric-command-loop, electric-describe-mode): Declare.
3642
3643 * doc-view.el (doc-view-current-converter-processes): Move before use.
3644
3645 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3646 Move MODE-set-explicitly definition before use.
3647
3648 * international/mule-diag.el (mule-diag):
3649 Don't use obsolete window-system-version.
3650
3651 * mail/feedmail.el (smtpmail): No need to load when compiling.
3652 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
3653
3654 * mail/mail-utils.el (rfc822): No need to load when compiling.
3655 (rfc822-addresses): Autoload it.
3656 (mail-strip-quoted-names): Trivial simplification.
3657
3658 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
3659 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
3660
3661 * net/snmp-mode.el (tempo): Don't duplicate requires.
3662
3663 * progmodes/prolog.el (info): No need to load when compiling.
3664 (comint): Require before shell requires it.
3665 (Info-goto-node): Autoload it.
3666 (Info-follow-nearest-node): Declare.
3667 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
3668
3669 * textmodes/artist.el (picture-mode-exit): Declare.
3670
3671 * textmodes/reftex-parse.el (reftex-parse-from-file):
3672 Trivial rewrite so the compiler can parse it better.
3673
3674 2013-05-20 Leo Liu <sdl.web@gmail.com>
3675
3676 * progmodes/octave.el (octave-help-mode-map)
3677 (octave-help-mode-finish-hook): New variables.
3678 (octave-help-mode, octave-help-mode-finish): New functions.
3679 (octave-help): Use octave-help-mode.
3680
3681 2013-05-20 Glenn Morris <rgm@gnu.org>
3682
3683 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
3684
3685 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
3686
3687 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
3688 start at point, so that expansion starting right after opening
3689 slash in a regexp is recognized.
3690 (ruby-syntax-before-regexp-re): New defvar, extracted from
3691 ruby-syntax-propertize-function. Since the value of this regexp
3692 is looked up at runtime now, we should be able to turn
3693 `ruby-syntax-methods-before-regexp' into a defcustom later.
3694 (ruby-syntax-propertize-function): Split regexp matching into two
3695 parts, for opening and closing slashes. That allows us to skip
3696 over string interpolations and support multiline regexps.
3697 Don't call `ruby-syntax-propertize-expansions', instead use another rule
3698 for them, which calls `ruby-syntax-propertize-expansion'.
3699 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
3700 call to `ruby-syntax-propertize-function'.
3701 (ruby-syntax-propertize-expansion): Extracted from
3702 `ruby-syntax-propertize-expansions'. Handles one expansion.
3703 (ruby-syntax-propertize-percent-literal): Leave point right after
3704 the percent symbol, so that the expression expansion rule can
3705 propertize the contents.
3706 (ruby-syntax-propertize-heredoc): Leave point at bol following the
3707 heredoc openers.
3708 (ruby-syntax-propertize-expansions): Remove.
3709
3710 2013-05-18 Juri Linkov <juri@jurta.org>
3711
3712 * man.el (Man-default-man-entry): Remove `-' from the end
3713 of the default value. (Bug#14400)
3714
3715 2013-05-18 Glenn Morris <rgm@gnu.org>
3716
3717 * comint.el (comint-password-prompt-regexp):
3718 Allow "password for XXX" where XXX contains colons (eg https://...).
3719
3720 2013-05-18 Leo Liu <sdl.web@gmail.com>
3721
3722 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
3723 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
3724 (octave-source-directories): Don't check process.
3725 (octave-source-directories, octave-find-definition): Doc fix.
3726
3727 2013-05-18 Glenn Morris <rgm@gnu.org>
3728
3729 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3730 Remove backspace/delete bindings. (Bug#14392)
3731
3732 * cus-dep.el (custom-make-dependencies): Sort the output.
3733 (custom-versions-load-alist): Convert comment to doc.
3734
3735 2013-05-17 Leo Liu <sdl.web@gmail.com>
3736
3737 * newcomment.el (comment-search-backward): Stricter in finding
3738 comment start. (Bug#14303)
3739
3740 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
3741 (octave-comment-start-skip): Properly anchored.
3742
3743 2013-05-17 Leo Liu <sdl.web@gmail.com>
3744
3745 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
3746 Clean up when turned off. (Bug#14395)
3747 (smie--highlight-matching-block-overlay): No longer buffer-local.
3748 (smie-highlight-matching-block): Adjust.
3749
3750 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
3751
3752 Doc string fix for "nanoseconds" (Bug#14406).
3753 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
3754 Fix doc string typo that had "nanoseconds" instead of "microseconds".
3755
3756 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
3757
3758 * calc/calc-units.el (math-extract-units): Preserve powers
3759 of units.
3760
3761 2013-05-17 Leo Liu <sdl.web@gmail.com>
3762
3763 * subr.el (delete-consecutive-dups): New function.
3764 * ido.el (ido-set-matches-1): Use it.
3765 * progmodes/octave.el (inferior-octave-completion-table): Use it.
3766 * ido.el (ido-remove-consecutive-dups): Remove.
3767
3768 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3771 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
3772 regexp-opt's `words'.
3773
3774 2013-05-16 Leo Liu <sdl.web@gmail.com>
3775
3776 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
3777 (smie--highlight-matching-block-overlay)
3778 (smie--highlight-matching-block-lastpos)
3779 (smie--highlight-matching-block-timer): New variables.
3780 (smie-highlight-matching-block): New function.
3781 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
3782 (smie-setup): Conditionally enable smie-blink-matching-open.
3783
3784 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
3785
3786 Sync with upstream verilog-mode r840.
3787 * progmodes/verilog-mode.el (verilog-mode-version)
3788 (verilog-mode-release-date): Update.
3789 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
3790 (verilog-sig-tieoff): Fix string error on
3791 AUTORESET with colon define, bug594. Reported by Andrew Hou.
3792 (verilog-read-decls): Fix parameters confusing
3793 AUTOINST interfaces, bug565. Reported by Leith Johnson.
3794
3795 2013-05-16 Eli Zaretskii <eliz@gnu.org>
3796
3797 * subr.el (reveal-filename): New function.
3798
3799 * loadup.el: Compute Emacs executable versions on MS-Windows,
3800 where executables have the .exe extension. Add a hard link
3801 emacs-XX.YY.ZZ.exe on MS-Windows.
3802
3803 * Makefile.in (XARGS_LIMIT): New variable.
3804 (custom-deps, finder-data, autoloads)
3805 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3806 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3807 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
3808 (compile-main): Limit xargs according to $(XARGS_LIMIT).
3809
3810 2013-05-16 Leo Liu <sdl.web@gmail.com>
3811
3812 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
3813 (octave-mode-menu, octave-mode-map): Remove its uses.
3814
3815 2013-05-16 Reto Zimmermann <reto@gnu.org>
3816
3817 Sync with upstream vhdl mode v3.34.2.
3818 * progmodes/vhdl-mode.el: Use `push' throughout.
3819 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
3820 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
3821 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
3822 (vhdl-actual-generic-name): New option to derive actual generic name.
3823 (vhdl-port-paste-signals): Replace formal by actual generics.
3824 (vhdl-beautify): New name for old group vhdl-align. Update users.
3825 (vhdl-beautify-options): New option.
3826 (vhdl-last-input-event): New compat alias. Use throughout.
3827 (vhdl-goto-line): Replace user level function `goto-line'.
3828 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
3829 vhdl-fix-statement-buffer.
3830 (vhdl-create-mode-menu): Add some entries.
3831 (vhdl-align-region-groups): Respect vhdl-beautify-options.
3832 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
3833 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
3834 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
3835 to force statements on one line.
3836 (vhdl-remove-trailing-spaces-region):
3837 New, split from vhdl-remove-trailing-spaces.
3838 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
3839 Respect vhdl-beautify-options.
3840 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
3841 (vhdl-update-sensitivity-list): Not add with index if exists without.
3842 Not include array index with signal. Ignore keywords in comments.
3843 (vhdl-get-visible-signals): Regexp tweaks.
3844 (vhdl-template-component-inst): Handle empty library.
3845 (vhdl-template-type): Add template for 'enum' type.
3846 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
3847 Use vhdl-replace-string.
3848 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
3849 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
3850 (vhdl-speedbar-initialize): Update for above name change.
3851 (vhdl-compose-wire-components): Fix in handling of constants.
3852 (vhdl-error-regexp-emacs-alist): New variable.
3853 (vhdl-error-regexp-add-emacs): New function;
3854 adds support for new compile.el (Emacs 22+)
3855 (vhdl-generate-makefile-1): Change target order for single lib. units.
3856 Allow use of absolute file names.
3857
3858 2013-05-16 Leo Liu <sdl.web@gmail.com>
3859
3860 * simple.el (prog-indent-sexp): Indent enclosing defun.
3861
3862 2013-05-15 Glenn Morris <rgm@gnu.org>
3863
3864 * cus-start.el (show-trailing-whitespace): Move to editing basics.
3865 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
3866 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
3867 (whitespace-highlight): Move to whitespace group.
3868
3869 * comint.el (comint-source):
3870 * pcmpl-linux.el (pcmpl-linux):
3871 * shell.el (shell-faces):
3872 * eshell/esh-opt.el (eshell-opt):
3873 * international/ccl.el (ccl): Remove empty custom groups.
3874
3875 * completion.el (dynamic-completion-mode):
3876 * jit-lock.el (jit-lock-debug-mode):
3877 * minibuffer.el (completion-in-region-mode):
3878 * type-break.el (type-break-mode-line-message-mode)
3879 (type-break-query-mode):
3880 * emulation/tpu-edt.el (tpu-edt-mode):
3881 * progmodes/subword.el (global-subword-mode, global-superword-mode):
3882 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3883 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
3884
3885 * term/xterm.el (xterm): Change parent group to terminals.
3886
3887 * master.el (master): Remove empty custom group.
3888 (master-mode): Remove unused :group argument.
3889 * textmodes/refill.el (refill): Remove empty custom group.
3890 (refill-mode): Remove unused :group argument.
3891
3892 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
3893
3894 * cus-dep.el: Provide a feature.
3895 (custom-make-dependencies): Ignore dotfiles (dir-locals).
3896 Don't mistakenly ignore files whose basenames match a basename
3897 from preloaded-file-list (eg cedet/ede/simple.el).
3898 Add a fallback method for getting :group.
3899
3900 2013-05-15 Juri Linkov <juri@jurta.org>
3901
3902 * isearch.el (isearch-char-by-name): Rename from
3903 `isearch-insert-char-by-name'. Doc fix.
3904 (isearch-forward): Mention `isearch-char-by-name' in
3905 the docstring. (Bug#13348)
3906
3907 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
3908 `exit-minibuffer' instead of
3909 `isearch-nonincremental-exit-minibuffer'.
3910 (isearch-edit-string): Remove mention of
3911 `isearch-nonincremental-exit-minibuffer' from docstring.
3912 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
3913 (isearch-forward-exit-minibuffer)
3914 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
3915
3916 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * loadup.el: Just use unversioned DOC.
3919
3920 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
3921 literals as extending to EOB.
3922 (nxml-last-fontify-end): Remove unused variable.
3923 (nxml-after-change1): Use with-silent-modifications.
3924 (nxml-extend-after-change-region): Simplify.
3925 (nxml-extend-after-change-region1): Remove function.
3926 (nxml-after-change1): Don't adjust for dependent regions.
3927 (nxml-fontify-matcher): Simplify.
3928 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3929 (xmltok-add-dependent): Remove function.
3930 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3931 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3932 (xmltok-scan-prolog-after-processing-instruction-open): Treat
3933 unclosed <[[, <?, comment, and other literals as extending to EOB.
3934 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3935 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3936 Remove functions.
3937 (rng-do-some-validation-1): Don't mark dependent regions.
3938 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3939 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3940 (nxml-clear-dependent-regions): Remove functions.
3941 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3942 (nxml-ensure-scan-up-to-date):
3943 Don't clear&mark dependent regions.
3944
3945 2013-05-15 Leo Liu <sdl.web@gmail.com>
3946
3947 * progmodes/octave.el (octave-goto-function-definition):
3948 Improve and fix callers.
3949
3950 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3953 the setter (bug#14387).
3954
3955 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3956 surrounding group (bug#14402).
3957
3958 2013-05-14 Juri Linkov <juri@jurta.org>
3959
3960 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3961 (Bug#14390)
3962
3963 2013-05-14 Glenn Morris <rgm@gnu.org>
3964
3965 * progmodes/f90.el (f90-imenu-generic-expression):
3966 Fix typo in 2013-05-08 change. (Bug#14402)
3967
3968 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3969
3970 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
3971 Remove signals for which replies are never received.
3972
3973 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3974
3975 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
3976 (gdb-handler-alist, gdb-handler-number): Remove variables.
3977 (gdb-handler-list): New variable.
3978 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
3979 (gdb-pending-handler-p, gdb-handle-reply)
3980 (gdb-remove-all-pending-triggers): New functions.
3981 (gdb-discard-unordered-replies): New defcustom.
3982 (gdb-handler): New defstruct.
3983 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
3984 instead of gdb-pending-triggers. Update docstring.
3985 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
3986 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
3987 (gdb-var-update-handler, def-gdb-auto-update-trigger)
3988 (def-gdb-auto-update-handler, gdb-get-changed-registers)
3989 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
3990 (gdb-frame-handler): Pending triggers are now automatically managed.
3991 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
3992 Remove argument.
3993 (gdb-input): Automatically handles pending triggers. Update docstring.
3994 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
3995 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
3996 Update comments.
3997 (gdb-done-or-error): Now use gdb-handle-reply.
3998
3999 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4000
4001 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4002 gdb-debug-log.
4003
4004 2013-05-14 Glenn Morris <rgm@gnu.org>
4005
4006 * subr.el (user-emacs-directory-warning): New option.
4007 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4008
4009 2013-05-14 Leo Liu <sdl.web@gmail.com>
4010
4011 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4012 during redisplay.
4013 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4014 (octave-font-lock-texinfo-comment): Fix invalid search bound
4015 error: wrong side of point.
4016
4017 2013-05-14 Glenn Morris <rgm@gnu.org>
4018
4019 * progmodes/flymake.el (flymake-xml-program): New option.
4020 (flymake-xml-init): Use it.
4021
4022 * term/xterm.el: Provide a feature.
4023
4024 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
4025
4026 2013-05-13 Glenn Morris <rgm@gnu.org>
4027
4028 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4029 Add compat aliases as a hack workaround. (Bug#14384)
4030
4031 2013-05-13 Leo Liu <sdl.web@gmail.com>
4032
4033 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4034 ###, and %!.
4035 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4036 C-M-q.
4037 (octave-comment-start-skip): Include %!.
4038 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4039
4040 2013-05-12 Leo Liu <sdl.web@gmail.com>
4041
4042 * progmodes/octave.el (inferior-octave-startup): Store the value
4043 of __octave_srcdir__ for octave-source-directories.
4044 (inferior-octave-check-process): New function refactored out of
4045 inferior-octave-send-list-and-digest.
4046 (octave-source-directories)
4047 (octave-find-definition-filename-function): New variables.
4048 (octave-source-directories)
4049 (octave-find-definition-default-filename): New functions.
4050 (octave-find-definition): Improve to find functions implemented in C++.
4051
4052 2013-05-12 Glenn Morris <rgm@gnu.org>
4053
4054 * calendar/diary-lib.el (diary-outlook-format-1):
4055 Don't include dayname in the output. (Bug#14349)
4056
4057 2013-05-11 Glenn Morris <rgm@gnu.org>
4058
4059 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4060
4061 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4062 Treat cc-provide like provide.
4063
4064 2013-05-11 Kevin Ryde <user42@zip.com.au>
4065
4066 * cus-dep.el (custom-make-dependencies):
4067 Use generated-autoload-load-name for the sake of files such
4068 such cedet/semantic/bovine/c.el, where the base file name
4069 is not in load-path. (Bug#5277)
4070
4071 2013-05-11 Glenn Morris <rgm@gnu.org>
4072
4073 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4074 Provide features.
4075
4076 2013-05-11 Leo Liu <sdl.web@gmail.com>
4077
4078 * progmodes/octave.el (octave-indent-comment): Improve.
4079 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4080 (octave-eldoc-function-signatures, octave-eldoc-function):
4081 New functions.
4082 (octave-mode, inferior-octave-mode): Add eldoc support.
4083
4084 2013-05-11 Richard Stallman <rms@gnu.org>
4085
4086 * epa.el (epa-decrypt-file): Take output file name as argument
4087 and read it using `interactive'.
4088
4089 2013-05-11 Leo Liu <sdl.web@gmail.com>
4090
4091 * progmodes/octave.el (octave-beginning-of-line)
4092 (octave-end-of-line): Check before using up-list because it jumps
4093 out of more syntactic contructs since moving to smie.
4094 (octave-indent-comment): New function.
4095 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
4096 (octave-begin-keywords, octave-end-keywords)
4097 (octave-reserved-words, octave-smie-bnf-table)
4098 (octave-smie-rules): Add new keywords from Octave 3.6.4.
4099
4100 2013-05-11 Glenn Morris <rgm@gnu.org>
4101
4102 * faces.el (internal-face-x-get-resource):
4103 * frame.el (ns-display-monitor-attributes-list):
4104 * calc/calc-aent.el (math-to-radians-2):
4105 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4106 Fix declarations.
4107
4108 * calc/calc-menu.el: Make it loadable in isolation.
4109
4110 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4111 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4112 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4113 (eudc-bbdb-query-internal): Require 'bbdb.
4114
4115 * lpr.el (lpr-headers-switches):
4116 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4117
4118 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4119
4120 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4121
4122 * term.el (term-set-escape-char): Make it idempotent.
4123
4124 2013-05-10 Leo Liu <sdl.web@gmail.com>
4125
4126 * progmodes/octave.el (inferior-octave-completion-table):
4127 No longer a function and all uses changed. Use cache to speed up
4128 completion due to bug#11906.
4129 (octave-beginning-of-defun): Re-write to be more general.
4130
4131 2013-05-10 Glenn Morris <rgm@gnu.org>
4132
4133 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4134
4135 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * comint.el (comint-redirect-send-command-to-process): Use :around
4138 rather than :override for comint-redirect-filter.
4139 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4140 Call it instead of comint-redirect-original-filter-function (which
4141 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4142
4143 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4144
4145 * frame.el (display-monitor-attributes-list): Add NS case.
4146 (ns-display-monitor-attributes-list): Declare.
4147
4148 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
4149
4150 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4151
4152 2013-05-09 Glenn Morris <rgm@gnu.org>
4153
4154 * international/fontset.el (vertical-centering-font-regexp):
4155 Set standard-value.
4156
4157 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4158
4159 * bookmark.el (bookmark-search-delay):
4160 * cus-start.el (vertical-centering-font-regexp):
4161 * ps-mule.el (ps-mule-font-info-database-default):
4162 * ps-print.el (ps-default-fg, ps-default-bg):
4163 * type-break.el (type-break-good-break-interval):
4164 * whitespace.el (whitespace-indentation-regexp)
4165 (whitespace-space-after-tab-regexp):
4166 * emacs-lisp/testcover.el (testcover-1value-functions)
4167 (testcover-noreturn-functions, testcover-progn-functions)
4168 (testcover-prog1-functions):
4169 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4170 * eshell/em-glob.el (eshell-glob-translate-alist):
4171 * play/tetris.el (tetris-tty-colors):
4172 * progmodes/cpp.el (cpp-face-default-list):
4173 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4174 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4175 (idlwave-help-browser-generic-args):
4176 * progmodes/make-mode.el (makefile-special-targets-list):
4177 * progmodes/python.el (python-shell-virtualenv-path):
4178 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4179 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4180 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4181 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4182 * textmodes/reftex-vars.el (reftex-format-label-function):
4183 * textmodes/remember.el (remember-diary-file): Fix custom types.
4184
4185 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4186 Add :version.
4187
4188 2013-05-09 Leo Liu <sdl.web@gmail.com>
4189
4190 * progmodes/octave.el (inferior-octave-completion-at-point):
4191 Restore file completion. (Bug#14300)
4192 (inferior-octave-startup): Fix incorrect highlighting for the
4193 first prompt.
4194
4195 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * progmodes/ruby-mode.el: First cut at SMIE support.
4198 (ruby-use-smie): New var.
4199 (ruby-smie-grammar): New constant.
4200 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4201 (ruby-smie--forward-token, ruby-smie--backward-token)
4202 (ruby-smie-rules): New functions.
4203 (ruby-mode-variables): Setup SMIE if applicable.
4204
4205 2013-05-08 Eli Zaretskii <eliz@gnu.org>
4206
4207 * simple.el (line-move-visual): Signal beginning/end of buffer
4208 only if vertical-motion moved less than it was requested. Avoids
4209 silly incorrect error messages when there are display strings with
4210 multiple newlines at EOL.
4211
4212 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4215 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4216 (prolog-char-quote-workaround):
4217 * progmodes/cperl-mode.el (cperl-under-as-char):
4218 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4219 Mark as obsolete.
4220 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4221 their declaration.
4222 (vhdl-mode-syntax-table-init): Remove.
4223
4224 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4225 last change.
4226
4227 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4228 syntax for "_".
4229 (ld-script-font-lock-keywords):
4230 Change regexps to use things like \_< and \_>.
4231
4232 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4233 Change all regexps to use things like \_< and \_>.
4234
4235 * progmodes/autoconf.el (autoconf-definition-regexp)
4236 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4237 Handle a _ with symbol syntax.
4238 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4239
4240 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4241 Consolidate declaration.
4242 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4243 the declaration.
4244 (ada-create-syntax-table): Remove.
4245 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4246 already has the right syntax nowadays.
4247 (ada-goto-next-word): Don't change the syntax of "_".
4248
4249 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4250 with-wrapper-hook.
4251
4252 2013-05-08 Sam Steingold <sds@gnu.org>
4253
4254 * thingatpt.el (thing-at-point): Accept optional second argument
4255 NO-PROPERTIES to strip the text properties from the return value.
4256 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4257 to `thing-at-point' instead of stripping the properties ourselves.
4258 Also, when `thing-at-point' fails to find a url, prepend "http://"
4259 to the filename at point on the assumption that the user is
4260 pointing at something like gnu.org/gnu.
4261
4262 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
4263
4264 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4265 * faces.el (crm-separator):
4266 Silence byte-compiler.
4267
4268 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4269 (tool-bar-map): Remove unneeded defvars.
4270
4271 2013-05-08 Leo Liu <sdl.web@gmail.com>
4272
4273 Re-work a fix for bug#10994 based on Le Wang's patch.
4274 * ido.el (ido-remove-consecutive-dups): New helper.
4275 (ido-completing-read): Use it.
4276 (ido-chop): Revert fix for bug#10994.
4277
4278 2013-05-08 Adam Spiers <emacs@adamspiers.org>
4279
4280 * cus-edit.el (custom-save-variables):
4281 Pretty-print long values. (Bug#14187)
4282
4283 2013-05-08 Glenn Morris <rgm@gnu.org>
4284
4285 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4286 (m4-mode-syntax-table): Init in the defvar.
4287 (m4-mode-abbrev-table): Let define-derived-mode define it.
4288
4289 2013-05-08 Tom Tromey <tromey@redhat.com>
4290
4291 * progmodes/m4-mode.el (m4-mode-syntax-table):
4292 Do not treat "_" as word constituent. (Bug#14167)
4293
4294 2013-05-07 Glenn Morris <rgm@gnu.org>
4295
4296 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4297 Remove explicit eshell-isearch-cancel-map.
4298
4299 * progmodes/f90.el (f90-smart-end-names): New option.
4300 (f90-smart-end): Doc fix.
4301 (f90-end-block-optional-name): New constant.
4302 (f90-block-match): Respect f90-smart-end-names.
4303
4304 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4307 about implicit semi-colons (bug#14218).
4308
4309 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4310
4311 * frame.el (display-monitor-attributes-list)
4312 (frame-monitor-attributes): New functions.
4313
4314 2013-05-06 Leo Liu <sdl.web@gmail.com>
4315
4316 * progmodes/octave.el (octave-syntax-propertize-function): Change
4317 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4318 (octave-font-lock-keywords): Use octave-operator-regexp.
4319 (octave-completion-at-point): Rename from
4320 octave-completion-at-point-function.
4321 (inferior-octave-directory-tracker): Robustify.
4322 (octave-text-functions): Remove and fix its uses. No such things
4323 any more.
4324
4325 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/trace.el (trace--display-buffer): New function.
4328 (trace-make-advice): Use it.
4329
4330 2013-05-06 Juri Linkov <juri@jurta.org>
4331
4332 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4333 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4334 Doc fix.
4335 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4336 in the help string. (Bug#12985)
4337
4338 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4339
4340 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4341
4342 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * progmodes/perl-mode.el: Add support for here documents.
4345 (perl-syntax-propertize-function): Match here-doc markers.
4346 (perl-syntax-propertize-special-constructs): Find their end.
4347 (perl-imenu-generic-expression): Use [:alnum:].
4348
4349 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4350 (advice--add-function): Refresh the advice if already present
4351 (bug#14317).
4352
4353 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
4354
4355 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4356
4357 2013-05-06 Glenn Morris <rgm@gnu.org>
4358
4359 * w32-fns.el (w32-charset-info-alist): Declare.
4360
4361 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4362 of its defcustom properties.
4363 (eshell-cmpl-initialize): No need to load pcomplete.
4364
4365 * generic-x.el: No need to require comint when compiling.
4366
4367 * net/eudc-export.el: Make it loadable without bbdb.
4368 (top-level): Use require rather than load-library.
4369 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4370 (eudc-batch-export-records-to-bbdb)
4371 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4372 Require bbdb.
4373
4374 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4377 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4378 some tweaks, instead.
4379
4380 2013-05-05 Leo Liu <sdl.web@gmail.com>
4381
4382 * progmodes/octave.el (octave-font-lock-keywords)
4383 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4384 (inferior-octave-send-list-and-digest): Improve error message.
4385 (octave-mode, inferior-octave-mode): Use setq-local.
4386 (octave-help): Set info-lookup-mode.
4387
4388 2013-05-05 Richard Stallman <rms@gnu.org>
4389
4390 * vc/compare-w.el (compare-windows-whitespace):
4391 Treat no-break space as whitespace.
4392
4393 * mail/rmailsum.el (rmail-summary-rmail-update):
4394 Detect empty summary and don't change selected message.
4395 (rmail-summary-goto-msg): Likewise.
4396
4397 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4398 Doc fixes, rename args.
4399
4400 2013-05-05 Alan Mackenzie <acm@muc.de>
4401
4402 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4403
4404 2013-05-05 Juri Linkov <juri@jurta.org>
4405
4406 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4407 to not add the length of the summary segment to the return value.
4408 (Bug#14125)
4409
4410 2013-05-05 Leo Liu <sdl.web@gmail.com>
4411
4412 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4413 (inferior-octave-output-filter): Remove.
4414 (octave-send-region, inferior-octave-startup): Fix callers.
4415 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4416 (octave-binary-file-extensions): New user variable.
4417 (octave-find-definition): Confirm if opening binary files.
4418 (octave-help-file): Use octave-find-definition to get the binary
4419 confirmation.
4420 (octave-help): Adjust for octave-help-file change.
4421
4422 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4425 Merge the two entries that handle function definitions.
4426 (pascal--syntax-propertize): New const.
4427 (pascal-mode): Use it. Use setq-local.
4428
4429 2013-05-04 Glenn Morris <rgm@gnu.org>
4430
4431 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4432 (diary-from-outlook): Respect diary-from-outlook-function.
4433
4434 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4437 Move the declaration from C.
4438 (read-minibuffer, eval-minibuffer): Move from C.
4439 (completion-setup-function): Avoid minibuffer-completion-contents.
4440
4441 2013-05-03 Leo Liu <sdl.web@gmail.com>
4442
4443 * progmodes/octave.el (octave-font-lock-keywords): Do not
4444 dehighlight 'end' in comments or strings.
4445 (octave-completing-read, octave-goto-function-definition):
4446 New helpers.
4447 (octave-help-buffer): New user variable.
4448 (octave-help-file, octave-help-function): New button types.
4449 (octave-help): New command and bind it to C-h ;.
4450 (octave-find-definition): New command and bind it to M-.
4451 (user-error): Alias to error if not defined.
4452
4453 2013-05-02 Leo Liu <sdl.web@gmail.com>
4454
4455 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4456 for \. (bug#14332)
4457 (octave-font-lock-keywords): Include [ and {.
4458
4459 2013-05-02 Leo Liu <sdl.web@gmail.com>
4460
4461 * progmodes/octave.el (inferior-octave-startup-file): Change default.
4462 (inferior-octave): Remove calling comint-mode and return the buffer.
4463 (inferior-octave-startup): Cosmetic changes.
4464
4465 2013-05-02 Leo Liu <sdl.web@gmail.com>
4466
4467 * progmodes/octave.el (octave-syntax-propertize-function):
4468 Include the case when ' is at line beginning. (Bug#14336)
4469
4470 2013-05-02 Glenn Morris <rgm@gnu.org>
4471
4472 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4473 * desktop.el (vc-dir-mode): Just autoload it here.
4474
4475 2013-05-02 Alan Mackenzie <acm@muc.de>
4476
4477 Eliminate variable c-standard-font-lock-fontify-region-function.
4478 * progmodes/cc-mode.el
4479 (c-standard-font-lock-fontify-region-function): Remove.
4480 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4481
4482 2013-05-01 Leo Liu <sdl.web@gmail.com>
4483
4484 * progmodes/octave.el: Compatible with older emacs-24 releases.
4485 (inferior-octave-has-built-in-variables): Remove. Built-in
4486 variables were removed from Octave in 2007.
4487 (inferior-octave-startup): Fix uses.
4488 (comint-line-beginning-position): Remove compatibility code for
4489 emacs 21.
4490
4491 2013-05-01 Juri Linkov <juri@jurta.org>
4492
4493 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
4494
4495 2013-05-01 Juri Linkov <juri@jurta.org>
4496
4497 * comint.el (comint-previous-matching-input): Don't print message
4498 "History item: %d" when `isearch-mode' is active.
4499 (comint-history-isearch-message): Print message "History item: %d"
4500 when `comint-input-ring-index' is not empty and this function is
4501 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
4502
4503 2013-05-01 Leo Liu <sdl.web@gmail.com>
4504
4505 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4506 definitions. Use completion-at-point to insert keywords.
4507 (octave-abbrev-start): Remove.
4508 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4509
4510 2013-04-30 Leo Liu <sdl.web@gmail.com>
4511
4512 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4513 change.
4514
4515 2013-04-30 Alan Mackenzie <acm@muc.de>
4516
4517 Handle arbitrarily long C++ member initialisation lists.
4518 * progmodes/cc-engine.el (c-back-over-member-initializers):
4519 new function.
4520 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4521 (most) member init lists.
4522
4523 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4524
4525 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4526 variable.
4527
4528 2013-04-30 Leo Liu <sdl.web@gmail.com>
4529
4530 * progmodes/octave.el (octave-variables): Remove. No builtin
4531 variables any more. All converted to functions.
4532 (octave-font-lock-keywords, octave-completion-at-point-function):
4533 Fix uses.
4534 (octave-font-lock-texinfo-comment): New user variable.
4535 (octave-texinfo-font-lock-keywords): New variable for texinfo
4536 comment block.
4537 (octave-function-comment-block): New face.
4538 (octave-font-lock-texinfo-comment): New function.
4539 (octave-mode): Font lock texinfo comment block.
4540
4541 2013-04-29 Leo Liu <sdl.web@gmail.com>
4542
4543 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4544 indexing expression.
4545 (octave-continuation-string): Do not use \.
4546 (inferior-octave-complete-impossible): Remove.
4547 (inferior-octave-completion-table)
4548 (inferior-octave-completion-at-point): Remove its uses.
4549 (inferior-octave-startup): completion_matches was introduced to
4550 Octave in 1996 so safe to assume it.
4551 (octave-function-file-comment): Improve to follow how Octave does it.
4552 (octave-update-function-file-comment): Tweak.
4553
4554 2013-04-29 Leo Liu <sdl.web@gmail.com>
4555
4556 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4557 (inferior-octave-startup): Remove inferior-octave-startup-hook.
4558 (octave-function-file-comment): Fix typo.
4559 (octave-sync-function-file-names): Use read-char-choice.
4560
4561 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
4562
4563 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4564 to t for the less important warnings.
4565
4566 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
4567
4568 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
4569
4570 2013-04-27 Glenn Morris <rgm@gnu.org>
4571
4572 * vc/log-view.el (log-view-current-entry):
4573 Treat "---" separator lines as part of the following rev. (Bug#14169)
4574
4575 2013-04-27 Juri Linkov <juri@jurta.org>
4576
4577 * subr.el (read-number): Doc fix about using it by interactive
4578 code letter `n'. (Bug#14254)
4579
4580 2013-04-27 Juri Linkov <juri@jurta.org>
4581
4582 * desktop.el (desktop-auto-save-timeout): New option.
4583 (desktop-file-checksum): New variable.
4584 (desktop-save): Add optional arg `auto-save' and don't auto-save
4585 if nothing changed.
4586 (desktop-auto-save-timer): New variable.
4587 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
4588 (after-init-hook): Call `desktop-auto-save-set-timer'.
4589 Suggested by Reuben Thomas <rrt@sc3d.org> in
4590 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
4591
4592 2013-04-27 Leo Liu <sdl.web@gmail.com>
4593
4594 * progmodes/octave.el (octave-function-file-p)
4595 (octave-skip-comment-forward, octave-function-file-comment)
4596 (octave-update-function-file-comment): New functions.
4597 (octave-mode-map): Bind C-c ; to
4598 octave-update-function-file-comment.
4599 (octave-mode-menu): Add octave-update-function-file-comment.
4600 (octave-mode, inferior-octave-mode): Fix doc-string.
4601 (octave-insert-defun): Conform to Octave's coding convention.
4602 (Bug#14285)
4603
4604 * files.el (basic-save-buffer): Don't let errors in
4605 before-save-hook prevent saving buffer.
4606
4607 2013-04-20 Roland Winkler <winkler@gnu.org>
4608
4609 * faces.el (read-face-name): Use completing-read if arg multiple
4610 is nil.
4611
4612 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
4613
4614 * ls-lisp.el (ls-lisp-insert-directory): If no files are
4615 displayed, move point to after the totals line.
4616 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
4617 for the details.
4618
4619 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4620
4621 * emacs-lisp/package.el (package-autoload-ensure-default-file):
4622 Add current dir to the load-path.
4623 (package-generate-autoloads): Don't rely on
4624 autoload-ensure-default-file.
4625
4626 2013-04-26 Reuben Thomas <rrt@sc3d.org>
4627
4628 * textmodes/remember.el (remember-store-in-files): Document that
4629 the file name format is passed to `format-time-string'.
4630
4631 2013-04-26 Leo Liu <sdl.web@gmail.com>
4632
4633 * progmodes/octave.el (octave-sync-function-file-names): New function.
4634 (octave-mode): Use it in before-save-hook.
4635
4636 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4637
4638 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
4639 (bug#14274).
4640
4641 * progmodes/octave.el (octave-smie-forward-token): Properly skip
4642 \n and comment, even if it's not an implicit ; (bug#14218).
4643
4644 2013-04-26 Glenn Morris <rgm@gnu.org>
4645
4646 * subr.el (read-number): Once more use `read' rather than
4647 `string-to-number', to trap non-numeric input. (Bug#14254)
4648
4649 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
4650
4651 * emacs-lisp/syntax.el (syntax-propertize-multiline):
4652 Use `syntax-multiline' text property consistently instead of
4653 `font-lock-multiline'. (Bug#14237)
4654
4655 2013-04-26 Glenn Morris <rgm@gnu.org>
4656
4657 * emacs-lisp/shadow.el (list-load-path-shadows):
4658 No longer necessary to check for duplicate simple.el, since
4659 2012-07-07 change to init_lread to not include installation lisp
4660 directories in load-path when running uninstalled. (Bug#14270)
4661
4662 2013-04-26 Leo Liu <sdl.web@gmail.com>
4663
4664 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
4665 (octave-mode, inferior-octave-mode): Use setq-local.
4666 (octave-not-in-string-or-comment-p): Rename to
4667 octave-in-string-or-comment-p.
4668 (octave-in-comment-p, octave-in-string-p)
4669 (octave-in-string-or-comment-p): Replace defsubst with defun.
4670
4671 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
4672
4673 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
4674
4675 2013-04-25 Bastien Guerry <bzg@gnu.org>
4676
4677 * textmodes/remember.el (remember-data-directory)
4678 (remember-directory-file-name-format): Fix custom types.
4679
4680 2013-04-25 Leo Liu <sdl.web@gmail.com>
4681
4682 * progmodes/octave.el (octave-completion-at-point-function):
4683 Make use of inferior octave process.
4684 (octave-initialize-completions): Remove.
4685 (inferior-octave-completion-table): New function.
4686 (inferior-octave-completion-at-point): Use it.
4687 (octave-completion-alist): Remove.
4688
4689 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * progmodes/opascal.el: Use font-lock and syntax-propertize.
4692 (opascal-mode-syntax-table): New var.
4693 (opascal-literal-kind, opascal-is-literal-end)
4694 (opascal-literal-token-at): Rewrite.
4695 (opascal--literal-start-re, opascal-font-lock-keywords)
4696 (opascal--syntax-propertize): New constants.
4697 (opascal-font-lock-defaults): Adjust.
4698 (opascal-mode): Use them. Set comment-<foo> variables as well.
4699 (delphi-comment-face, opascal-comment-face, delphi-string-face)
4700 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
4701 (delphi-other-face, opascal-other-face): Remove face variables.
4702 (opascal-save-state): Remove macro.
4703 (opascal-fontifying-progress-step): Remove constant.
4704 (opascal--ignore-changes): Remove var.
4705 (opascal-set-token-property, opascal-parse-next-literal)
4706 (opascal-is-stable-literal, opascal-complete-literal)
4707 (opascal-is-literal-start, opascal-face-of)
4708 (opascal-parse-region, opascal-parse-region-until-stable)
4709 (opascal-fontify-region, opascal-after-change)
4710 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
4711 (opascal-debug-parse-region, opascal-debug-parse-window)
4712 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
4713 (opascal-debug-fontify-buffer): Remove.
4714 (opascal-debug-mode-map): Adjust accordingly.
4715
4716 2013-04-25 Leo Liu <sdl.web@gmail.com>
4717
4718 Merge octave-mod.el and octave-inf.el into octave.el with some
4719 cleanups.
4720 * progmodes/octave.el: New file renamed from octave-mod.el.
4721 * progmodes/octave-inf.el: Merged into octave.el.
4722 * progmodes/octave-mod.el: Renamed to octave.el.
4723
4724 2013-04-25 Tassilo Horn <tsdh@gnu.org>
4725
4726 * textmodes/reftex-vars.el
4727 (reftex-label-ignored-macros-and-environments): New defcustom.
4728
4729 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
4730
4731 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
4734 (smie-indent-keyword): Improve the check to ensure that the next
4735 comment is really on the same line.
4736 (smie-indent-comment): Don't align with a subsequent closer (or eob).
4737
4738 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
4739 semi-colons if the line is not otherwise empty (bug#14218).
4740
4741 2013-04-25 Glenn Morris <rgm@gnu.org>
4742
4743 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
4744
4745 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * progmodes/opascal.el (opascal-set-token-property): Rename from
4748 opascal-set-text-properties and only set `token' (bug#14134).
4749 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
4750 (opascal-literal-text-properties): Remove.
4751 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
4752 Adjust callers.
4753
4754 2013-04-24 Reuben Thomas <rrt@sc3d.org>
4755
4756 * textmodes/remember.el (remember-handler-functions): Add an
4757 option for a new handler `remember-store-in-files'.
4758 (remember-data-directory, remember-directory-file-name-format):
4759 New options.
4760 (remember-store-in-files): New function to store remember notes
4761 as separate files within a directory.
4762
4763 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
4764
4765 * progmodes/compile.el (compilation-next-error-function):
4766 Pass "formats" to compilation-find-file (bug#11777).
4767
4768 2013-04-24 Glenn Morris <rgm@gnu.org>
4769
4770 * vc/vc-bzr.el (vc-bzr-print-log):
4771 * vc/vc-hg.el (vc-hg-print-log):
4772 * vc/vc-svn.el (vc-svn-print-log):
4773 Fix START-REVISION with LIMIT != 1. (Bug#14168)
4774
4775 * vc/vc-bzr.el (vc-bzr-print-log):
4776 * vc/vc-cvs.el (vc-cvs-print-log):
4777 * vc/vc-git.el (vc-git-print-log):
4778 * vc/vc-hg.el (vc-hg-print-log):
4779 * vc/vc-mtn.el (vc-mtn-print-log):
4780 * vc/vc-rcs.el (vc-rcs-print-log):
4781 * vc/vc-sccs.el (vc-sccs-print-log):
4782 * vc/vc-svn.el (vc-svn-print-log):
4783 * vc/vc.el (vc-print-log-internal): Doc fixes.
4784
4785 2013-04-23 Glenn Morris <rgm@gnu.org>
4786
4787 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
4788 Remove venerable code attempting to avoid substitute-command-keys.
4789
4790 2013-04-23 Tassilo Horn <tsdh@gnu.org>
4791
4792 * textmodes/reftex-vars.el (reftex-label-regexps):
4793 Call `reftex-compile-variables' after changes to this variable.
4794
4795 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
4798 Use lexical-binding.
4799 (jit-lock-force-redisplay): Use markers, check buffer's continued
4800 existence and beware narrowed buffers.
4801 (jit-lock-fontify-now): Adjust call accordingly.
4802
4803 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4804
4805 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
4806 to avoid misleading the user.
4807
4808 2013-04-22 Leo Liu <sdl.web@gmail.com>
4809
4810 * info-look.el: Prefer latex2e.info. (Bug#14240)
4811
4812 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
4813
4814 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
4815
4816 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4817 * net/tramp.el (tramp-call-process): ... here.
4818 (tramp-set-completion-function, tramp-parse-putty):
4819 * net/tramp-adb.el (tramp-adb-execute-adb-command):
4820 * net/tramp-gvfs.el (tramp-gvfs-send-command):
4821 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4822 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
4823 (tramp-call-local-coding-command): Use `tramp-call-process'
4824 instead of `tramp-compat-call-process'.
4825
4826 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
4827 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
4828 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
4829 (tramp-find-inline-compress): Improve traces.
4830 (tramp-maybe-send-script): Check for Perl binary.
4831 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
4832
4833 2013-04-22 Daiki Ueno <ueno@gnu.org>
4834
4835 * epg.el (epg-context-pinentry-mode): New function.
4836 (epg-context-set-pinentry-mode): New function.
4837 (epg--start): Pass --pinentry-mode option to gpg command.
4838
4839 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
4840
4841 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
4842 `comint-dynamic-complete' is obsolete since 24.1, replaced by
4843 `completion-at-point'. (Bug#13774)
4844
4845 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
4846 default key binding for `describe-distribution' has been moved to
4847 `C-h C-o'. (Bug#13970)
4848
4849 2013-04-21 Glenn Morris <rgm@gnu.org>
4850
4851 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
4852 Add doc strings.
4853 (vc-print-log): Clarify interactive prompt.
4854
4855 2013-04-20 Glenn Morris <rgm@gnu.org>
4856
4857 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4858 No longer include timestamp etc information.
4859
4860 2013-04-20 Roland Winkler <winkler@gnu.org>
4861
4862 * faces.el (read-face-name): Bug fix, return just one face if arg
4863 multiple is nil. (Bug#14209)
4864
4865 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
4868 (remove-function): Autoload.
4869
4870 * comint.el (comint-redirect-original-filter-function): Remove.
4871 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
4872 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
4873 (vc-cvs-annotate-command):
4874 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
4875 * progmodes/prolog.el (prolog-consult-compile):
4876 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
4877 Use add/remove-function instead.
4878 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
4879 (gud-tooltip-process-output, gud-tooltip-tips):
4880 Use add/remove-function instead.
4881 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
4882 (scheme-interaction-mode, exit-scheme-interaction-mode):
4883 Use add/remove-function instead.
4884
4885 * vc/vc-dispatcher.el: Use lexical-binding.
4886 (vc--process-sentinel): Rename from vc-process-sentinel.
4887 Change last arg to be the code to run. Don't use vc-previous-sentinel
4888 and vc-sentinel-commands any more.
4889 (vc-exec-after): Allow code to be a function. Use add/remove-function.
4890 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
4891
4892 2013-04-19 Masatake YAMATO <yamato@redhat.com>
4893
4894 * progmodes/sh-script.el (sh-imenu-generic-expression):
4895 Handle function names with a single character. (Bug#14111)
4896
4897 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
4898
4899 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
4900 for subroutines defined in an eval (bug#14182).
4901
4902 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4903
4904 * bookmark.el (bookmark-completing-read): Improve handling of empty
4905 string (bug#14176).
4906
4907 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
4910
4911 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
4912
4913 New faster Imenu implementation (bug#14058).
4914 * progmodes/python.el:
4915 (python-imenu-prev-index-position):
4916 (python-imenu-format-item-label-function)
4917 (python-imenu-format-parent-item-label-function)
4918 (python-imenu-format-parent-item-jump-label-function):
4919 New vars.
4920 (python-imenu-format-item-label)
4921 (python-imenu-format-parent-item-label)
4922 (python-imenu-format-parent-item-jump-label)
4923 (python-imenu--put-parent, python-imenu--build-tree)
4924 (python-imenu-create-index, python-imenu-create-flat-index)
4925 (python-util-popn): New functions.
4926 (python-mode): Set imenu-create-index-function to
4927 python-imenu-create-index.
4928
4929 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * winner.el (winner-active-region): Use region-active-p, activate-mark
4932 and deactivate-mark (bug#14225).
4933
4934 * simple.el (deactivate-mark): Don't inline it.
4935
4936 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
4937
4938 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4939
4940 2013-04-18 Tassilo Horn <tsdh@gnu.org>
4941
4942 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4943 file extensions from the archive-mode entry in order to prefer
4944 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4945
4946 2013-04-18 Leo Liu <sdl.web@gmail.com>
4947
4948 * bindings.el (help-event-list): Add ?\?.
4949
4950 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * subr.el (with-wrapper-hook): Declare obsolete.
4953 * simple.el (filter-buffer-substring-function): New hook.
4954 (filter-buffer-substring): Use it.
4955 (filter-buffer-substring-functions): Mark obsolete.
4956 * minibuffer.el (completion-in-region-function): New hook.
4957 (completion-in-region): Use it.
4958 (completion-in-region-functions): Mark obsolete.
4959 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4960 * abbrev.el (abbrev-expand-function): New hook.
4961 (expand-abbrev): Use it.
4962 (abbrev-expand-functions): Mark obsolete.
4963 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
4964 and :filter-return.
4965
4966 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4967
4968 * progmodes/python.el (python-nav--syntactically): Fix cornercases
4969 and do not care about match data.
4970
4971 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
4974 completion tables when completing error conditions and
4975 `declare' arguments.
4976 (lisp-complete-symbol, field-complete): Mark as obsolete.
4977 (check-parens): Unmatched parens are user errors.
4978 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
4979
4980 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
4981
4982 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4983 command changed buffer (ie. `flyspell-pre-buffer' is not current
4984 buffer), which prevents making decisions based on invalid value of
4985 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
4986 cause an error when `flyspell-pre-point' was nil after switching
4987 buffers.
4988 (flyspell-post-command-hook): No longer needs to change buffers when
4989 checking pre-word. While at it remove unnecessary progn.
4990
4991 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4992
4993 * textmodes/ispell.el (ispell-add-per-file-word-list):
4994 Fix `flyspell-correct-word-before-point' error when accepting
4995 words and `coment-padding' is an integer by using
4996 `comment-normalize-vars' (Bug #14214).
4997
4998 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4999
5000 New defun movement commands.
5001 * progmodes/python.el (python-nav--syntactically)
5002 (python-nav--forward-defun, python-nav-backward-defun)
5003 (python-nav-forward-defun): New functions.
5004
5005 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5006
5007 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5008 (python-syntax-context): Use named compiler-macro for backwards
5009 compatibility with Emacs 24.x.
5010
5011 2013-04-17 Leo Liu <sdl.web@gmail.com>
5012
5013 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5014 octave-hide-process-buffer.
5015
5016 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5017
5018 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5019 (bug#14216).
5020
5021 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5022
5023 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5024 Fix adjustment of offset when receiving incomplete responses from GDB
5025 (bug#14129).
5026
5027 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5030 python-mode-abbrev-table.
5031 (python-skeleton-define): Adjust accordingly.
5032 (python-mode-abbrev-table): New table that inherits from it so that
5033 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5034
5035 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5036 (abbrev-symbol): Use it.
5037 (abbrev--before-point): Use it since we already handle inheritance.
5038
5039 2013-04-16 Leo Liu <sdl.web@gmail.com>
5040
5041 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5042 binding to info-lookup-symbol.
5043
5044 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
5045
5046 * minibuffer.el (completion--twq-all):
5047 * term/ns-win.el (ns-initialize-window-system):
5048 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5049
5050 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5053 global bindings.
5054
5055 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5056
5057 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5058
5059 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5060 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5061 to nil.
5062 (ruby-end-of-defun): Remove the unused arg, change the docstring
5063 to reflect that this function is only used as the value of
5064 `end-of-defun-function'.
5065 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5066 to reflect an earlier change that beginning/end-of-defun functions
5067 jump between methods in a class definition, as well as top-level
5068 functions.
5069
5070 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * minibuffer.el (minibuffer-complete): Don't just scroll
5073 a *Completions* that's been iconified.
5074 (minibuffer-force-complete): Make sure repetitions do cycle when going
5075 through completion-in-region -> minibuffer-complete.
5076
5077 2013-04-15 Alan Mackenzie <acm@muc.de>
5078
5079 Correct the placement of c-cpp-delimiters when there're #s not at
5080 col 0.
5081
5082 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5083 place a submatch around the #.
5084 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5085 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
5086 on the #, not BOL.
5087
5088 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5091 (advice--member-p): New arg `name'.
5092 (advice--add-function, advice-member-p): Use it (bug#14202).
5093
5094 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5095
5096 Reformulate java imenu-generic-expression.
5097 The old expression contained ill formed regexps.
5098
5099 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5100 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5101 (cc-imenu-java-method-arg-regexp): New defconsts.
5102 (cc-imenu-java-build-type-args-regex): New defun.
5103 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5104 handling of spaces in the regexp.
5105
5106 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5107
5108 * textmodes/ispell.el (ispell-command-loop): Remove
5109 flyspell highlight of a word when ispell accepts it (bug #14178).
5110
5111 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
5112
5113 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5114 uses code from the previous `ange-ftp-run-real-handler'.
5115 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5116 only in case that function exist. This is needed for proper
5117 unloading of Tramp.
5118
5119 2013-04-15 Tassilo Horn <tsdh@gnu.org>
5120
5121 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5122
5123 * textmodes/reftex.el (reftex-compile-variables): Use it.
5124
5125 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * files.el (normal-mode): Only use default major-mode if no other mode
5128 was specified.
5129
5130 * emacs-lisp/trace.el (trace-values): New function.
5131
5132 * files.el: Allow : in local variables (bug#14089).
5133 (hack-local-variable-regexp): New var.
5134 (hack-local-variables-prop-line, hack-local-variables): Use it.
5135
5136 2013-04-13 Roland Winkler <winkler@gnu.org>
5137
5138 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5139 data before it gets modified by bibtex-beginning-of-entry.
5140
5141 2013-04-13 Roland Winkler <winkler@gnu.org>
5142
5143 * textmodes/bibtex.el (bibtex-url): Doc fix.
5144
5145 2013-04-13 Roland Winkler <winkler@gnu.org>
5146
5147 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5148 does not visit a BibTeX file, exclude it from the list of buffers
5149 returned by bibtex-initialize.
5150
5151 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
5152
5153 * window.el (split-window): Remove interactive form, since as a
5154 command this function is a special case of split-window-below.
5155 Correct doc string.
5156
5157 2013-04-12 Roland Winkler <winkler@gnu.org>
5158
5159 * faces.el (read-face-name): Do not override value of arg default.
5160 Allow single faces and strings as default values. Remove those
5161 elements from return value that are not faces.
5162 (describe-face): Simplify.
5163 (face-at-point): New optional args thing and multiple so that this
5164 function can provide the same functionality previously provided by
5165 read-face-name.
5166 (make-face-bold, make-face-unbold, make-face-italic)
5167 (make-face-unitalic, make-face-bold-italic, invert-face)
5168 (modify-face, read-face-and-attribute): Use face-at-point.
5169
5170 * cus-edit.el (customize-face, customize-face-other-window)
5171 * cus-theme.el (custom-theme-add-face)
5172 * face-remap.el (buffer-face-set)
5173 * facemenu.el (facemenu-set-face): Use face-at-point.
5174
5175 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
5176
5177 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5178
5179 2013-04-10 Tassilo Horn <tsdh@gnu.org>
5180
5181 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5182 off leading { and trailing } from field values.
5183
5184 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/timer.el (timer--check): New function.
5187 (timer--time, timer-set-function, timer-event-handler): Use it.
5188 (timer-set-idle-time): Simplify.
5189 (timer--activate): CSE.
5190 (timer-event-handler): Give more info in error message.
5191 (internal-timer-start-idle): New function, moved from C.
5192
5193 * mpc.el (mpc-proc): Add `restart' argument.
5194 (mpc-proc-cmd): Use it.
5195 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5196 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5197 less often.
5198
5199 2013-04-10 Masatake YAMATO <yamato@redhat.com>
5200
5201 * progmodes/sh-script.el: Implement `sh-mode' own
5202 `add-log-current-defun-function' (bug#14112).
5203 (sh-current-defun-name): New function.
5204 (sh-mode): Use the function.
5205
5206 2013-04-09 Bastien Guerry <bzg@gnu.org>
5207
5208 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5209
5210 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5213
5214 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5215 timer (bug#14156).
5216
5217 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5218
5219 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5220 declaration.
5221
5222 2013-04-07 Leo Liu <sdl.web@gmail.com>
5223
5224 * pcmpl-x.el: New file.
5225
5226 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5227
5228 Do not set x-display-name until X connection is established.
5229 This is needed to prevent from weird situation described at
5230 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5231 * frame.el (make-frame): Set x-display-name after call to
5232 window system initialization function, not before.
5233 * term/x-win.el (x-initialize-window-system): Add optional
5234 display argument and use it.
5235 * term/w32-win.el (w32-initialize-window-system):
5236 * term/ns-win.el (ns-initialize-window-system):
5237 * term/pc-win.el (msdos-initialize-window-system):
5238 Add compatible optional display argument.
5239
5240 2013-04-06 Eli Zaretskii <eliz@gnu.org>
5241
5242 * files.el (normal-backup-enable-predicate): On MS-Windows and
5243 MS-DOS compare truenames of temporary-file-directory and of the
5244 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5245 don't fail comparison by compare-strings. Also, compare file
5246 names case-insensitively on MS-Windows and MS-DOS.
5247
5248 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5251 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5252
5253 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5254
5255 * whitespace.el (whitespace-color-on, whitespace-color-off):
5256 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5257
5258 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
5259
5260 * ispell.el (ispell-set-spellchecker-params):
5261 Really set `ispell-args' for all equivs.
5262
5263 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * ido.el (ido-completions): Use extra elements of ido-decorations
5266 (bug#14143).
5267 (ido-decorations): Update docstring.
5268
5269 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
5270
5271 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5272 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5273 nil during initialization, in order not to miss changes since the
5274 file was opened. (Bug#14140)
5275
5276 2013-04-05 Leo Liu <sdl.web@gmail.com>
5277
5278 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5279
5280 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5281
5282 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5283
5284 2013-04-04 Glenn Morris <rgm@gnu.org>
5285
5286 * electric.el (electric-pair-inhibit-predicate): Add :version.
5287
5288 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5291 when a package is required several times (bug#14082).
5292
5293 2013-04-04 Roland Winkler <winkler@gnu.org>
5294
5295 * faces.el (read-face-name): Behave as promised by the docstring.
5296 Assume that arg default is a list of faces.
5297 (describe-face): Call read-face-name with list of default faces.
5298
5299 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5300
5301 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5302 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5303 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5304 the header.
5305 (bookmark-exit-hook-internal): Save even if list is empty.
5306
5307 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5308
5309 * emacs-lisp/package.el (package-pinned-packages): New var.
5310 (package--add-to-archive-contents): Obey it (bug#14118).
5311
5312 2013-04-03 Alan Mackenzie <acm@muc.de>
5313
5314 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5315 Also adapt to the new values of element 7 of a parse state.
5316
5317 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5318 parameter `not-in-delimiter'. Handle being inside comment opener.
5319 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5320 character in case we're typing a '*' after a '/'.
5321 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5322 instead by passing the parameter to c-state-pp-to-literal.
5323
5324 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5325 for elt. 7 of a parse state.
5326
5327 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5328
5329 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5330 * international/latin1-disp.el, international/mule-util.el:
5331 * language/cyril-util.el, language/european.el, language/ind-util.el:
5332 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5333 * language/tibetan.el, language/viet-util.el:
5334 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5335
5336 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5339 (electric-pair-post-self-insert-function): Use it.
5340 (electric-pair-default-inhibit): New function, extracted from
5341 electric-pair-post-self-insert-function.
5342
5343 2013-03-31 Roland Winkler <winkler@gnu.org>
5344
5345 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5346
5347 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5350
5351 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
5352
5353 Un-indent after "pass" and "return" statements (Bug#13888)
5354 * progmodes/python.el (python-indent-block-enders): New var.
5355 (python-indent-calculate-indentation): Use it.
5356
5357 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
5358
5359 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5360 defun. Defining it as defalias could introduce too eager
5361 byte-compiler optimization. (Bug#14030)
5362
5363 2013-03-30 Chong Yidong <cyd@gnu.org>
5364
5365 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5366
5367 2013-03-30 Leo Liu <sdl.web@gmail.com>
5368
5369 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5370 (kmacro-execute-from-register): Pass the keyboard macro to
5371 kmacro-call-macro or repeating won't work correctly.
5372
5373 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5374
5375 * progmodes/subword.el: Back to using `forward-symbol'.
5376
5377 * subr.el (forward-whitespace, forward-symbol)
5378 (forward-same-syntax): Move from thingatpt.el.
5379
5380 2013-03-29 Leo Liu <sdl.web@gmail.com>
5381
5382 * kmacro.el (kmacro-to-register): New command.
5383 (kmacro-execute-from-register): New function.
5384 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5385
5386 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * mpc.el: Use defvar-local and setq-local.
5389 (mpc--proc-connect): Connection failures are not bugs.
5390 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5391 (mpc-volume-map): Bind to the up-events.
5392
5393 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5394
5395 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5396 instead of `forward-symbol'.
5397
5398 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5399
5400 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5401 (edebug--recursive-edit): Use it.
5402 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5403 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5404
5405 2013-03-28 Leo Liu <sdl.web@gmail.com>
5406
5407 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5408
5409 2013-03-27 Eli Zaretskii <eliz@gnu.org>
5410
5411 * facemenu.el (list-colors-callback): New defvar.
5412 (list-colors-redisplay): New function.
5413 (list-colors-display): Install list-colors-redisplay as the
5414 revert-buffer-function. (Bug#14063)
5415
5416 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5419 and suffixes don't overlap (bug#14061).
5420
5421 * case-table.el: Use lexical-binding.
5422 (case-table-get-table): New function.
5423 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
5424
5425 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5426
5427 * progmodes/subword.el: Add `superword-mode' to do word motion
5428 over symbol_words (parallels and leverages `subword-mode' which
5429 does word motion inside MixedCaseWords).
5430
5431 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
5432
5433 * eshell/em-unix.el: Move su and sudo to...
5434 * eshell/em-tramp.el: ...Eshell tramp module.
5435
5436 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5439 Change return value to be a sexp. Delay `get-buffer' to after
5440 restoring the desktop (bug#13951).
5441
5442 2013-03-26 Leo Liu <sdl.web@gmail.com>
5443
5444 * register.el: Move semantic tag handling back to
5445 cedet/semantic/senator.el. (Bug#14052)
5446
5447 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5450 into the prompt either (bug#13963).
5451
5452 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5455 part of "(error-foo)".
5456
5457 2013-03-24 Juri Linkov <juri@jurta.org>
5458
5459 * replace.el (list-matching-lines-prefix-face): New defcustom.
5460 (occur-1): Pass `list-matching-lines-prefix-face' to the function
5461 `occur-engine' if `face-differs-from-default-p' returns t.
5462 (occur-engine): Add `,' inside backquote construct to evaluate
5463 `prefix-face'. Propertize the prefix with the `prefix-face' face.
5464 Pass `prefix-face' to the functions `occur-context-lines' and
5465 `occur-engine-add-prefix'.
5466 (occur-engine-add-prefix, occur-context-lines): Add optional arg
5467 `prefix-face' and propertize the prefix with `prefix-face'.
5468 (Bug#14017)
5469
5470 2013-03-24 Leo Liu <sdl.web@gmail.com>
5471
5472 * nxml/rng-valid.el (rng-validate-while-idle)
5473 (rng-validate-quick-while-idle): Guard against deleted buffer.
5474 (Bug#13999)
5475
5476 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5477 is the last entry in kill-buffer-hook.
5478
5479 * files.el (kill-buffer-hook): Doc fix.
5480
5481 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
5482
5483 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5484 Make it safe-local.
5485
5486 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5487
5488 2013-03-23 Leo Liu <sdl.web@gmail.com>
5489
5490 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5491 Remove.
5492
5493 * nxml/rng-valid.el (rng-validate-mode)
5494 (rng-after-change-function, rng-do-some-validation):
5495 * nxml/rng-maint.el (rng-validate-buffer):
5496 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5497 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5498 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5499 (nxml-extend-after-change-region): Use with-silent-modifications.
5500
5501 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5502 timer-idle-list.
5503
5504 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5505 (rng-next-error-1, rng-previous-error-1): Do not let-bind
5506 timer-idle-list. (Bug#13999)
5507
5508 2013-03-23 Juri Linkov <juri@jurta.org>
5509
5510 * info.el (info-index-match): New face.
5511 (Info-index, Info-apropos-matches): Add a nested subgroup to the
5512 main pattern and add text properties with the new face to matches
5513 in index entries relative to the beginning of the index entry.
5514 (Bug#14015)
5515
5516 2013-03-21 Eric Ludlam <zappo@gnu.org>
5517
5518 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5519 Inhibit read only while inserting objects.
5520
5521 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
5522
5523 * progmodes/cfengine.el: Update docs to mention
5524 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
5525 symbol motion. Remove "_" from the word syntax.
5526
5527 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
5528
5529 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5530 syntax for both `cfengine2-mode' and `cfengine3-mode'.
5531
5532 2013-03-20 Juri Linkov <juri@jurta.org>
5533
5534 * info.el (Info-next-reference-or-link)
5535 (Info-prev-reference-or-link): New functions.
5536 (Info-next-reference, Info-prev-reference): Use them.
5537 (Info-try-follow-nearest-node): Handle footnote navigation.
5538 (Info-fontify-node): Fontify footnotes. (Bug#13989)
5539
5540 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5543 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5544
5545 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
5546
5547 Suppress unnecessary non-ASCII chatter during build process.
5548 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5549 (batch-skkdic-convert): Suppress most of the chatter.
5550 It's not needed so much now that machines are faster,
5551 and its non-ASCII component was confusing; see Dmitry Gutov in
5552 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5553
5554 2013-03-20 Leo Liu <sdl.web@gmail.com>
5555
5556 * ido.el (ido-chop): Fix bug#10994.
5557
5558 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5559
5560 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5561 Remove vars.
5562 (whitespace-color-on, whitespace-color-off):
5563 Use `font-lock-fontify-buffer' (Bug#13817).
5564
5565 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5568 remapping in mode-line.
5569 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5570
5571 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5572
5573 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
5574 value for `whitespace-line' face (Bug#13875).
5575 (whitespace-font-lock-keywords): Change description.
5576 (whitespace-color-on): Don't save `font-lock-keywords' value, save
5577 the constructed keywords instead.
5578 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
5579
5580 2013-03-19 Leo Liu <sdl.web@gmail.com>
5581
5582 * progmodes/compile.el (compilation-display-error): New command.
5583 (compilation-mode-map, compilation-minor-mode-map): Bind it to
5584 C-o. (Bug#13992)
5585
5586 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5587
5588 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
5589
5590 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
5591
5592 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
5593
5594 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
5595
5596 * net/tramp-compat.el (tramp-compat-user-error): New defun.
5597
5598 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5599 * net/tramp-gvfs.el (top):
5600 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
5601 (tramp-handle-shell-command): Use it.
5602 (tramp-dissect-file-name): Raise an error when hostname is a
5603 method name, and neither method nor user is specified.
5604
5605 * net/trampver.el: Update release number.
5606
5607 2013-03-18 Leo Liu <sdl.web@gmail.com>
5608
5609 Make sure eldoc can be turned off properly.
5610 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
5611 eldoc-mode.
5612 (eldoc-display-message-p): Revert last change.
5613 (eldoc-display-message-no-interference-p)
5614 (eldoc-print-current-symbol-info): Tweak.
5615
5616 2013-03-18 Tassilo Horn <tsdh@gnu.org>
5617
5618 * doc-view.el (doc-view-new-window-function): Check the new window
5619 overlay's display property instead the char property of the
5620 buffer's first char. Use `with-selected-window' instead of
5621 `save-window-excursion' with `select-window'.
5622 (doc-view-document->bitmap): Check the current doc-view overlay's
5623 display property instead the char property of the buffer's first char.
5624
5625 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5626
5627 Automate the build of ja-dic.el (Bug#13984).
5628 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
5629 from the input, rather than assume that it's been done for us by the
5630 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
5631 the current date into a ja-dic.el comment, as that complicates
5632 regression testing.
5633
5634 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * whitespace.el: Fix double evaluation.
5637 (whitespace-space, whitespace-hspace, whitespace-tab)
5638 (whitespace-newline, whitespace-trailing, whitespace-line)
5639 (whitespace-space-before-tab, whitespace-indentation)
5640 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
5641 obsolete defvars.
5642 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
5643 (whitespace-color-on): Use a single font-lock-add-keywords call.
5644 Fix double-evaluation of face variables.
5645
5646 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
5647
5648 * net/tramp-adb.el (tramp-adb-parse-device-names):
5649 Use `start-process' instead of `call-process'. Otherwise, the
5650 function might be blocked under MS Windows. (Bug#13299)
5651
5652 2013-03-17 Leo Liu <sdl.web@gmail.com>
5653
5654 Extend eldoc to display info in the mode-line. (Bug#13978)
5655 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
5656 (eldoc-mode-line-string): New variable.
5657 (eldoc-minibuffer-message): New function.
5658 (eldoc-message-function): New variable.
5659 (eldoc-message): Use it.
5660 (eldoc-display-message-p)
5661 (eldoc-display-message-no-interference-p):
5662 Support eldoc-post-insert-mode.
5663
5664 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
5665 (eval-expression): Run it.
5666
5667 2013-03-17 Roland Winkler <winkler@gnu.org>
5668
5669 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
5670 strings in the list of return values.
5671
5672 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5673
5674 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
5675 radix before checking for HMS forms.
5676
5677 2013-03-16 Leo Liu <sdl.web@gmail.com>
5678
5679 * progmodes/scheme.el: Add indentation and font-locking for λ.
5680 (Bug#13975)
5681
5682 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
5685 token before point (bug#13942).
5686
5687 2013-03-16 Leo Liu <sdl.web@gmail.com>
5688
5689 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
5690
5691 2013-03-16 Eli Zaretskii <eliz@gnu.org>
5692
5693 * startup.el (command-line-normalize-file-name): Fix handling of
5694 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
5695 <xfq.free@gmail.com> in
5696 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
5697
5698 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
5699
5700 Sync with Tramp 2.2.7.
5701
5702 * net/trampver.el: Update release number.
5703
5704 2013-03-14 Tassilo Horn <tsdh@gnu.org>
5705
5706 * doc-view.el Fix bug#13887.
5707 (doc-view-insert-image): Don't modify overlay associated to
5708 non-live windows, and implement horizontal centering of image in
5709 case it's smaller than the window.
5710 (doc-view-new-window-function): Force redisplay of new windows on
5711 doc-view buffers.
5712
5713 2013-03-13 Karl Fogel <kfogel@red-bean.com>
5714
5715 * saveplace.el (save-place-alist-to-file): Don't sort
5716 `save-place-alist', just pretty-print it (bug#13882).
5717
5718 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
5719
5720 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5721 Check whether `default-file-name-coding-system' is bound.
5722 It isn't in XEmacs.
5723
5724 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
5727 backquotes for `obsolete' (bug#13929).
5728
5729 * international/mule.el (find-auto-coding): Include file name in
5730 obsolescence warning (bug#13922).
5731
5732 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
5733
5734 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
5735 for CFEngine 3-specific indentation.
5736 (cfengine3-indent-line): Use it. Fix up category regex.
5737 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
5738
5739 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * type-break.el (type-break-file-name):
5742 * textmodes/remember.el (remember-data-file):
5743 * strokes.el (strokes-file):
5744 * shadowfile.el (shadow-initialize):
5745 * saveplace.el (save-place-file):
5746 * ps-bdf.el (bdf-cache-file):
5747 * progmodes/idlwave.el (idlwave-config-directory):
5748 * net/quickurl.el (quickurl-url-file):
5749 * international/kkc.el (kkc-init-file-name):
5750 * ido.el (ido-save-directory-list-file):
5751 * emulation/viper.el (viper-custom-file-name):
5752 * emulation/vip.el (vip-startup-file):
5753 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5754 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
5755
5756 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
5757
5758 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
5759 * language/thai-word.el: Switch to UTF-8.
5760
5761 See ChangeLog.16 for earlier changes.
5762
5763 ;; Local Variables:
5764 ;; coding: utf-8
5765 ;; End:
5766
5767 Copyright (C) 2011-2013 Free Software Foundation, Inc.
5768
5769 This file is part of GNU Emacs.
5770
5771 GNU Emacs is free software: you can redistribute it and/or modify
5772 it under the terms of the GNU General Public License as published by
5773 the Free Software Foundation, either version 3 of the License, or
5774 (at your option) any later version.
5775
5776 GNU Emacs is distributed in the hope that it will be useful,
5777 but WITHOUT ANY WARRANTY; without even the implied warranty of
5778 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5779 GNU General Public License for more details.
5780
5781 You should have received a copy of the GNU General Public License
5782 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.