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