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