Add Todo mode user manual.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
671d5c16
SM
12013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (macrop): New function.
4 (text-clone--maintaining): New var.
5 (text-clone--maintain): Rename from text-clone-maintain. Use it
6 instead of inhibit-modification-hooks.
7
8 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9 a proxy, so as handle autoloads and redefinitions of the target.
10 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11
12 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
13 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
14 (pcase--mutually-exclusive-p): New function.
15 (pcase--split-consp): Use it.
16 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
17 mutually exclusive with the current predicate.
18
19 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20 (edebug-macrop): Remove. Use `macrop' instead.
21 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
22 (ad-macro-p):
23 * eshell/esh-cmd.el (eshell-macrop):
24 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
25
1d44e9dc
SM
262013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
29 (advice-mapc): New function, using it.
30 (advice-function-member-p): New function.
31 (advice--normalize): Store the cdr in advice--saved-rewrite since
32 that's the part that will be changed.
33 (advice--symbol-function): New function.
34 (advice-remove): Handle removal before the function is defined.
35 Adjust to new advice--saved-rewrite.
36 (advice-member-p): Use advice-function-member-p and
37 advice--symbol-function.
38
5414a283
JB
392013-08-04 Juanma Barranquero <lekktu@gmail.com>
40
51d30f2c
JB
41 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
42 (frameset-filter-minibuffer): Doc fix.
43 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
44 (frameset--set-id, frameset--process-minibuffer-frames)
45 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
46 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 47
5414a283
JB
48 * desktop.el (desktop-clear): Only delete frames when called
49 interactively and desktop-restore-frames is non-nil. Doc fix.
50 (desktop-read): Set desktop-saved-frameset to nil.
51
ab419665
XF
522013-08-04 Xue Fuqiao <xfq.free@gmail.com>
53
54 * vc/vc.el (vc-ignore): Rewrite.
55 (vc-default-ignore-completion-table):
56 (vc--read-lines):
57 (vc--add-line, vc--remove-regexp): New functions.
58
59 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
60 (vc-svn-ignore-completion-table): New function.
61
62 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
63 (vc-hg-ignore-completion-table):
64 (vc-hg-find-ignore-file): New functions.
65
66 * vc/vc-git.el (vc-git-ignore): Rewrite.
67 (vc-git-ignore-completion-table):
68 (vc-git-find-ignore-file): New functions.
69
70 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
71
72 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
73 (vc-bzr-ignore-completion-table):
74 (vc-bzr-find-ignore-file): New functions.
75
2613dea2
JB
762013-08-03 Juanma Barranquero <lekktu@gmail.com>
77
78 * frameset.el (frameset-prop): New function and setter.
79 (frameset-save): Do not modify frame list passed by the caller.
80
9c959872
SM
812013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
84
a104f656
SM
852013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
86
70122acf
SM
87 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
88 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
89
a104f656
SM
90 * custom.el (custom-initialize-default, custom-initialize-set)
91 (custom-initialize-reset, custom-initialize-changed): Affect the
92 toplevel-default-value (bug#6275, bug#14586).
93 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
94 for bug#6275.
95
f078d570
JB
962013-08-02 Juanma Barranquero <lekktu@gmail.com>
97
185e3b5a
JB
98 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
99 Add cl-def* expressions.
100
f078d570
JB
101 * frameset.el (frameset-filter-params): Fix order of arguments.
102
9421876d
JB
1032013-08-02 Juanma Barranquero <lekktu@gmail.com>
104
105 Move code related to saving frames to frameset.el.
106 * desktop.el: Require frameset.
107 (desktop-restore-frames): Doc fix.
108 (desktop-restore-reuses-frames): Rename from
109 desktop-restoring-reuses-frames.
110 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
111 (desktop-clear): Clear frames too.
112 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
113 (desktop--filter-tty*, desktop-save, desktop-read):
114 Use frameset functions.
115 (desktop-before-saving-frames-functions, desktop--filter-*-color)
116 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
117 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
118 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
119 (desktop--process-minibuffer-frames, desktop-save-frames)
120 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
121 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
122 (desktop--sort-states, desktop-restoring-frames-p)
123 (desktop-restore-frames): Remove. Most code moved to frameset.el.
124 (desktop-restoring-frameset-p, desktop-restore-frameset)
125 (desktop--check-dont-save, desktop-save-frameset): New functions.
126 (desktop--app-id): New constant.
127 (desktop-first-buffer, desktop-buffer-ok-count)
128 (desktop-buffer-fail-count): Move before first use.
129 * frameset.el: New file.
130
76dc5996
SM
1312013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * files.el: Use lexical-binding.
134 (dir-locals-read-from-file): Remove unused `err' variable.
135 (hack-dir-local-variables--warned-coding): New var.
136 (hack-dir-local-variables): Use it to avoid repeated warnings.
137 (make-backup-file-name--default-function): New function.
138 (make-backup-file-name-function): Use it as default.
139 (buffer-stale--default-function): New function.
140 (buffer-stale-function): Use it as default.
141 (revert-buffer-insert-file-contents--default-function): New function.
142 (revert-buffer-insert-file-contents-function): Use it as default.
143 (insert-directory): Avoid add-to-list.
144
145 * autorevert.el (auto-revert-handler): Simplify.
146 Use buffer-stale--default-function.
147
06d36e2b
TH
1482013-08-01 Tassilo Horn <tsdh@gnu.org>
149
5f648ab4
TH
150 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
151
06d36e2b
TH
152 * whitespace.el (whitespace-ensure-local-variables): New function.
153 (whitespace-cleanup-region): Call it.
154 (whitespace-turn-on): Call it.
155
a43dc424
MA
1562013-08-01 Michael Albinus <michael.albinus@gmx.de>
157
158 Complete file name handlers.
159
160 * net/tramp.el (tramp-handle-set-visited-file-modtime)
161 (tramp-handle-verify-visited-file-modtime)
162 (tramp-handle-file-notify-rm-watch): New functions.
163 (tramp-call-process): Do not bind `default-directory'.
164
44e18199
JB
165 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
166 Order alphabetically.
a43dc424
MA
167 [access-file, add-name-to-file, dired-call-process]:
168 [dired-compress-file, file-acl, file-notify-rm-watch]:
169 [file-ownership-preserved-p, file-selinux-context]:
170 [make-directory-internal, make-symbolic-link, set-file-acl]:
171 [set-file-selinux-context, set-visited-file-modtime]:
172 [verify-visited-file-modtime]: Add handler.
173 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
174
175 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
176 [file-notify-add-watch, file-notify-rm-watch]:
177 [set-file-times, set-visited-file-modtime]:
178 [verify-visited-file-modtime]: Add handler.
179 (with-tramp-gvfs-error-message)
180 (tramp-gvfs-handle-set-visited-file-modtime)
181 (tramp-gvfs-fuse-file-name): Remove.
182 (tramp-gvfs-handle-file-notify-add-watch)
183 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
184 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
185
44e18199
JB
186 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
187 Order alphabetically.
a43dc424
MA
188 [file-notify-rm-watch ]: Use default Tramp handler.
189 [executable-find]: Remove private handler.
190 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
191 `default-directory'.
192 (tramp-sh-handle-executable-find)
193 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
194 (tramp-sh-file-gvfs-monitor-dir-process-filter)
195 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
196 Do not use `format' in `tramp-message'.
197
198 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
199 [file-notify-rm-watch, set-visited-file-modtime]:
200 [verify-visited-file-modtime]: Add handler.
201 (tramp-smb-call-winexe): Do not bind `default-directory'.
202
7188b515
XF
2032013-08-01 Xue Fuqiao <xfq.free@gmail.com>
204
205 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
206
2412ee1a
DG
2072013-07-31 Dmitry Gutov <dgutov@yandex.ru>
208
209 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
210 use it.
211 (log-view-diff-changeset): Same.
212 (log-view-diff-common): Call backend command `previous-revision'
213 to find out the previous revision, in both cases. Swap the
214 variables `to' and `fr', so that `fr' usually refers to the
215 earlier revision (Bug#14989).
216
5002a754
KRC
2172013-07-31 Kan-Ru Chen <kanru@kanru.info>
218
219 * ibuf-ext.el (ibuffer-filter-by-filename):
220 Make it work with dired buffers too.
221
44e18199 2222013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
223
224 * emacs-lisp/re-builder.el (reb-color-display-p):
225 * files.el (save-buffers-kill-terminal):
226 * net/browse-url.el (browse-url):
227 * server.el (server-save-buffers-kill-terminal):
228 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
229 Prefer nil to selected-frame for the first arg of frame-parameter.
230
aeca3fbb
XF
2312013-07-31 Xue Fuqiao <xfq.free@gmail.com>
232
233 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
234
158bc55c
SB
2352013-07-30 Stephen Berman <stephen.berman@gmx.net>
236
237 * minibuffer.el (completion--twq-all): Try and preserve each
238 completion's case choice (bug#14907).
239
d50fceab
LMI
2402013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
241
ac38e731
LMI
242 * net/network-stream.el (open-network-stream): Mention the new
243 :nogreeting parameter.
244 (network-stream-open-starttls): Use the :nogreeting parameter
245 (bug#14938).
246
1211de50
LMI
247 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
248
997798bf
LMI
249 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
250 more natural than popping.
251
d50fceab 252 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 253 (shr-urlify): Highlight under mouse.
d50fceab 254
5c09de04
XF
2552013-07-30 Xue Fuqiao <xfq.free@gmail.com>
256
207d1d04
XF
257 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
258
259 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
260
5c09de04
XF
261 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
262 buffer for output.
263
3cd51eaa
XF
264 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
265 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 266
44e18199 267 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 268 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
269
270 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
271
272 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
273 buffer for output.
274
35a89bdd
EZ
2752013-07-29 Eli Zaretskii <eliz@gnu.org>
276
277 * frame.el (frame-notice-user-settings): Avoid inflooping when the
278 initial frame is minibuffer-less. (Bug#14841)
279
78822e94
MA
2802013-07-29 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
283 option.
284
285 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
286 (tramp-maybe-open-connection): Use it.
287
9503c190
JB
2882013-07-28 Juanma Barranquero <lekktu@gmail.com>
289
290 * desktop.el (desktop--make-frame): Include `minibuffer' in the
291 minimal set of parameters passed when creating a frame, because
292 the minibuffer status of a frame cannot be changed later.
293
d5a845b4
SB
2942013-07-28 Stephen Berman <stephen.berman@gmx.net>
295
296 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
297 replace-regexp-in-string and inadvertent omissions in previous change.
298 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 299 name of filtered items buffer.
d5a845b4 300
ddeffb17
JB
3012013-07-28 Juanma Barranquero <lekktu@gmail.com>
302
303 * desktop.el: Optionally force offscreen frames back onscreen.
304 (desktop-restoring-reuses-frames): New option.
305 (desktop--compute-pos, desktop--move-onscreen): New functions.
306 (desktop--make-frame): Use desktop--move-onscreen.
307
f5950f7a
AM
3082013-07-27 Alan Mackenzie <acm@muc.de>
309
310 Fontify a Java generic method as a function.
311 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
312 value to t.
313
ae43b66a
SB
3142013-07-27 Stephen Berman <stephen.berman@gmx.net>
315
316 * calendar/todo-mode.el: Add command to rename todo files.
317 (todo-rename-file): New command.
318 (todo-key-bindings-t): Add key binding for it. Change the
319 bindings of todo-filter-regexp-items(-multifile) to use `x'
320 instead of `r', since the latter is better suited to the new
321 renaming command.
322
5ab78d3d
AM
3232013-07-27 Alan Mackenzie <acm@muc.de>
324
325 Make Java try-with-resources statement parse properly.
326 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
327 (c-block-stmt-1-2-key): New language constants/variables.
328 * progmodes/cc-engine.el (c-beginning-of-statement-1)
329 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
330 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 331 with c-block-stmt-1-2-key.
5ab78d3d 332
d85c4d50
JB
3332013-07-27 Juanma Barranquero <lekktu@gmail.com>
334
335 * desktop.el (desktop--make-frame): Apply most frame parameters after
336 creating the frame to force (partially or totally) offscreen frames to
337 be restored as such.
338
e4c467f9
XF
3392013-07-26 Xue Fuqiao <xfq.free@gmail.com>
340
341 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 342 (Bug#14948)
e4c467f9 343
7ced0d04
SM
3442013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
347 `base' arg of backtrace-frame.
348
fec92060
EZ
3492013-07-26 Eli Zaretskii <eliz@gnu.org>
350
351 * simple.el (list-processes): Doc fix.
352
d58d31fb
JB
3532013-07-26 Juanma Barranquero <lekktu@gmail.com>
354
355 * desktop.el (desktop--select-frame):
d85c4d50 356 Try harder to reuse existing frames.
d58d31fb 357
53ff3e77
SM
3582013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
361 (edebug-eval): Use backtrace-eval.
362 (edebug--display, edebug--recursive-edit): Don't let-bind the
363 edebug-outer-* vars that keep track of variables we locally let-bind.
364 (edebug-outside-excursion): Don't restore outside values of locally
365 let-bound vars.
366 (edebug--display): Use user-error.
367 (cl-lexical-debug, cl-debug-env): Remove.
368
045f7a53
JB
3692013-07-26 Juanma Barranquero <lekktu@gmail.com>
370
371 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
372 are restored to be sure that they are visible before deleting any
373 remaining ones.
374
59070b32
MM
3752013-07-26 Matthias Meulien <orontee@gmail.com>
376
742a3501
XF
377 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
378 vc-print-root-log. (Bug#14948)
59070b32 379
b1fb3596
RS
3802013-07-26 Richard Stallman <rms@gnu.org>
381
382 Add aliases for encrypting mail.
383 * epa.el (epa-mail-aliases): New option.
384 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
385 Bind inhibit-read-only so read-only text doesn't ruin everything.
386 (epa-mail-default-recipients): New subroutine broken out.
387 Handle epa-mail-aliases.
388
56ea7291
SM
3892013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 Add support for lexical variables to the debugger's `e' command.
392 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
393 vars, except for debugger-outer-match-data.
394 (debugger-frame-number): Move check for "on a function call" from
395 callers into it. Add `skip-base' argument.
396 (debugger-frame, debugger-frame-clear): Simplify accordingly.
397 (debugger-env-macro): Only reset the state stored in non-variables,
398 i.e. current-buffer and match-data.
399 (debugger-eval-expression): Rewrite using backtrace-eval.
400 * subr.el (internal--called-interactively-p--get-frame): Remove.
401 (called-interactively-p):
402 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
403 `base' arg of backtrace-frame instead.
404
15ac32d5
GM
4052013-07-26 Glenn Morris <rgm@gnu.org>
406
8358a09d
GM
407 * align.el (align-regexp): Doc fix. (Bug#14857)
408 (align-region): Explicit error if subexpression missing/does not match.
409
15ac32d5
GM
410 * simple.el (global-visual-line-mode):
411 Do not duplicate the mode lighter. (Bug#14858)
412
f47ad11b
MR
4132013-07-25 Martin Rudalics <rudalics@gmx.at>
414
415 * window.el (display-buffer): In display-buffer bind
416 split-window-keep-point to t, bug#14829.
417
02530987
JB
4182013-07-25 Juanma Barranquero <lekktu@gmail.com>
419
420 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
421 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
422 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
423 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
424 Change accordingly.
f63ebeb5
JB
425 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
426 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 427
6ccb9cab 4282013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 429
6ccb9cab 430 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 431
cb3a56d2
JB
4322013-07-25 Juanma Barranquero <lekktu@gmail.com>
433
434 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
435 parameter to modify-frame-parameters if the value has not changed;
436 this is a workaround for bug#14949.
437 (desktop--make-frame): On cl-delete-if call, check parameter name,
438 not full parameter.
439
7aa7fff0
XF
4402013-07-30 Xue Fuqiao <xfq.free@gmail.com>
441
442 * vc/vc.el (vc-ignore): New function.
443
444 * vc/vc-svn.el (vc-svn-ignore): New function.
445
446 * vc/vc-hg.el (vc-hg-ignore): New function.
447
448 * vc/vc-git.el (vc-git-ignore): New function.
449
450 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
451 (vc-dir-ignore): New function.
452
453 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 454 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
455
456 * vc/vc-bzr.el (vc-bzr-ignore): New function.
457
458 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
459
889acc5c
JB
4602013-07-24 Juanma Barranquero <lekktu@gmail.com>
461
462 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
463 (desktop-restore-frames): Warn when deleting an existing frame failed.
464
86c40970
GM
4652013-07-24 Glenn Morris <rgm@gnu.org>
466
467 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
468
d5d3c58a
MA
4692013-07-24 Michael Albinus <michael.albinus@gmx.de>
470
471 * filenotify.el (file-notify-supported-p):
472 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
473 Remove functions.
474
475 * autorevert.el (auto-revert-use-notify):
476 (auto-revert-notify-add-watch):
477 * net/tramp.el (tramp-file-name-for-operation):
478 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
479 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
480 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
481 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
482 Remove `file-notify-supported-p' entry.
483
d100084b
GM
4842013-07-24 Glenn Morris <rgm@gnu.org>
485
486 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 487 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 488
ac93e56b
SM
4892013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
490
249eea30
SM
491 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
492 checked with memq (bug#14935).
493
ac93e56b
SM
494 * files.el (revert-buffer-function): Use a non-nil default.
495 (revert-buffer-preserve-modes): Declare var to
496 provide access to the `preserve-modes' argument.
497 (revert-buffer): Let-bind it.
498 (revert-buffer--default): New function, extracted from revert-buffer.
499
2cdeb903
SM
5002013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * lpr.el: Signal print errors more prominently.
503 (print-region-function): Don't default to nil.
504 (lpr-print-region): New function, extracted from print-region-1.
505 Check lpr's return value and signal an error in case of problem.
506 (print-region-1): Use it.
507 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
508 versions instead.
509 (ps-printer-name): Default to nil.
510 (ps-printer-name-option): Default to lpr-printer-switch.
511 (ps-print-region-function): Don't default to nil.
512 (ps-postscript-code-directory): Simplify default.
513 (ps-do-despool): Use lpr-print-region to properly check the outcome.
514 (ps-string-list, ps-eval-switch, ps-flatten-list)
515 (ps-flatten-list-1): Remove.
516 (ps-multibyte-buffer): Avoid setq.
517 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
518 (print-region-function, ps-print-region-function): Don't set them here.
519
73600831
XF
5202013-07-24 Xue Fuqiao <xfq.free@gmail.com>
521
0e55c076
XF
522 * ido.el (ido-fractionp):
523 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
524 (ido-max-file-prompt-width, ido-unc-hosts-cache)
525 (ido-max-directory-size, ido-max-dir-file-cache)
526 (ido-decorations): Doc fix.
527
73600831
XF
528 * ansi-color.el: Fix old URL.
529
3d012865
MM
5302013-07-23 Michael R. Mauger <michael@mauger.com>
531
532 * progmodes/sql.el Version 3.3
533 (sql-product-alist): Improve oracle :prompt-cont-regexp.
534 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
535 (sql-interactive-remove-continuation-prompt): Rewrite, use
536 functions above. Fix continuation prompt and complete output line
537 handling.
538 (sql-redirect-one, sql-execute): Use `read-only-mode' on
539 redirected output buffer.
540 (sql-mode): Restore deleted code (Bug#13591).
541
da77a2e2
JB
5422013-07-23 Juanma Barranquero <lekktu@gmail.com>
543
544 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
545
80ff0c71
MA
5462013-07-23 Michael Albinus <michael.albinus@gmx.de>
547
548 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
549
550 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
551 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
552 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
553
b61d71e4
JB
5542013-07-23 Juanma Barranquero <lekktu@gmail.com>
555
556 * desktop.el (desktop-clear): Simplify; remove useless checks
557 against invalid buffer names.
558 (desktop-list*): Use cl-list*.
559 (desktop-buffer-info, desktop-create-buffer): Simplify.
560
c3512092
LL
5612013-07-23 Leo Liu <sdl.web@gmail.com>
562
563 * bookmark.el (bookmark-make-record): Restore NAME as a default
564 value. (Bug#14933)
565
0ac26976
SM
5662013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
567
7d22ce18
SM
568 * emacs-lisp/autoload.el (autoload--setup-output): New function,
569 extracted from autoload--insert-text.
570 (autoload--insert-text): Remove.
571 (autoload--print-cookie-text): New function, extracted from
572 autoload--insert-cookie-text.
573 (autoload--insert-cookie-text): Remove.
574 (autoload-generate-file-autoloads): Adjust calls accordingly.
575
9b2607e8
SM
576 * winner.el (winner-hook-installed-p): Remove.
577 (winner-mode): Simplify accordingly.
578
c43a8618
SM
579 * subr.el (add-to-list): Fix compiler-macro when `append' is
580 not constant. Don't use `cl-member' for the base case.
581
0ac26976
SM
582 * progmodes/subword.el: Fix boundary case (bug#13758).
583 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
584 own group.
585 (subword-backward-regexp): Make it a constant.
586 (subword-forward-internal): Don't treat a trailing capital as the
587 beginning of a word.
588
6874724a
AR
5892013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
590
591 * emacs-lisp/package.el (package-menu-mode): Don't modify the
592 global value of tabulated-list-revert-hook (bug#14930).
593
70f1b5e8
JB
5942013-07-22 Juanma Barranquero <lekktu@gmail.com>
595
a1c80d9d
JB
596 * desktop.el: Require 'cl-lib.
597 (desktop-before-saving-frames-functions): New hook.
598 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
599 for frames being saved. Rename from desktop--save-minibuffer-frames.
600 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
601 Do not save frames with non-nil `desktop-dont-save' parameter.
602 Filter out deleted frames.
a1c80d9d
JB
603 (desktop--find-frame): Use cl-find-if.
604 (desktop--select-frame): Use cl-(first|second|third) to access values
605 of desktop-mini.
606 (desktop--make-frame): Use cl-delete-if.
607 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
608 (desktop-restore-frames): Use cl-(first|second|third) to access values
609 of desktop-mini. Look for visible frame at the end, not while
610 restoring frames.
611
70f1b5e8
JB
612 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
613 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
614 Use string-match-p, looking-at-p (bug#14927).
615
728dc3cc
JB
6162013-07-21 Juanma Barranquero <lekktu@gmail.com>
617
56bc453c
JB
618 * desktop.el (desktop-saved-frame-states):
619 Rename from desktop--saved-states; all users changed.
620 (desktop-save-frames): Rename from desktop--save-frames.
621 Do not save state to desktop file.
622 (desktop-save): Save desktop-saved-frame-states to desktop file
623 and reset to nil.
624 (desktop-restoring-frames-p): New function.
625 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
626 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
627 buffer-lists when restoring frames. Suggested by Martin Rudalics.
628
728dc3cc
JB
629 * desktop.el: Correctly restore iconified frames.
630 (desktop--filter-iconified-position): New function.
631 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
632
862f1c9c
GM
6332013-07-20 Glenn Morris <rgm@gnu.org>
634
c4074c9f
GM
635 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
636 Let `message' do the formatting.
637 (def-gdb-preempt-display-buffer): Add explicit format.
638
d828e5f9
GM
639 * image-dired.el (image-dired-track-original-file):
640 Use with-current-buffer.
641 (image-dired-track-thumbnail): Use with-current-buffer.
642 Avoid changing point of wrong window.
643
862f1c9c
GM
644 * image-dired.el (image-dired-track-original-file):
645 Avoid changing point of wrong window. (Bug#14909)
646
f0398ec1 6472013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
648
649 * progmodes/gdb-mi.el (gdb-done-or-error):
650 Guard against "%" in gdb output. (Bug#14127)
651
1451928f
AS
6522013-07-20 Andreas Schwab <schwab@linux-m68k.org>
653
763a086d
JB
654 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
655 (Bug#14826)
f7a03897 656
1451928f
AS
657 * international/mule.el (coding-system-iso-2022-flags): Fix last
658 change.
659
99107004
KH
6602013-07-20 Kenichi Handa <handa@gnu.org>
661
763a086d
JB
662 * international/mule.el (coding-system-iso-2022-flags):
663 Add `8-bit-level-4'. (Bug#8522)
99107004 664
48494e06
LMI
6652013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
666
8ba8eec5
LMI
667 * net/shr.el (shr-mouse-browse-url): New command and keystroke
668 (bug#14815).
669
dfbc66e3
LMI
670 * net/eww.el (eww-process-text-input): Allow inputting when the
671 point is at the start of the line, as the properties aren't
672 front-sticky.
673
48494e06
LMI
674 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
675 degenerate widths.
676
77c92cb9
RS
6772013-07-19 Richard Stallman <rms@gnu.org>
678
aec7da77
RS
679 * epa.el (epa-popup-info-window): Doc fix.
680
77c92cb9
RS
681 * subr.el (split-string): New arg TRIM.
682
945c5bb1
JB
6832013-07-18 Juanma Barranquero <lekktu@gmail.com>
684
685 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
686 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
687
e06ec67f
MA
6882013-07-18 Michael Albinus <michael.albinus@gmx.de>
689
c7064f05 690 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
691 `file-notify-support'. Do not autoload. Adapt all uses.
692 (file-notify-supported-p): New defun.
693
c7064f05
JB
694 * autorevert.el (auto-revert-use-notify):
695 Use `file-notify-supported-p' instead of `file-notify-support'.
696 Adapt docstring.
e06ec67f
MA
697 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
698
699 * net/tramp.el (tramp-file-name-for-operation):
700 Add `file-notify-supported-p'.
701
702 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
703 New defun.
704 (tramp-sh-file-name-handler-alist): Add it as handler for
705 `file-notify-supported-p '.
706
707 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
708 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
709 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
710 Add `ignore' as handler for `file-notify-*' functions.
711
5dc8a629
EZ
7122013-07-17 Eli Zaretskii <eliz@gnu.org>
713
714 * simple.el (line-move-partial, line-move): Don't start vscroll or
715 scroll-up if the current line is not taller than the window.
716 (Bug#14881)
717
77aea2fb
DG
7182013-07-16 Dmitry Gutov <dgutov@yandex.ru>
719
720 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
721 highlight question marks in the method names as strings.
ac72c08d
DG
722 (ruby-block-beg-keywords): Inline.
723 (ruby-font-lock-keyword-beg-re): Extract from
724 `ruby-font-lock-keywords'.
77aea2fb 725
18c26d81
JD
7262013-07-16 Jan Djärv <jan.h.d@swipnet.se>
727
728 * frame.el (blink-cursor-blinks): New defcustom.
729 (blink-cursor-blinks-done): New defvar.
730 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
731 (blink-cursor-timer-function): Check if number of blinks has been
732 done on X and NS.
733 (blink-cursor-suspend, blink-cursor-check): New defuns.
734
da48522e
GM
7352013-07-15 Glenn Morris <rgm@gnu.org>
736
737 * edmacro.el (edmacro-format-keys): Fix previous change.
738
0463c1ef
PE
7392013-07-15 Paul Eggert <eggert@cs.ucla.edu>
740
741 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
742 The hack didn't work outside English locales anyway.
743
b43f6451
JB
7442013-07-15 Juanma Barranquero <lekktu@gmail.com>
745
746 * simple.el (define-alternatives): Rename from alternatives-define,
747 per RMS' suggestion.
748
b958c0ad
JB
7492013-07-14 Juanma Barranquero <lekktu@gmail.com>
750
751 * desktop.el (desktop-restore-frames): Change default to t.
752 (desktop-restore-in-current-display): Now offer more options.
753 (desktop-restoring-reuses-frames): New customization option.
754 (desktop--saved-states): Doc fix.
755 (desktop-filter-parameters-alist): New variable, renamed and expanded
756 from desktop--excluded-frame-parameters.
757 (desktop--target-display): New variable.
758 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
759 (desktop--filter-tty*, desktop--filter-*-color)
760 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
761 (desktop--filter-save-desktop-parm)
762 (desktop-restore-in-original-display-p): New functions.
763 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
764 (desktop--save-minibuffer-frames): New function, inspired by a similar
765 function from Martin Rudalics.
766 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
767 (desktop--restore-in-this-display-p): Remove.
768 (desktop--find-frame): Rename from desktop--find-frame-in-display
769 and add predicate argument.
770 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
771 (desktop--reuse-list): New variable.
772 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
773 New functions.
774 (desktop--restore-frames): Add support for "minibuffer-special" frames.
775
f6dd8b36
MA
7762013-07-14 Michael Albinus <michael.albinus@gmx.de>
777
778 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
779
2ce3c565
DG
7802013-07-13 Dmitry Gutov <dgutov@yandex.ru>
781
763a086d
JB
782 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
783 Highlight conversion methods on Kernel.
2ce3c565 784
2cdb7698
AM
7852013-07-13 Alan Mackenzie <acm@muc.de>
786
787 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
788 and comment it out. This out-commenting enables certain C++
789 declarations to be parsed correctly.
790
1a67b811
EZ
7912013-07-13 Eli Zaretskii <eliz@gnu.org>
792
1b796d6b
EZ
793 * international/mule.el (define-coding-system): Doc fix.
794
1a67b811
EZ
795 * simple.el (default-font-height): Don't call font-info if the
796 frame's default font didn't change since the frame was created.
797 (Bug#14838)
798
58fbe886
LL
7992013-07-13 Leo Liu <sdl.web@gmail.com>
800
801 * ido.el (ido-read-file-name): Guard against non-symbol value.
802
1f0480d4
FEG
8032013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
804
805 * progmodes/python.el (python-imenu--build-tree): Fix corner case
806 in nested defuns.
807
97ead0e5
LL
8082013-07-13 Leo Liu <sdl.web@gmail.com>
809
810 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
811 ido-set-matches call. (Bug#6852)
812
0880a952
DG
8132013-07-12 Dmitry Gutov <dgutov@yandex.ru>
814
815 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
816 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
817 Ruby 2.0.
818 (ruby-font-lock-keywords): Distinguish calls to functions with
819 module-like names from module references. Highlight character
820 literals.
821
a7d8babb
SDJ
8222013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
823
824 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 825 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 826
acfcc8c5
JB
8272013-07-12 Juanma Barranquero <lekktu@gmail.com>
828
829 * desktop.el (desktop--v2s): Remove unused local variable.
830 (desktop-save-buffer): Make defvar-local; adjust docstring.
831 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
832 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
833
051f2775
AS
8342013-07-12 Andreas Schwab <schwab@linux-m68k.org>
835
836 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
837
f24e7572
GM
8382013-07-12 Eli Zaretskii <eliz@gnu.org>
839
840 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
841 (Bug#14842)
842
539a920c
GM
8432013-07-12 Glenn Morris <rgm@gnu.org>
844
845 * doc-view.el: Require cl-lib at runtime too.
846 (doc-view-remove-if): Remove.
847 (doc-view-search-next-match, doc-view-search-previous-match):
848 Use cl-remove-if.
849
850 * edmacro.el: Require cl-lib at runtime too.
851 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
852 (edmacro-mismatch, edmacro-subseq): Remove.
853
854 * shadowfile.el: Require cl-lib.
855 (shadow-remove-if): Remove.
856 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
857 Use cl-remove-if.
858
859 * wid-edit.el: Require cl-lib.
860 (widget-choose): Use cl-remove-if.
861 (widget-remove-if): Remove.
862
863 * progmodes/ebrowse.el: Require cl-lib at runtime too.
864 (ebrowse-delete-if-not): Remove.
865 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
866 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
867 Use cl-delete-if-not.
868
1048af7c
JB
8692013-07-12 Juanma Barranquero <lekktu@gmail.com>
870
871 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
872 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
873
6c0674ee
LL
8742013-07-12 Leo Liu <sdl.web@gmail.com>
875
876 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
877
a19b3c2d
GM
8782013-07-11 Glenn Morris <rgm@gnu.org>
879
4582a01c
GM
880 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
881 (edebug-gensym-index, edebug-gensym):
882 Remove reimplementation of cl-gensym.
883 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
884
885 * thumbs.el: Require cl-lib at run-time too.
886 (thumbs-gensym-counter, thumbs-gensym):
887 Remove reimplementation of cl-gensym.
888 (thumbs-temp-file): Use cl-gensym.
889
a19b3c2d
GM
890 * emacs-lisp/ert.el: Require cl-lib at runtime too.
891 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
892 (ert--intersection, ert--set-difference, ert--set-difference-eq)
893 (ert--union, ert--gensym-counter, ert--gensym-counter)
894 (ert--coerce-to-vector, ert--remove*, ert--string-position)
895 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
896 (ert-make-test-unbound, ert--expand-should-1)
897 (ert--expand-should, ert--should-error-handle-error)
898 (should-error, ert--explain-equal-rec)
899 (ert--plist-difference-explanation, ert-select-tests)
900 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
901 Use cl-lib functions rather than reimplementations.
902
88f6a933
MA
9032013-07-11 Michael Albinus <michael.albinus@gmx.de>
904
905 * net/tramp.el (tramp-methods): Extend docstring.
906 (tramp-connection-timeout): New defcustom.
907 (tramp-error-with-buffer): Reset timestamp only when appropriate.
908 (with-tramp-progress-reporter): Simplify.
909 (tramp-process-actions): Improve messages.
910
911 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
912 * net/tramp-sh.el (tramp-maybe-open-connection):
913 Use `tramp-connection-timeout'.
914 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
915 (Bug#14808)
916
a43d577e
LL
9172013-07-11 Leo Liu <sdl.web@gmail.com>
918
919 * ido.el (ido-read-file-name): Conform to the requirements of
920 read-file-name. (Bug#11861)
921 (ido-read-directory-name): Conform to the requirements of
922 read-directory-name.
923
d77974bf
JB
9242013-07-11 Juanma Barranquero <lekktu@gmail.com>
925
926 * subr.el (delay-warning): New function.
927
35cb8a3e
EZ
9282013-07-10 Eli Zaretskii <eliz@gnu.org>
929
930 * simple.el (default-line-height): New function.
931 (line-move-partial, line-move): Use it instead of computing the
932 line height inline.
933 (line-move-partial): Always compute ROWH. If the last line is
934 partially-visible, but its text is completely visible, allow
935 cursor to enter such a partially-visible line.
936
525c5c77
MA
9372013-07-10 Michael Albinus <michael.albinus@gmx.de>
938
939 Improve error messages. (Bug#14808)
940
941 * net/tramp.el (tramp-current-connection): New defvar, moved from
942 tramp-sh.el.
0ac26976 943 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 944 needed anymore.
0ac26976
SM
945 (tramp-error-with-buffer): Show message in minibuffer.
946 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
947 (with-tramp-progress-reporter): Improve messages.
948 (tramp-process-actions): Use progress reporter. Delete process in
949 case of error. Improve messages.
950
763a086d
JB
951 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
952 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 953 (tramp-current-connection): Remove.
525c5c77
MA
954 (tramp-maybe-open-connection): The car of
955 `tramp-current-connection' are the first 3 slots of the vector.
956
c7a4d368
TZ
9572013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
958
959 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
960 inside continued strings.
961
954b166e
PE
9622013-07-10 Paul Eggert <eggert@cs.ucla.edu>
963
964 Timestamp fixes for undo (Bug#14824).
965 * files.el (clear-visited-file-modtime): Move here from fileio.c.
966
56973319
LL
9672013-07-10 Leo Liu <sdl.web@gmail.com>
968
969 * files.el (require-final-newline): Allow safe local value.
970 (Bug#14834)
971
5550a72c
LL
9722013-07-09 Leo Liu <sdl.web@gmail.com>
973
974 * ido.el (ido-read-directory-name): Handle fallback.
975 (ido-read-file-name): Update DIR to ido-current-directory.
976 (Bug#1516)
c28b9050 977 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 978
70c46b28
DG
9792013-07-09 Dmitry Gutov <dgutov@yandex.ru>
980
981 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
982 "autoload". Remove "warn lower camel case" section, previously
983 commented out. Highlight negation char. Do not highlight the
984 target in singleton method definitions.
985
0b64b838
SM
9862013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
987
7fd72e2c
SM
988 * faces.el (tty-setup-hook): Declare the hook.
989
0b64b838
SM
990 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
991 and detect when a guard/pred depends on local vars (bug#14773).
992 (pcase--u1): Adjust caller.
993
ab49d60b
EZ
9942013-07-08 Eli Zaretskii <eliz@gnu.org>
995
996 * simple.el (line-move-partial, line-move): Account for
997 line-spacing.
701d79aa
EZ
998 (line-move-partial): Avoid setting vscroll when the last
999 partially-visible line in window is of default height.
ab49d60b 1000
2d756ae0
LMI
10012013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1002
1003 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1004 been used a while.
1005
ed095bd7
JB
10062013-07-07 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * subr.el (read-quoted-char): Remove unused local variable `char'.
1009
f1e6674b
MK
10102013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1011
584ee3fc
GM
1012 * ediff.el (ediff-version): Version update.
1013 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1014 (ediff-merge-with-ancestor-command, ediff-directories-command)
1015 (ediff-directories3-command, ediff-merge-directories-command)
1016 (ediff-merge-directories-with-ancestor-command): New functions.
1017 All are command-line interfaces to ediff: to facilitate calling
1018 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
1019
1020 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1021 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 1022
584ee3fc
GM
1023 * viper.el (viper-version): Version update.
1024 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 1025
584ee3fc
GM
10262013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1029 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1030 (viper-intercept-ESC-key): Simplify.
1031 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1032 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1033 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1034 (viper-setup-ESC-to-escape): New functions.
1035 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1036 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 1037
9aff9b38
EZ
10382013-07-07 Eli Zaretskii <eliz@gnu.org>
1039
5165d44a
JB
1040 * simple.el (default-font-height, window-screen-lines):
1041 New functions.
9aff9b38
EZ
1042 (line-move, line-move-partial): Use them instead of
1043 frame-char-height and window-text-height. This makes scrolling
1044 text smoother when the buffer's default face uses a font that is
1045 different from the frame's default font.
1046
1afb1d07
JD
10472013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1048
1049 * files.el (write-file): Do not display confirm dialog for NS,
1050 it does its own dialog, which can't be cancelled (Bug#14578).
1051
23de972a
EZ
10522013-07-06 Eli Zaretskii <eliz@gnu.org>
1053
1054 * simple.el (line-move-partial): Adjust the row returned by
1055 posn-at-point for the current window-vscroll. (Bug#14567)
1056
54a42486
MA
10572013-07-06 Michael Albinus <michael.albinus@gmx.de>
1058
1059 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1060 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1061 spaces.
1062
34ada5f4
MR
10632013-07-06 Martin Rudalics <rudalics@gmx.at>
1064
1065 * window.el (window-state-put-stale-windows): New variable.
1066 (window--state-put-2): Save list of windows without matching buffer.
1067 (window-state-put): Remove "bufferless" windows if possible.
1068
11e03d89
JB
10692013-07-06 Juanma Barranquero <lekktu@gmail.com>
1070
1071 * simple.el (alternatives-define): Remove leftover :group keyword.
1072 Tweak docstring.
1073
3504a4be
LL
10742013-07-06 Leo Liu <sdl.web@gmail.com>
1075
1076 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1077 (ido-enable-virtual-buffers): New variable.
1078 (ido-buffer-internal, ido-toggle-virtual-buffers)
1079 (ido-make-buffer-list): Use it.
1080 (ido-exhibit): Support turning on and off virtual buffers
1081 automatically.
1082
61e56e2c
JB
10832013-07-06 Juanma Barranquero <lekktu@gmail.com>
1084
1085 * simple.el (alternatives-define): New macro.
1086
321e1a9c
SM
10872013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * subr.el (read-quoted-char): Use read-key.
1090 (sit-for): Let read-event decode tty input (bug#14782).
1091
d610f6dd
SB
10922013-07-05 Stephen Berman <stephen.berman@gmx.net>
1093
1094 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
1095 mode command and externally. Fix various related bugs.
1096 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
1097 (todo-delete-file): New command.
1098 (todo-check-file): New function.
1099 (todo-show): Handle external deletion of the file we're trying to
1100 show (bug#14688). Replace called-interactively-p by an optional
1101 prefix argument to avoid problematic interaction with catch form
1102 when byte compiled (bug#14702).
1103 (todo-quit): Handle external deletion of the archive's todo file.
1104 Make sure the buffer that was visiting the archive file is still
1105 live before trying to bury it.
1106 (todo-category-completions): Handle external deletion of any
1107 category completion files.
1108 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1109 of todo files, in case of external deletion.
1110 (todo-add-file): Replace unnecessary setq by let-binding.
1111 (todo-find-archive): Check whether there are any archives.
1112 Replace unnecessary setq by let-binding.
1113 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
1114 archive buffer whether or not the archive already exists.
1115 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
1116 check if the archive is new; if it is, update list of archives.
1117 (todo-default-todo-file): Allow nil to be a valid value for when
1118 there are no todo files.
1119 (todo-reevaluate-default-file-defcustom): Use corrected definition
1120 of todo-default-todo-file.
1121 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1122 (todo-delete-category, todo-show-categories-table)
1123 (todo-category-number): Clarify comment.
1124 (todo-filter-items): Clarify documentation string.
1125 (todo-show-current-file, todo-display-as-todo-file)
1126 (todo-reset-and-enable-done-separator): Tweak documentation string.
1127 (todo-done-separator): Make separator length window-width, since
1128 bug#2749 is now fixed.
1129
ddbdfd6f
MA
11302013-07-05 Michael Albinus <michael.albinus@gmx.de>
1131
321e1a9c
SM
1132 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1133 Support both "gvfs-monitor-dir" and "inotifywait".
1134 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
1135 `tramp-sh-file-notify-process-filter'.
1136 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1137 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1138
96eb829a
LL
11392013-07-05 Leo Liu <sdl.web@gmail.com>
1140
1141 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1142
cf13177e
YM
11432013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1144
1145 * frame.el (display-pixel-height, display-pixel-width)
1146 (display-mm-height, display-mm-width): Mention behavior on
1147 multi-monitor setups in docstrings.
1148 (w32-display-monitor-attributes-list): Declare function.
1149 (display-monitor-attributes-list): Use it.
1150
864c58ca
MA
11512013-07-04 Michael Albinus <michael.albinus@gmx.de>
1152
1153 * filenotify.el: New package.
1154
1155 * autorevert.el (top): Require filenotify.el.
1156 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1157 instead.
1158 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1159 (auto-revert-notify-handler): Use `file-notify-*' functions.
1160
1161 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1162
321e1a9c
SM
1163 * net/tramp.el (tramp-file-name-for-operation):
1164 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
1165
1166 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1167 for `file-notify-add-watch' and `file-notify-rm-watch'.
1168 (tramp-process-sentinel): Improve trace.
1169 (tramp-sh-handle-file-notify-add-watch)
1170 (tramp-sh-file-notify-process-filter)
1171 (tramp-sh-handle-file-notify-rm-watch)
1172 (tramp-get-remote-inotifywait): New defuns.
1173
96673afe
JL
11742013-07-03 Juri Linkov <juri@jurta.org>
1175
1176 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1177 call of `occur-read-primary-args' to interactive spec.
1178
1179 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1180 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
1181
924494f4
MM
11822013-07-03 Matthias Meulien <orontee@gmail.com>
1183
1184 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1185 `Buffer-menu-multi-occur'. Add it to the menu.
1186 (Buffer-menu-mode): Document it in docstring.
1187 (Buffer-menu-multi-occur): New command. (Bug#14673)
1188
56f75efc
DG
11892013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1190
1191 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1192 keywords and built-ins.
1193
9b057d61
GM
11942013-07-03 Glenn Morris <rgm@gnu.org>
1195
208dee4d
GM
1196 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
1197
9b057d61
GM
1198 Make info-xref checks case-sensitive by default
1199 * info.el (Info-find-node, Info-find-in-tag-table)
1200 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1201 Add option for exact case matching of nodes.
1202 * info-xref.el (info-xref): New custom group.
1203 (info-xref-case-fold): New option.
1204 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1205
e01aa29c
LL
12062013-07-03 Leo Liu <sdl.web@gmail.com>
1207
1208 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1209
3086ca2e
DG
12102013-07-03 Dmitry Gutov <dgutov@yandex.ru>
1211
1212 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1213 middle of block statement initially, lower the depth. Remove
1214 FIXME comment, not longer valid. Remove middle of block statement
1215 detection, no need to do that anymore since we've been using
1216 `ruby-parse-region' here.
1217
a3b49114
JD
12182013-07-02 Jan Djärv <jan.h.d@swipnet.se>
1219
1220 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1221
08e5c823 12222013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
1223
1224 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1225
2addf922
JB
12262013-07-01 Juanma Barranquero <lekktu@gmail.com>
1227
1228 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1229 (desktop-restore-in-current-display): New customization option.
1230 (desktop--excluded-frame-parameters): Add `font'.
1231 (desktop--save-frames): Rename from desktop--save-windows.
1232 (desktop--restore-in-this-display-p): New function.
1233 (desktop--make-full-frame): Remove unwanted width/height from
1234 full(width|height) frames.
1235 (desktop--restore-frames): Rename from desktop--restore-windows.
1236 Obey desktop-restore-current-display. Do not delete old frames or
1237 select a new frame unless we were able to restore at least one frame.
1238
ef099a94
MN
12392013-06-30 Michal Nazarewicz <mina86@mina86.com>
1240
1241 * files.el (find-file-noselect): Simplify conditional expression.
1242
1243 * remember.el (remember-append-to-file):
1244 Don't mix `find-buffer-visiting' and `get-file-buffer'.
1245
1246 Add `remember-notes' function to store random notes across Emacs
1247 restarts.
1248 * remember.el (remember-data-file): Add :set callback to affect
1249 notes buffer (if any).
1250 (remember-notes): New command.
1251 (remember-notes-buffer-name, bury-remember-notes-on-kill):
1252 New defcustoms for the `remember-notes' function.
1253 (remember-notes-save-and-bury-buffer): New command.
1254 (remember-notes-mode-map): New variable.
1255 (remember-mode): New minor mode.
1256 (remember-notes--kill-buffer-query): New function.
1257 * startup.el (initial-buffer-choice): Add notes to custom type.
1258
0865d506
EZ
12592013-06-30 Eli Zaretskii <eliz@gnu.org>
1260
0ba54312
EZ
1261 * bindings.el (right-char, left-char): Don't call sit-for, this is
1262 no longer needed. Use arithmetic comparison only for numerical
1263 arguments.
1264
ef099a94
MN
1265 * international/mule-cmds.el (select-safe-coding-system):
1266 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 1267
2fae38e5
LMI
12682013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1269
1270 * net/shr.el (shr-make-table-1): Add a sanity check that allows
1271 progression on degenerate tables.
ef099a94 1272 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 1273
a47cbd64
JB
12742013-06-30 Juanma Barranquero <lekktu@gmail.com>
1275
1276 Some fixes and improvements for desktop frame restoration.
1277 It is still experimental and disabled by default.
1278 * desktop.el (desktop--save-windows): Put the selected frame at
1279 the head of the list.
1280 (desktop--make-full-frame): New function.
1281 (desktop--restore-windows): Try to re-select the frame that was
1282 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
1283 just show an error message and continue. Set up maximized frames
1284 so they have default non-maximized dimensions.
a47cbd64 1285
6dbafa30
DG
12862013-06-30 Dmitry Gutov <dgutov@yandex.ru>
1287
ef099a94
MN
1288 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1289 Don't start heredoc inside a string or comment.
6dbafa30 1290
4c672a0f
EZ
12912013-06-29 Eli Zaretskii <eliz@gnu.org>
1292
1293 * bindings.el (visual-order-cursor-movement): New defcustom.
1294 (right-char, left-char): Provide visual-order cursor motion by
1295 calling move-point-visually. Update the doc strings.
1296
50960f36
KH
12972013-06-28 Kenichi Handa <handa@gnu.org>
1298
1299 * international/mule.el (define-coding-system): New coding system
1300 properties :inhibit-null-byte-detection,
1301 :inhibit-iso-escape-detection, and :prefer-utf-8.
1302 (set-buffer-file-coding-system): If :charset-list property of
1303 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1304 appropriate for setting.
1305
c1ea3abf
JB
1306 * international/mule-cmds.el (select-safe-coding-system):
1307 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1308 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
1309
1310 * international/mule-conf.el (prefer-utf-8): New coding system.
1311 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1312 files.
1313
75dbaf9d
IK
13142013-06-28 Ivan Kanis <ivan@kanis.fr>
1315
eadb6068
IK
1316 * net/shr.el (shr-render-region): New function.
1317
75dbaf9d
IK
1318 * net/eww.el: Autoload `eww-browse-url'.
1319
9ea5cf9f
DG
13202013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1321
c1ea3abf
JB
1322 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1323 Adapt to `package-desc-version' being a list.
1324 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
1325 archive element.
1326
39c0e36f
JB
13272013-06-27 Juanma Barranquero <lekktu@gmail.com>
1328
1329 New experimental feature to save&restore window and frame setup.
1330 * desktop.el (desktop-save-windows): New defcustom.
1331 (desktop--saved-states): New var.
1332 (desktop--excluded-frame-parameters): New defconst.
1333 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1334 (desktop--restore-windows, desktop--save-windows): New functions.
1335 (desktop-save): Call `desktop--save-windows'.
1336 (desktop-read): Call `desktop--restore-windows'.
1337
7f13406b
LMI
13382013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1339
ef099a94 1340 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 1341
1e072639
SB
13422013-06-27 Stephen Berman <stephen.berman@gmx.net>
1343
1344 * info.el (Info-try-follow-nearest-node): Move search for footnote
1345 above search for node name to prevent missing a footnote (bug#14717).
1346
f3e2cbde
SB
13472013-06-27 Stephen Berman <stephen.berman@gmx.net>
1348
1349 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1350
99906aa0
LL
13512013-06-27 Leo Liu <sdl.web@gmail.com>
1352
1353 * net/eww.el (eww-read-bookmarks): Check file size.
1354
539f75f4
SM
13552013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1358 advice--pending if newdef is nil or an autoload (bug#13820).
1359 (advice-mapc): New function.
1360
843571cb
LMI
13612013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1362
1363 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1364 probably.
23a75d7f 1365 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
1366 (eww-add-bookmark): New command.
1367 (eww-bookmark-mode): New mode and commands.
a285ce99 1368 (eww-add-bookmark): Remove newlines from the title.
47fd571b 1369 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 1370
f2136e1e
GM
13712013-06-26 Glenn Morris <rgm@gnu.org>
1372
eab35f39
GM
1373 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1374 (hfy-size): Handle ttys. (Bug#14668)
1375
f2136e1e
GM
1376 * info-xref.el: Update for Texinfo 5 change in *note format.
1377 (info-xref-node-re, info-xref-note-re): New constants.
1378 (info-xref-check-buffer): Use info-xref-note-re.
1379
a49ff80c
SM
13802013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1381
a343d218
SM
1382 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1383
a49ff80c
SM
1384 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1385 nil terminate the loop (bug#14718).
1386
8308f184
LMI
13872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1388
1389 * net/eww.el: Rework history traversal. When going forward/back,
1390 put these actions into the history, too, so that they can be
1391 replayed.
26bf2b82 1392 (eww-render): Move the history reset to the correct buffer.
8308f184 1393
ec64c273
JL
13942013-06-25 Juri Linkov <juri@jurta.org>
1395
1396 * files-x.el (modify-dir-local-variable): Change the header comment
1397 in the file with directory local variables. (Bug#14692)
1398
e080a9d7
JL
1399 * files-x.el (read-file-local-variable-value): Add `default'.
1400 (Bug#14710)
1401
bfbc93a1
IK
14022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1403
1404 * net/eww.el (eww-make-unique-file-name): Create a unique file
1405 name before saving to entering `y' accidentally asynchronously.
1406
14072013-06-25 Ivan Kanis <ivan@kanis.fr>
1408
1409 * net/eww.el (eww-download): New command and keystroke.
1410
16f74f10
LMI
14112013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1412
a49ff80c 1413 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
1414
1415 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1416 be more consistent with Info and dired.
1417
1418 * net/eww.el (eww-mode-map): Ditto.
1419
12059709
SM
14202013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1423 packages from archives.
1424 (package-archive-contents): Change format; include obsolete packages.
1425 (package-desc): Use `dir' to mark builtin packages.
1426 (package--from-builtin): Set the `dir' field to `builtin'.
1427 (generated-autoload-file, version-control): Declare.
1428 (package-compute-transaction): Change first arg and return value to be
1429 lists of package-descs. Adjust to new package-archive-contents format.
1430 (package--add-to-archive-contents): Adjust to new
1431 package-archive-contents format.
1432 (package-download-transaction): Arg is now a list of package-descs.
1433 (package-install): If `pkg' is a package name, pass it as
1434 a requirement, so it is subject to the usual (e.g. disabled) checks.
1435 (describe-package): Accept package-desc as well.
1436 (describe-package-1): Describe a specific package-desc. Add links to
1437 other package-descs for the same package name.
1438 (package-menu-describe-package): Pass the actual package-desc.
1439 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1440 works correctly.
1441 (package-desc-status): New function.
1442 (package-menu--refresh): New function, extracted
1443 from package-menu--generate.
1444 (package-menu--generate): Use it.
1445 (package-delete): Update package-alist.
1446 (package-menu-execute): Don't call package-initialize.
1447
1448 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1449 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1450 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1451 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1452 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1453 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1454
8bbdea0f
MR
14552013-06-25 Martin Rudalics <rudalics@gmx.at>
1456
1457 * window.el (window--state-get-1): Workaround for bug#14527.
1458 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1459
e82b0991
LMI
14602013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1461
1462 * net/eww.el (eww-back-url): Implement the history by stashing all
1463 the data into a list.
d3f0f918 1464 (eww-forward-url): Allow going forward in the history, too.
e82b0991 1465
c763842b
SM
14662013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1469 for values and use read--expression for expressions (bug#14710).
1470 (read-file-local-variable): Avoid setq.
1471 (read-file-local-variable-mode): Use minor-mode-list.
1472
bceff189
RW
14732013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1474
864c58ca 1475 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
1476 for DOI URLs.
1477
45f431c6
RW
14782013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1479
864c58ca 1480 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
1481 Update imenu-support when dialect changes.
1482
f42d8237
LL
14832013-06-25 Leo Liu <sdl.web@gmail.com>
1484
1485 * ido.el (ido-read-internal): Allow forward slash on windows.
1486
be549ce6
LMI
14872013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1488
1489 * net/eww.el (eww): Start of strings is \\`, not ^.
1490
71d4c19d
IK
14912013-06-24 Ivan Kanis <ivan@kanis.fr>
1492
5196f88a
IK
1493 * net/shr.el (shr-browse-url): Fix interactive spec.
1494
71d4c19d
IK
1495 * net/eww.el (eww): Add a trailing slash to domain names.
1496
ae36ca55
JB
14972013-06-24 Juanma Barranquero <lekktu@gmail.com>
1498
1499 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1500
0ebd92a3
LMI
15012013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1502
bdaa086b
LMI
1503 * net/shr.el (shr-browse-url): Use an external browser if given a
1504 prefix.
1505
c763842b 1506 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 1507
b89fc156
IK
15082013-06-24 Ivan Kanis <ivan@kanis.fr>
1509
1510 * net/eww.el (eww): Work more correctly for file: URLs.
1511 (eww-detect-charset): Allow quoted charsets.
1512 (eww-yank-page-url): New command and keystroke.
1513
18eb4bca
DU
15142013-06-24 Daiki Ueno <ueno@gnu.org>
1515
1516 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1517 file name of gpg executable.
1518 (epg-context-program): New function.
1519 (epg-context-home-directory): New function.
1520 (epg-context-set-program): New function.
1521 (epg-context-set-home-directory): New function.
1522 (epg--start): Use `epg-context-program' instead of
1523 'epg-gpg-program'.
1524 (epg--list-keys-1): Likewise.
1525
6c6268c8
LL
15262013-06-24 Leo Liu <sdl.web@gmail.com>
1527
1528 * ido.el (ido-read-internal): Fix bug#14620.
1529
5e400cb3
JB
15302013-06-23 Juanma Barranquero <lekktu@gmail.com>
1531
1532 * faces.el (face-documentation): Simplify.
1533 (read-face-attribute, tty-find-type, x-resolve-font-name):
1534 Use `string-match-p'.
1535 (list-faces-display): Use `string-match-p'. Simplify.
1536 (face-spec-recalc): Check face to avoid face alias loops.
1537 (read-color): Use `string-match-p' and non-capturing parenthesis.
1538
f3f9606c
LMI
15392013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1540
1541 * net/shr.el (shr-rescale-image): Use the new
1542 :max-width/:max-height functionality.
1543
a3ca09b9
IK
15442013-06-23 Ivan Kanis <ivan@kanis.fr>
1545
1546 * net/eww.el (eww-search-prefix): New variable.
1547 (eww): Use it.
f865b474
IK
1548 (eww-external-browser): New variable.
1549 (eww-mode-map): New keystroke.
1550 (eww-browse-with-external-browser): New command.
a3ca09b9 1551
e854cfc7
IK
1552 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1553
18bb9e21
JB
15542013-06-23 Juanma Barranquero <lekktu@gmail.com>
1555
1556 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1557 Don't skip aligning the next header field when padding is 0;
1558 otherwise, field width is not respected unless the title is as
1559 wide as the field.
1560
5b165ade
SM
15612013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * emacs-lisp/package.el (package-el-version): Remove.
1564 (package-process-define-package): Fix inf-loop.
1565 (package-install): Allow symbols as arguments again.
1566
12adebe9
DG
15672013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1568
1569 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1570 add some more keyword-like methods.
1571 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1572
388573ee
JB
15732013-06-22 Juanma Barranquero <lekktu@gmail.com>
1574
1575 * bs.el (bs-buffer-show-mark): Make defvar-local.
1576 (bs-mode): Use setq-local.
1577
1578 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1579 (emacs-lock--try-unlocking): Make defvar-local.
1580
4582a01c 15812013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 1582
2663dd23
GM
1583 * play/cookie1.el (cookie-apropos): Minor simplification.
1584
3d94f3ad
GM
1585 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1586
f72e2fdb
DG
15872013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1590 `regexp-opt', it breaks the build during dumping.
1591
73eab938
DG
15922013-06-21 Dmitry Gutov <dgutov@yandex.ru>
1593
c763842b
SM
1594 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1595 Highlight keyword-like methods on Kernel and Module with
73eab938 1596 font-lock-builtin-face.
5cf8176d
DG
1597 (auto-mode-alist): Consolidate different entries into one regexp
1598 and add more *file-s.
73eab938 1599
d26255f6
SB
16002013-06-21 Stephen Berman <stephen.berman@gmx.net>
1601
1602 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1603
1604 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1605 (diary-entry): Use it in the action of this button type instead of
1606 diary-goto-entry.
1607
1608 * calendar/todo-mode.el: New version.
1609 (todo-add-category): Append new category to end of file and give
1610 it the highest number, instead of putting it at the beginning and
1611 giving it 0. Incorporate noninteractive functionality.
1612 (todo-forward-category): Adapt to 1-based category numbering.
1613 Allow skipping over archived categories.
1614 (todo-backward-category): Derive from todo-forward-category.
1615 (todo-backward-item, todo-forward-item): Make noninteractive and
1616 delegate interactive part to new commands. Make sensitive to done items.
1617 (todo-categories): Make value an alist of category names and
1618 vectors of item counts.
1619 (todo-category-beg): Make a defconst.
1620 (todo-category-number): Use 1 instead of 0 as initial value.
1621 (todo-category-select): Make sensitive to overlays, optional item
1622 highlighting and done items.
1623 (todo-delete-item): Make sensitive to overlays and marked and done items.
1624 (todo-edit-item): Make sensitive to overlays and editing of
1625 date/time header optional. Add format checks.
1626 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
1627 no-op if point is not on an item. Advertise using todo-edit-quit.
1628 (todo-edit-mode): Make sensitive to new format, font-locking, and
1629 multiple todo files.
1630 (todo-insert-item, todo-insert-item-here): Derive from
1631 todo-basic-insert-item and extend functionality.
1632 (todo-item-end, todo-item-start): Make sensitive to done items.
1633 (todo-item-string): Don't return text properties. Restore point.
1634 (todo-jump-to-category): Make sensitive to multiple todo files and
1635 todo archives. Use extended category completion.
1636 (todo-lower-item, todo-raise-item): Rename to *-priority and
1637 derive from todo-set-item-priority.
1638 (todo-mode): Derive from special-mode. Make sensitive to new
1639 format, font-locking and multiple todo files. Make read-only.
1640 (todo-mode-map): Don't suppress digit keys, so they can supply
1641 prefix arguments. Add many new key bindings.
1642 (todo-prefix): Insert as an overlay instead of file text.
1643 Change semantics from diary date expression to purely visual mark.
1644 (todo-print): Rename to todo-print-buffer. Make buffer display
1645 features printable. Remove option to restrict number of items
1646 printed. Add option to print to file.
1647 (todo-print-function): Rename to todo-print-buffer-function.
1648 (todo-quit): Extend to handle exiting new todo modes.
1649 (todo-remove-item): Make sensitive to overlays.
1650 (todo-save): Extend to buffers of filtered items.
1651 (todo-show): Make sensitive to done items, multiple todo files and
1652 new todo modes. Offer to convert legacy todo file before creating
1653 first new todo file.
1654 (todo-show-priorities): Rename to todo-top-priorities.
1655 Change semantics of value 0.
1656 (todo-top-priorities): Rename to todo-filter-top-priorities,
1657 derive from todo-filter-items and extend functionality.
1658 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
1659 and extend functionality to other types of filtered items.
1660 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
1661 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
1662 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
1663 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
1664 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
1665 (todo-edit-mode-hook, todo-entry-prefix-function)
1666 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
1667 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
1668 (todo-initials, todo-insert-threshold, todo-item-string-start)
1669 (todo-line-string, todo-menu, todo-mode-hook)
1670 (todo-more-important-p, todo-previous-answer, todo-previous-line)
1671 (todo-print-priorities, todo-remove-separator)
1672 (todo-save-top-priorities-too, todo-string-count-lines)
1673 (todo-string-multiline-p, todo-time-string-format)
1674 (todo-tmp-buffer-name): Remove.
1675 (todo-add-file, todo-archive-done-item, todo-choose-archive)
1676 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
1677 (todo-edit-category-diary-inclusion)
1678 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
1679 (todo-edit-file, todo-edit-item-date-day)
1680 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
1681 (todo-edit-item-date-month, todo-edit-item-date-to-today)
1682 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
1683 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
1684 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
1685 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
1686 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
1687 (todo-filter-top-priorities-multifile, todo-find-archive)
1688 (todo-find-filtered-items-file, todo-go-to-source-item)
1689 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
1690 (todo-jump-to-archive-category, todo-lower-category)
1691 (todo-mark-category, todo-marked-item-p, todo-merge-category)
1692 (todo-move-category, todo-move-item, todo-next-button)
1693 (todo-next-item, todo-padded-string, todo-powerset)
1694 (todo-previous-button, todo-previous-item)
1695 (todo-print-buffer-to-file, todo-raise-category)
1696 (todo-rename-category, todo-repair-categories-sexp, todo-search)
1697 (todo-set-category-number, todo-set-item-priority)
1698 (todo-set-top-priorities-in-category)
1699 (todo-set-top-priorities-in-file, todo-show-categories-table)
1700 (todo-sort-categories-alphabetically-or-numerically)
1701 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
1702 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
1703 (todo-toggle-item-header, todo-toggle-item-highlighting)
1704 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
1705 (todo-toggle-view-done-items, todo-toggle-view-done-only)
1706 (todo-unarchive-items, todo-unmark-category): New commands.
1707 (todo-absolute-file-name, todo-add-to-buffer-list)
1708 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
1709 (todo-basic-insert-item, todo-category-completions)
1710 (todo-category-number, todo-category-string-matcher-1)
1711 (todo-category-string-matcher-2, todo-check-filtered-items-file)
1712 (todo-check-format, todo-clear-matches)
1713 (todo-comment-string-matcher, todo-convert-legacy-date-time)
1714 (todo-current-category, todo-date-string-matcher)
1715 (todo-define-insertion-command, todo-diary-expired-matcher)
1716 (todo-diary-goto-entry, todo-diary-item-p)
1717 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
1718 (todo-display-categories, todo-display-sorted, todo-done-item-p)
1719 (todo-done-item-section-p, todo-done-separator)
1720 (todo-done-string-matcher, todo-files, todo-filter-items)
1721 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
1722 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
1723 (todo-insert-category-line, todo-insert-item-from-calendar)
1724 (todo-insert-sort-button, todo-insert-with-overlays)
1725 (todo-insertion-command-name, todo-insertion-key-bindings)
1726 (todo-label-to-key, todo-longest-category-name-length)
1727 (todo-make-categories-list, todo-mode-external-set)
1728 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
1729 (todo-modes-set-3, todo-multiple-filter-files)
1730 (todo-nondiary-marker-matcher, todo-prefix-overlays)
1731 (todo-read-category, todo-read-date, todo-read-dayname)
1732 (todo-read-file-name, todo-read-time)
1733 (todo-reevaluate-category-completions-files-defcustom)
1734 (todo-reevaluate-default-file-defcustom)
1735 (todo-reevaluate-filelist-defcustoms)
1736 (todo-reevaluate-filter-files-defcustom)
1737 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
1738 (todo-reset-done-separator, todo-reset-done-separator-string)
1739 (todo-reset-done-string, todo-reset-global-current-todo-file)
1740 (todo-reset-highlight-item, todo-reset-nondiary-marker)
1741 (todo-reset-prefix, todo-set-categories)
1742 (todo-set-date-from-calendar, todo-set-show-current-file)
1743 (todo-set-top-priorities, todo-short-file-name)
1744 (todo-show-current-file, todo-sort, todo-time-string-matcher)
1745 (todo-total-item-counts, todo-update-buffer-list)
1746 (todo-update-categories-display, todo-update-categories-sexp)
1747 (todo-update-count, todo-validate-name, todo-y-or-n-p):
1748 New functions.
1749 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
1750 New major modes.
1751 (todo-categories, todo-display, todo-edit, todo-faces)
1752 (todo-filtered): New defgroups.
1753 (todo-archived-only, todo-button, todo-category-string, todo-date)
1754 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
1755 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
1756 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
1757 (todo-add-item-if-new-category, todo-always-add-time-string)
1758 (todo-categories-align, todo-categories-archived-label)
1759 (todo-categories-category-label, todo-categories-diary-label)
1760 (todo-categories-done-label, todo-categories-number-separator)
1761 (todo-categories-todo-label, todo-categories-totals-label)
1762 (todo-category-completions-files, todo-completion-ignore-case)
1763 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
1764 (todo-done-separator-string, todo-done-string)
1765 (todo-files-function, todo-filter-done-items, todo-filter-files)
1766 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
1767 (todo-initial-category, todo-initial-file, todo-item-mark)
1768 (todo-legacy-date-time-regexp, todo-mode-line-function)
1769 (todo-nondiary-marker, todo-number-prefix)
1770 (todo-print-buffer-function, todo-show-current-file)
1771 (todo-show-done-only, todo-show-first, todo-show-with-done)
1772 (todo-skip-archived-categories, todo-top-priorities-overrides)
1773 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
1774 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
1775 New defcustoms.
1776 (todo-category-done, todo-date-pattern, todo-date-string-start)
1777 (todo-diary-items-buffer, todo-done-string-start)
1778 (todo-filtered-items-buffer, todo-item-start)
1779 (todo-month-abbrev-array, todo-month-name-array)
1780 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
1781 (todo-top-priorities-buffer): New defconsts.
1782 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
1783 (todo-categories-with-marks, todo-category-string-face)
1784 (todo-comment-face, todo-comment-string, todo-current-todo-file)
1785 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
1786 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
1787 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
1788 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
1789 (todo-font-lock-keywords, todo-global-current-todo-file)
1790 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
1791 (todo-insertion-commands-args)
1792 (todo-insertion-commands-args-genlist)
1793 (todo-insertion-commands-names, todo-insertion-map)
1794 (todo-key-bindings-t, todo-key-bindings-t+a)
1795 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
1796 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
1797 (todo-nondiary-face, todo-print-buffer, todo-time-face)
1798 (todo-visited): New variables.
1799
cad5d1cb
GM
18002013-06-21 Glenn Morris <rgm@gnu.org>
1801
1802 * play/cookie1.el (cookie-apropos): Add optional display argument.
1803 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
1804 (psychoanalyze-pinhead): Use cookie-doctor.
1805
9e277302
JB
18062013-06-21 Juanma Barranquero <lekktu@gmail.com>
1807
1808 * emacs-lisp/package.el (tar-get-file-descriptor)
1809 (tar--extract): Declare.
1810
c5b0993e
EW
18112013-06-21 Eduard Wiebe <usenet@pusto.de>
1812
1813 Extend flymake's warning predicate to be a function (bug#14217).
1814 * progmodes/flymake.el (flymake-warning-predicate): New.
1815 (flymake-parse-line): Use it.
1816 (flymake-warning-re): Make obsolete alias to
1817 `flymake-warning-predicate'.
1818
a7d2d465
SM
18192013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * emacs-lisp/package.el (package-alist): Include obsolete packages.
1822 (package-obsolete-list): Remove.
1823 (package-activate): Remove min-version argument. Add `force' argument.
1824 Adjust to new package-alist format.
1825 (package-mark-obsolete): Remove.
1826 (package-unpack): Force reload of the package's autoloads.
1827 (package-installed-p): Check builtins if the installed package is not
1828 recent enough.
1829 (package-initialize): Don't reset package-obsolete-list.
1830 Don't specify which package version to activate.
1831 (package-process-define-package, describe-package-1)
1832 (package-menu--generate): Adjust to new package-alist format.
1833
cedf5c9d
JB
18342013-06-21 Juanma Barranquero <lekktu@gmail.com>
1835
1836 * allout-widgets.el (allout-widgets-mode-off)
1837 (allout-widgets-mode-on, allout-widgets-pre-command-business)
1838 (allout-widgets-post-command-business)
1839 (allout-widgets-after-copy-or-kill-function)
1840 (allout-widgets-after-undo-function, allout-test-range-overlaps)
1841 (allout-decorate-item-and-context)
1842 (allout-graphics-modification-handler): Fix typos in docstrings.
1843 (allout-get-or-create-parent-widget): Use `looking-at-p'.
1844
1845 * cmuscheme.el (scheme-start-file): Doc fix.
1846 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
1847 (scheme-input-filter): Use `string-match-p'.
1848
1849 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
1850
1851 * dired-x.el: Use Dired consistently in docstrings.
1852
1853 * dired.el: Use Dired consistently in docstrings.
1854 (dired-readin, dired-mode): Use `setq-local'.
1855 (dired-switches-alist): Make defvar-local.
1856 (dired-buffers-for-dir): Use `zerop'.
1857 (dired-safe-switches-p, dired-switches-escape-p)
1858 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
1859 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
1860 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
1861 (dired-goto-next-nontrivial-file): Use `string-match-p'.
1862 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
1863 (dired-toggle-marks, dired-mark-files-containing-regexp)
1864 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
1865 (dired-flag-auto-save-files, dired-flag-backup-files):
1866 Use `looking-at-p'.
1867 (dired-mark-files-regexp, dired-build-subdir-alist):
1868 Use `string-match-p', `looking-at-p'.
1869
1870 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
1871 (direct-print-region-helper): Use `string-match-p'.
1872
aed838b5
LL
18732013-06-21 Leo Liu <sdl.web@gmail.com>
1874
cedf5c9d
JB
1875 * comint.el (comint-redirect-results-list-from-process):
1876 Fix infinite loop.
aed838b5 1877
d80a808f
LMI
18782013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1879
1880 * net/eww.el (eww-update-header-line-format): Quote % characters.
1881
e7a526e3
GM
18822013-06-21 Glenn Morris <rgm@gnu.org>
1883
1884 * play/cookie1.el (cookie): New custom group.
1885 (cookie-file): New option.
1886 (cookie-check-file): New function.
1887 (cookie): Make it interactive. Make start and end messages optional.
1888 Interactively, display the result. Default to cookie-file.
1889 (cookie-insert): Default to cookie-file.
1890 (cookie-snarf): Make start and end messages optional.
1891 Default to cookie-file. Use with-temp-buffer.
1892 (cookie-read): Rename from read-cookie.
1893 Make start and end messages optional. Default to cookie-file.
1894 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 1895 Do not autoload it.
e7a526e3
GM
1896 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
1897 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
1898
62efb35e
LL
18992013-06-21 Leo Liu <sdl.web@gmail.com>
1900
1901 * progmodes/octave.el (octave-mode): Backward compatibility fix.
1902
21e3f963
GM
19032013-06-21 Glenn Morris <rgm@gnu.org>
1904
1905 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
1906
fd846ab4
SM
19072013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1908 Daniel Hackney <dan@haxney.org>
1909
1910 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
1911 Consolidate the single-file vs tarball code.
1912 (package-desc-suffix): New function.
1913 (package-desc-full-name): Don't bother inlining it.
1914 (package-load-descriptor): Return the new package-desc.
1915 (package-mark-obsolete): Remove unused arg `package'.
1916 (package-unpack): Make it work for single files as well.
1917 Make it update package-alist.
1918 (package--make-autoloads-and-stuff): Rename from
1919 package--make-autoloads-and-compile. Don't compile any more.
1920 (package--compile): New function.
1921 (package-generate-description-file): New function, extracted from
1922 package-unpack-single.
1923 (package-unpack-single): Remove.
1924 (package--with-work-buffer): Add indentation and debugging info.
1925 (package-download-single): Remove.
1926 (package-install-from-archive): Rename from package-download-tar, make
1927 it take a pkg-desc, and make it work for single files as well.
1928 (package-download-transaction): Simplify.
1929 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
1930 external tar program.
1931 (package-install-from-buffer): Remove `pkg-desc' argument.
1932 Use package-tar-file-info for tar-mode buffers.
1933 (package-install-file): Simplify accordingly.
1934 (package-archive-base): Change to take a pkg-desc.
1935 * tar-mode.el (tar--check-descriptor): New function, extracted from
1936 tar-get-descriptor.
1937 (tar-get-descriptor): Use it.
1938 (tar-get-file-descriptor): New function.
1939 (tar--extract): New function, extracted from tar-extract.
1940 (tar--extract): Use it.
1941 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
1942 case the summary uses non-ascii. Adjust to new calling convention of
1943 package-tar-file-info.
1944
b7deae5e
LL
19452013-06-21 Leo Liu <sdl.web@gmail.com>
1946
fd846ab4
SM
1947 * comint.el (comint-redirect-results-list-from-process):
1948 Fix random delay. (Bug#14681)
b7deae5e 1949
7a65a0b2
JB
19502013-06-21 Juanma Barranquero <lekktu@gmail.com>
1951
1952 * profiler.el (profiler-format-number): Use log, not log10.
1953
1493c2af
JB
19542013-06-20 Juanma Barranquero <lekktu@gmail.com>
1955
1956 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
1957
aff6371e
SM
19582013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
1961 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
1962 yet available.
1963 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
1964 (AUTOGENEL): ... here.
1965 * emacs-lisp/cl-macs.el (cl--sublis): New function.
1966 (cl--defsubst-expand): Use it.
1967
89561f72
PE
19682013-06-20 Paul Eggert <eggert@cs.ucla.edu>
1969
1970 * subr.el (log10): Move here from C code, and declare as obsolete.
1971 All uses of (log10 X) replaced with (log X 10).
1972
47199123
JB
19732013-06-20 Juanma Barranquero <lekktu@gmail.com>
1974
1975 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1976 Declare with `defvar-local'.
1977 (tabulated-list-use-header-line, tabulated-list-entries)
1978 (tabulated-list-padding, tabulated-list-printer)
1979 (tabulated-list-sort-key): Declare with `defvar-local'.
1980 (tabulated-list-init-header, tabulated-list-print-fake-header):
1981 Use `setq-local'.
1982
4a172eab
MA
19832013-06-20 Michael Albinus <michael.albinus@gmx.de>
1984
47199123
JB
1985 * arc-mode.el (archive-mode): Add `archive-write-file' to
1986 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 1987
5fc0acc0
JB
19882013-06-20 Juanma Barranquero <lekktu@gmail.com>
1989
d5b27848
JB
1990 * cus-edit.el (custom-commands): Fix typos.
1991 (custom-display): Fix tooltip text.
1992 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1993 Fix typos in docstrings.
1994 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1995 (custom-unlispify-menu-entry, custom-magic-value-create)
1996 (custom-add-see-also, custom-group-value-create): Use ?\s.
1997 (custom-guess-type, customize-apropos, editable-field)
1998 (custom-face-value-create): Use `string-match-p'.
1999 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2000
2001 * custom.el (custom-load-symbol): Use `string-match-p'.
2002
a5c581d8
JB
2003 * ansi-color.el: Convert to lexical binding.
2004 (ansi-colors): Fix URL.
2005 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2006 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2007 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2008
970ad972
G
20092013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2010
2011 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2012
2013 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2014
20152013-06-19 Tom Tromey <tromey@redhat.com>
2016
2017 * net/eww.el (eww-top-url): Remove.
2018 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2019 (eww-render): Set new variables. Don't set eww-top-url.
2020 (eww-handle-link): Handle "prev", "home", and "contents".
2021 Downcase the rel text.
2022 (eww-top-url): Choose best top URL.
2023
20242013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2025
2026 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2027 relying in widget.el. Using widget.el leads to too many
2028 user interface inconsistencies.
2029 (eww-self-insert): Implement entering commands in text fields.
2030 (eww-process-text-input): New function to make text input field editing
2031 work.
2032 (eww-submit): Rewrite to use the new-style form methods.
2033 (eww-select-display): Display the correct selected item.
2034 (eww-change-select): Implement changing the select value.
2035 (eww-toggle-checkbox): Implement radio/checkboxes.
2036 (eww-update-field): Fix compilation error.
2037 (eww-tag-textarea): Implement <textarea>.
2038
2039 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2040 we don't shadow mode-specific bindings.
2041
2042 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2043 nothing to push.
2044
2045 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2046
4582a01c 20472013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
2048
2049 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2050
15b263dc
MA
20512013-06-19 Michael Albinus <michael.albinus@gmx.de>
2052
2053 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2054 not needed.
2055
2056 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2057
8f5297f7
LMI
20582013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2059
2060 * net/browse-url.el (browse-url-browser-function):
2061 `eww-browse-url' has the right calling signature, `eww' does not.
2062
011c4552
GM
20632013-06-19 Glenn Morris <rgm@gnu.org>
2064
2285bd27
GM
2065 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2066 Only eval autoloaded macros.
2067 (byte-compile-autoload): Only give the macro warning for macros.
2068
1d653303
GM
2069 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2070 (ps-underlined-faces): Declare.
2071
bdd779ec
GM
2072 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2073 (speedbar-add-supported-extension): Declare.
2074
011c4552
GM
2075 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2076 Don't include a date stamp in the header of the generated file;
2077 it leads to needless differences between output files.
2078
e59dfb0e
MA
20792013-06-19 Michael Albinus <michael.albinus@gmx.de>
2080
c763842b
SM
2081 * net/secrets.el (secrets-struct-secret-content-type):
2082 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 2083 Some servers do not offer introspection.
e59dfb0e 2084
102626e2
SM
20852013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * electric.el (electric-pair-mode): Improve interaction with
2088 electric-layout-mode.
2089 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2090 (electric-pair-syntax): Use text-mode-syntax-table in comments
2091 and strings.
2092 (electric-pair--insert): New function.
2093 (electric-pair-post-self-insert-function): Use it and
2094 electric--after-char-pos.
2095
ad528125
LL
20962013-06-19 Leo Liu <sdl.web@gmail.com>
2097
2098 * progmodes/octave.el (octave-help): Fix regexp.
2099
924d6997
G
21002013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2101
2102 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2103 (shr-table-horizontal-line): Allow nil as a value, and change the
2104 default.
2105 (shr-insert-table-ruler): Respect the nil value.
2106
21072013-06-18 Tom Tromey <tromey@barimba>
2108
2109 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2110 New defvars.
2111 (eww-open-file): New defun.
2112 (eww-render): Initialize new variables.
2113 (eww-display-html): Handle "link" and "a".
2114 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2115 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2116 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
2117 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2118 New defuns.
924d6997 2119
d1bbba4f
DG
21202013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2121
2122 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2123 Distinguish ternary operator tokens from slash symbol and slash
2124 char literal.
2125
14dd22d2
JB
21262013-06-18 Juanma Barranquero <lekktu@gmail.com>
2127
2128 Convert symbol prettification into minor mode and global minor mode.
2129
2130 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2131 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2132 (prettify-symbols--keywords): Rename from
2133 `prog-prettify-symbols-alist' and make a local defvar.
2134 (prettify-symbols--compose-symbol): Rename from
2135 `prog--prettify-font-lock-compose-symbol'.
2136 (prettify-symbols--make-keywords): Rename from
2137 `prog-prettify-font-lock-symbols-keywords' and simplify.
2138 (prog-prettify-install): Remove.
2139 (prettify-symbols-mode): New minor mode, based on
2140 `prog-prettify-install'.
2141 (turn-on-prettify-symbols-mode): New function.
2142 (global-prettify-symbols-mode): New globalized minor mode.
2143
2144 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2145 * progmodes/cfengine.el (cfengine3-mode):
2146 * progmodes/perl-mode.el (perl-mode): Don't call
2147 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2148
292c880c
JL
21492013-06-18 Juri Linkov <juri@jurta.org>
2150
2151 * files-x.el (modify-file-local-variable-message): New function.
2152 (modify-file-local-variable)
2153 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2154 and call `modify-file-local-variable-message' when it's non-nil.
2155 (add-file-local-variable, delete-file-local-variable)
2156 (add-file-local-variable-prop-line)
2157 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2158 and use it. (Bug#9820)
2159
0950aa27
JL
21602013-06-18 Juri Linkov <juri@jurta.org>
2161
2162 * emulation/vi.el (vi-shell-op):
2163 * emulation/vip.el (vip-execute-com, ex-command):
2164 * emulation/viper-cmd.el (viper-exec-bang):
2165 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2166 the call of `shell-command-on-region'. (Bug#14637)
2167
2168 * simple.el (shell-command-on-region): Doc fix.
2169
8fbcca16
SM
21702013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2172 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2173 (bug#14633).
2174
dd7426ea
GM
21752013-06-18 Glenn Morris <rgm@gnu.org>
2176
4ba54f7d
GM
2177 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2178
dd7426ea
GM
2179 * newcomment.el (comment-search-forward, comment-search-backward):
2180 Doc fix. (Bug#14376)
2181
58aa805b
JB
21822013-06-18 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2185 (buffer-face-mode-invoke): Doc fix.
2186
9a08a617
MM
21872013-06-18 Matthias Meulien <orontee@gmail.com>
2188
2189 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 2190 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 2191
f2f426ca
GM
21922013-06-18 Glenn Morris <rgm@gnu.org>
2193
9445f99b
GM
2194 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2195 Replace obsolete function generic-make-keywords with its expansion.
2196
e0df2d14
GM
2197 * progmodes/python.el (ffap-alist): Declare.
2198
f2f426ca
GM
2199 * textmodes/reftex.el (bibtex-mode-map): Declare.
2200
f7f9a720
SM
22012013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2204 (package-unpack, package-unpack-single): Return the pkg-dir.
2205 (package-download-transaction): Use it to update package-alist.
2206
57ff04e0
LMI
22072013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2208
2209 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2210 possible choice.
2211
c048c022
JL
22122013-06-17 Juri Linkov <juri@jurta.org>
2213
2214 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2215
b5bcaee5
DG
22162013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2217
a020afb9
JB
2218 * emacs-lisp/package.el (package-load-descriptor):
2219 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
2220 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2221
551e07e5
JB
22222013-06-17 Juanma Barranquero <lekktu@gmail.com>
2223
2224 * startup.el (command-line): Expand package name returned by
2225 `package--description-file' (bug#14639).
2226
d363bffb
DG
22272013-06-17 Dmitry Gutov <dgutov@yandex.ru>
2228
2229 * emacs-lisp/package.el (package-load-descriptor): Do not call
2230 `emacs-lisp-mode', just use its syntax table.
2231
f612933b
JB
22322013-06-17 Juanma Barranquero <lekktu@gmail.com>
2233
2234 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2235 `font-lock-extra-managed-props' if any prettifying keyword is added.
2236 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2237 (prog-mode): Use `setq-local'.
2238
db3b7db5
SM
22392013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * international/characters.el (standard-case-table): Set syntax of ?»
2242 and ?« to punctuation.
2243
f3d674df
JB
22442013-06-16 Juanma Barranquero <lekktu@gmail.com>
2245
2246 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2247 Save relevant match data before calling `syntax-ppss' (bug#14595).
2248
31489a32
JL
22492013-06-15 Juri Linkov <juri@jurta.org>
2250
2251 * files-x.el (modify-file-local-variable-prop-line): Add local
2252 variables to the end of the existing comment on the first line.
2253 Use `file-auto-mode-skip' to skip interpreter magic line,
2254 and also skip XML declaration.
2255
66bd25ab
SM
22562013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * startup.el (package--builtin-versions): New var.
2259 (package-subdirectory-regexp): Remove.
2260 (package--description-file): Hard code its value instead.
2261
2262 * emacs-lisp/package.el: Don't activate packages older than builtin.
2263 (package-obsolete-list): Rename from package-obsolete-alist, and make
2264 it into a simple list of package-desc.
2265 (package-strip-version): Remove.
2266 (package-built-in-p): Use package--builtin-versions.
2267 (package-mark-obsolete): Simplify.
2268 (package-process-define-package): Mark it obsolete if older than the
2269 builtin version.
2270 (package-handle-response): Use line-end-position.
2271 (package-read-archive-contents, package--download-one-archive):
2272 Simplify.
2273 (package--add-to-archive-contents): Skip if older than the builtin or
2274 installed version.
2275 (package-menu-describe-package): Fix last change.
2276 (package-list-unversioned): New var.
2277 (package-menu--generate): Use it.
2278
2279 * emacs-lisp/autoload.el: Manage package--builtin-versions.
2280 (autoload--insert-text, autoload--insert-cookie-text): New functions.
2281 (autoload-builtin-package-versions): New variable.
2282 (autoload-generate-file-autoloads): Use them.
2283 Remove the list of autoloaded functions/macros from the
2284 (autoload...) comments.
2285
2286 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2287
9583ec36
EZ
22882013-06-15 Eli Zaretskii <eliz@gnu.org>
2289
2290 * simple.el (line-move-partial): Don't jump to the next screen
2291 line as soon as it becomes visible. Instead, continue enlarging
2292 the vscroll until the portion of a tall screen line that's left on
2293 display is about the height of the frame's default font.
2294 (Bug#14567)
2295
f0100d8a
GM
22962013-06-15 Glenn Morris <rgm@gnu.org>
2297
b86a85ca
GM
2298 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2299 compilation-error-regexp-alist void, or local while let-bound.
2300
f0100d8a
GM
2301 * progmodes/make-mode.el (makefile-mode-syntax-table):
2302 Treat "=" as punctuation. (Bug#14614)
2303
05e7ce90
JB
23042013-06-15 Juanma Barranquero <lekktu@gmail.com>
2305
2306 * help-fns.el (describe-variable):
2307 Add extra line for permanent-local variables.
2308
12e5e86e
SH
23092013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2310
2311 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2312 Add export, import, library. (Bug#9164)
2313 (library): Set indent function.
2314
230dcbaf
GM
23152013-06-14 Glenn Morris <rgm@gnu.org>
2316
2317 * term/xterm.el (xterm--query):
2318 Stop after first matching handler. (Bug#14615)
2319
a020afb9 23202013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
2321
2322 Add support for dired in saveplace.
2323 * dired.el (dired-initial-position-hook): New variable.
2324 (dired-initial-position): Call hook to place cursor position.
2325 * saveplace.el (save-place-to-alist): Add dired position.
2326 (save-place-dired-hook): New function.
2327
0b31660d
SM
23282013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2329
bf1e6ae8
SM
2330 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2331 through a symbol rather than letrec.
2332
1b8dff23
SM
2333 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2334 (package-desc): Add `dir' field.
2335 (package-desc-full-name): New function.
2336 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2337 (package-maybe-load-descriptor): Remove.
2338 (package-load-all-descriptors): Just call package-load-descriptor.
2339 (package--disabled-p): New function.
2340 (package-desc-vers, package-desc-doc): Remove aliases.
2341 (package--dir): Remove function.
2342 (package-activate): Check if a package is disabled.
2343 (package-process-define-package): New function, extracted from
2344 define-package.
2345 (define-package): Turn into a place holder.
2346 (package-unpack-single, package-tar-file-info):
2347 Use package--description-file.
2348 (package-compute-transaction): Use package--disabled-p.
2349 (package-download-transaction): Don't call
2350 package-maybe-load-descriptor since they're all loaded anyway.
2351 (package-install): Change argument to be a pkg-desc.
2352 (package-delete): Use a single pkg-desc argument.
2353 (describe-package-1): Use package-desc-dir instead of package--dir.
2354 Use package-desc property instead of package-symbol.
2355 (package-install-button-action): Adjust accordingly.
2356 (package--push): Rewrite.
2357 (package-menu--print-info): Adjust accordingly. Change the ID format
2358 to be a pkg-desc.
2359 (package-menu-describe-package, package-menu-get-status)
2360 (package-menu--find-upgrades, package-menu-mark-upgrades)
2361 (package-menu-execute, package-menu--name-predicate):
2362 Adjust accordingly.
2363 * startup.el (package--description-file): New function.
2364 (command-line): Use it.
2365 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2366 Use package-desc-version.
2367
0b31660d
SM
2368 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2369 (byte-compile-preprocess): Use it.
2370 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2371 can't quite recognize.
2372 (byte-compile-add-to-list): Remove.
2373 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2374 (cconv-closure-convert): Add assertion.
2375
2376 * emacs-lisp/map-ynp.el: Use lexical-binding.
2377 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2378 Factor out some repeated code.
2379
de0503df
SM
23802013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * subr.el (with-eval-after-load): New macro.
2383 (eval-after-load): Allow form to be a function.
2384 take advantage of lexical-binding.
2385 (do-after-load-evaluation): Use dolist and adjust to new format.
2386 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2387
bc5c8c5a
JL
23882013-06-13 Juri Linkov <juri@jurta.org>
2389
2390 * replace.el (perform-replace): Display "symbol " and other search
2391 modes from `isearch-message-prefix' in the *Help* buffer.
2392
2393 * isearch.el (isearch-query-replace): Add " symbol" and other
2394 possible search modes from `isearch-message-prefix' to the prompt.
2395 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2396 when reading a regexp to collect.
2397
a22289f7
JL
23982013-06-13 Juri Linkov <juri@jurta.org>
2399
2400 * isearch.el (word-search-regexp): Match whitespace if the search
2401 string begins or ends in whitespace. The LAX arg is applied to
2402 both ends of the search string. Use `regexp-quote' and explicit
2403 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2404 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2405 boundaries are replaced with symbol boundaries, and characters
2406 between symbols match non-word non-symbol syntax. (Bug#14602)
2407
cb89acab
JL
24082013-06-13 Juri Linkov <juri@jurta.org>
2409
2410 * isearch.el (isearch-del-char): Don't exceed the length of
2411 `isearch-string' by the prefix arg. (Bug#14563)
2412
6e8cfc81
JL
24132013-06-13 Juri Linkov <juri@jurta.org>
2414
2415 * isearch.el (isearch-yank-word, isearch-yank-line)
2416 (isearch-char-by-name, isearch-quote-char)
2417 (isearch-printing-char, isearch-process-search-char):
2418 Add optional count prefix arg. (Bug#14563)
2419
2420 * international/isearch-x.el
2421 (isearch-process-search-multibyte-characters):
2422 Add optional count prefix arg.
2423
c23d55f4
VS
24242013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2427 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2428 lexical-binding.
2429
24302013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2431
2432 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2433
ba947bc4
GM
24342013-06-13 Glenn Morris <rgm@gnu.org>
2435
8baeb37a
GM
2436 * startup.el (tty-handle-args):
2437 Don't just discard "--" and anything after. (Bug#14608)
2438
ba947bc4
GM
2439 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2440
9abefce4
MA
24412013-06-13 Michael Albinus <michael.albinus@gmx.de>
2442
2443 Implement changes in Secret Service API. Make it backward compatible.
2444 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2445 (secrets-create-item): Use it. Prefix properties with interface.
2446
5755011f
MH
24472013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2448
2449 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2450 (term-emulate-terminal): Respect term-suppress-hard-newline.
2451
1261d2da
S
24522013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2453
2454 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2455 Only remove a `thumb-file' overlay. (Bug#14548)
2456
868490bb
GJ
24572013-06-12 Grégoire Jadi <daimrod@gmail.com>
2458
2459 * mail/reporter.el (reporter-submit-bug-report):
2460 Handle missing package-name. (Bug#14600)
2461
79d7167f
TH
24622013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2463
2464 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2465 (reftex-citation-prompt, reftex-default-bibliography)
2466 (reftex-bib-or-thebib, reftex-get-bibfile-list)
2467 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2468 (reftex-bib-sort-author, reftex-bib-sort-year)
2469 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2470 (reftex-extract-bib-entries-from-thebibliography)
2471 (reftex-get-bibkey-default, reftex-get-bib-names)
2472 (reftex-parse-bibtex-entry, reftex-get-bib-field)
2473 (reftex-format-bib-entry, reftex-parse-bibitem)
2474 (reftex-format-bibitem, reftex-do-citation)
2475 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2476 (reftex-restrict-bib-matches, reftex-extract-bib-file)
2477 (reftex-insert-bib-matches, reftex-format-citation)
2478 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2479 (reftex-create-bibtex-file): Add docstrings, mostly by converting
2480 existing comments into docstrings.
2481
5f9dbd7a
XF
24822013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2483
2484 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2485
94df41ab
AS
24862013-06-12 Andreas Schwab <schwab@suse.de>
2487
2488 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2489 for auto-save files.
2490
a7f3fecc
GM
24912013-06-12 Glenn Morris <rgm@gnu.org>
2492
001809f6
GM
2493 * ido.el (ido-delete-ignored-files): Remove.
2494 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2495 Go back to calling ido-ignore-item-p directly.
a7f3fecc 2496
834b5ded
EL
24972013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
2498
08c73ed2
EL
2499 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2500
834b5ded
EL
2501 * ido.el (ido-delete-ignored-files): New function,
2502 split from ido-make-file-list-1.
2503 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
2504 (ido-make-file-list-1): Use ido-delete-ignored-files.
2505
daabf15a
LL
25062013-06-12 Leo Liu <sdl.web@gmail.com>
2507
2508 * progmodes/octave.el (inferior-octave-startup)
2509 (inferior-octave-completion-table)
2510 (inferior-octave-track-window-width-change)
2511 (octave-eldoc-function-signatures, octave-help)
2512 (octave-find-definition): Use single quoted strings.
2513 (inferior-octave-startup-args): Change default value.
2514 (inferior-octave-startup): Do not hard code "-i" and
2515 "--no-line-editing".
2516 (inferior-octave-resync-dirs): Add optional arg NOERROR.
2517 (inferior-octave-directory-tracker): Use it.
2518 (octave-goto-function-definition): Robustify.
2519 (octave-help): Support highlighting operators in 'See also'.
2520 (octave-find-definition): Find subfunctions only in Octave mode.
2521
cf4e5178
SM
25222013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * help-fns.el (help-fns--compiler-macro): If the handler function is
2525 named, then put a link to it.
2526 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2527 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2528 (cl-typep): Use it.
2529 (cl-eval-when): Simplify debug spec.
2530 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
2531 compiler-macro function instead of setting `compiler-macro-file'.
2532
99c81280 25332013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
2534
2535 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2536 * vc/vc-hooks.el (vc-stay-local): Doc fix.
2537
f56be016
SM
25382013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2539 Daniel Hackney <dan@haxney.org>
2540
2541 First part of Daniel Hackney's patch to package.el.
2542 * emacs-lisp/package.el: Use defstruct.
2543 (package-desc): New, main struct.
2544 (package--bi-desc, package--ac-desc): New structs, used to describe the
2545 format in external files.
2546 (package-desc-vers): Replace with package-desc-version accessor.
2547 (package-desc-doc): Replace with package-desc-summary accessor.
2548 (package-activate-1): Remove `package' arg since the pkg-vec now
2549 includes the name.
2550 (define-package): Use package-desc-from-define.
2551 (package-unpack-single): Change file-name arg to be a symbol.
2552 (package--add-to-archive-contents): Use package-desc-create and new
2553 accessor functions to package--ac-desc.
2554 (package-buffer-info, package-tar-file-info): Return a package-desc.
2555 (package-install-from-buffer): Remove `type' argument. Change pkg-info
2556 arg to be a package-desc.
2557 (package-install-file): Adjust accordingly. Use \' to match EOS.
2558 (package--from-builtin): New function.
2559 (describe-package-1, package-menu--generate): Use it.
2560 (package--make-autoloads-and-compile): Change name arg to be a symbol.
2561 (package-generate-autoloads): Idem and return the name of the file.
2562 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2563 Change pkg-info arg to be a package-desc.
2564 Use package-make-ac-desc.
2565 (package-upload-file): Use \' to match EOS.
2566 * finder.el (finder-compile-keywords): Use package-make-builtin.
2567
31119d63
SM
25682013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2569
931a2762
SM
2570 * vc/vc.el (vc-deduce-fileset): Change error message.
2571 (vc-read-backend): New function.
2572 (vc-next-action): Use it.
2573
5a3eb0c6
SM
2574 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2575
e3eb1bb7
SM
2576 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2577 (prolog-font-lock-keywords): Use regexp-opt instead.
2578 Don't manually highlight strings.
2579 (prolog-mode-variables): Simplify comment-start-skip.
2580 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
2581
31119d63
SM
2582 * emacs-lisp/generic.el (generic--normalise-comments)
2583 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2584 (generic-mode-set-comments): Use them.
2585 (generic-bracket-support): Use setq-local.
2586 (generic-make-keywords-list): Declare obsolete.
2587
7de135d0
GM
25882013-06-11 Glenn Morris <rgm@gnu.org>
2589
2590 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2591 Prettify after setting font-lock-defaults. (Bug#14574)
2592
fa6bc6fd
JB
25932013-06-11 Juanma Barranquero <lekktu@gmail.com>
2594
2595 * replace.el (query-replace, occur-read-regexp-defaults-function)
2596 (replace-search):
2597 * subr.el (declare-function, number-sequence, local-set-key)
2598 (substitute-key-definition, locate-user-emacs-file)
2599 (with-silent-modifications, split-string, eval-after-load):
2600 Fix typos, remove unneeded backslashes and reflow some docstrings.
2601
cf1f9b9a
SM
26022013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2605 default for Elisp files.
2606
56602a4b
GM
26072013-06-11 Glenn Morris <rgm@gnu.org>
2608
2609 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2610 although define-derived-mode was doing this anyway. (Bug#14583)
2611
30ae0b2c
JB
26122013-06-10 Juanma Barranquero <lekktu@gmail.com>
2613
2614 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2615 Fix make-variable-buffer-local call to refer to the correct variable.
2616
fa472906
AG
26172013-06-10 Aidan Gauland <aidalgol@amuri.net>
2618
2619 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
2620 (eshell-visual-subcommands, eshell-visual-options):
2621 Add summary line to docstrings. Add cross-references.
fa472906 2622
ff4871b9
GM
26232013-06-10 Glenn Morris <rgm@gnu.org>
2624
2625 * epa.el (epa-read-file-name): New function. (Bug#14510)
2626 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
2627
04fcf1b0
AG
26282013-06-09 Aidan Gauland <aidalgol@amuri.net>
2629
2630 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
2631 output redirection to be ignored with visual commands.
2632
88b00caa
AG
26332013-06-09 Aidan Gauland <aidalgol@amuri.net>
2634
2635 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
2636 (eshell-term-initialize): Move long lambda to separate function
2637 eshell-visual-command-p.
e7b41c4c
JB
2638 * eshell/em-dirs.el (eshell-dirs-initialise):
2639 * eshell/em-script.el (eshell-script-initialize):
2640 Add missing #' to lambda.
88b00caa 2641
fda74125
LL
26422013-06-08 Leo Liu <sdl.web@gmail.com>
2643
2644 * progmodes/octave.el (octave-add-log-current-defun): New function.
2645 (octave-mode): Set add-log-current-defun-function.
2646 (octave-goto-function-definition): Do not move point if not found.
2647 (octave-find-definition): Enhance to try subfunctions first.
2648
467f3b33
GM
26492013-06-08 Glenn Morris <rgm@gnu.org>
2650
2651 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2652 (byte-compile-backward-char, byte-compile-backward-word):
2653 Improve previous change, to handle non-explicit nil.
2654
544badc3
SM
26552013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
2658 (smie--opener/closer-at-point): New function.
2659 (smie--matching-block-data): Use it. Don't match from right after an
2660 opener or right before a closer. Obey smie-blink-matching-inners.
2661 Don't signal a mismatch for repeated inners like "switch..case..case".
2662
a175bf33
LL
26632013-06-07 Leo Liu <sdl.web@gmail.com>
2664
2665 * progmodes/octave.el (octave-mode): Set comment-use-global-state
2666 to t. (Bug#14303)
ce8209d4
LL
2667 (octave-function-header-regexp): Fix. (Bug#14570)
2668 (octave-help-mode-finish-hook, octave-help-mode-finish):
2669 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
2670
2671 * newcomment.el (comment-search-backward): Revert last change.
2672 (Bug#14434)
2673
2674 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
2675
a822acff
EZ
26762013-06-07 Eli Zaretskii <eliz@gnu.org>
2677
2678 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
2679 through xargs, to avoid failure due to MS-Windows limitations on
2680 command-line length.
2681
961166f5
GM
26822013-06-06 Glenn Morris <rgm@gnu.org>
2683
d0341459
GM
2684 * font-lock.el (lisp-font-lock-keywords-2):
2685 Treat user-error like error.
2686
961166f5
GM
2687 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2688 (byte-compile-backward-char, byte-compile-backward-word):
2689 Handle explicit nil arguments. (Bug#14565)
2690
80fa505f
AM
26912013-06-05 Alan Mackenzie <acm@muc.de>
2692
2693 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 2694 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 2695 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 2696 (Bug#9706)
80fa505f 2697
fccdc796
SM
26982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * autorevert.el (auto-revert-notify-handler): Use memq.
2701 Hide assertion failure.
2702
2703 * skeleton.el: Use cl-lib.
2704 (skeleton-further-elements): Use defvar-local.
2705 (skeleton-insert): Use cl-progv.
2706
9bfff84b
TZ
27072013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2708
2709 * progmodes/prog-mode.el (prog-prettify-symbols)
2710 (prog-prettify-install): Update docstrings.
2711
55577e7c
SM
27122013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * simple.el: Move all the prog-mode code to prog-mode.el.
2715 * progmodes/prog-mode.el: New file.
2716 * loadup.el: Add prog-mode.el.
2717
8fc57765
TZ
27182013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2719
2720 * simple.el (prog-prettify-symbols): Add version.
2721 (prog-prettify-install): Add convenience function to prettify symbols.
2722
2723 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
2724 (perl--augmented-font-lock-keywords-1)
2725 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
2726 variables and use it.
2727
2728 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2729 (cfengine3-mode): Remove unneeded variable and use it.
2730
2731 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2732 (lisp--augmented-font-lock-keywords-1)
2733 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
2734 Remove unneeded variables and use it.
2735
650645d5 27362013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
2737
2738 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 2739 to point when opening the connection. (Bug#14380)
28f5da6d 2740
781b4af6
SM
27412013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * subr.el (load-history-regexp, load-history-filename-element)
2744 (eval-after-load, after-load-functions, do-after-load-evaluation)
2745 (eval-next-after-load, display-delayed-warnings)
2746 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
2747 definition of save-match-data.
2748 (overriding-local-map): Remove accidental obsolescence declaration.
2749
2750 * emacs-lisp/edebug.el (edebug-result): Move before first use.
2751
3ca0d0b4
TZ
27522013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2753
2754 Generalize symbol prettify support to prog-mode and implement it
2755 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
2756 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
2757 (prog--prettify-font-lock-compose-symbol)
2758 (prog-prettify-font-lock-symbols-keywords): New variables and
2759 functions to support symbol prettification.
2760 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2761 (lisp--augmented-font-lock-keywords-1)
2762 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
2763 (lisp--prettify-symbols-alist): Implement prettify of lambda.
2764 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
2765 (cfengine3--prettify-symbols-alist, cfengine3-mode):
2766 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
2767 * progmodes/perl-mode.el (perl-prettify-symbols)
2768 (perl--font-lock-compose-symbol)
2769 (perl--font-lock-symbols-keywords): Move to prog-mode.
2770 (perl--prettify-symbols-alist): Prettify -> => :: strings.
2771 (perl-font-lock-keywords-1)
2772 (perl-font-lock-keywords-2): Remove explicit prettify support.
2773 (perl--augmented-font-lock-keywords)
2774 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
2775 (perl--augmented-font-lock-keywords-2, perl-mode):
2776 Implement prettify support.
3ca0d0b4 2777
976cb066
LL
27782013-06-05 Leo Liu <sdl.web@gmail.com>
2779
2780 Re-implement smie matching block highlight using
2781 show-paren-data-function. (Bug#14395)
2782 * emacs-lisp/smie.el (smie-matching-block-highlight)
2783 (smie--highlight-matching-block-overlay)
2784 (smie--highlight-matching-block-lastpos)
2785 (smie-highlight-matching-block)
2786 (smie-highlight-matching-block-mode): Remove.
2787 (smie--matching-block-data-cache): New variable.
2788 (smie--matching-block-data): New function.
2789 (smie-setup): Use smie--matching-block-data for
2790 show-paren-data-function.
2791
2792 * progmodes/octave.el (octave-mode-menu): Fix.
2793 (octave-find-definition): Skip garbage lines.
2794
208d0342
SM
27952013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 Fix compilation error with simultaneous dynamic+lexical scoping.
2798 Add warning when a defvar appears after the first let-binding.
2799 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
2800 (byte-compile-close-variables): Initialize it.
2801 (byte-compile--declare-var): New function.
2802 (byte-compile-file-form-defvar)
2803 (byte-compile-file-form-define-abbrev-table)
2804 (byte-compile-file-form-custom-declare-variable): Use it.
2805 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
2806 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
2807 (byte-compile-bind): Handle dynamic bindings that shadow
2808 lexical bindings.
2809 (byte-compile-unbind): Make arg non-optional.
2810 (byte-compile-let): Simplify.
2811 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
2812 (cconv--analyse-function, cconv-analyse-form): Populate it.
2813 Protect byte-compile-bound-variables to limit the scope of defvars.
2814 (cconv-analyse-form): Add missing rule for (defvar <foo>).
2815 Remove unneeded rule for `declare'.
2816
2817 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
2818 so as to avoid depending on cl-adjoin at run-time.
2819 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
2820
2821 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
2822 (macroexp--warn-and-return): Use it.
2823
2587b005
LL
28242013-06-05 Leo Liu <sdl.web@gmail.com>
2825
2826 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
2827
f1da3c88
LL
28282013-06-04 Leo Liu <sdl.web@gmail.com>
2829
2830 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
2831 (compilation-auto-jump): Suppress the "Mark set" message to give
2832 way to exit message.
2833
3caa391f
AM
28342013-06-04 Alan Mackenzie <acm@muc.de>
2835
2836 Remove faulty optimisation from indentation calculation.
2837 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
2838 search limit based on 2000 characters back from indent-point.
2839
068922a2
TH
28402013-06-03 Tassilo Horn <tsdh@gnu.org>
2841
2842 * eshell/em-term.el (cl-lib): Require `cl-lib'.
2843
1f8fdd53
SM
28442013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2845
bbcc4d97
SM
2846 * emacs-lisp/lisp.el: Use lexical-binding.
2847 (lisp--local-variables-1, lisp--local-variables): New functions.
2848 (lisp--local-variables-completion-table): New var.
208d0342 2849 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 2850
1f8fdd53
SM
2851 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
2852 eagerly (bug#14422).
2853
c9628c79
MA
28542013-06-03 Michael Albinus <michael.albinus@gmx.de>
2855
2856 * autorevert.el (auto-revert-notify-enabled)
2857 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2858 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
2859 (auto-revert-notify-handler): Handle also gfilenotify.
2860
e7b41c4c 2861 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 2862 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 2863 Remove.
c9628c79 2864
e5e4a942
JL
28652013-06-03 Juri Linkov <juri@jurta.org>
2866
2867 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
2868 `M-s h .'. (Bug#14427)
2869
2870 * hi-lock.el (highlight-symbol-at-point): New alias for the new
2871 command `hi-lock-face-symbol-at-point'.
2872 (hi-lock-face-symbol-at-point): New command.
2873 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
2874 (hi-lock-menu): Add `highlight-symbol-at-point'.
2875 (hi-lock-mode): Doc fix.
2876
2877 * isearch.el (isearch-forward-symbol-at-point): New command.
2878 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
2879 (isearch-highlight-regexp): Add a regexp which matches
2880 words/symbols for word/symbol mode.
2881
2882 * subr.el (find-tag-default-bounds): New function with the body
2883 mostly moved from `find-tag-default'.
2884 (find-tag-default): Move most code to `find-tag-default-bounds',
2885 call it and apply `buffer-substring-no-properties' afterwards.
2886
26b3353a
TH
28872013-06-03 Tassilo Horn <tsdh@gnu.org>
2888
781b4af6
SM
2889 * eshell/em-term.el (eshell-term-initialize):
2890 Use `cl-intersection' rather than `intersection'.
26b3353a 2891
51b60f53
XF
28922013-06-02 Xue Fuqiao <xfq.free@gmail.com>
2893
fe054b63 2894 * vc/log-view.el: Doc fix.
d3ffe17c 2895 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 2896
a0eb10b3 28972013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
2898
2899 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
2900 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
2901 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
2902 (eieio-unbound, eieio-default-superclass)
2903 (eieio--define-field-accessors, method-static, method-before)
2904 (method-primary, method-after, method-num-lists)
2905 (method-generic-before, method-generic-primary)
2906 (method-generic-after, method-num-slots)
2907 (eieio-specialized-key-to-generic-key)
2908 (eieio--check-type, class-v, class-p)
2909 (eieio-class-name, define-obsolete-function-alias)
2910 (eieio-class-parents-fast, eieio-class-children-fast)
2911 (same-class-fast-p, class-constructor, generic-p)
2912 (generic-primary-only-p, generic-primary-only-one-p)
2913 (class-option-assoc, class-option, eieio-object-p)
2914 (class-abstract-p, class-method-invocation-order)
2915 (eieio-defclass-autoload-map, eieio-defclass-autoload)
2916 (eieio-class-un-autoload, eieio-defclass)
2917 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
2918 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
2919 (eieio--defgeneric-init-form, eieio-defgeneric-form)
2920 (eieio-defgeneric-reset-generic-form)
2921 (eieio-defgeneric-form-primary-only)
2922 (eieio-defgeneric-reset-generic-form-primary-only)
2923 (eieio-defgeneric-form-primary-only-one)
2924 (eieio-defgeneric-reset-generic-form-primary-only-one)
2925 (eieio-unbind-method-implementations)
2926 (eieio--defmethod, eieio--typep)
2927 (eieio-perform-slot-validation, eieio-validate-slot-value)
2928 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
2929 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
2930 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
2931 (eieio-slot-name-index, eieio-class-slot-name-index)
2932 (eieio-set-defaults, eieio-initarg-to-attribute)
2933 (eieio-attribute-to-initarg, eieio-c3-candidate)
2934 (eieio-c3-merge-lists, eieio-class-precedence-c3)
2935 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
2936 (eieio-class-precedence-list, eieio-generic-call-methodname)
2937 (eieio-generic-call-arglst, eieio-generic-call-key)
2938 (eieio-generic-call-next-method-list)
2939 (eieio-pre-method-execution-functions, eieio-generic-call)
2940 (eieio-generic-call-primary-only, eieiomt-method-list)
2941 (eieiomt-optimizing-obarray, eieiomt-install)
2942 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
2943 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 2944 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
2945 (defclass): Remove `eval-and-compile' from macro.
2946 (call-next-method, shared-initialize): Instead of using
2947 `scoped-class' variable, use new eieio--scoped-class, and
2948 eieio--with-scoped-class.
2949 (initialize-instance): Rename local variable 'scoped-class' to
2950 'this-class' to remove ambiguitity from old global.
2951
2952 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
2953 eieio.el.
4f405069
JB
2954 (eieio--scoped-class-stack): New variable.
2955 (eieio--scoped-class): New fcn.
890f7890
DE
2956 (eieio--with-scoped-class): New scoping macro.
2957 (eieio-defclass): Use pushnew instead of add-to-list.
2958 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
2959 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
2960 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
2961 `scoped-class' variable, use new eieio--scoped-class, and
2962 eieio--with-scoped-class.
2963
2964 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
2965
d105b0e2
TH
29662013-06-02 Tassilo Horn <tsdh@gnu.org>
2967
2968 * eshell/esh-ext.el (eshell-external-command): Pass args to
2969 `eshell-find-interpreter'.
2970 (eshell-find-interpreter): Add new second parameter ARGS.
2971
2972 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 2973 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
2974
2975 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 2976 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
2977
2978 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2979 (eshell-visual-options): New defcustom.
2980 (eshell-escape-control-x): Adapt docstring.
2981 (eshell-term-initialize): Test `eshell-visual-subcommands' and
2982 `eshell-visual-options' in addition to `eshell-visual-commands'.
2983 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2984
f46305c8 29852013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
2986
2987 * progmodes/python.el (python-indent-block-enders): Add break,
2988 continue and raise keywords.
2989
d870df21
GM
29902013-06-01 Glenn Morris <rgm@gnu.org>
2991
9133b82e
GM
2992 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2993
02c992ec 2994 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
2995 * progmodes/cc-cmds.el (delete-forward-p):
2996 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2997 * progmodes/cc-engine.el (buffer-syntactic-context):
2998 * progmodes/cc-fonts.el (face-property-instance):
2999 * progmodes/cc-mode.el (set-keymap-parents):
3000 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3001 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3002 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
3003 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3004 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 3005
31e7b090
GM
3006 * progmodes/cc-vars.el (other): Emacs has this widget since
3007 at least 21.1, so don't (re)define it.
3008
d870df21
GM
3009 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3010 Replace the obsolete alias pcomplete-arg-quote-list.
3011
c75c93c7
LL
30122013-06-01 Leo Liu <sdl.web@gmail.com>
3013
3014 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3015 punctuation syntax.
3016 (inferior-octave-minimal-columns)
3017 (inferior-octave-last-column-width): New variables.
3018 (inferior-octave-track-window-width-change): New function.
3019 (inferior-octave-mode): Adjust column width so that Octave output,
3020 for example from 'ls', can fit into the window nicely.
3021
973d1e12
DG
30222013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3023
3024 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3025 Highlight expansions inside regexp literals.
3026
0888c286
GM
30272013-05-31 Glenn Morris <rgm@gnu.org>
3028
e26aac1f
GM
3029 * obsolete/sym-comp.el (symbol-complete):
3030 Replace obsolete completion-annotate-function.
3031
0888c286
GM
3032 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3033
19bb8e62
DG
30342013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3035
781b4af6
SM
3036 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3037 New function, checks if point is inside a literal that allows
19bb8e62
DG
3038 expression expansion.
3039 (ruby-syntax-propertize-expansion): Use it.
3040 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3041 around the body.
3042
01dea85f
JL
30432013-05-30 Juri Linkov <juri@jurta.org>
3044
3045 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3046 to "\M-si".
3047 (isearch-invisible): New variable.
3048 (isearch-forward): Doc fix.
3049 (isearch-mode): Set `isearch-invisible'
3050 to the value of `search-invisible'.
3051 (isearch-toggle-case-fold): Doc fix.
3052 (isearch-toggle-invisible): New command.
3053 (isearch-query-replace): Let-bind `search-invisible'
3054 to the value of `isearch-invisible'.
3055 (isearch-search): Use `isearch-invisible' instead of
3056 `search-invisible'. Let-bind `search-invisible'
3057 to the value of `isearch-invisible'. (Bug#11378)
3058
ab1bdce5
JL
30592013-05-30 Juri Linkov <juri@jurta.org>
3060
3061 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3062 call when `query-flag' is nil and `search-invisible' is non-nil.
3063 (Bug#11746)
3064
d6d236e2
GM
30652013-05-30 Glenn Morris <rgm@gnu.org>
3066
8accd027
GM
3067 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3068
2a8bed1c
GM
3069 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3070 (cc-require): Suppress spurious "noruntime" warnings.
3071 (cc-require-when-compile): Use fboundp, for sake of compiler.
3072
d6d236e2
GM
3073 * progmodes/cc-mode.el: Move load of cc-vars before that of
3074 cc-langs (which in turn loads cc-vars), to quieten compiler.
3075
9190b35b
SM
30762013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * paren.el: Simplify the code.
3079 (show-paren-mode): Always start the timer.
3080 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3081 (show-paren--overlay, show-paren--overlay-1): Rename from
3082 show-paren-overlay and show-paren-overlay-1, and initialize to an
3083 overlay rather than to nil.
3084 (show-paren-function): Misc cleanup and simplifications.
3085
4f8d1cf6
SM
30862013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3088 * paren.el (show-paren-data-function): New hook.
3089 (show-paren--default): New function, extracted from show-paren-function.
3090 (show-paren-function): Use show-paren-data-function.
3091
02d844b5
GM
30922013-05-30 Glenn Morris <rgm@gnu.org>
3093
d209d4a9
GM
3094 * ielm.el (ielm-map, ielm-complete-symbol):
3095 Use completion-at-point rather than obsolete functions.
3096 (inferior-emacs-lisp-mode): Doc fix.
3097 Set completion-at-point-functions, rather than
3098 comint-dynamic-complete-functions.
3099
2082faa6
GM
3100 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3101 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3102 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3103
dd8620de
GM
3104 * image.el (image-animated-p): Tweak definition.
3105
ceca95b1
GM
3106 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3107 (rlogin-process-connection-type): Tweak default. Add set-after.
3108 (rlogin-host): Doc fix.
3109 (rlogin): Tweak prompt.
3110 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3111
ee9f1acc
GM
3112 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3113 * progmodes/tcl.el (inferior-tcl-mode-map):
3114 Use completion-at-point rather than obsolete alias.
3115
45ce222e
GM
3116 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3117
02d844b5
GM
3118 * minibuffer.el (read-file-name-completion-ignore-case):
3119 Move before completion--in-region, for eager macro expansion.
3120
ac44d6c1
JL
31212013-05-29 Juri Linkov <juri@jurta.org>
3122
3123 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3124 for total count of matching lines. Add `global-matches' for total
3125 count of matches. Rename `matches' to `lines' for count of
3126 matching lines. Add `matches' for count of matches.
3127 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3128 to `prev-line' for line number of prev match endpt.
3129 Increment `matches' for every match. Print the number of
3130 matching lines in the header.
3131 (occur-context-lines): Rename `lines' to `curr-line'.
3132 Rename `prev-lines' to `prev-line'. (Bug#14017)
3133
3c9c9d38
JL
31342013-05-29 Juri Linkov <juri@jurta.org>
3135
3136 * replace.el (perform-replace): Add `skip-read-only-count',
3137 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3138 Increment them for corresponding conditions and report the number
3139 of skipped occurrences in the final message. (Bug#11746)
3140 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3141 (replace-string, replace-regexp): Doc fix.
3142
33e249a2
SM
31432013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3144
8e399682
SM
3145 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3146
33e249a2 3147 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 3148 prog-mode-map (bug#14504).
33e249a2 3149
f236dd84
LL
31502013-05-29 Leo Liu <sdl.web@gmail.com>
3151
3152 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3153 (octave-help): Small simplification.
3154
3155 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3156 off the highlight first.
3157
3694d13f
GM
31582013-05-29 Glenn Morris <rgm@gnu.org>
3159
03983bdc
GM
3160 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3161 Handle idlwave-last-system-routine-info-cons-cell being nil.
3162
bc74a74a
GM
3163 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3164 (idlwave-write-paths): Simplify via with-temp-buffer.
3165
8b394200
GM
3166 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3167 * emulation/cua-rect.el: Also load cua-base at run time.
3168
3694d13f
GM
3169 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3170 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3171 (cperl-imenu-on-info): Require imenu.
3172
336d7284
AM
31732013-05-28 Alan Mackenzie <acm@muc.de>
3174
3175 Handle "capitalised keywords" correctly.
33e249a2 3176 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 3177
cb29c582
AG
31782013-05-28 Aidan Gauland <aidalgol@amuri.net>
3179
781b4af6 3180 * eshell/em-unix.el: Add -r option to cp.
cb29c582 3181
690e44b2
GM
31822013-05-28 Glenn Morris <rgm@gnu.org>
3183
e658d75c
GM
3184 * vc/vc-arch.el (vc-exec-after): Declare.
3185 (vc-switches): Autoload.
3186 * vc/vc-bzr.el: No need to require vc when compiling.
3187 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3188 (vc-resynch-buffer, vc-dir-refresh): Declare.
3189 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
3190 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3191 (vc-resynch-buffer): Declare.
3192 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 3193 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
3194 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3195 (grep-read-regexp, grep-read-files, grep-expand-template)
3196 (vc-dir-refresh): Declare.
3197 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3198 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3199 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
3200 * vc/vc-mtn.el (vc-exec-after): Declare.
3201 (vc-switches): Autoload.
3202 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3203 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3204 (vc-file-tree-walk): Declare.
712b9732
GM
3205 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3206 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3207 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
3208 * vc/vc-svn.el (vc-exec-after): Declare.
3209 (vc-switches, vc-setup-buffer): Autoload.
3210 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3211 Autoload.
3212 (vc-resynch-buffer): Declare.
3213
98e87fb3
GM
3214 * obsolete/fast-lock.el (byte-compile-warnings):
3215 Don't warn about obsolete features in this obsolete file.
3216
f5379553
GM
3217 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3218 Move definition before use.
3219
7a20ef83
GM
3220 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3221 (dun-unix-verbs): Remove dun-zippy.
3222 (dun-zippy): Remove function.
3223
690e44b2
GM
3224 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3225
3a52ccf7
JL
32262013-05-27 Juri Linkov <juri@jurta.org>
3227
3228 * replace.el (replace-search): New function with code moved out
3229 from `perform-replace'.
3230 (replace-highlight, replace-dehighlight): Move function definitions
3231 up closer to `replace-search'. (Bug#11746)
3232
d289938a
JL
32332013-05-27 Juri Linkov <juri@jurta.org>
3234
3235 * replace.el (perform-replace): Ignore invisible matches.
3236 In addition to checking `query-replace-skip-read-only', also
3237 filter out matches by calling `run-hook-with-args-until-failure'
3238 on `isearch-filter-predicates', and also check `search-invisible'
3239 for t or call `isearch-range-invisible'.
3240 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
3241
66fc57e3
JL
32422013-05-27 Juri Linkov <juri@jurta.org>
3243
3244 * isearch.el (isearch-filter-predicates): Rename from
3245 `isearch-filter-predicate'. Doc fix. (Bug#11378)
3246 (isearch-message-prefix): Display text from the property
3247 `isearch-message-prefix' of the currently active filters.
3248 (isearch-search): Don't compare `isearch-filter-predicate' with
3249 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
3250 on `isearch-filter-predicates'. Also check `search-invisible' for t
3251 or call `isearch-range-invisible'.
3252 (isearch-filter-visible): Make obsolete.
3253 (isearch-lazy-highlight-search):
3254 Call `run-hook-with-args-until-failure' on
3255 `isearch-filter-predicates' and use `isearch-range-invisible'.
3256
3257 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3258 `isearch-filter-predicates' instead of `funcall'ing
3259 `isearch-filter-predicate'.
3260 (Info-mode): Set `Info-isearch-filter' to
3261 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3262
3263 * dired-aux.el (dired-isearch-filter-predicate-orig):
3264 Remove variable.
3265 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3266 (dired-isearch-filenames-end): Add and remove
3267 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3268 instead of changing the value of `isearch-filter-predicate'.
3269 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3270 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3271 Put property `isearch-message-prefix' to "filename " on
3272 `dired-isearch-filter-filenames'.
3273
3274 * wdired.el (wdired-change-to-wdired-mode):
3275 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3276 locally instead of changing `isearch-filter-predicate'.
3277 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3278
f1a60a0f
DG
32792013-05-27 Dmitry Gutov <dgutov@yandex.ru>
3280
3281 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3282 return the commit hash (Bug#14459). Also set the
3283 `vc-git-detached' property.
3284 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3285 (vc-git-mode-line-string): Use the same help-echo format whether
3286 in detached mode or not, because we know the actual revision now.
3287 When in detached mode, shorten the revision to 7 chars.
3288
7f17cc40
SM
32892013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * emacs-lisp/easy-mmode.el (define-minor-mode):
3292 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3293 mode hook and provide a docstring.
3294
25c8401c
AM
32952013-05-27 Alan Mackenzie <acm@muc.de>
3296
3297 Remove spurious syntax-table text properties inserted by C-y.
3298 * progmodes/cc-mode.el (c-after-change): Also clear hard
3299 syntax-table property with value nil.
3300
dde84790
MA
33012013-05-27 Michael Albinus <michael.albinus@gmx.de>
3302
3303 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3304 when reading the events; the buffer layout shall not be changed.
3305
837fd9af
LL
33062013-05-27 Leo Liu <sdl.web@gmail.com>
3307
3308 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3309 New variable.
3310 (inferior-octave-directory-tracker): Automatically re-sync
3311 default-directory.
3312 (octave-help): Improve handling of 'See also'.
3313
4fd996b3
SM
33142013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3315
416f1802
SM
3316 * doc-view.el: Minor naming convention tweaks.
3317 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3318
4fd996b3
SM
3319 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3320 even if there's no `display' property yet (bug#14435).
3321
a052ef3b
EZ
33222013-05-25 Eli Zaretskii <eliz@gnu.org>
3323
4fd996b3 3324 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
3325
3326 * Makefile.in (custom-deps, finder-data, autoloads)
3327 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3328 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3329 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3330
c9023370
SM
33312013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3334 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 3335 Don't burp at EOB.
c9023370 3336
24d699fa
LL
33372013-05-25 Leo Liu <sdl.web@gmail.com>
3338
3339 * comint.el (comint-previous-matching-input): Do not flood the
3340 *Messages* buffer with trivial messages.
3341
17e5c0cc
SM
33422013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3343
3344 * progmodes/flymake.el (flymake-nop): Don't return a string.
3345 (flymake-set-at): Fix typo.
3346
3347 * simple.el (read--expression): New function, extracted from
3348 eval-expression. Set completion-at-point-functions (bug#14465).
3349 (eval-expression, eval-minibuffer): Use it.
3350
5d028165
XF
33512013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3352
3353 * progmodes/flymake.el (flymake-save-buffer-in-file)
3354 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3355 (flymake-selected-frame, flymake-log, flymake-ins-after)
3356 (flymake-set-at, flymake-get-buildfile-from-cache)
3357 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3358 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3359 Refine the doc string.
3360 (flymake-get-file-name-mode-and-masks): Reformat.
3361 (flymake-get-real-file-name-function): Fix a minor bug.
3362
7a1d7ba7
JL
33632013-05-24 Juri Linkov <juri@jurta.org>
3364
3365 * progmodes/grep.el (grep-mode-font-lock-keywords):
3366 Support =linenumber= format used by git-grep for lines with
3367 function names. (Bug#13549)
3368
650cff3d
SM
33692013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3372 0 after a semi-colon; it works better for smie-auto-fill.
3373 (octave--indent-new-comment-line): New function.
3374 (octave-indent-new-comment-line): Use it (indirectly).
3375 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3376 modify comment-line-break-function.
3377
3378 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3379 (smie-setup): Use add-function to set it.
3380
9631677d
SS
33812013-05-24 Sam Steingold <sds@gnu.org>
3382
3383 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3384 argument (before the `interactive' argument).
3385
50105835
SM
33862013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * image-mode.el (image-mode-winprops): Add winprops to
3389 image-mode-winprops-alist before running
3390 image-mode-new-window-functions.
3391 * doc-view.el (doc-view-new-window-function): Don't delay
3392 doc-view-goto-page via timers (bug#14435).
3393
57b9823e
TH
33942013-05-24 Tassilo Horn <tsdh@gnu.org>
3395
3396 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3397 (doc-view-desktop-save-buffer): New function.
3398 (doc-view-restore-desktop-buffer): New function.
50105835
SM
3399 (desktop-buffer-mode-handlers):
3400 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
3401 handler.
3402 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3403 `desktop-save-buffer' function.
3404
91aafa16
MA
34052013-05-24 Michael Albinus <michael.albinus@gmx.de>
3406
3407 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3408 (tramp-gvfs-file-name-handler): Raise a user error when
3409 `tramp-gvfs-enabled' is nil.
3410 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3411 Do not raise a user error when loading package. (Bug#14447)
3412
ec076379
MA
3413 * net/xesam.el: Move to obsolete/.
3414
db785726
GM
34152013-05-24 Glenn Morris <rgm@gnu.org>
3416
af5c7606
GM
3417 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3418
e5d1916a
GM
3419 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3420
ded62b08
GM
3421 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3422 (Info-find-node, Man-getpage-in-background): Declare.
3423
9e614a3f
GM
3424 * mail/unrmail.el (unrmail):
3425 Replace obsolete detect-coding-with-priority.
3426
892f8ca3
GM
3427 * net/socks.el (socks-split-string): Use this rather than split-string.
3428 (socks-nslookup-host): Update for above change.
3429 (dynamic-choice, s5-dynamic-choice-match)
3430 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3431 Comment out unused code.
3432
3c291973
GM
3433 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3434 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3435 (gud-tooltip-echo-area): Make obsolete.
3436 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3437
43cc956b
GM
3438 * progmodes/js.el (js--optimize-arglist): Declare.
3439
dab49a3b
GM
3440 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3441
36b9d085
GM
3442 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3443 (ediff-window-C): Declare.
3444
e354ae76
GM
3445 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3446 Tweak requires to silence compiler.
3447
b8e57bf4
GM
3448 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3449 (he-search-string, he-tried-table, he-expand-list)
3450 (he-init-string, he-string-member, he-substitute-string)
3451 (he-reset-string): Declare.
3452
db785726
GM
3453 * obsolete/options.el (list-options): Use custom-variable-p,
3454 rather than obsolete alias.
3455
b3531901
SS
34562013-05-23 Sam Steingold <sds@gnu.org>
3457
3458 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 3459 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
3460 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3461
bdda4c66
SM
34622013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * emacs-lisp/smie.el (smie-indent-forward-token)
3465 (smie-indent-backward-token): Handle string tokens (bug#14381).
3466
c43d45f9
TH
34672013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3468
fe1eb856
RS
3469 * ielm.el (ielm-menu): New menu.
3470 (inferior-emacs-lisp-mode): Set comment-start.
96172128 3471
fe1eb856
RS
34722013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3473
3474 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3475 Fix deactivate action.
3476
3477 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3478 Add cleveref macros.
074dd971 3479
c43d45f9
TH
3480 * lisp/textmodes/reftex-parse.el
3481 (reftex-locate-bibliography-files): Accept options for
3482 bibliography commands.
3483 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3484 Add addbibresource. Basic Biblatex support.
3485
7764286e
MA
34862013-05-23 Michael Albinus <michael.albinus@gmx.de>
3487
3488 * net/tramp-gvfs.el (top):
3489 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3490 when loading package. (Bug#14447)
3491
d361bc10
GM
34922013-05-23 Glenn Morris <rgm@gnu.org>
3493
8fa23984
GM
3494 * progmodes/js.el: No need to load comint when compiling.
3495 (ring-insert, comint-send-string, comint-send-input)
3496 (comint-last-input-end, ido-chop): Declare.
3497
a5c7df1a
GM
3498 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3499 * vc/ediff-mult.el: Adjust requires.
3500 (ediff-directories-internal, ediff-directory-revisions-internal)
3501 (ediff-patch-file-internal): Declare.
3502 * vc/ediff-ptch.el: Adjust requires.
3503 (ediff-use-last-dir, ediff-buffers-internal): Declare.
3504 (ediff-find-file): Autoload.
3505 * vc/ediff-util.el: No need to load ediff when compiling.
3506 (ediff-regions-internal): Declare.
3507 * vc/ediff-wind.el: Adjust requires.
3508 (ediff-compute-toolbar-width): Define when compiling.
3509 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3510 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3511 (dired-get-filename, dired-get-marked-files)
3512 (ediff-last-dir-patch, ediff-patch-default-directory)
3513 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3514 (ediff-patch-buffer-internal): Declare.
3515
e2aec513
GM
3516 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3517 (ispell-process, ispell-buffer-local-words, lm-summary)
3518 (lm-section-start, lm-section-end): Declare.
3519 (checkdoc-ispell-init): Simplify.
3520
e68bbd7c
GM
3521 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3522 (he-string-member, he-reset-string, he-substitute-string): Declare.
3523
7efe0991
GM
3524 * eshell/em-ls.el: Adjust requires.
3525 (eshell-glob-regexp): Declare.
f87b1284
GM
3526 * eshell/em-tramp.el: Adjust requires.
3527 (eshell-parse-command): Autoload.
3528 * eshell/em-xtra.el: Adjust requires.
3529 (eshell-parse-command): Autoload.
3530 * eshell/esh-ext.el: Adjust requires.
3531 (eshell-parse-command, eshell-close-handles): Autoload.
3532 * eshell/esh-io.el: Adjust requires.
3533 (eshell-output-filter): Autoload.
3534 * eshell/esh-util.el: No need to load tramp when compiling.
3535 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3536 Declare.
3537 (eshell-parse-ange-ls): Require ange-ftp and tramp.
3538 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3539 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3540 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3541 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3542 * eshell/esh-opt.el, eshell/esh-proc.el:
3543 * eshell/esh-var.el: Adjust requires.
3544 * eshell/eshell.el: Do not require esh-util twice.
3545 (eshell-add-input-to-history): Declare.
3546 (eshell-command): Check history module is active before using it.
3547
d361bc10
GM
3548 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3549
85d090a9
LL
35502013-05-22 Leo Liu <sdl.web@gmail.com>
3551
3552 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3553
5d0acd9d
MA
35542013-05-22 Michael Albinus <michael.albinus@gmx.de>
3555
3556 * autorevert.el (auto-revert-notify-add-watch)
3557 (auto-revert-notify-handler): Add `attrib' for the inotify case,
3558 it indicates changes in file modification time.
3559
0cdffd7d
GM
35602013-05-22 Glenn Morris <rgm@gnu.org>
3561
ca5995ec
GM
3562 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3563 Always delete the autoloaded function from the noruntime and
3564 unresolved functions lists.
3565
6450907e
GM
3566 * allout.el: No need to load epa, epg, overlay when compiling.
3567 (epg-context-set-passphrase-callback, epg-list-keys)
3568 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3569 (epg-key-user-id-list): Declare.
3570
9c6906f6
GM
3571 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3572 (viper-set-parsing-style-toggling-macro)
3573 (viper-set-emacs-state-searchstyle-macros):
3574 Use called-interactively-p on Emacs.
3575 (viper-looking-back): Make it an obsolete alias. Update callers.
3576 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3577 Use looking-back rather than viper-looking-back.
3578 (viper-tmp-insert-at-eob, viper-enlarge-region)
3579 (viper-read-string-with-history, viper-register-to-point)
3580 (viper-append-to-register, viper-change-state-to-vi)
3581 (viper-backward-char-carefully, viper-forward-char-carefully)
3582 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3583 (viper-change-state-to-emacs): Declare.
3584 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3585 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3586 * emulation/viper-mous.el: Do not load viper-cmd.
3587 (viper-backward-char-carefully, viper-forward-char-carefully)
3588 (viper-forward-word, viper-adjust-window): Declare.
3589
5f70c169
GM
3590 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3591
b1b7f300
GM
3592 * progmodes/idlw-help.el (idlwave-help-fontify):
3593 Use called-interactively-p.
3594
f6ebbb46
GM
3595 * term/w32console.el (w32-get-console-codepage)
3596 (w32-get-console-output-codepage): Declare.
3597
0cdffd7d
GM
3598 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3599 Remove unnecessary declarations.
3600 (dframe-message): Doc fix.
3601
3602 * info.el (dframe-select-attached-frame, dframe-current-frame):
3603 Declare.
3604
3605 * speedbar.el (speedbar-message): Make it an obsolete alias.
3606 Update all callers.
3607 (speedbar-with-attached-buffer)
3608 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3609 (speedbar-with-writable): Use backquote.
3610 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3611 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3612 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
3613 rather than speedbar- aliases.
3614 * mail/rmail.el: Load dframe rather than speedbar when compiling.
3615 (speedbar-make-specialized-keymap, speedbar-insert-button)
3616 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
3617 (speedbar-do-function-pointer): Declare.
3618 (rmail-speedbar-button, rmail-speedbar-find-file)
3619 (rmail-speedbar-move-message):
3620 Use dframe-with-attached-buffer rather than speedbar- alias.
3621 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
3622 (dframe-message, speedbar-make-specialized-keymap)
3623 (speedbar-add-expansion-list, speedbar-mode-functions-list)
3624 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
3625 (speedbar-insert-button, dframe-select-attached-frame)
3626 (dframe-maybee-jump-to-attached-frame)
3627 (speedbar-change-initial-expansion-list)
3628 (speedbar-previously-used-expansion-list-name): Declare.
3629 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
3630 Use dframe-message, dframe-with-attached-buffer rather than
3631 speedbar- aliases.
3632 (gud-sentinel): Silence compiler.
3633 * progmodes/vhdl-mode.el (speedbar-refresh)
3634 (speedbar-do-function-pointer, speedbar-add-supported-extension)
3635 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
3636 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
3637 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
3638 (speedbar-file-lists, speedbar-make-tag-line)
3639 (speedbar-line-directory, speedbar-goto-this-file)
3640 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
3641 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
3642 (speedbar-make-button, speedbar-reset-scanners)
3643 (speedbar-files-item-info, speedbar-line-text)
3644 (speedbar-find-file-in-frame, speedbar-set-timer)
3645 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
3646 (speedbar-with-writable): Do not (re)define it.
3647 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
3648 rather than speedbar- alias.
3649
ee44b62a
LL
36502013-05-21 Leo Liu <sdl.web@gmail.com>
3651
3652 * progmodes/octave.el (octave-mode-menu): Update and re-organize
3653 menu items.
3654 (octave-mode): Tweak fill-nobreak-predicate.
3655 (inferior-octave-startup): Check process to avoid infinite loop.
3656 (inferior-octave): Pop to buffer first to show abornmal process
3657 exit information.
3658
640f050f
GM
36592013-05-21 Glenn Morris <rgm@gnu.org>
3660
79458038
GM
3661 * printing.el (pr-menu-bar): Define when compiling.
3662
9cc3e83f
LL
36632013-05-21 Leo Liu <sdl.web@gmail.com>
3664
3665 * progmodes/octave.el (octave-auto-fill): Remove.
3666 (octave-indent-new-comment-line): Improve.
3667 (octave-mode): Use auto fill mode through
4f405069 3668 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 3669 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 3670 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
3671 (octave-help): Show parent directory.
3672
f440830d
GM
36732013-05-21 Glenn Morris <rgm@gnu.org>
3674
3675 * files.el (dired-unmark):
3676 * progmodes/gud.el (gdb-input): Update declarations.
3677
3678 * calculator.el (electric, ehelp): No need to load when compiling.
3679 (Electric-command-loop, electric-describe-mode): Declare.
3680
3681 * doc-view.el (doc-view-current-converter-processes): Move before use.
3682
3683 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3684 Move MODE-set-explicitly definition before use.
3685
3686 * international/mule-diag.el (mule-diag):
3687 Don't use obsolete window-system-version.
3688
3689 * mail/feedmail.el (smtpmail): No need to load when compiling.
3690 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
3691
3692 * mail/mail-utils.el (rfc822): No need to load when compiling.
3693 (rfc822-addresses): Autoload it.
3694 (mail-strip-quoted-names): Trivial simplification.
3695
3696 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
3697 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
3698
3699 * net/snmp-mode.el (tempo): Don't duplicate requires.
3700
3701 * progmodes/prolog.el (info): No need to load when compiling.
3702 (comint): Require before shell requires it.
3703 (Info-goto-node): Autoload it.
3704 (Info-follow-nearest-node): Declare.
3705 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
3706
3707 * textmodes/artist.el (picture-mode-exit): Declare.
3708
3709 * textmodes/reftex-parse.el (reftex-parse-from-file):
3710 Trivial rewrite so the compiler can parse it better.
3711
b4da2cbb
LL
37122013-05-20 Leo Liu <sdl.web@gmail.com>
3713
3714 * progmodes/octave.el (octave-help-mode-map)
3715 (octave-help-mode-finish-hook): New variables.
3716 (octave-help-mode, octave-help-mode-finish): New functions.
3717 (octave-help): Use octave-help-mode.
3718
33c0f65b
GM
37192013-05-20 Glenn Morris <rgm@gnu.org>
3720
3721 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
3722
1a0a0a8a
DG
37232013-05-19 Dmitry Gutov <dgutov@yandex.ru>
3724
3725 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
3726 start at point, so that expansion starting right after opening
3727 slash in a regexp is recognized.
3728 (ruby-syntax-before-regexp-re): New defvar, extracted from
3729 ruby-syntax-propertize-function. Since the value of this regexp
3730 is looked up at runtime now, we should be able to turn
3731 `ruby-syntax-methods-before-regexp' into a defcustom later.
3732 (ruby-syntax-propertize-function): Split regexp matching into two
3733 parts, for opening and closing slashes. That allows us to skip
3734 over string interpolations and support multiline regexps.
3735 Don't call `ruby-syntax-propertize-expansions', instead use another rule
3736 for them, which calls `ruby-syntax-propertize-expansion'.
3737 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
3738 call to `ruby-syntax-propertize-function'.
3739 (ruby-syntax-propertize-expansion): Extracted from
3740 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
3741 (ruby-syntax-propertize-percent-literal): Leave point right after
3742 the percent symbol, so that the expression expansion rule can
3743 propertize the contents.
462388b6
DG
3744 (ruby-syntax-propertize-heredoc): Leave point at bol following the
3745 heredoc openers.
3746 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 3747
c1a6c0a4
JL
37482013-05-18 Juri Linkov <juri@jurta.org>
3749
3750 * man.el (Man-default-man-entry): Remove `-' from the end
3751 of the default value. (Bug#14400)
3752
8051fccd
GM
37532013-05-18 Glenn Morris <rgm@gnu.org>
3754
3755 * comint.el (comint-password-prompt-regexp):
3756 Allow "password for XXX" where XXX contains colons (eg https://...).
3757
5e80b74f
LL
37582013-05-18 Leo Liu <sdl.web@gmail.com>
3759
3760 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 3761 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
3762 (octave-source-directories): Don't check process.
3763 (octave-source-directories, octave-find-definition): Doc fix.
3764
521a54c5
GM
37652013-05-18 Glenn Morris <rgm@gnu.org>
3766
86a94b05
GM
3767 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3768 Remove backspace/delete bindings. (Bug#14392)
3769
521a54c5
GM
3770 * cus-dep.el (custom-make-dependencies): Sort the output.
3771 (custom-versions-load-alist): Convert comment to doc.
3772
42caeb89
LL
37732013-05-17 Leo Liu <sdl.web@gmail.com>
3774
3775 * newcomment.el (comment-search-backward): Stricter in finding
3776 comment start. (Bug#14303)
3777
3778 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
3779 (octave-comment-start-skip): Properly anchored.
3780
e219dd97
LL
37812013-05-17 Leo Liu <sdl.web@gmail.com>
3782
fe1eb856
RS
3783 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
3784 Clean up when turned off. (Bug#14395)
e219dd97
LL
3785 (smie--highlight-matching-block-overlay): No longer buffer-local.
3786 (smie-highlight-matching-block): Adjust.
3787
dc5dcb4b
PE
37882013-05-17 Paul Eggert <eggert@cs.ucla.edu>
3789
3790 Doc string fix for "nanoseconds" (Bug#14406).
3791 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
3792 Fix doc string typo that had "nanoseconds" instead of "microseconds".
3793
1db165f0
JB
37942013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
3795
3796 * calc/calc-units.el (math-extract-units): Preserve powers
3797 of units.
3798
c7a8fcac
LL
37992013-05-17 Leo Liu <sdl.web@gmail.com>
3800
3801 * subr.el (delete-consecutive-dups): New function.
3802 * ido.el (ido-set-matches-1): Use it.
3803 * progmodes/octave.el (inferior-octave-completion-table): Use it.
3804 * ido.el (ido-remove-consecutive-dups): Remove.
3805
f678b18a
SM
38062013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3809 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
3810 regexp-opt's `words'.
3811
ebfe68e8
LL
38122013-05-16 Leo Liu <sdl.web@gmail.com>
3813
3814 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
3815 (smie--highlight-matching-block-overlay)
3816 (smie--highlight-matching-block-lastpos)
3817 (smie--highlight-matching-block-timer): New variables.
3818 (smie-highlight-matching-block): New function.
3819 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
3820 (smie-setup): Conditionally enable smie-blink-matching-open.
3821
bc8bc17d
WS
38222013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
3823
3824 Sync with upstream verilog-mode r840.
3825 * progmodes/verilog-mode.el (verilog-mode-version)
3826 (verilog-mode-release-date): Update.
3827 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
3828 (verilog-sig-tieoff): Fix string error on
3829 AUTORESET with colon define, bug594. Reported by Andrew Hou.
3830 (verilog-read-decls): Fix parameters confusing
3831 AUTOINST interfaces, bug565. Reported by Leith Johnson.
3832
df065a0b
EZ
38332013-05-16 Eli Zaretskii <eliz@gnu.org>
3834
3835 * subr.el (reveal-filename): New function.
3836
3837 * loadup.el: Compute Emacs executable versions on MS-Windows,
3838 where executables have the .exe extension. Add a hard link
3839 emacs-XX.YY.ZZ.exe on MS-Windows.
3840
3841 * Makefile.in (XARGS_LIMIT): New variable.
3842 (custom-deps, finder-data, autoloads)
3843 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3844 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3845 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
3846 (compile-main): Limit xargs according to $(XARGS_LIMIT).
3847
2d4bf34b
LL
38482013-05-16 Leo Liu <sdl.web@gmail.com>
3849
3850 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
3851 (octave-mode-menu, octave-mode-map): Remove its uses.
3852
6b9c2d85
RZ
38532013-05-16 Reto Zimmermann <reto@gnu.org>
3854
3855 Sync with upstream vhdl mode v3.34.2.
3856 * progmodes/vhdl-mode.el: Use `push' throughout.
3857 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
3858 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
3859 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
3860 (vhdl-actual-generic-name): New option to derive actual generic name.
3861 (vhdl-port-paste-signals): Replace formal by actual generics.
3862 (vhdl-beautify): New name for old group vhdl-align. Update users.
3863 (vhdl-beautify-options): New option.
3864 (vhdl-last-input-event): New compat alias. Use throughout.
3865 (vhdl-goto-line): Replace user level function `goto-line'.
3866 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
3867 vhdl-fix-statement-buffer.
3868 (vhdl-create-mode-menu): Add some entries.
3869 (vhdl-align-region-groups): Respect vhdl-beautify-options.
3870 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
3871 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
3872 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
3873 to force statements on one line.
3874 (vhdl-remove-trailing-spaces-region):
3875 New, split from vhdl-remove-trailing-spaces.
3876 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
3877 Respect vhdl-beautify-options.
3878 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
3879 (vhdl-update-sensitivity-list): Not add with index if exists without.
3880 Not include array index with signal. Ignore keywords in comments.
3881 (vhdl-get-visible-signals): Regexp tweaks.
3882 (vhdl-template-component-inst): Handle empty library.
3883 (vhdl-template-type): Add template for 'enum' type.
3884 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
3885 Use vhdl-replace-string.
3886 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
3887 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
3888 (vhdl-speedbar-initialize): Update for above name change.
3889 (vhdl-compose-wire-components): Fix in handling of constants.
3890 (vhdl-error-regexp-emacs-alist): New variable.
3891 (vhdl-error-regexp-add-emacs): New function;
3892 adds support for new compile.el (Emacs 22+)
3893 (vhdl-generate-makefile-1): Change target order for single lib. units.
3894 Allow use of absolute file names.
3895
9df4ec5e
LL
38962013-05-16 Leo Liu <sdl.web@gmail.com>
3897
3898 * simple.el (prog-indent-sexp): Indent enclosing defun.
3899
f5ba00a6
GM
39002013-05-15 Glenn Morris <rgm@gnu.org>
3901
ed8be7ff
GM
3902 * cus-start.el (show-trailing-whitespace): Move to editing basics.
3903 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
3904 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
3905 (whitespace-highlight): Move to whitespace group.
3906
3907 * comint.el (comint-source):
3908 * pcmpl-linux.el (pcmpl-linux):
3909 * shell.el (shell-faces):
3910 * eshell/esh-opt.el (eshell-opt):
3911 * international/ccl.el (ccl): Remove empty custom groups.
3912
3913 * completion.el (dynamic-completion-mode):
3914 * jit-lock.el (jit-lock-debug-mode):
3915 * minibuffer.el (completion-in-region-mode):
3916 * type-break.el (type-break-mode-line-message-mode)
3917 (type-break-query-mode):
3918 * emulation/tpu-edt.el (tpu-edt-mode):
3919 * progmodes/subword.el (global-subword-mode, global-superword-mode):
3920 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3921 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
3922
3923 * term/xterm.el (xterm): Change parent group to terminals.
3924
3925 * master.el (master): Remove empty custom group.
3926 (master-mode): Remove unused :group argument.
3927 * textmodes/refill.el (refill): Remove empty custom group.
3928 (refill-mode): Remove unused :group argument.
3929
3930 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
3931
82a7c41b
GM
3932 * cus-dep.el: Provide a feature.
3933 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
3934 Don't mistakenly ignore files whose basenames match a basename
3935 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 3936 Add a fallback method for getting :group.
f5ba00a6 3937
6d65486d
JL
39382013-05-15 Juri Linkov <juri@jurta.org>
3939
da547b32
JL
3940 * isearch.el (isearch-char-by-name): Rename from
3941 `isearch-insert-char-by-name'. Doc fix.
3942 (isearch-forward): Mention `isearch-char-by-name' in
3943 the docstring. (Bug#13348)
3944
6d65486d
JL
3945 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
3946 `exit-minibuffer' instead of
3947 `isearch-nonincremental-exit-minibuffer'.
3948 (isearch-edit-string): Remove mention of
3949 `isearch-nonincremental-exit-minibuffer' from docstring.
3950 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
3951 (isearch-forward-exit-minibuffer)
3952 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
3953
c9990474
SM
39542013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3955
6e911150
SM
3956 * loadup.el: Just use unversioned DOC.
3957
c9990474
SM
3958 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
3959 literals as extending to EOB.
3960 (nxml-last-fontify-end): Remove unused variable.
3961 (nxml-after-change1): Use with-silent-modifications.
3962 (nxml-extend-after-change-region): Simplify.
3963 (nxml-extend-after-change-region1): Remove function.
3964 (nxml-after-change1): Don't adjust for dependent regions.
3965 (nxml-fontify-matcher): Simplify.
3966 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3967 (xmltok-add-dependent): Remove function.
3968 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3969 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3970 (xmltok-scan-prolog-after-processing-instruction-open): Treat
3971 unclosed <[[, <?, comment, and other literals as extending to EOB.
3972 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3973 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3974 Remove functions.
3975 (rng-do-some-validation-1): Don't mark dependent regions.
3976 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3977 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3978 (nxml-clear-dependent-regions): Remove functions.
3979 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3980 (nxml-ensure-scan-up-to-date):
3981 Don't clear&mark dependent regions.
3982
e3772e98
LL
39832013-05-15 Leo Liu <sdl.web@gmail.com>
3984
c9990474
SM
3985 * progmodes/octave.el (octave-goto-function-definition):
3986 Improve and fix callers.
e3772e98 3987
5ac2eb34
SM
39882013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3989
c46c57b0
SM
3990 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3991 the setter (bug#14387).
3992
5ac2eb34
SM
3993 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3994 surrounding group (bug#14402).
3995
180ed218
JL
39962013-05-14 Juri Linkov <juri@jurta.org>
3997
3998 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3999 (Bug#14390)
4000
0ac0fecb
GM
40012013-05-14 Glenn Morris <rgm@gnu.org>
4002
4003 * progmodes/f90.el (f90-imenu-generic-expression):
4004 Fix typo in 2013-05-08 change. (Bug#14402)
4005
2e78e6a7
JPG
40062013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4007
5ac2eb34
SM
4008 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4009 Remove signals for which replies are never received.
2e78e6a7 4010
53267cca
JPG
40112013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4012
4013 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4014 (gdb-handler-alist, gdb-handler-number): Remove variables.
4015 (gdb-handler-list): New variable.
4016 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4017 (gdb-pending-handler-p, gdb-handle-reply)
4018 (gdb-remove-all-pending-triggers): New functions.
4019 (gdb-discard-unordered-replies): New defcustom.
4020 (gdb-handler): New defstruct.
4021 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4022 instead of gdb-pending-triggers. Update docstring.
4023 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4024 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4025 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4026 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4027 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4028 (gdb-frame-handler): Pending triggers are now automatically managed.
4029 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4030 Remove argument.
4031 (gdb-input): Automatically handles pending triggers. Update docstring.
4032 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4033 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4034 Update comments.
4035 (gdb-done-or-error): Now use gdb-handle-reply.
4036
d04ce803
JPG
40372013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4038
4039 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4040 gdb-debug-log.
4041
0114073a
GM
40422013-05-14 Glenn Morris <rgm@gnu.org>
4043
4044 * subr.el (user-emacs-directory-warning): New option.
4045 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4046
4d25fd7e
LL
40472013-05-14 Leo Liu <sdl.web@gmail.com>
4048
4049 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4050 during redisplay.
4051 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
4052 (octave-font-lock-texinfo-comment): Fix invalid search bound
4053 error: wrong side of point.
4d25fd7e 4054
27c8b6eb
GM
40552013-05-14 Glenn Morris <rgm@gnu.org>
4056
61aaeb01
GM
4057 * progmodes/flymake.el (flymake-xml-program): New option.
4058 (flymake-xml-init): Use it.
4059
5bf90bc5
GM
4060 * term/xterm.el: Provide a feature.
4061
4062 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 4063
f4c7dfd2
GM
40642013-05-13 Glenn Morris <rgm@gnu.org>
4065
4066 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4067 Add compat aliases as a hack workaround. (Bug#14384)
4068
2aeb3a1d
LL
40692013-05-13 Leo Liu <sdl.web@gmail.com>
4070
b0e069c2
LL
4071 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4072 ###, and %!.
f5a9432f
LL
4073 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4074 C-M-q.
b0e069c2
LL
4075 (octave-comment-start-skip): Include %!.
4076 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 4077
30ea8374
LL
40782013-05-12 Leo Liu <sdl.web@gmail.com>
4079
4080 * progmodes/octave.el (inferior-octave-startup): Store the value
4081 of __octave_srcdir__ for octave-source-directories.
4082 (inferior-octave-check-process): New function refactored out of
4083 inferior-octave-send-list-and-digest.
4084 (octave-source-directories)
4085 (octave-find-definition-filename-function): New variables.
4086 (octave-source-directories)
4087 (octave-find-definition-default-filename): New functions.
4088 (octave-find-definition): Improve to find functions implemented in C++.
4089
472a3834
GM
40902013-05-12 Glenn Morris <rgm@gnu.org>
4091
4092 * calendar/diary-lib.el (diary-outlook-format-1):
4093 Don't include dayname in the output. (Bug#14349)
4094
3191b52f
GM
40952013-05-11 Glenn Morris <rgm@gnu.org>
4096
0060ac73
GM
4097 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4098
3191b52f
GM
4099 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4100 Treat cc-provide like provide.
4101
e065ba74
KR
41022013-05-11 Kevin Ryde <user42@zip.com.au>
4103
4104 * cus-dep.el (custom-make-dependencies):
4105 Use generated-autoload-load-name for the sake of files such
4106 such cedet/semantic/bovine/c.el, where the base file name
4107 is not in load-path. (Bug#5277)
4108
36f84c37
GM
41092013-05-11 Glenn Morris <rgm@gnu.org>
4110
4111 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4112 Provide features.
4113
c8730c3a
LL
41142013-05-11 Leo Liu <sdl.web@gmail.com>
4115
4116 * progmodes/octave.el (octave-indent-comment): Improve.
4117 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
4118 (octave-eldoc-function-signatures, octave-eldoc-function):
4119 New functions.
c8730c3a
LL
4120 (octave-mode, inferior-octave-mode): Add eldoc support.
4121
212e29f2
RS
41222013-05-11 Richard Stallman <rms@gnu.org>
4123
4124 * epa.el (epa-decrypt-file): Take output file name as argument
4125 and read it using `interactive'.
4126
083fe0d7
LL
41272013-05-11 Leo Liu <sdl.web@gmail.com>
4128
4129 * progmodes/octave.el (octave-beginning-of-line)
4130 (octave-end-of-line): Check before using up-list because it jumps
4131 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
4132 (octave-indent-comment): New function.
4133 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
4134 (octave-begin-keywords, octave-end-keywords)
4135 (octave-reserved-words, octave-smie-bnf-table)
4136 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 4137
8582e4c4
GM
41382013-05-11 Glenn Morris <rgm@gnu.org>
4139
f20def1f
GM
4140 * faces.el (internal-face-x-get-resource):
4141 * frame.el (ns-display-monitor-attributes-list):
d78abe37 4142 * calc/calc-aent.el (math-to-radians-2):
f20def1f 4143 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 4144 Fix declarations.
f20def1f 4145
445f95e2
GM
4146 * calc/calc-menu.el: Make it loadable in isolation.
4147
4148 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4149 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4150 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4151 (eudc-bbdb-query-internal): Require 'bbdb.
4152
99fb2756
GM
4153 * lpr.el (lpr-headers-switches):
4154 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4155
4156 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4157
0da7ad96
GM
4158 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4159
8582e4c4
GM
4160 * term.el (term-set-escape-char): Make it idempotent.
4161
f71c50d0
LL
41622013-05-10 Leo Liu <sdl.web@gmail.com>
4163
5ac2eb34
SM
4164 * progmodes/octave.el (inferior-octave-completion-table):
4165 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
4166 completion due to bug#11906.
4167 (octave-beginning-of-defun): Re-write to be more general.
4168
d5837773
GM
41692013-05-10 Glenn Morris <rgm@gnu.org>
4170
4171 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4172
027c0f75
SM
41732013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * comint.el (comint-redirect-send-command-to-process): Use :around
4176 rather than :override for comint-redirect-filter.
4177 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4178 Call it instead of comint-redirect-original-filter-function (which
4179 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
4180
4465bfb4
JD
41812013-05-09 Jan Djärv <jan.h.d@swipnet.se>
4182
4183 * frame.el (display-monitor-attributes-list): Add NS case.
4184 (ns-display-monitor-attributes-list): Declare.
4185
2d809ffa 41862013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
4187
4188 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4189
e54eeb9b
GM
41902013-05-09 Glenn Morris <rgm@gnu.org>
4191
56cd351d
GM
4192 * international/fontset.el (vertical-centering-font-regexp):
4193 Set standard-value.
4194
d84b6108
GM
4195 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4196
a931698a
GM
4197 * bookmark.el (bookmark-search-delay):
4198 * cus-start.el (vertical-centering-font-regexp):
4199 * ps-mule.el (ps-mule-font-info-database-default):
4200 * ps-print.el (ps-default-fg, ps-default-bg):
4201 * type-break.el (type-break-good-break-interval):
4202 * whitespace.el (whitespace-indentation-regexp)
4203 (whitespace-space-after-tab-regexp):
4204 * emacs-lisp/testcover.el (testcover-1value-functions)
4205 (testcover-noreturn-functions, testcover-progn-functions)
4206 (testcover-prog1-functions):
4207 * emulation/viper-init.el (viper-emacs-state-cursor-color):
4208 * eshell/em-glob.el (eshell-glob-translate-alist):
4209 * play/tetris.el (tetris-tty-colors):
4210 * progmodes/cpp.el (cpp-face-default-list):
4211 * progmodes/flymake.el (flymake-allowed-file-name-masks):
4212 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4213 (idlwave-help-browser-generic-args):
4214 * progmodes/make-mode.el (makefile-special-targets-list):
4215 * progmodes/python.el (python-shell-virtualenv-path):
4216 * progmodes/verilog-mode.el (verilog-active-low-regexp)
4217 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4218 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4219 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4220 * textmodes/reftex-vars.el (reftex-format-label-function):
4221 * textmodes/remember.el (remember-diary-file): Fix custom types.
4222
e54eeb9b
GM
4223 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4224 Add :version.
4225
455851dd
LL
42262013-05-09 Leo Liu <sdl.web@gmail.com>
4227
4228 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 4229 Restore file completion. (Bug#14300)
455851dd
LL
4230 (inferior-octave-startup): Fix incorrect highlighting for the
4231 first prompt.
4232
a9e4425b
SM
42332013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * progmodes/ruby-mode.el: First cut at SMIE support.
4236 (ruby-use-smie): New var.
4237 (ruby-smie-grammar): New constant.
4238 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4239 (ruby-smie--forward-token, ruby-smie--backward-token)
4240 (ruby-smie-rules): New functions.
4241 (ruby-mode-variables): Setup SMIE if applicable.
4242
060ca408
EZ
42432013-05-08 Eli Zaretskii <eliz@gnu.org>
4244
4245 * simple.el (line-move-visual): Signal beginning/end of buffer
4246 only if vertical-motion moved less than it was requested. Avoids
4247 silly incorrect error messages when there are display strings with
4248 multiple newlines at EOL.
4249
1d5963cc
SM
42502013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4253 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4254 (prolog-char-quote-workaround):
4255 * progmodes/cperl-mode.el (cperl-under-as-char):
4256 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
4257 Mark as obsolete.
4258 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
4259 their declaration.
4260 (vhdl-mode-syntax-table-init): Remove.
4261
c9990474
SM
4262 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4263 last change.
1d5963cc
SM
4264
4265 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4266 syntax for "_".
4267 (ld-script-font-lock-keywords):
4268 Change regexps to use things like \_< and \_>.
4269
4270 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4271 Change all regexps to use things like \_< and \_>.
4272
4273 * progmodes/autoconf.el (autoconf-definition-regexp)
4274 (autoconf-font-lock-keywords, autoconf-current-defun-function):
4275 Handle a _ with symbol syntax.
4276 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4277
c9990474
SM
4278 * progmodes/ada-mode.el (ada-mode-abbrev-table):
4279 Consolidate declaration.
1d5963cc
SM
4280 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4281 the declaration.
4282 (ada-create-syntax-table): Remove.
4283 (ada-capitalize-word): Don't mess with the syntax of "_" since it
4284 already has the right syntax nowadays.
4285 (ada-goto-next-word): Don't change the syntax of "_".
4286
4287 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4288 with-wrapper-hook.
4289
72d3cfca
SS
42902013-05-08 Sam Steingold <sds@gnu.org>
4291
4292 * thingatpt.el (thing-at-point): Accept optional second argument
4293 NO-PROPERTIES to strip the text properties from the return value.
4294 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4295 to `thing-at-point' instead of stripping the properties ourselves.
4296 Also, when `thing-at-point' fails to find a url, prepend "http://"
4297 to the filename at point on the assumption that the user is
4298 pointing at something like gnu.org/gnu.
4299
5cb15713
JB
43002013-05-08 Juanma Barranquero <lekktu@gmail.com>
4301
4302 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4303 * faces.el (crm-separator):
4304 Silence byte-compiler.
4305
4306 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4307 (tool-bar-map): Remove unneeded defvars.
4308
ea78b95b
LL
43092013-05-08 Leo Liu <sdl.web@gmail.com>
4310
4311 Re-work a fix for bug#10994 based on Le Wang's patch.
4312 * ido.el (ido-remove-consecutive-dups): New helper.
4313 (ido-completing-read): Use it.
4314 (ido-chop): Revert fix for bug#10994.
4315
dc7466df
AS
43162013-05-08 Adam Spiers <emacs@adamspiers.org>
4317
4318 * cus-edit.el (custom-save-variables):
4319 Pretty-print long values. (Bug#14187)
4320
9ecf672a
GM
43212013-05-08 Glenn Morris <rgm@gnu.org>
4322
4323 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4324 (m4-mode-syntax-table): Init in the defvar.
4325 (m4-mode-abbrev-table): Let define-derived-mode define it.
4326
3f555be8
TT
43272013-05-08 Tom Tromey <tromey@redhat.com>
4328
4329 * progmodes/m4-mode.el (m4-mode-syntax-table):
4330 Do not treat "_" as word constituent. (Bug#14167)
4331
7cc8ae06
GM
43322013-05-07 Glenn Morris <rgm@gnu.org>
4333
4f58bc06
GM
4334 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4335 Remove explicit eshell-isearch-cancel-map.
4336
7cc8ae06
GM
4337 * progmodes/f90.el (f90-smart-end-names): New option.
4338 (f90-smart-end): Doc fix.
4339 (f90-end-block-optional-name): New constant.
4340 (f90-block-match): Respect f90-smart-end-names.
4341
ceb57e59
SM
43422013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4345 about implicit semi-colons (bug#14218).
4346
4e3f9230
YM
43472013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4348
4349 * frame.el (display-monitor-attributes-list)
4350 (frame-monitor-attributes): New functions.
4351
203a5572
LL
43522013-05-06 Leo Liu <sdl.web@gmail.com>
4353
4354 * progmodes/octave.el (octave-syntax-propertize-function): Change
4355 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4356 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 4357 (octave-completion-at-point): Rename from
203a5572
LL
4358 octave-completion-at-point-function.
4359 (inferior-octave-directory-tracker): Robustify.
4360 (octave-text-functions): Remove and fix its uses. No such things
4361 any more.
4362
ee6cff99
SM
43632013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * emacs-lisp/trace.el (trace--display-buffer): New function.
4366 (trace-make-advice): Use it.
4367
32985194
JL
43682013-05-06 Juri Linkov <juri@jurta.org>
4369
4370 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4371 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4372 Doc fix.
4373 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4374 in the help string. (Bug#12985)
4375
a1c700de
KD
43762013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4377
4378 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4379
c67c0839
SM
43802013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4381
323885fd
SM
4382 * progmodes/perl-mode.el: Add support for here documents.
4383 (perl-syntax-propertize-function): Match here-doc markers.
4384 (perl-syntax-propertize-special-constructs): Find their end.
4385 (perl-imenu-generic-expression): Use [:alnum:].
4386
c67c0839
SM
4387 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4388 (advice--add-function): Refresh the advice if already present
4389 (bug#14317).
4390
d491e7a8
IA
43912013-05-06 Ivan Andrus <darthandrus@gmail.com>
4392
4393 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4394
ddf9925e
GM
43952013-05-06 Glenn Morris <rgm@gnu.org>
4396
7cc3af27
GM
4397 * w32-fns.el (w32-charset-info-alist): Declare.
4398
16e343d6
GM
4399 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4400 of its defcustom properties.
4401 (eshell-cmpl-initialize): No need to load pcomplete.
4402
7d889a47
GM
4403 * generic-x.el: No need to require comint when compiling.
4404
ddf9925e
GM
4405 * net/eudc-export.el: Make it loadable without bbdb.
4406 (top-level): Use require rather than load-library.
4407 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4408 (eudc-batch-export-records-to-bbdb)
4409 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4410 Require bbdb.
4411
1e2c18df
SM
44122013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4415 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4416 some tweaks, instead.
4417
02502a5f
LL
44182013-05-05 Leo Liu <sdl.web@gmail.com>
4419
4420 * progmodes/octave.el (octave-font-lock-keywords)
4421 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4422 (inferior-octave-send-list-and-digest): Improve error message.
4423 (octave-mode, inferior-octave-mode): Use setq-local.
4424 (octave-help): Set info-lookup-mode.
4425
0dc04f42
RS
44262013-05-05 Richard Stallman <rms@gnu.org>
4427
6c54491c
RS
4428 * vc/compare-w.el (compare-windows-whitespace):
4429 Treat no-break space as whitespace.
4430
0dc04f42
RS
4431 * mail/rmailsum.el (rmail-summary-rmail-update):
4432 Detect empty summary and don't change selected message.
4433 (rmail-summary-goto-msg): Likewise.
4434
df8f35df
RS
4435 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4436 Doc fixes, rename args.
4437
5356e1a3
AM
44382013-05-05 Alan Mackenzie <acm@muc.de>
4439
4440 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4441
d44014cb
JL
44422013-05-05 Juri Linkov <juri@jurta.org>
4443
4444 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4445 to not add the length of the summary segment to the return value.
4446 (Bug#14125)
4447
c129b51f
LL
44482013-05-05 Leo Liu <sdl.web@gmail.com>
4449
4450 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4451 (inferior-octave-output-filter): Remove.
4452 (octave-send-region, inferior-octave-startup): Fix callers.
4453 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4454 (octave-binary-file-extensions): New user variable.
4455 (octave-find-definition): Confirm if opening binary files.
4456 (octave-help-file): Use octave-find-definition to get the binary
4457 confirmation.
4458 (octave-help): Adjust for octave-help-file change.
4459
aa7dab97
SM
44602013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4463 Merge the two entries that handle function definitions.
4464 (pascal--syntax-propertize): New const.
4465 (pascal-mode): Use it. Use setq-local.
4466
fd3a9a6b
GM
44672013-05-04 Glenn Morris <rgm@gnu.org>
4468
4469 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4470 (diary-from-outlook): Respect diary-from-outlook-function.
4471
30c7e542
SM
44722013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4475 Move the declaration from C.
4476 (read-minibuffer, eval-minibuffer): Move from C.
4477 (completion-setup-function): Avoid minibuffer-completion-contents.
4478
b54f978b
LL
44792013-05-03 Leo Liu <sdl.web@gmail.com>
4480
4481 * progmodes/octave.el (octave-font-lock-keywords): Do not
4482 dehighlight 'end' in comments or strings.
30c7e542
SM
4483 (octave-completing-read, octave-goto-function-definition):
4484 New helpers.
d4d0f9b3
LL
4485 (octave-help-buffer): New user variable.
4486 (octave-help-file, octave-help-function): New button types.
4487 (octave-help): New command and bind it to C-h ;.
4488 (octave-find-definition): New command and bind it to M-.
d74a1581 4489 (user-error): Alias to error if not defined.
b54f978b 4490
27135018
LL
44912013-05-02 Leo Liu <sdl.web@gmail.com>
4492
4493 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4494 for \. (bug#14332)
4495 (octave-font-lock-keywords): Include [ and {.
4496
0d634d3a
LL
44972013-05-02 Leo Liu <sdl.web@gmail.com>
4498
4499 * progmodes/octave.el (inferior-octave-startup-file): Change default.
4500 (inferior-octave): Remove calling comint-mode and return the buffer.
4501 (inferior-octave-startup): Cosmetic changes.
4502
b4c8295e
LL
45032013-05-02 Leo Liu <sdl.web@gmail.com>
4504
30c7e542
SM
4505 * progmodes/octave.el (octave-syntax-propertize-function):
4506 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 4507
f12ad6ec
GM
45082013-05-02 Glenn Morris <rgm@gnu.org>
4509
4510 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4511 * desktop.el (vc-dir-mode): Just autoload it here.
4512
30cac1e0
AM
45132013-05-02 Alan Mackenzie <acm@muc.de>
4514
4515 Eliminate variable c-standard-font-lock-fontify-region-function.
4516 * progmodes/cc-mode.el
4517 (c-standard-font-lock-fontify-region-function): Remove.
4518 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4519
d8ef28b1
LL
45202013-05-01 Leo Liu <sdl.web@gmail.com>
4521
2640d52e 4522 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 4523 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 4524 variables were removed from Octave in 2007.
d8ef28b1
LL
4525 (inferior-octave-startup): Fix uses.
4526 (comint-line-beginning-position): Remove compatibility code for
4527 emacs 21.
4528
ac63ec89
JL
45292013-05-01 Juri Linkov <juri@jurta.org>
4530
4531 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
4532
9e9be37c
JL
45332013-05-01 Juri Linkov <juri@jurta.org>
4534
4535 * comint.el (comint-previous-matching-input): Don't print message
4536 "History item: %d" when `isearch-mode' is active.
4537 (comint-history-isearch-message): Print message "History item: %d"
4538 when `comint-input-ring-index' is not empty and this function is
4539 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
4540
9b92c13b
LL
45412013-05-01 Leo Liu <sdl.web@gmail.com>
4542
4543 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4544 definitions. Use completion-at-point to insert keywords.
4545 (octave-abbrev-start): Remove.
4546 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4547
b12d33d7
LL
45482013-04-30 Leo Liu <sdl.web@gmail.com>
4549
4550 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4551 change.
4552
3d1c39fa
AM
45532013-04-30 Alan Mackenzie <acm@muc.de>
4554
4555 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
4556 * progmodes/cc-engine.el (c-back-over-member-initializers):
4557 new function.
3d1c39fa
AM
4558 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4559 (most) member init lists.
4560
5147fc17
RS
45612013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4562
4563 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4564 variable.
4565
5b78d7fc
LL
45662013-04-30 Leo Liu <sdl.web@gmail.com>
4567
4568 * progmodes/octave.el (octave-variables): Remove. No builtin
4569 variables any more. All converted to functions.
4570 (octave-font-lock-keywords, octave-completion-at-point-function):
4571 Fix uses.
4572 (octave-font-lock-texinfo-comment): New user variable.
4573 (octave-texinfo-font-lock-keywords): New variable for texinfo
4574 comment block.
4575 (octave-function-comment-block): New face.
4576 (octave-font-lock-texinfo-comment): New function.
4577 (octave-mode): Font lock texinfo comment block.
4578
38d8527b
LL
45792013-04-29 Leo Liu <sdl.web@gmail.com>
4580
4581 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4582 indexing expression.
4583 (octave-continuation-string): Do not use \.
4584 (inferior-octave-complete-impossible): Remove.
4585 (inferior-octave-completion-table)
4586 (inferior-octave-completion-at-point): Remove its uses.
4587 (inferior-octave-startup): completion_matches was introduced to
4588 Octave in 1996 so safe to assume it.
4589 (octave-function-file-comment): Improve to follow how Octave does it.
4590 (octave-update-function-file-comment): Tweak.
4591
2ec12cb0
LL
45922013-04-29 Leo Liu <sdl.web@gmail.com>
4593
4594 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4595 (inferior-octave-startup): Remove inferior-octave-startup-hook.
4596 (octave-function-file-comment): Fix typo.
4597 (octave-sync-function-file-names): Use read-char-choice.
4598
6eaed048
JB
45992013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
4600
4601 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4602 to t for the less important warnings.
4603
3ffa2d4f
DH
46042013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
4605
4606 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
4607
685c9501
GM
46082013-04-27 Glenn Morris <rgm@gnu.org>
4609
4610 * vc/log-view.el (log-view-current-entry):
4611 Treat "---" separator lines as part of the following rev. (Bug#14169)
4612
0208ede7
JL
46132013-04-27 Juri Linkov <juri@jurta.org>
4614
4615 * subr.el (read-number): Doc fix about using it by interactive
4616 code letter `n'. (Bug#14254)
4617
5db9dace
JL
46182013-04-27 Juri Linkov <juri@jurta.org>
4619
4620 * desktop.el (desktop-auto-save-timeout): New option.
4621 (desktop-file-checksum): New variable.
4622 (desktop-save): Add optional arg `auto-save' and don't auto-save
4623 if nothing changed.
4624 (desktop-auto-save-timer): New variable.
4625 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
4626 (after-init-hook): Call `desktop-auto-save-set-timer'.
4627 Suggested by Reuben Thomas <rrt@sc3d.org> in
4628 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
4629
b7260dd4
LL
46302013-04-27 Leo Liu <sdl.web@gmail.com>
4631
4632 * progmodes/octave.el (octave-function-file-p)
4633 (octave-skip-comment-forward, octave-function-file-comment)
4634 (octave-update-function-file-comment): New functions.
4635 (octave-mode-map): Bind C-c ; to
4636 octave-update-function-file-comment.
4637 (octave-mode-menu): Add octave-update-function-file-comment.
4638 (octave-mode, inferior-octave-mode): Fix doc-string.
4639 (octave-insert-defun): Conform to Octave's coding convention.
4640 (Bug#14285)
4641
4642 * files.el (basic-save-buffer): Don't let errors in
4643 before-save-hook prevent saving buffer.
4644
c46da669
RW
46452013-04-20 Roland Winkler <winkler@gnu.org>
4646
4647 * faces.el (read-face-name): Use completing-read if arg multiple
4648 is nil.
4649
a81ee1eb
IL
46502013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
4651
4652 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
4653 displayed, move point to after the totals line.
4654 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
4655 for the details.
4656
4fac34ce
SM
46572013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * emacs-lisp/package.el (package-autoload-ensure-default-file):
4660 Add current dir to the load-path.
4661 (package-generate-autoloads): Don't rely on
4662 autoload-ensure-default-file.
4663
f6bfc063
RT
46642013-04-26 Reuben Thomas <rrt@sc3d.org>
4665
d40ab5cf
BG
4666 * textmodes/remember.el (remember-store-in-files): Document that
4667 the file name format is passed to `format-time-string'.
f6bfc063 4668
e55d3b04
LL
46692013-04-26 Leo Liu <sdl.web@gmail.com>
4670
4671 * progmodes/octave.el (octave-sync-function-file-names): New function.
4672 (octave-mode): Use it in before-save-hook.
4673
e53052d3
SM
46742013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4675
140ef50c
SM
4676 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
4677 (bug#14274).
4678
e53052d3
SM
4679 * progmodes/octave.el (octave-smie-forward-token): Properly skip
4680 \n and comment, even if it's not an implicit ; (bug#14218).
4681
af80458d 46822013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
4683
4684 * subr.el (read-number): Once more use `read' rather than
4685 `string-to-number', to trap non-numeric input. (Bug#14254)
4686
af80458d 46872013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
4688
4689 * emacs-lisp/syntax.el (syntax-propertize-multiline):
4690 Use `syntax-multiline' text property consistently instead of
8a621d53 4691 `font-lock-multiline'. (Bug#14237)
70203c2e 4692
e6ea1f6c
GM
46932013-04-26 Glenn Morris <rgm@gnu.org>
4694
4695 * emacs-lisp/shadow.el (list-load-path-shadows):
4696 No longer necessary to check for duplicate simple.el, since
4697 2012-07-07 change to init_lread to not include installation lisp
4698 directories in load-path when running uninstalled. (Bug#14270)
4699
070ccca4
LL
47002013-04-26 Leo Liu <sdl.web@gmail.com>
4701
4702 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
4703 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 4704 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
4705 octave-in-string-or-comment-p.
4706 (octave-in-comment-p, octave-in-string-p)
4707 (octave-in-string-or-comment-p): Replace defsubst with defun.
4708
9d1c5fb6
PE
47092013-04-25 Paul Eggert <eggert@cs.ucla.edu>
4710
4711 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
4712
c034abda
BG
47132013-04-25 Bastien Guerry <bzg@gnu.org>
4714
4715 * textmodes/remember.el (remember-data-directory)
4716 (remember-directory-file-name-format): Fix custom types.
4717
584ea277
LL
47182013-04-25 Leo Liu <sdl.web@gmail.com>
4719
e53052d3
SM
4720 * progmodes/octave.el (octave-completion-at-point-function):
4721 Make use of inferior octave process.
584ea277
LL
4722 (octave-initialize-completions): Remove.
4723 (inferior-octave-completion-table): New function.
4724 (inferior-octave-completion-at-point): Use it.
4725 (octave-completion-alist): Remove.
4726
1693b06a
SM
47272013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * progmodes/opascal.el: Use font-lock and syntax-propertize.
4730 (opascal-mode-syntax-table): New var.
4731 (opascal-literal-kind, opascal-is-literal-end)
4732 (opascal-literal-token-at): Rewrite.
4733 (opascal--literal-start-re, opascal-font-lock-keywords)
4734 (opascal--syntax-propertize): New constants.
4735 (opascal-font-lock-defaults): Adjust.
4736 (opascal-mode): Use them. Set comment-<foo> variables as well.
4737 (delphi-comment-face, opascal-comment-face, delphi-string-face)
4738 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
4739 (delphi-other-face, opascal-other-face): Remove face variables.
4740 (opascal-save-state): Remove macro.
4741 (opascal-fontifying-progress-step): Remove constant.
4742 (opascal--ignore-changes): Remove var.
4743 (opascal-set-token-property, opascal-parse-next-literal)
4744 (opascal-is-stable-literal, opascal-complete-literal)
4745 (opascal-is-literal-start, opascal-face-of)
4746 (opascal-parse-region, opascal-parse-region-until-stable)
4747 (opascal-fontify-region, opascal-after-change)
4748 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
4749 (opascal-debug-parse-region, opascal-debug-parse-window)
4750 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
4751 (opascal-debug-fontify-buffer): Remove.
4752 (opascal-debug-mode-map): Adjust accordingly.
4753
be64c05d
LL
47542013-04-25 Leo Liu <sdl.web@gmail.com>
4755
4756 Merge octave-mod.el and octave-inf.el into octave.el with some
4757 cleanups.
4758 * progmodes/octave.el: New file renamed from octave-mod.el.
4759 * progmodes/octave-inf.el: Merged into octave.el.
4760 * progmodes/octave-mod.el: Renamed to octave.el.
4761
d79d37bd
TH
47622013-04-25 Tassilo Horn <tsdh@gnu.org>
4763
4764 * textmodes/reftex-vars.el
4765 (reftex-label-ignored-macros-and-environments): New defcustom.
4766
4767 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
4768
ced3fc5d
SM
47692013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
4772 (smie-indent-keyword): Improve the check to ensure that the next
4773 comment is really on the same line.
4774 (smie-indent-comment): Don't align with a subsequent closer (or eob).
4775
4776 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
4777 semi-colons if the line is not otherwise empty (bug#14218).
4778
1c141dad
GM
47792013-04-25 Glenn Morris <rgm@gnu.org>
4780
4781 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
4782
5058062a
SM
47832013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * progmodes/opascal.el (opascal-set-token-property): Rename from
4786 opascal-set-text-properties and only set `token' (bug#14134).
4787 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
4788 (opascal-literal-text-properties): Remove.
4789 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
4790 Adjust callers.
4791
5db9dace 47922013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
4793
4794 * textmodes/remember.el (remember-handler-functions): Add an
4795 option for a new handler `remember-store-in-files'.
4796 (remember-data-directory, remember-directory-file-name-format):
4797 New options.
4798 (remember-store-in-files): New function to store remember notes
4799 as separate files within a directory.
4800
4391916c
MH
48012013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
4802
4803 * progmodes/compile.el (compilation-next-error-function):
4804 Pass "formats" to compilation-find-file (bug#11777).
4805
bb7cdf58
GM
48062013-04-24 Glenn Morris <rgm@gnu.org>
4807
3b8fe752 4808 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
4809 * vc/vc-hg.el (vc-hg-print-log):
4810 * vc/vc-svn.el (vc-svn-print-log):
4811 Fix START-REVISION with LIMIT != 1. (Bug#14168)
4812
bb7cdf58
GM
4813 * vc/vc-bzr.el (vc-bzr-print-log):
4814 * vc/vc-cvs.el (vc-cvs-print-log):
4815 * vc/vc-git.el (vc-git-print-log):
4816 * vc/vc-hg.el (vc-hg-print-log):
4817 * vc/vc-mtn.el (vc-mtn-print-log):
4818 * vc/vc-rcs.el (vc-rcs-print-log):
4819 * vc/vc-sccs.el (vc-sccs-print-log):
4820 * vc/vc-svn.el (vc-svn-print-log):
4821 * vc/vc.el (vc-print-log-internal): Doc fixes.
4822
b46a056e
GM
48232013-04-23 Glenn Morris <rgm@gnu.org>
4824
4825 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
4826 Remove venerable code attempting to avoid substitute-command-keys.
4827
0aecf718
TH
48282013-04-23 Tassilo Horn <tsdh@gnu.org>
4829
4391916c
MH
4830 * textmodes/reftex-vars.el (reftex-label-regexps):
4831 Call `reftex-compile-variables' after changes to this variable.
0aecf718 4832
117f94cf
SM
48332013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4391916c 4835 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
4836 Use lexical-binding.
4837 (jit-lock-force-redisplay): Use markers, check buffer's continued
4838 existence and beware narrowed buffers.
4839 (jit-lock-fontify-now): Adjust call accordingly.
4840
1d829c64
SM
48412013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
4844 to avoid misleading the user.
4845
72d548a9
LL
48462013-04-22 Leo Liu <sdl.web@gmail.com>
4847
4848 * info-look.el: Prefer latex2e.info. (Bug#14240)
4849
d0853629
MA
48502013-04-22 Michael Albinus <michael.albinus@gmx.de>
4851
4852 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
4853
4854 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 4855 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
4856 (tramp-set-completion-function, tramp-parse-putty):
4857 * net/tramp-adb.el (tramp-adb-execute-adb-command):
4858 * net/tramp-gvfs.el (tramp-gvfs-send-command):
4859 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4860 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
4861 (tramp-call-local-coding-command): Use `tramp-call-process'
4862 instead of `tramp-compat-call-process'.
4863
4864 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
4865 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
4866 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 4867 (tramp-find-inline-compress): Improve traces.
d0853629
MA
4868 (tramp-maybe-send-script): Check for Perl binary.
4869 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
4870
38cc0210
DU
48712013-04-22 Daiki Ueno <ueno@gnu.org>
4872
4873 * epg.el (epg-context-pinentry-mode): New function.
4874 (epg-context-set-pinentry-mode): New function.
4875 (epg--start): Pass --pinentry-mode option to gpg command.
4876
cc641ee1
XF
48772013-04-21 Xue Fuqiao <xfq.free@gmail.com>
4878
02d844b5 4879 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 4880 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 4881 `completion-at-point'. (Bug#13774)
5d4e5c31 4882
cc641ee1
XF
4883 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
4884 default key binding for `describe-distribution' has been moved to
4885 `C-h C-o'. (Bug#13970)
4886
1b42ee43
GM
48872013-04-21 Glenn Morris <rgm@gnu.org>
4888
4889 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
4890 Add doc strings.
4891 (vc-print-log): Clarify interactive prompt.
4892
a6d63d97
GM
48932013-04-20 Glenn Morris <rgm@gnu.org>
4894
4895 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4896 No longer include timestamp etc information.
4897
d7f5c16f
RW
48982013-04-20 Roland Winkler <winkler@gnu.org>
4899
4900 * faces.el (read-face-name): Bug fix, return just one face if arg
4901 multiple is nil. (Bug#14209)
4902
bcd7a0a4
SM
49032013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
4906 (remove-function): Autoload.
4907
4908 * comint.el (comint-redirect-original-filter-function): Remove.
4909 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
4910 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
4911 (vc-cvs-annotate-command):
bcd7a0a4
SM
4912 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
4913 * progmodes/prolog.el (prolog-consult-compile):
4914 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
4915 Use add/remove-function instead.
4916 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
4917 (gud-tooltip-process-output, gud-tooltip-tips):
4918 Use add/remove-function instead.
4919 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
4920 (scheme-interaction-mode, exit-scheme-interaction-mode):
4921 Use add/remove-function instead.
4922
4923 * vc/vc-dispatcher.el: Use lexical-binding.
4924 (vc--process-sentinel): Rename from vc-process-sentinel.
4925 Change last arg to be the code to run. Don't use vc-previous-sentinel
4926 and vc-sentinel-commands any more.
4927 (vc-exec-after): Allow code to be a function. Use add/remove-function.
4928 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
4929
4d3268ba
MY
49302013-04-19 Masatake YAMATO <yamato@redhat.com>
4931
bcd7a0a4 4932 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 4933 Handle function names with a single character. (Bug#14111)
4d3268ba 4934
781b4af6 49352013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
4936
4937 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
4938 for subroutines defined in an eval (bug#14182).
4939
7d688336
TV
49402013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4941
4942 * bookmark.el (bookmark-completing-read): Improve handling of empty
4943 string (bug#14176).
4944
31dcede0
SM
49452013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
4948
adc31213
FEG
49492013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
4950
4951 New faster Imenu implementation (bug#14058).
4952 * progmodes/python.el:
4953 (python-imenu-prev-index-position):
4954 (python-imenu-format-item-label-function)
4955 (python-imenu-format-parent-item-label-function)
4956 (python-imenu-format-parent-item-jump-label-function):
4957 New vars.
4958 (python-imenu-format-item-label)
4959 (python-imenu-format-parent-item-label)
4960 (python-imenu-format-parent-item-jump-label)
4961 (python-imenu--put-parent, python-imenu--build-tree)
4962 (python-imenu-create-index, python-imenu-create-flat-index)
4963 (python-util-popn): New functions.
4964 (python-mode): Set imenu-create-index-function to
4965 python-imenu-create-index.
4966
cdca8255
SM
49672013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * winner.el (winner-active-region): Use region-active-p, activate-mark
4970 and deactivate-mark (bug#14225).
4971
4972 * simple.el (deactivate-mark): Don't inline it.
4973
beb42340
MA
49742013-04-18 Michael Albinus <michael.albinus@gmx.de>
4975
4976 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4977
fc7f4d7e
TH
49782013-04-18 Tassilo Horn <tsdh@gnu.org>
4979
4980 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4981 file extensions from the archive-mode entry in order to prefer
4982 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4983
29f47822
LL
49842013-04-18 Leo Liu <sdl.web@gmail.com>
4985
4986 * bindings.el (help-event-list): Add ?\?.
4987
d36ed1c8
SM
49882013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * subr.el (with-wrapper-hook): Declare obsolete.
4991 * simple.el (filter-buffer-substring-function): New hook.
4992 (filter-buffer-substring): Use it.
4993 (filter-buffer-substring-functions): Mark obsolete.
4994 * minibuffer.el (completion-in-region-function): New hook.
4995 (completion-in-region): Use it.
4996 (completion-in-region-functions): Mark obsolete.
4997 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4998 * abbrev.el (abbrev-expand-function): New hook.
4999 (expand-abbrev): Use it.
5000 (abbrev-expand-functions): Mark obsolete.
5001 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5002 and :filter-return.
5003
04754d36
FEG
50042013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5005
5006 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5007 and do not care about match data.
5008
dd8791e9
SM
50092013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5012 completion tables when completing error conditions and
5013 `declare' arguments.
5014 (lisp-complete-symbol, field-complete): Mark as obsolete.
5015 (check-parens): Unmatched parens are user errors.
5016 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5017
ffe54a13
AM
50182013-04-17 Michal Nazarewicz <mina86@mina86.com>
5019
dd8791e9
SM
5020 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5021 command changed buffer (ie. `flyspell-pre-buffer' is not current
5022 buffer), which prevents making decisions based on invalid value of
5023 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5024 cause an error when `flyspell-pre-point' was nil after switching
5025 buffers.
5026 (flyspell-post-command-hook): No longer needs to change buffers when
5027 checking pre-word. While at it remove unnecessary progn.
ffe54a13 5028
ec7e39f2
AM
50292013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5030
5031 * textmodes/ispell.el (ispell-add-per-file-word-list):
5032 Fix `flyspell-correct-word-before-point' error when accepting
5033 words and `coment-padding' is an integer by using
5034 `comment-normalize-vars' (Bug #14214).
5035
083850a6
FEG
50362013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5037
5038 New defun movement commands.
5039 * progmodes/python.el (python-nav--syntactically)
5040 (python-nav--forward-defun, python-nav-backward-defun)
5041 (python-nav-forward-defun): New functions.
5042
619ed6e1
FEG
50432013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5044
5045 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5046 (python-syntax-context): Use named compiler-macro for backwards
5047 compatibility with Emacs 24.x.
5048
7a1beb6c
LL
50492013-04-17 Leo Liu <sdl.web@gmail.com>
5050
5051 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5052 octave-hide-process-buffer.
5053
2d3fa3e5
SM
50542013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5057 (bug#14216).
5058
7ce5be54
JPG
50592013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5060
5061 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5062 Fix adjustment of offset when receiving incomplete responses from GDB
5063 (bug#14129).
5064
351edece
SM
50652013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5068 python-mode-abbrev-table.
5069 (python-skeleton-define): Adjust accordingly.
5070 (python-mode-abbrev-table): New table that inherits from it so that
5071 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5072
5073 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5074 (abbrev-symbol): Use it.
5075 (abbrev--before-point): Use it since we already handle inheritance.
5076
613f9481
LL
50772013-04-16 Leo Liu <sdl.web@gmail.com>
5078
5079 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5080 binding to info-lookup-symbol.
5081
51646b62
JB
50822013-04-16 Juanma Barranquero <lekktu@gmail.com>
5083
5084 * minibuffer.el (completion--twq-all):
5085 * term/ns-win.el (ns-initialize-window-system):
5086 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5087
efb3f01d
SM
50882013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5089
36c0a301
SM
5090 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5091 global bindings.
5092
efb3f01d
SM
5093 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5094
fb549d64
DG
50952013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5096
5097 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5098 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5099 to nil.
5100 (ruby-end-of-defun): Remove the unused arg, change the docstring
5101 to reflect that this function is only used as the value of
5102 `end-of-defun-function'.
5103 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5104 to reflect an earlier change that beginning/end-of-defun functions
5105 jump between methods in a class definition, as well as top-level
5106 functions.
5107
21e8fe2f
SM
51082013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * minibuffer.el (minibuffer-complete): Don't just scroll
5111 a *Completions* that's been iconified.
5112 (minibuffer-force-complete): Make sure repetitions do cycle when going
5113 through completion-in-region -> minibuffer-complete.
5114
20e527d0
AM
51152013-04-15 Alan Mackenzie <acm@muc.de>
5116
5117 Correct the placement of c-cpp-delimiters when there're #s not at
5118 col 0.
5119
5120 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5121 place a submatch around the #.
21e8fe2f
SM
5122 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5123 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
5124 on the #, not BOL.
5125
dabefae5
SM
51262013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5129 (advice--member-p): New arg `name'.
5130 (advice--add-function, advice-member-p): Use it (bug#14202).
5131
85c9ab64
AM
51322013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5133
5134 Reformulate java imenu-generic-expression.
5135 The old expression contained ill formed regexps.
5136
5137 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5138 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5139 (cc-imenu-java-method-arg-regexp): New defconsts.
5140 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 5141 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
5142 handling of spaces in the regexp.
5143
0f821d99
AM
51442013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5145
5146 * textmodes/ispell.el (ispell-command-loop): Remove
5147 flyspell highlight of a word when ispell accepts it (bug #14178).
5148
eb922adf
MA
51492013-04-15 Michael Albinus <michael.albinus@gmx.de>
5150
5151 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5152 uses code from the previous `ange-ftp-run-real-handler'.
5153 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5154 only in case that function exist. This is needed for proper
5155 unloading of Tramp.
5156
4d9a0979
TH
51572013-04-15 Tassilo Horn <tsdh@gnu.org>
5158
5159 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5160
5161 * textmodes/reftex.el (reftex-compile-variables): Use it.
5162
a829b0dc
SM
51632013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5164
91e8293c
SM
5165 * files.el (normal-mode): Only use default major-mode if no other mode
5166 was specified.
5167
830aed4d
SM
5168 * emacs-lisp/trace.el (trace-values): New function.
5169
a829b0dc
SM
5170 * files.el: Allow : in local variables (bug#14089).
5171 (hack-local-variable-regexp): New var.
5172 (hack-local-variables-prop-line, hack-local-variables): Use it.
5173
7ae9f0fb
RW
51742013-04-13 Roland Winkler <winkler@gnu.org>
5175
5176 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
5177 data before it gets modified by bibtex-beginning-of-entry.
5178
6646e848
RW
51792013-04-13 Roland Winkler <winkler@gnu.org>
5180
5181 * textmodes/bibtex.el (bibtex-url): Doc fix.
5182
51832013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
5184
5185 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5186 does not visit a BibTeX file, exclude it from the list of buffers
5187 returned by bibtex-initialize.
5188
0aa3616e
SB
51892013-04-13 Stephen Berman <stephen.berman@gmx.net>
5190
5191 * window.el (split-window): Remove interactive form, since as a
5192 command this function is a special case of split-window-below.
5193 Correct doc string.
5194
011cddd6
RW
51952013-04-12 Roland Winkler <winkler@gnu.org>
5196
5197 * faces.el (read-face-name): Do not override value of arg default.
5198 Allow single faces and strings as default values. Remove those
5199 elements from return value that are not faces.
5200 (describe-face): Simplify.
5201 (face-at-point): New optional args thing and multiple so that this
5202 function can provide the same functionality previously provided by
5203 read-face-name.
5204 (make-face-bold, make-face-unbold, make-face-italic)
5205 (make-face-unitalic, make-face-bold-italic, invert-face)
5206 (modify-face, read-face-and-attribute): Use face-at-point.
5207
5208 * cus-edit.el (customize-face, customize-face-other-window)
5209 * cus-theme.el (custom-theme-add-face)
5210 * face-remap.el (buffer-face-set)
5211 * facemenu.el (facemenu-set-face): Use face-at-point.
5212
f24e0036
MA
52132013-04-12 Michael Albinus <michael.albinus@gmx.de>
5214
5215 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5216
da3cda2d
TH
52172013-04-10 Tassilo Horn <tsdh@gnu.org>
5218
5219 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5220 off leading { and trailing } from field values.
5221
15e54145
SM
52222013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5223
78ce603d
SM
5224 * emacs-lisp/timer.el (timer--check): New function.
5225 (timer--time, timer-set-function, timer-event-handler): Use it.
5226 (timer-set-idle-time): Simplify.
5227 (timer--activate): CSE.
5228 (timer-event-handler): Give more info in error message.
5229 (internal-timer-start-idle): New function, moved from C.
5230
15e54145
SM
5231 * mpc.el (mpc-proc): Add `restart' argument.
5232 (mpc-proc-cmd): Use it.
5233 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5234 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5235 less often.
5236
7144c627
MY
52372013-04-10 Masatake YAMATO <yamato@redhat.com>
5238
5239 * progmodes/sh-script.el: Implement `sh-mode' own
5240 `add-log-current-defun-function' (bug#14112).
5241 (sh-current-defun-name): New function.
5242 (sh-mode): Use the function.
5243
b39792eb
BG
52442013-04-09 Bastien Guerry <bzg@gnu.org>
5245
5246 * simple.el (choose-completion-string): Fix docstring (bug#14163).
5247
8acdeb71
SM
52482013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5249
6fcdab68
SM
5250 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5251
8acdeb71
SM
5252 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5253 timer (bug#14156).
5254
e3e7b504
NF
52552013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
5256
5257 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5258 declaration.
5259
201bb296
LL
52602013-04-07 Leo Liu <sdl.web@gmail.com>
5261
5262 * pcmpl-x.el: New file.
5263
ebb19708
DA
52642013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
5265
5266 Do not set x-display-name until X connection is established.
5267 This is needed to prevent from weird situation described at
5268 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5269 * frame.el (make-frame): Set x-display-name after call to
5270 window system initialization function, not before.
5271 * term/x-win.el (x-initialize-window-system): Add optional
5272 display argument and use it.
5273 * term/w32-win.el (w32-initialize-window-system):
5274 * term/ns-win.el (ns-initialize-window-system):
5275 * term/pc-win.el (msdos-initialize-window-system):
5276 Add compatible optional display argument.
5277
33bb237a
EZ
52782013-04-06 Eli Zaretskii <eliz@gnu.org>
5279
5280 * files.el (normal-backup-enable-predicate): On MS-Windows and
5281 MS-DOS compare truenames of temporary-file-directory and of the
5282 file, so that 8+3 aliases (usually found in $TEMP on Windows)
5283 don't fail comparison by compare-strings. Also, compare file
5284 names case-insensitively on MS-Windows and MS-DOS.
5285
134abf1f
SM
52862013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5289 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5290
d695cb94
DG
52912013-04-05 Dmitry Gutov <dgutov@yandex.ru>
5292
e3e7b504
NF
5293 * whitespace.el (whitespace-color-on, whitespace-color-off):
5294 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 5295
f4ad7ea1 52962013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
5297
5298 * ispell.el (ispell-set-spellchecker-params):
5299 Really set `ispell-args' for all equivs.
5300
632556e4
SM
53012013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * ido.el (ido-completions): Use extra elements of ido-decorations
5304 (bug#14143).
5305 (ido-decorations): Update docstring.
5306
2a417372
MA
53072013-04-05 Michael Albinus <michael.albinus@gmx.de>
5308
5309 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5310 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5311 nil during initialization, in order not to miss changes since the
5312 file was opened. (Bug#14140)
5313
fc164b0c
LL
53142013-04-05 Leo Liu <sdl.web@gmail.com>
5315
5316 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5317
0ccecc08
JB
53182013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5319
5320 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5321
51af1aa2
GM
53222013-04-04 Glenn Morris <rgm@gnu.org>
5323
5324 * electric.el (electric-pair-inhibit-predicate): Add :version.
5325
b208ebc6
SM
53262013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5329 when a package is required several times (bug#14082).
5330
f3d3eaf0
RW
53312013-04-04 Roland Winkler <winkler@gnu.org>
5332
5333 * faces.el (read-face-name): Behave as promised by the docstring.
5334 Assume that arg default is a list of faces.
5335 (describe-face): Call read-face-name with list of default faces.
5336
2575da50
TV
53372013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5338
5339 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5340 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5341 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5342 the header.
5343 (bookmark-exit-hook-internal): Save even if list is empty.
5344
397703b4
YH
53452013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5346
5347 * emacs-lisp/package.el (package-pinned-packages): New var.
5348 (package--add-to-archive-contents): Obey it (bug#14118).
5349
691e26ae
AM
53502013-04-03 Alan Mackenzie <acm@muc.de>
5351
8a621d53
JB
5352 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5353 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
5354
5355 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5356 parameter `not-in-delimiter'. Handle being inside comment opener.
5357 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5358 character in case we're typing a '*' after a '/'.
5359 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5360 instead by passing the parameter to c-state-pp-to-literal.
5361
5362 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5363 for elt. 7 of a parse state.
5364
4b725a70
PE
53652013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5366
5367 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5368 * international/latin1-disp.el, international/mule-util.el:
5369 * language/cyril-util.el, language/european.el, language/ind-util.el:
5370 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5371 * language/tibetan.el, language/viet-util.el:
5372 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5373
15c579f0
SM
53742013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5377 (electric-pair-post-self-insert-function): Use it.
5378 (electric-pair-default-inhibit): New function, extracted from
5379 electric-pair-post-self-insert-function.
5380
a77e2924
RW
53812013-03-31 Roland Winkler <winkler@gnu.org>
5382
5383 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5384
2bd8a4a8
SM
53852013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5388
8d3655be 53892013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
5390
5391 Un-indent after "pass" and "return" statements (Bug#13888)
5392 * progmodes/python.el (python-indent-block-enders): New var.
5393 (python-indent-calculate-indentation): Use it.
5394
8d3655be 53952013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
5396
5397 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5398 defun. Defining it as defalias could introduce too eager
5399 byte-compiler optimization. (Bug#14030)
5400
8d3655be 54012013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
5402
5403 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5404
0b1619da
LL
54052013-03-30 Leo Liu <sdl.web@gmail.com>
5406
5407 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5408 (kmacro-execute-from-register): Pass the keyboard macro to
5409 kmacro-call-macro or repeating won't work correctly.
5410
0b938190
TZ
54112013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5412
5413 * progmodes/subword.el: Back to using `forward-symbol'.
5414
5415 * subr.el (forward-whitespace, forward-symbol)
5416 (forward-same-syntax): Move from thingatpt.el.
5417
35710234
LL
54182013-03-29 Leo Liu <sdl.web@gmail.com>
5419
5420 * kmacro.el (kmacro-to-register): New command.
5421 (kmacro-execute-from-register): New function.
5422 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5423
efc0bb73
SM
54242013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * mpc.el: Use defvar-local and setq-local.
5427 (mpc--proc-connect): Connection failures are not bugs.
5428 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5429 (mpc-volume-map): Bind to the up-events.
5430
75a2f981
TZ
54312013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5432
5433 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5434 instead of `forward-symbol'.
5435
17c781d1
SM
54362013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5439 (edebug--recursive-edit): Use it.
5440 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5441 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5442
f67bfbcf
LL
54432013-03-28 Leo Liu <sdl.web@gmail.com>
5444
5445 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5446
b59f639d
EZ
54472013-03-27 Eli Zaretskii <eliz@gnu.org>
5448
5449 * facemenu.el (list-colors-callback): New defvar.
5450 (list-colors-redisplay): New function.
5451 (list-colors-display): Install list-colors-redisplay as the
5452 revert-buffer-function. (Bug#14063)
5453
f557c1b1
SM
54542013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5455
b1da2957
SM
5456 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5457 and suffixes don't overlap (bug#14061).
5458
f557c1b1
SM
5459 * case-table.el: Use lexical-binding.
5460 (case-table-get-table): New function.
5461 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
5462
002668e1
TZ
54632013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5464
5465 * progmodes/subword.el: Add `superword-mode' to do word motion
5466 over symbol_words (parallels and leverages `subword-mode' which
5467 does word motion inside MixedCaseWords).
5468
73572c72
AG
54692013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
5470
78b8f320 5471 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 5472 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 5473
69b2c07e
SM
54742013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5475
5476 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5477 Change return value to be a sexp. Delay `get-buffer' to after
5478 restoring the desktop (bug#13951).
5479
08bb5ee2
LL
54802013-03-26 Leo Liu <sdl.web@gmail.com>
5481
5482 * register.el: Move semantic tag handling back to
5483 cedet/semantic/senator.el. (Bug#14052)
5484
8d4c974e
SM
54852013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5488 into the prompt either (bug#13963).
5489
b234d92c
SM
54902013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5493 part of "(error-foo)".
5494
ddfa3cb4
JL
54952013-03-24 Juri Linkov <juri@jurta.org>
5496
5497 * replace.el (list-matching-lines-prefix-face): New defcustom.
5498 (occur-1): Pass `list-matching-lines-prefix-face' to the function
5499 `occur-engine' if `face-differs-from-default-p' returns t.
5500 (occur-engine): Add `,' inside backquote construct to evaluate
5501 `prefix-face'. Propertize the prefix with the `prefix-face' face.
5502 Pass `prefix-face' to the functions `occur-context-lines' and
5503 `occur-engine-add-prefix'.
5504 (occur-engine-add-prefix, occur-context-lines): Add optional arg
5505 `prefix-face' and propertize the prefix with `prefix-face'.
5506 (Bug#14017)
5507
7b0e2f85
LL
55082013-03-24 Leo Liu <sdl.web@gmail.com>
5509
5510 * nxml/rng-valid.el (rng-validate-while-idle)
5511 (rng-validate-quick-while-idle): Guard against deleted buffer.
5512 (Bug#13999)
5513
5514 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5515 is the last entry in kill-buffer-hook.
5516
5517 * files.el (kill-buffer-hook): Doc fix.
5518
b3082f49
DG
55192013-03-23 Dmitry Gutov <dgutov@yandex.ru>
5520
b234d92c
SM
5521 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5522 Make it safe-local.
bde73d27 5523
b3082f49
DG
5524 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5525
a320a2db
LL
55262013-03-23 Leo Liu <sdl.web@gmail.com>
5527
7e74b0fb
LL
5528 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5529 Remove.
5530
5531 * nxml/rng-valid.el (rng-validate-mode)
5532 (rng-after-change-function, rng-do-some-validation):
5533 * nxml/rng-maint.el (rng-validate-buffer):
5534 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5535 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5536 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5537 (nxml-extend-after-change-region): Use with-silent-modifications.
5538
a320a2db
LL
5539 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5540 timer-idle-list.
5541
5542 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5543 (rng-next-error-1, rng-previous-error-1): Do not let-bind
5544 timer-idle-list. (Bug#13999)
5545
e38e6780
JL
55462013-03-23 Juri Linkov <juri@jurta.org>
5547
5548 * info.el (info-index-match): New face.
5549 (Info-index, Info-apropos-matches): Add a nested subgroup to the
5550 main pattern and add text properties with the new face to matches
5551 in index entries relative to the beginning of the index entry.
5552 (Bug#14015)
5553
e8cc7880
DE
55542013-03-21 Eric Ludlam <zappo@gnu.org>
5555
5556 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5557 Inhibit read only while inserting objects.
5558
9bb0d822
TZ
55592013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
5560
5561 * progmodes/cfengine.el: Update docs to mention
5562 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
5563 symbol motion. Remove "_" from the word syntax.
5564
aa703640
TZ
55652013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
5566
5567 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5568 syntax for both `cfengine2-mode' and `cfengine3-mode'.
5569
afff09d0
JL
55702013-03-20 Juri Linkov <juri@jurta.org>
5571
5572 * info.el (Info-next-reference-or-link)
5573 (Info-prev-reference-or-link): New functions.
5574 (Info-next-reference, Info-prev-reference): Use them.
5575 (Info-try-follow-nearest-node): Handle footnote navigation.
5576 (Info-fontify-node): Fontify footnotes. (Bug#13989)
5577
9a1ff164
SM
55782013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5581 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5582
2667d15d
PE
55832013-03-20 Paul Eggert <eggert@cs.ucla.edu>
5584
5585 Suppress unnecessary non-ASCII chatter during build process.
5586 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5587 (batch-skkdic-convert): Suppress most of the chatter.
5588 It's not needed so much now that machines are faster,
5589 and its non-ASCII component was confusing; see Dmitry Gutov in
5590 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5591
438b0579
LL
55922013-03-20 Leo Liu <sdl.web@gmail.com>
5593
5594 * ido.el (ido-chop): Fix bug#10994.
5595
c128ab07
DG
55962013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5597
5598 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5599 Remove vars.
9a1ff164
SM
5600 (whitespace-color-on, whitespace-color-off):
5601 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 5602
0e6008c5
SM
56032013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5606 remapping in mode-line.
5607 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5608
627b52b0
DG
56092013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5610
5611 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
5612 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
5613 (whitespace-font-lock-keywords): Change description.
5614 (whitespace-color-on): Don't save `font-lock-keywords' value, save
5615 the constructed keywords instead.
5616 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 5617
50c3a20b
LL
56182013-03-19 Leo Liu <sdl.web@gmail.com>
5619
5620 * progmodes/compile.el (compilation-display-error): New command.
5621 (compilation-mode-map, compilation-minor-mode-map): Bind it to
5622 C-o. (Bug#13992)
5623
2aa2157b
PE
56242013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5625
5626 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
5627
e477dbfa
JD
56282013-03-18 Jan Djärv <jan.h.d@swipnet.se>
5629
5630 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
5631
64ab82d1
MA
56322013-03-18 Michael Albinus <michael.albinus@gmx.de>
5633
5634 * net/tramp-compat.el (tramp-compat-user-error): New defun.
5635
5636 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5637 * net/tramp-gvfs.el (top):
5638 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
5639 (tramp-handle-shell-command): Use it.
5640 (tramp-dissect-file-name): Raise an error when hostname is a
5641 method name, and neither method nor user is specified.
5642
5643 * net/trampver.el: Update release number.
5644
33cef733
LL
56452013-03-18 Leo Liu <sdl.web@gmail.com>
5646
5647 Make sure eldoc can be turned off properly.
5648 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
5649 eldoc-mode.
5650 (eldoc-display-message-p): Revert last change.
5651 (eldoc-display-message-no-interference-p)
5652 (eldoc-print-current-symbol-info): Tweak.
5653
2167b7b2
TH
56542013-03-18 Tassilo Horn <tsdh@gnu.org>
5655
5656 * doc-view.el (doc-view-new-window-function): Check the new window
5657 overlay's display property instead the char property of the
5658 buffer's first char. Use `with-selected-window' instead of
5659 `save-window-excursion' with `select-window'.
5660 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 5661 display property instead the char property of the buffer's first char.
2167b7b2 5662
982efbcd
PE
56632013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5664
5665 Automate the build of ja-dic.el (Bug#13984).
5666 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
5667 from the input, rather than assume that it's been done for us by the
5668 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
5669 the current date into a ja-dic.el comment, as that complicates
5670 regression testing.
5671
2fcc7665
SM
56722013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5673
5674 * whitespace.el: Fix double evaluation.
5675 (whitespace-space, whitespace-hspace, whitespace-tab)
5676 (whitespace-newline, whitespace-trailing, whitespace-line)
5677 (whitespace-space-before-tab, whitespace-indentation)
5678 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
5679 obsolete defvars.
5680 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
5681 (whitespace-color-on): Use a single font-lock-add-keywords call.
5682 Fix double-evaluation of face variables.
5683
67c0a6e6
MA
56842013-03-17 Michael Albinus <michael.albinus@gmx.de>
5685
2fcc7665
SM
5686 * net/tramp-adb.el (tramp-adb-parse-device-names):
5687 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 5688 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 5689
69489f1d
LL
56902013-03-17 Leo Liu <sdl.web@gmail.com>
5691
5692 Extend eldoc to display info in the mode-line. (Bug#13978)
5693 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
5694 (eldoc-mode-line-string): New variable.
5695 (eldoc-minibuffer-message): New function.
5696 (eldoc-message-function): New variable.
5697 (eldoc-message): Use it.
5698 (eldoc-display-message-p)
2fcc7665
SM
5699 (eldoc-display-message-no-interference-p):
5700 Support eldoc-post-insert-mode.
69489f1d
LL
5701
5702 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
5703 (eval-expression): Run it.
5704
9c44569e
RW
57052013-03-17 Roland Winkler <winkler@gnu.org>
5706
5707 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
5708 strings in the list of return values.
5709
327f1f6f
JB
57102013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5711
5712 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
5713 radix before checking for HMS forms.
5714
67ed8fcd
LL
57152013-03-16 Leo Liu <sdl.web@gmail.com>
5716
5717 * progmodes/scheme.el: Add indentation and font-locking for λ.
5718 (Bug#13975)
5719
78be8b64 57202013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
5721
5722 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
5723 token before point (bug#13942).
5724
78be8b64 57252013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 5726
95b43468 5727 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 5728
98e775e6
EZ
57292013-03-16 Eli Zaretskii <eliz@gnu.org>
5730
5731 * startup.el (command-line-normalize-file-name): Fix handling of
5732 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
5733 <xfq.free@gmail.com> in
5734 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
5735
2edd6029
MA
57362013-03-15 Michael Albinus <michael.albinus@gmx.de>
5737
5738 Sync with Tramp 2.2.7.
5739
5740 * net/trampver.el: Update release number.
5741
d35f5864
TH
57422013-03-14 Tassilo Horn <tsdh@gnu.org>
5743
f35ffe5e
TH
5744 * doc-view.el Fix bug#13887.
5745 (doc-view-insert-image): Don't modify overlay associated to
5746 non-live windows, and implement horizontal centering of image in
5747 case it's smaller than the window.
5748 (doc-view-new-window-function): Force redisplay of new windows on
5749 doc-view buffers.
d35f5864 5750
1c4a85ed
KF
57512013-03-13 Karl Fogel <kfogel@red-bean.com>
5752
5753 * saveplace.el (save-place-alist-to-file): Don't sort
5754 `save-place-alist', just pretty-print it (bug#13882).
5755
85b66a21
MA
57562013-03-13 Michael Albinus <michael.albinus@gmx.de>
5757
a020afb9
JB
5758 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5759 Check whether `default-file-name-coding-system' is bound.
5760 It isn't in XEmacs.
85b66a21 5761
175600da
SM
57622013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
5763
e7f7cb1a
SM
5764 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
5765 backquotes for `obsolete' (bug#13929).
5766
175600da
SM
5767 * international/mule.el (find-auto-coding): Include file name in
5768 obsolescence warning (bug#13922).
5769
ca68a22e
TZ
57702013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
5771
5772 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
5773 for CFEngine 3-specific indentation.
5774 (cfengine3-indent-line): Use it. Fix up category regex.
5775 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
5776
940e5099
SM
57772013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * type-break.el (type-break-file-name):
5780 * textmodes/remember.el (remember-data-file):
5781 * strokes.el (strokes-file):
5782 * shadowfile.el (shadow-initialize):
5783 * saveplace.el (save-place-file):
5784 * ps-bdf.el (bdf-cache-file):
5785 * progmodes/idlwave.el (idlwave-config-directory):
5786 * net/quickurl.el (quickurl-url-file):
5787 * international/kkc.el (kkc-init-file-name):
5788 * ido.el (ido-save-directory-list-file):
5789 * emulation/viper.el (viper-custom-file-name):
5790 * emulation/vip.el (vip-startup-file):
5791 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5792 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
5793
cc725808
PE
57942013-03-12 Paul Eggert <eggert@cs.ucla.edu>
5795
5796 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
5797 * language/thai-word.el: Switch to UTF-8.
5798
a020afb9 5799See ChangeLog.16 for earlier changes.
e3d51b27
MR
5800
5801;; Local Variables:
5802;; coding: utf-8
e3d51b27
MR
5803;; End:
5804
ab422c4d 5805 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
5806
5807 This file is part of GNU Emacs.
5808
5809 GNU Emacs is free software: you can redistribute it and/or modify
5810 it under the terms of the GNU General Public License as published by
5811 the Free Software Foundation, either version 3 of the License, or
5812 (at your option) any later version.
5813
5814 GNU Emacs is distributed in the hope that it will be useful,
5815 but WITHOUT ANY WARRANTY; without even the implied warranty of
5816 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5817 GNU General Public License for more details.
5818
5819 You should have received a copy of the GNU General Public License
5820 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.