* doc/emacs/glossary.texi (Glossary): Refine.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9503c190
JB
12013-07-28 Juanma Barranquero <lekktu@gmail.com>
2
3 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4 minimal set of parameters passed when creating a frame, because
5 the minibuffer status of a frame cannot be changed later.
6
d5a845b4
SB
72013-07-28 Stephen Berman <stephen.berman@gmx.net>
8
9 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10 replace-regexp-in-string and inadvertent omissions in previous change.
11 (todo-filter-items): Ensure only file names are comma-separated in
12 renamed filtered items buffer.
13
ddeffb17
JB
142013-07-28 Juanma Barranquero <lekktu@gmail.com>
15
16 * desktop.el: Optionally force offscreen frames back onscreen.
17 (desktop-restoring-reuses-frames): New option.
18 (desktop--compute-pos, desktop--move-onscreen): New functions.
19 (desktop--make-frame): Use desktop--move-onscreen.
20
f5950f7a
AM
212013-07-27 Alan Mackenzie <acm@muc.de>
22
23 Fontify a Java generic method as a function.
24 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
25 value to t.
26
ae43b66a
SB
272013-07-27 Stephen Berman <stephen.berman@gmx.net>
28
29 * calendar/todo-mode.el: Add command to rename todo files.
30 (todo-rename-file): New command.
31 (todo-key-bindings-t): Add key binding for it. Change the
32 bindings of todo-filter-regexp-items(-multifile) to use `x'
33 instead of `r', since the latter is better suited to the new
34 renaming command.
35
5ab78d3d
AM
362013-07-27 Alan Mackenzie <acm@muc.de>
37
38 Make Java try-with-resources statement parse properly.
39 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
40 (c-block-stmt-1-2-key): New language constants/variables.
41 * progmodes/cc-engine.el (c-beginning-of-statement-1)
42 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
43 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44 with c-block-stmet-1-2-key.
45
d85c4d50
JB
462013-07-27 Juanma Barranquero <lekktu@gmail.com>
47
48 * desktop.el (desktop--make-frame): Apply most frame parameters after
49 creating the frame to force (partially or totally) offscreen frames to
50 be restored as such.
51
e4c467f9
XF
522013-07-26 Xue Fuqiao <xfq.free@gmail.com>
53
54 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 55 (Bug#14948)
e4c467f9 56
7ced0d04
SM
572013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
60 `base' arg of backtrace-frame.
61
fec92060
EZ
622013-07-26 Eli Zaretskii <eliz@gnu.org>
63
64 * simple.el (list-processes): Doc fix.
65
d58d31fb
JB
662013-07-26 Juanma Barranquero <lekktu@gmail.com>
67
68 * desktop.el (desktop--select-frame):
d85c4d50 69 Try harder to reuse existing frames.
d58d31fb 70
53ff3e77
SM
712013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
74 (edebug-eval): Use backtrace-eval.
75 (edebug--display, edebug--recursive-edit): Don't let-bind the
76 edebug-outer-* vars that keep track of variables we locally let-bind.
77 (edebug-outside-excursion): Don't restore outside values of locally
78 let-bound vars.
79 (edebug--display): Use user-error.
80 (cl-lexical-debug, cl-debug-env): Remove.
81
045f7a53
JB
822013-07-26 Juanma Barranquero <lekktu@gmail.com>
83
84 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
85 are restored to be sure that they are visible before deleting any
86 remaining ones.
87
59070b32
MM
882013-07-26 Matthias Meulien <orontee@gmail.com>
89
742a3501
XF
90 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
91 vc-print-root-log. (Bug#14948)
59070b32 92
b1fb3596
RS
932013-07-26 Richard Stallman <rms@gnu.org>
94
95 Add aliases for encrypting mail.
96 * epa.el (epa-mail-aliases): New option.
97 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
98 Bind inhibit-read-only so read-only text doesn't ruin everything.
99 (epa-mail-default-recipients): New subroutine broken out.
100 Handle epa-mail-aliases.
101
56ea7291
SM
1022013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 Add support for lexical variables to the debugger's `e' command.
105 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
106 vars, except for debugger-outer-match-data.
107 (debugger-frame-number): Move check for "on a function call" from
108 callers into it. Add `skip-base' argument.
109 (debugger-frame, debugger-frame-clear): Simplify accordingly.
110 (debugger-env-macro): Only reset the state stored in non-variables,
111 i.e. current-buffer and match-data.
112 (debugger-eval-expression): Rewrite using backtrace-eval.
113 * subr.el (internal--called-interactively-p--get-frame): Remove.
114 (called-interactively-p):
115 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
116 `base' arg of backtrace-frame instead.
117
15ac32d5
GM
1182013-07-26 Glenn Morris <rgm@gnu.org>
119
8358a09d
GM
120 * align.el (align-regexp): Doc fix. (Bug#14857)
121 (align-region): Explicit error if subexpression missing/does not match.
122
15ac32d5
GM
123 * simple.el (global-visual-line-mode):
124 Do not duplicate the mode lighter. (Bug#14858)
125
f47ad11b
MR
1262013-07-25 Martin Rudalics <rudalics@gmx.at>
127
128 * window.el (display-buffer): In display-buffer bind
129 split-window-keep-point to t, bug#14829.
130
02530987
JB
1312013-07-25 Juanma Barranquero <lekktu@gmail.com>
132
133 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
134 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
135 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
136 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
137 Change accordingly.
f63ebeb5
JB
138 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
139 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 140
6ccb9cab 1412013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 142
6ccb9cab 143 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 144
cb3a56d2
JB
1452013-07-25 Juanma Barranquero <lekktu@gmail.com>
146
147 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
148 parameter to modify-frame-parameters if the value has not changed;
149 this is a workaround for bug#14949.
150 (desktop--make-frame): On cl-delete-if call, check parameter name,
151 not full parameter.
152
889acc5c
JB
1532013-07-24 Juanma Barranquero <lekktu@gmail.com>
154
155 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
156 (desktop-restore-frames): Warn when deleting an existing frame failed.
157
86c40970
GM
1582013-07-24 Glenn Morris <rgm@gnu.org>
159
160 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
161
d5d3c58a
MA
1622013-07-24 Michael Albinus <michael.albinus@gmx.de>
163
164 * filenotify.el (file-notify-supported-p):
165 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
166 Remove functions.
167
168 * autorevert.el (auto-revert-use-notify):
169 (auto-revert-notify-add-watch):
170 * net/tramp.el (tramp-file-name-for-operation):
171 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
172 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
173 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
174 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
175 Remove `file-notify-supported-p' entry.
176
d100084b
GM
1772013-07-24 Glenn Morris <rgm@gnu.org>
178
179 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 180 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 181
ac93e56b
SM
1822013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
183
249eea30
SM
184 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
185 checked with memq (bug#14935).
186
ac93e56b
SM
187 * files.el (revert-buffer-function): Use a non-nil default.
188 (revert-buffer-preserve-modes): Declare var to
189 provide access to the `preserve-modes' argument.
190 (revert-buffer): Let-bind it.
191 (revert-buffer--default): New function, extracted from revert-buffer.
192
2cdeb903
SM
1932013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * lpr.el: Signal print errors more prominently.
196 (print-region-function): Don't default to nil.
197 (lpr-print-region): New function, extracted from print-region-1.
198 Check lpr's return value and signal an error in case of problem.
199 (print-region-1): Use it.
200 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
201 versions instead.
202 (ps-printer-name): Default to nil.
203 (ps-printer-name-option): Default to lpr-printer-switch.
204 (ps-print-region-function): Don't default to nil.
205 (ps-postscript-code-directory): Simplify default.
206 (ps-do-despool): Use lpr-print-region to properly check the outcome.
207 (ps-string-list, ps-eval-switch, ps-flatten-list)
208 (ps-flatten-list-1): Remove.
209 (ps-multibyte-buffer): Avoid setq.
210 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
211 (print-region-function, ps-print-region-function): Don't set them here.
212
73600831
XF
2132013-07-24 Xue Fuqiao <xfq.free@gmail.com>
214
0e55c076
XF
215 * ido.el (ido-fractionp):
216 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
217 (ido-max-file-prompt-width, ido-unc-hosts-cache)
218 (ido-max-directory-size, ido-max-dir-file-cache)
219 (ido-decorations): Doc fix.
220
73600831
XF
221 * ansi-color.el: Fix old URL.
222
3d012865
MM
2232013-07-23 Michael R. Mauger <michael@mauger.com>
224
225 * progmodes/sql.el Version 3.3
226 (sql-product-alist): Improve oracle :prompt-cont-regexp.
227 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
228 (sql-interactive-remove-continuation-prompt): Rewrite, use
229 functions above. Fix continuation prompt and complete output line
230 handling.
231 (sql-redirect-one, sql-execute): Use `read-only-mode' on
232 redirected output buffer.
233 (sql-mode): Restore deleted code (Bug#13591).
234
da77a2e2
JB
2352013-07-23 Juanma Barranquero <lekktu@gmail.com>
236
237 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
238
80ff0c71
MA
2392013-07-23 Michael Albinus <michael.albinus@gmx.de>
240
241 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
242
243 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
244 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
245 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
246
b61d71e4
JB
2472013-07-23 Juanma Barranquero <lekktu@gmail.com>
248
249 * desktop.el (desktop-clear): Simplify; remove useless checks
250 against invalid buffer names.
251 (desktop-list*): Use cl-list*.
252 (desktop-buffer-info, desktop-create-buffer): Simplify.
253
c3512092
LL
2542013-07-23 Leo Liu <sdl.web@gmail.com>
255
256 * bookmark.el (bookmark-make-record): Restore NAME as a default
257 value. (Bug#14933)
258
0ac26976
SM
2592013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
260
7d22ce18
SM
261 * emacs-lisp/autoload.el (autoload--setup-output): New function,
262 extracted from autoload--insert-text.
263 (autoload--insert-text): Remove.
264 (autoload--print-cookie-text): New function, extracted from
265 autoload--insert-cookie-text.
266 (autoload--insert-cookie-text): Remove.
267 (autoload-generate-file-autoloads): Adjust calls accordingly.
268
9b2607e8
SM
269 * winner.el (winner-hook-installed-p): Remove.
270 (winner-mode): Simplify accordingly.
271
c43a8618
SM
272 * subr.el (add-to-list): Fix compiler-macro when `append' is
273 not constant. Don't use `cl-member' for the base case.
274
0ac26976
SM
275 * progmodes/subword.el: Fix boundary case (bug#13758).
276 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
277 own group.
278 (subword-backward-regexp): Make it a constant.
279 (subword-forward-internal): Don't treat a trailing capital as the
280 beginning of a word.
281
6874724a
AR
2822013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
283
284 * emacs-lisp/package.el (package-menu-mode): Don't modify the
285 global value of tabulated-list-revert-hook (bug#14930).
286
70f1b5e8
JB
2872013-07-22 Juanma Barranquero <lekktu@gmail.com>
288
a1c80d9d
JB
289 * desktop.el: Require 'cl-lib.
290 (desktop-before-saving-frames-functions): New hook.
291 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
292 for frames being saved. Rename from desktop--save-minibuffer-frames.
293 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
294 Do not save frames with non-nil `desktop-dont-save' parameter.
295 Filter out deleted frames.
a1c80d9d
JB
296 (desktop--find-frame): Use cl-find-if.
297 (desktop--select-frame): Use cl-(first|second|third) to access values
298 of desktop-mini.
299 (desktop--make-frame): Use cl-delete-if.
300 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
301 (desktop-restore-frames): Use cl-(first|second|third) to access values
302 of desktop-mini. Look for visible frame at the end, not while
303 restoring frames.
304
70f1b5e8
JB
305 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
306 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
307 Use string-match-p, looking-at-p (bug#14927).
308
728dc3cc
JB
3092013-07-21 Juanma Barranquero <lekktu@gmail.com>
310
56bc453c
JB
311 * desktop.el (desktop-saved-frame-states):
312 Rename from desktop--saved-states; all users changed.
313 (desktop-save-frames): Rename from desktop--save-frames.
314 Do not save state to desktop file.
315 (desktop-save): Save desktop-saved-frame-states to desktop file
316 and reset to nil.
317 (desktop-restoring-frames-p): New function.
318 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
319 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
320 buffer-lists when restoring frames. Suggested by Martin Rudalics.
321
728dc3cc
JB
322 * desktop.el: Correctly restore iconified frames.
323 (desktop--filter-iconified-position): New function.
324 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
325
862f1c9c
GM
3262013-07-20 Glenn Morris <rgm@gnu.org>
327
c4074c9f
GM
328 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
329 Let `message' do the formatting.
330 (def-gdb-preempt-display-buffer): Add explicit format.
331
d828e5f9
GM
332 * image-dired.el (image-dired-track-original-file):
333 Use with-current-buffer.
334 (image-dired-track-thumbnail): Use with-current-buffer.
335 Avoid changing point of wrong window.
336
862f1c9c
GM
337 * image-dired.el (image-dired-track-original-file):
338 Avoid changing point of wrong window. (Bug#14909)
339
f0398ec1 3402013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
341
342 * progmodes/gdb-mi.el (gdb-done-or-error):
343 Guard against "%" in gdb output. (Bug#14127)
344
1451928f
AS
3452013-07-20 Andreas Schwab <schwab@linux-m68k.org>
346
763a086d
JB
347 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
348 (Bug#14826)
f7a03897 349
1451928f
AS
350 * international/mule.el (coding-system-iso-2022-flags): Fix last
351 change.
352
99107004
KH
3532013-07-20 Kenichi Handa <handa@gnu.org>
354
763a086d
JB
355 * international/mule.el (coding-system-iso-2022-flags):
356 Add `8-bit-level-4'. (Bug#8522)
99107004 357
48494e06
LMI
3582013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
359
8ba8eec5
LMI
360 * net/shr.el (shr-mouse-browse-url): New command and keystroke
361 (bug#14815).
362
dfbc66e3
LMI
363 * net/eww.el (eww-process-text-input): Allow inputting when the
364 point is at the start of the line, as the properties aren't
365 front-sticky.
366
48494e06
LMI
367 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
368 degenerate widths.
369
77c92cb9
RS
3702013-07-19 Richard Stallman <rms@gnu.org>
371
aec7da77
RS
372 * epa.el (epa-popup-info-window): Doc fix.
373
77c92cb9
RS
374 * subr.el (split-string): New arg TRIM.
375
945c5bb1
JB
3762013-07-18 Juanma Barranquero <lekktu@gmail.com>
377
378 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
379 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
380
e06ec67f
MA
3812013-07-18 Michael Albinus <michael.albinus@gmx.de>
382
c7064f05 383 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
384 `file-notify-support'. Do not autoload. Adapt all uses.
385 (file-notify-supported-p): New defun.
386
c7064f05
JB
387 * autorevert.el (auto-revert-use-notify):
388 Use `file-notify-supported-p' instead of `file-notify-support'.
389 Adapt docstring.
e06ec67f
MA
390 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
391
392 * net/tramp.el (tramp-file-name-for-operation):
393 Add `file-notify-supported-p'.
394
395 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
396 New defun.
397 (tramp-sh-file-name-handler-alist): Add it as handler for
398 `file-notify-supported-p '.
399
400 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
401 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
402 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
403 Add `ignore' as handler for `file-notify-*' functions.
404
5dc8a629
EZ
4052013-07-17 Eli Zaretskii <eliz@gnu.org>
406
407 * simple.el (line-move-partial, line-move): Don't start vscroll or
408 scroll-up if the current line is not taller than the window.
409 (Bug#14881)
410
77aea2fb
DG
4112013-07-16 Dmitry Gutov <dgutov@yandex.ru>
412
413 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
414 highlight question marks in the method names as strings.
ac72c08d
DG
415 (ruby-block-beg-keywords): Inline.
416 (ruby-font-lock-keyword-beg-re): Extract from
417 `ruby-font-lock-keywords'.
77aea2fb 418
18c26d81
JD
4192013-07-16 Jan Djärv <jan.h.d@swipnet.se>
420
421 * frame.el (blink-cursor-blinks): New defcustom.
422 (blink-cursor-blinks-done): New defvar.
423 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
424 (blink-cursor-timer-function): Check if number of blinks has been
425 done on X and NS.
426 (blink-cursor-suspend, blink-cursor-check): New defuns.
427
da48522e
GM
4282013-07-15 Glenn Morris <rgm@gnu.org>
429
430 * edmacro.el (edmacro-format-keys): Fix previous change.
431
0463c1ef
PE
4322013-07-15 Paul Eggert <eggert@cs.ucla.edu>
433
434 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
435 The hack didn't work outside English locales anyway.
436
b43f6451
JB
4372013-07-15 Juanma Barranquero <lekktu@gmail.com>
438
439 * simple.el (define-alternatives): Rename from alternatives-define,
440 per RMS' suggestion.
441
b958c0ad
JB
4422013-07-14 Juanma Barranquero <lekktu@gmail.com>
443
444 * desktop.el (desktop-restore-frames): Change default to t.
445 (desktop-restore-in-current-display): Now offer more options.
446 (desktop-restoring-reuses-frames): New customization option.
447 (desktop--saved-states): Doc fix.
448 (desktop-filter-parameters-alist): New variable, renamed and expanded
449 from desktop--excluded-frame-parameters.
450 (desktop--target-display): New variable.
451 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
452 (desktop--filter-tty*, desktop--filter-*-color)
453 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
454 (desktop--filter-save-desktop-parm)
455 (desktop-restore-in-original-display-p): New functions.
456 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
457 (desktop--save-minibuffer-frames): New function, inspired by a similar
458 function from Martin Rudalics.
459 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
460 (desktop--restore-in-this-display-p): Remove.
461 (desktop--find-frame): Rename from desktop--find-frame-in-display
462 and add predicate argument.
463 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
464 (desktop--reuse-list): New variable.
465 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
466 New functions.
467 (desktop--restore-frames): Add support for "minibuffer-special" frames.
468
f6dd8b36
MA
4692013-07-14 Michael Albinus <michael.albinus@gmx.de>
470
471 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
472
2ce3c565
DG
4732013-07-13 Dmitry Gutov <dgutov@yandex.ru>
474
763a086d
JB
475 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
476 Highlight conversion methods on Kernel.
2ce3c565 477
2cdb7698
AM
4782013-07-13 Alan Mackenzie <acm@muc.de>
479
480 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
481 and comment it out. This out-commenting enables certain C++
482 declarations to be parsed correctly.
483
1a67b811
EZ
4842013-07-13 Eli Zaretskii <eliz@gnu.org>
485
1b796d6b
EZ
486 * international/mule.el (define-coding-system): Doc fix.
487
1a67b811
EZ
488 * simple.el (default-font-height): Don't call font-info if the
489 frame's default font didn't change since the frame was created.
490 (Bug#14838)
491
58fbe886
LL
4922013-07-13 Leo Liu <sdl.web@gmail.com>
493
494 * ido.el (ido-read-file-name): Guard against non-symbol value.
495
1f0480d4
FEG
4962013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
497
498 * progmodes/python.el (python-imenu--build-tree): Fix corner case
499 in nested defuns.
500
97ead0e5
LL
5012013-07-13 Leo Liu <sdl.web@gmail.com>
502
503 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
504 ido-set-matches call. (Bug#6852)
505
0880a952
DG
5062013-07-12 Dmitry Gutov <dgutov@yandex.ru>
507
508 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
509 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
510 Ruby 2.0.
511 (ruby-font-lock-keywords): Distinguish calls to functions with
512 module-like names from module references. Highlight character
513 literals.
514
a7d8babb
SDJ
5152013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
516
517 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 518 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 519
acfcc8c5
JB
5202013-07-12 Juanma Barranquero <lekktu@gmail.com>
521
522 * desktop.el (desktop--v2s): Remove unused local variable.
523 (desktop-save-buffer): Make defvar-local; adjust docstring.
524 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
525 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
526
051f2775
AS
5272013-07-12 Andreas Schwab <schwab@linux-m68k.org>
528
529 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
530
f24e7572
GM
5312013-07-12 Eli Zaretskii <eliz@gnu.org>
532
533 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
534 (Bug#14842)
535
539a920c
GM
5362013-07-12 Glenn Morris <rgm@gnu.org>
537
538 * doc-view.el: Require cl-lib at runtime too.
539 (doc-view-remove-if): Remove.
540 (doc-view-search-next-match, doc-view-search-previous-match):
541 Use cl-remove-if.
542
543 * edmacro.el: Require cl-lib at runtime too.
544 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
545 (edmacro-mismatch, edmacro-subseq): Remove.
546
547 * shadowfile.el: Require cl-lib.
548 (shadow-remove-if): Remove.
549 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
550 Use cl-remove-if.
551
552 * wid-edit.el: Require cl-lib.
553 (widget-choose): Use cl-remove-if.
554 (widget-remove-if): Remove.
555
556 * progmodes/ebrowse.el: Require cl-lib at runtime too.
557 (ebrowse-delete-if-not): Remove.
558 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
559 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
560 Use cl-delete-if-not.
561
1048af7c
JB
5622013-07-12 Juanma Barranquero <lekktu@gmail.com>
563
564 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
565 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
566
6c0674ee
LL
5672013-07-12 Leo Liu <sdl.web@gmail.com>
568
569 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
570
a19b3c2d
GM
5712013-07-11 Glenn Morris <rgm@gnu.org>
572
4582a01c
GM
573 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
574 (edebug-gensym-index, edebug-gensym):
575 Remove reimplementation of cl-gensym.
576 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
577
578 * thumbs.el: Require cl-lib at run-time too.
579 (thumbs-gensym-counter, thumbs-gensym):
580 Remove reimplementation of cl-gensym.
581 (thumbs-temp-file): Use cl-gensym.
582
a19b3c2d
GM
583 * emacs-lisp/ert.el: Require cl-lib at runtime too.
584 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
585 (ert--intersection, ert--set-difference, ert--set-difference-eq)
586 (ert--union, ert--gensym-counter, ert--gensym-counter)
587 (ert--coerce-to-vector, ert--remove*, ert--string-position)
588 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
589 (ert-make-test-unbound, ert--expand-should-1)
590 (ert--expand-should, ert--should-error-handle-error)
591 (should-error, ert--explain-equal-rec)
592 (ert--plist-difference-explanation, ert-select-tests)
593 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
594 Use cl-lib functions rather than reimplementations.
595
88f6a933
MA
5962013-07-11 Michael Albinus <michael.albinus@gmx.de>
597
598 * net/tramp.el (tramp-methods): Extend docstring.
599 (tramp-connection-timeout): New defcustom.
600 (tramp-error-with-buffer): Reset timestamp only when appropriate.
601 (with-tramp-progress-reporter): Simplify.
602 (tramp-process-actions): Improve messages.
603
604 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
605 * net/tramp-sh.el (tramp-maybe-open-connection):
606 Use `tramp-connection-timeout'.
607 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
608 (Bug#14808)
609
a43d577e
LL
6102013-07-11 Leo Liu <sdl.web@gmail.com>
611
612 * ido.el (ido-read-file-name): Conform to the requirements of
613 read-file-name. (Bug#11861)
614 (ido-read-directory-name): Conform to the requirements of
615 read-directory-name.
616
d77974bf
JB
6172013-07-11 Juanma Barranquero <lekktu@gmail.com>
618
619 * subr.el (delay-warning): New function.
620
35cb8a3e
EZ
6212013-07-10 Eli Zaretskii <eliz@gnu.org>
622
623 * simple.el (default-line-height): New function.
624 (line-move-partial, line-move): Use it instead of computing the
625 line height inline.
626 (line-move-partial): Always compute ROWH. If the last line is
627 partially-visible, but its text is completely visible, allow
628 cursor to enter such a partially-visible line.
629
525c5c77
MA
6302013-07-10 Michael Albinus <michael.albinus@gmx.de>
631
632 Improve error messages. (Bug#14808)
633
634 * net/tramp.el (tramp-current-connection): New defvar, moved from
635 tramp-sh.el.
0ac26976 636 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 637 needed anymore.
0ac26976
SM
638 (tramp-error-with-buffer): Show message in minibuffer.
639 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
640 (with-tramp-progress-reporter): Improve messages.
641 (tramp-process-actions): Use progress reporter. Delete process in
642 case of error. Improve messages.
643
763a086d
JB
644 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
645 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 646 (tramp-current-connection): Remove.
525c5c77
MA
647 (tramp-maybe-open-connection): The car of
648 `tramp-current-connection' are the first 3 slots of the vector.
649
c7a4d368
TZ
6502013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
651
652 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
653 inside continued strings.
654
954b166e
PE
6552013-07-10 Paul Eggert <eggert@cs.ucla.edu>
656
657 Timestamp fixes for undo (Bug#14824).
658 * files.el (clear-visited-file-modtime): Move here from fileio.c.
659
56973319
LL
6602013-07-10 Leo Liu <sdl.web@gmail.com>
661
662 * files.el (require-final-newline): Allow safe local value.
663 (Bug#14834)
664
5550a72c
LL
6652013-07-09 Leo Liu <sdl.web@gmail.com>
666
667 * ido.el (ido-read-directory-name): Handle fallback.
668 (ido-read-file-name): Update DIR to ido-current-directory.
669 (Bug#1516)
c28b9050 670 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 671
70c46b28
DG
6722013-07-09 Dmitry Gutov <dgutov@yandex.ru>
673
674 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
675 "autoload". Remove "warn lower camel case" section, previously
676 commented out. Highlight negation char. Do not highlight the
677 target in singleton method definitions.
678
0b64b838
SM
6792013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
680
7fd72e2c
SM
681 * faces.el (tty-setup-hook): Declare the hook.
682
0b64b838
SM
683 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
684 and detect when a guard/pred depends on local vars (bug#14773).
685 (pcase--u1): Adjust caller.
686
ab49d60b
EZ
6872013-07-08 Eli Zaretskii <eliz@gnu.org>
688
689 * simple.el (line-move-partial, line-move): Account for
690 line-spacing.
701d79aa
EZ
691 (line-move-partial): Avoid setting vscroll when the last
692 partially-visible line in window is of default height.
ab49d60b 693
2d756ae0
LMI
6942013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
695
696 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
697 been used a while.
698
ed095bd7
JB
6992013-07-07 Juanma Barranquero <lekktu@gmail.com>
700
701 * subr.el (read-quoted-char): Remove unused local variable `char'.
702
f1e6674b
MK
7032013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
704
584ee3fc
GM
705 * ediff.el (ediff-version): Version update.
706 (ediff-files-command, ediff3-files-command, ediff-merge-command)
707 (ediff-merge-with-ancestor-command, ediff-directories-command)
708 (ediff-directories3-command, ediff-merge-directories-command)
709 (ediff-merge-directories-with-ancestor-command): New functions.
710 All are command-line interfaces to ediff: to facilitate calling
711 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
712
713 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
714 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 715
584ee3fc
GM
716 * viper.el (viper-version): Version update.
717 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 718
584ee3fc
GM
7192013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
722 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
723 (viper-intercept-ESC-key): Simplify.
724 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
725 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
726 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
727 (viper-setup-ESC-to-escape): New functions.
728 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
729 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 730
9aff9b38
EZ
7312013-07-07 Eli Zaretskii <eliz@gnu.org>
732
5165d44a
JB
733 * simple.el (default-font-height, window-screen-lines):
734 New functions.
9aff9b38
EZ
735 (line-move, line-move-partial): Use them instead of
736 frame-char-height and window-text-height. This makes scrolling
737 text smoother when the buffer's default face uses a font that is
738 different from the frame's default font.
739
1afb1d07
JD
7402013-07-06 Jan Djärv <jan.h.d@swipnet.se>
741
742 * files.el (write-file): Do not display confirm dialog for NS,
743 it does its own dialog, which can't be cancelled (Bug#14578).
744
23de972a
EZ
7452013-07-06 Eli Zaretskii <eliz@gnu.org>
746
747 * simple.el (line-move-partial): Adjust the row returned by
748 posn-at-point for the current window-vscroll. (Bug#14567)
749
54a42486
MA
7502013-07-06 Michael Albinus <michael.albinus@gmx.de>
751
752 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
753 (tramp-sh-file-inotifywait-process-filter): Handle file names with
754 spaces.
755
34ada5f4
MR
7562013-07-06 Martin Rudalics <rudalics@gmx.at>
757
758 * window.el (window-state-put-stale-windows): New variable.
759 (window--state-put-2): Save list of windows without matching buffer.
760 (window-state-put): Remove "bufferless" windows if possible.
761
11e03d89
JB
7622013-07-06 Juanma Barranquero <lekktu@gmail.com>
763
764 * simple.el (alternatives-define): Remove leftover :group keyword.
765 Tweak docstring.
766
3504a4be
LL
7672013-07-06 Leo Liu <sdl.web@gmail.com>
768
769 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
770 (ido-enable-virtual-buffers): New variable.
771 (ido-buffer-internal, ido-toggle-virtual-buffers)
772 (ido-make-buffer-list): Use it.
773 (ido-exhibit): Support turning on and off virtual buffers
774 automatically.
775
61e56e2c
JB
7762013-07-06 Juanma Barranquero <lekktu@gmail.com>
777
778 * simple.el (alternatives-define): New macro.
779
321e1a9c
SM
7802013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * subr.el (read-quoted-char): Use read-key.
783 (sit-for): Let read-event decode tty input (bug#14782).
784
d610f6dd
SB
7852013-07-05 Stephen Berman <stephen.berman@gmx.net>
786
787 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
788 mode command and externally. Fix various related bugs.
789 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
790 (todo-delete-file): New command.
791 (todo-check-file): New function.
792 (todo-show): Handle external deletion of the file we're trying to
793 show (bug#14688). Replace called-interactively-p by an optional
794 prefix argument to avoid problematic interaction with catch form
795 when byte compiled (bug#14702).
796 (todo-quit): Handle external deletion of the archive's todo file.
797 Make sure the buffer that was visiting the archive file is still
798 live before trying to bury it.
799 (todo-category-completions): Handle external deletion of any
800 category completion files.
801 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
802 of todo files, in case of external deletion.
803 (todo-add-file): Replace unnecessary setq by let-binding.
804 (todo-find-archive): Check whether there are any archives.
805 Replace unnecessary setq by let-binding.
806 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
807 archive buffer whether or not the archive already exists.
808 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
809 check if the archive is new; if it is, update list of archives.
810 (todo-default-todo-file): Allow nil to be a valid value for when
811 there are no todo files.
812 (todo-reevaluate-default-file-defcustom): Use corrected definition
813 of todo-default-todo-file.
814 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
815 (todo-delete-category, todo-show-categories-table)
816 (todo-category-number): Clarify comment.
817 (todo-filter-items): Clarify documentation string.
818 (todo-show-current-file, todo-display-as-todo-file)
819 (todo-reset-and-enable-done-separator): Tweak documentation string.
820 (todo-done-separator): Make separator length window-width, since
821 bug#2749 is now fixed.
822
ddbdfd6f
MA
8232013-07-05 Michael Albinus <michael.albinus@gmx.de>
824
321e1a9c
SM
825 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
826 Support both "gvfs-monitor-dir" and "inotifywait".
827 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
828 `tramp-sh-file-notify-process-filter'.
829 (tramp-sh-file-gvfs-monitor-dir-process-filter)
830 (tramp-get-remote-gvfs-monitor-dir): New defuns.
831
96eb829a
LL
8322013-07-05 Leo Liu <sdl.web@gmail.com>
833
834 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
835
cf13177e
YM
8362013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
837
838 * frame.el (display-pixel-height, display-pixel-width)
839 (display-mm-height, display-mm-width): Mention behavior on
840 multi-monitor setups in docstrings.
841 (w32-display-monitor-attributes-list): Declare function.
842 (display-monitor-attributes-list): Use it.
843
864c58ca
MA
8442013-07-04 Michael Albinus <michael.albinus@gmx.de>
845
846 * filenotify.el: New package.
847
848 * autorevert.el (top): Require filenotify.el.
849 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
850 instead.
851 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
852 (auto-revert-notify-handler): Use `file-notify-*' functions.
853
854 * subr.el (file-notify-handle-event): Move function to filenotify.el.
855
321e1a9c
SM
856 * net/tramp.el (tramp-file-name-for-operation):
857 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
858
859 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
860 for `file-notify-add-watch' and `file-notify-rm-watch'.
861 (tramp-process-sentinel): Improve trace.
862 (tramp-sh-handle-file-notify-add-watch)
863 (tramp-sh-file-notify-process-filter)
864 (tramp-sh-handle-file-notify-rm-watch)
865 (tramp-get-remote-inotifywait): New defuns.
866
96673afe
JL
8672013-07-03 Juri Linkov <juri@jurta.org>
868
869 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
870 call of `occur-read-primary-args' to interactive spec.
871
872 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
873 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
874
924494f4
MM
8752013-07-03 Matthias Meulien <orontee@gmail.com>
876
877 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
878 `Buffer-menu-multi-occur'. Add it to the menu.
879 (Buffer-menu-mode): Document it in docstring.
880 (Buffer-menu-multi-occur): New command. (Bug#14673)
881
56f75efc
DG
8822013-07-03 Dmitry Gutov <dgutov@yandex.ru>
883
884 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
885 keywords and built-ins.
886
9b057d61
GM
8872013-07-03 Glenn Morris <rgm@gnu.org>
888
208dee4d
GM
889 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
890
9b057d61
GM
891 Make info-xref checks case-sensitive by default
892 * info.el (Info-find-node, Info-find-in-tag-table)
893 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
894 Add option for exact case matching of nodes.
895 * info-xref.el (info-xref): New custom group.
896 (info-xref-case-fold): New option.
897 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
898
e01aa29c
LL
8992013-07-03 Leo Liu <sdl.web@gmail.com>
900
901 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
902
3086ca2e
DG
9032013-07-03 Dmitry Gutov <dgutov@yandex.ru>
904
905 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
906 middle of block statement initially, lower the depth. Remove
907 FIXME comment, not longer valid. Remove middle of block statement
908 detection, no need to do that anymore since we've been using
909 `ruby-parse-region' here.
910
a3b49114
JD
9112013-07-02 Jan Djärv <jan.h.d@swipnet.se>
912
913 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
914
08e5c823 9152013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
916
917 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
918
2addf922
JB
9192013-07-01 Juanma Barranquero <lekktu@gmail.com>
920
921 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
922 (desktop-restore-in-current-display): New customization option.
923 (desktop--excluded-frame-parameters): Add `font'.
924 (desktop--save-frames): Rename from desktop--save-windows.
925 (desktop--restore-in-this-display-p): New function.
926 (desktop--make-full-frame): Remove unwanted width/height from
927 full(width|height) frames.
928 (desktop--restore-frames): Rename from desktop--restore-windows.
929 Obey desktop-restore-current-display. Do not delete old frames or
930 select a new frame unless we were able to restore at least one frame.
931
ef099a94
MN
9322013-06-30 Michal Nazarewicz <mina86@mina86.com>
933
934 * files.el (find-file-noselect): Simplify conditional expression.
935
936 * remember.el (remember-append-to-file):
937 Don't mix `find-buffer-visiting' and `get-file-buffer'.
938
939 Add `remember-notes' function to store random notes across Emacs
940 restarts.
941 * remember.el (remember-data-file): Add :set callback to affect
942 notes buffer (if any).
943 (remember-notes): New command.
944 (remember-notes-buffer-name, bury-remember-notes-on-kill):
945 New defcustoms for the `remember-notes' function.
946 (remember-notes-save-and-bury-buffer): New command.
947 (remember-notes-mode-map): New variable.
948 (remember-mode): New minor mode.
949 (remember-notes--kill-buffer-query): New function.
950 * startup.el (initial-buffer-choice): Add notes to custom type.
951
0865d506
EZ
9522013-06-30 Eli Zaretskii <eliz@gnu.org>
953
0ba54312
EZ
954 * bindings.el (right-char, left-char): Don't call sit-for, this is
955 no longer needed. Use arithmetic comparison only for numerical
956 arguments.
957
ef099a94
MN
958 * international/mule-cmds.el (select-safe-coding-system):
959 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 960
2fae38e5
LMI
9612013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
962
963 * net/shr.el (shr-make-table-1): Add a sanity check that allows
964 progression on degenerate tables.
ef099a94 965 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 966
a47cbd64
JB
9672013-06-30 Juanma Barranquero <lekktu@gmail.com>
968
969 Some fixes and improvements for desktop frame restoration.
970 It is still experimental and disabled by default.
971 * desktop.el (desktop--save-windows): Put the selected frame at
972 the head of the list.
973 (desktop--make-full-frame): New function.
974 (desktop--restore-windows): Try to re-select the frame that was
975 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
976 just show an error message and continue. Set up maximized frames
977 so they have default non-maximized dimensions.
a47cbd64 978
6dbafa30
DG
9792013-06-30 Dmitry Gutov <dgutov@yandex.ru>
980
ef099a94
MN
981 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
982 Don't start heredoc inside a string or comment.
6dbafa30 983
4c672a0f
EZ
9842013-06-29 Eli Zaretskii <eliz@gnu.org>
985
986 * bindings.el (visual-order-cursor-movement): New defcustom.
987 (right-char, left-char): Provide visual-order cursor motion by
988 calling move-point-visually. Update the doc strings.
989
50960f36
KH
9902013-06-28 Kenichi Handa <handa@gnu.org>
991
992 * international/mule.el (define-coding-system): New coding system
993 properties :inhibit-null-byte-detection,
994 :inhibit-iso-escape-detection, and :prefer-utf-8.
995 (set-buffer-file-coding-system): If :charset-list property of
996 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
997 appropriate for setting.
998
c1ea3abf
JB
999 * international/mule-cmds.el (select-safe-coding-system):
1000 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1001 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
1002
1003 * international/mule-conf.el (prefer-utf-8): New coding system.
1004 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1005 files.
1006
75dbaf9d
IK
10072013-06-28 Ivan Kanis <ivan@kanis.fr>
1008
eadb6068
IK
1009 * net/shr.el (shr-render-region): New function.
1010
75dbaf9d
IK
1011 * net/eww.el: Autoload `eww-browse-url'.
1012
9ea5cf9f
DG
10132013-06-27 Dmitry Gutov <dgutov@yandex.ru>
1014
c1ea3abf
JB
1015 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1016 Adapt to `package-desc-version' being a list.
1017 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
1018 archive element.
1019
39c0e36f
JB
10202013-06-27 Juanma Barranquero <lekktu@gmail.com>
1021
1022 New experimental feature to save&restore window and frame setup.
1023 * desktop.el (desktop-save-windows): New defcustom.
1024 (desktop--saved-states): New var.
1025 (desktop--excluded-frame-parameters): New defconst.
1026 (desktop--filter-frame-parms, desktop--find-frame-in-display)
1027 (desktop--restore-windows, desktop--save-windows): New functions.
1028 (desktop-save): Call `desktop--save-windows'.
1029 (desktop-read): Call `desktop--restore-windows'.
1030
7f13406b
LMI
10312013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1032
ef099a94 1033 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 1034
1e072639
SB
10352013-06-27 Stephen Berman <stephen.berman@gmx.net>
1036
1037 * info.el (Info-try-follow-nearest-node): Move search for footnote
1038 above search for node name to prevent missing a footnote (bug#14717).
1039
f3e2cbde
SB
10402013-06-27 Stephen Berman <stephen.berman@gmx.net>
1041
1042 * obsolete/otodo-mode.el: Add obsolescence info to file header.
1043
99906aa0
LL
10442013-06-27 Leo Liu <sdl.web@gmail.com>
1045
1046 * net/eww.el (eww-read-bookmarks): Check file size.
1047
539f75f4
SM
10482013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1051 advice--pending if newdef is nil or an autoload (bug#13820).
1052 (advice-mapc): New function.
1053
843571cb
LMI
10542013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1055
1056 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1057 probably.
23a75d7f 1058 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
1059 (eww-add-bookmark): New command.
1060 (eww-bookmark-mode): New mode and commands.
a285ce99 1061 (eww-add-bookmark): Remove newlines from the title.
47fd571b 1062 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 1063
f2136e1e
GM
10642013-06-26 Glenn Morris <rgm@gnu.org>
1065
eab35f39
GM
1066 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1067 (hfy-size): Handle ttys. (Bug#14668)
1068
f2136e1e
GM
1069 * info-xref.el: Update for Texinfo 5 change in *note format.
1070 (info-xref-node-re, info-xref-note-re): New constants.
1071 (info-xref-check-buffer): Use info-xref-note-re.
1072
a49ff80c
SM
10732013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1074
a343d218
SM
1075 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1076
a49ff80c
SM
1077 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1078 nil terminate the loop (bug#14718).
1079
8308f184
LMI
10802013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1081
1082 * net/eww.el: Rework history traversal. When going forward/back,
1083 put these actions into the history, too, so that they can be
1084 replayed.
26bf2b82 1085 (eww-render): Move the history reset to the correct buffer.
8308f184 1086
ec64c273
JL
10872013-06-25 Juri Linkov <juri@jurta.org>
1088
1089 * files-x.el (modify-dir-local-variable): Change the header comment
1090 in the file with directory local variables. (Bug#14692)
1091
e080a9d7
JL
1092 * files-x.el (read-file-local-variable-value): Add `default'.
1093 (Bug#14710)
1094
bfbc93a1
IK
10952013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1096
1097 * net/eww.el (eww-make-unique-file-name): Create a unique file
1098 name before saving to entering `y' accidentally asynchronously.
1099
11002013-06-25 Ivan Kanis <ivan@kanis.fr>
1101
1102 * net/eww.el (eww-download): New command and keystroke.
1103
16f74f10
LMI
11042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1105
a49ff80c 1106 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
1107
1108 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1109 be more consistent with Info and dired.
1110
1111 * net/eww.el (eww-mode-map): Ditto.
1112
12059709
SM
11132013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
1116 packages from archives.
1117 (package-archive-contents): Change format; include obsolete packages.
1118 (package-desc): Use `dir' to mark builtin packages.
1119 (package--from-builtin): Set the `dir' field to `builtin'.
1120 (generated-autoload-file, version-control): Declare.
1121 (package-compute-transaction): Change first arg and return value to be
1122 lists of package-descs. Adjust to new package-archive-contents format.
1123 (package--add-to-archive-contents): Adjust to new
1124 package-archive-contents format.
1125 (package-download-transaction): Arg is now a list of package-descs.
1126 (package-install): If `pkg' is a package name, pass it as
1127 a requirement, so it is subject to the usual (e.g. disabled) checks.
1128 (describe-package): Accept package-desc as well.
1129 (describe-package-1): Describe a specific package-desc. Add links to
1130 other package-descs for the same package name.
1131 (package-menu-describe-package): Pass the actual package-desc.
1132 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1133 works correctly.
1134 (package-desc-status): New function.
1135 (package-menu--refresh): New function, extracted
1136 from package-menu--generate.
1137 (package-menu--generate): Use it.
1138 (package-delete): Update package-alist.
1139 (package-menu-execute): Don't call package-initialize.
1140
1141 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1142 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1143 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1144 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1145 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1146 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1147
8bbdea0f
MR
11482013-06-25 Martin Rudalics <rudalics@gmx.at>
1149
1150 * window.el (window--state-get-1): Workaround for bug#14527.
1151 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1152
e82b0991
LMI
11532013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1154
1155 * net/eww.el (eww-back-url): Implement the history by stashing all
1156 the data into a list.
d3f0f918 1157 (eww-forward-url): Allow going forward in the history, too.
e82b0991 1158
c763842b
SM
11592013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1162 for values and use read--expression for expressions (bug#14710).
1163 (read-file-local-variable): Avoid setq.
1164 (read-file-local-variable-mode): Use minor-mode-list.
1165
bceff189
RW
11662013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1167
864c58ca 1168 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
1169 for DOI URLs.
1170
45f431c6
RW
11712013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1172
864c58ca 1173 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
1174 Update imenu-support when dialect changes.
1175
f42d8237
LL
11762013-06-25 Leo Liu <sdl.web@gmail.com>
1177
1178 * ido.el (ido-read-internal): Allow forward slash on windows.
1179
be549ce6
LMI
11802013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1181
1182 * net/eww.el (eww): Start of strings is \\`, not ^.
1183
71d4c19d
IK
11842013-06-24 Ivan Kanis <ivan@kanis.fr>
1185
5196f88a
IK
1186 * net/shr.el (shr-browse-url): Fix interactive spec.
1187
71d4c19d
IK
1188 * net/eww.el (eww): Add a trailing slash to domain names.
1189
ae36ca55
JB
11902013-06-24 Juanma Barranquero <lekktu@gmail.com>
1191
1192 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1193
0ebd92a3
LMI
11942013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1195
bdaa086b
LMI
1196 * net/shr.el (shr-browse-url): Use an external browser if given a
1197 prefix.
1198
c763842b 1199 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 1200
b89fc156
IK
12012013-06-24 Ivan Kanis <ivan@kanis.fr>
1202
1203 * net/eww.el (eww): Work more correctly for file: URLs.
1204 (eww-detect-charset): Allow quoted charsets.
1205 (eww-yank-page-url): New command and keystroke.
1206
18eb4bca
DU
12072013-06-24 Daiki Ueno <ueno@gnu.org>
1208
1209 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1210 file name of gpg executable.
1211 (epg-context-program): New function.
1212 (epg-context-home-directory): New function.
1213 (epg-context-set-program): New function.
1214 (epg-context-set-home-directory): New function.
1215 (epg--start): Use `epg-context-program' instead of
1216 'epg-gpg-program'.
1217 (epg--list-keys-1): Likewise.
1218
6c6268c8
LL
12192013-06-24 Leo Liu <sdl.web@gmail.com>
1220
1221 * ido.el (ido-read-internal): Fix bug#14620.
1222
5e400cb3
JB
12232013-06-23 Juanma Barranquero <lekktu@gmail.com>
1224
1225 * faces.el (face-documentation): Simplify.
1226 (read-face-attribute, tty-find-type, x-resolve-font-name):
1227 Use `string-match-p'.
1228 (list-faces-display): Use `string-match-p'. Simplify.
1229 (face-spec-recalc): Check face to avoid face alias loops.
1230 (read-color): Use `string-match-p' and non-capturing parenthesis.
1231
f3f9606c
LMI
12322013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1233
1234 * net/shr.el (shr-rescale-image): Use the new
1235 :max-width/:max-height functionality.
1236
a3ca09b9
IK
12372013-06-23 Ivan Kanis <ivan@kanis.fr>
1238
1239 * net/eww.el (eww-search-prefix): New variable.
1240 (eww): Use it.
f865b474
IK
1241 (eww-external-browser): New variable.
1242 (eww-mode-map): New keystroke.
1243 (eww-browse-with-external-browser): New command.
a3ca09b9 1244
e854cfc7
IK
1245 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1246
18bb9e21
JB
12472013-06-23 Juanma Barranquero <lekktu@gmail.com>
1248
1249 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1250 Don't skip aligning the next header field when padding is 0;
1251 otherwise, field width is not respected unless the title is as
1252 wide as the field.
1253
5b165ade
SM
12542013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * emacs-lisp/package.el (package-el-version): Remove.
1257 (package-process-define-package): Fix inf-loop.
1258 (package-install): Allow symbols as arguments again.
1259
12adebe9
DG
12602013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1261
1262 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1263 add some more keyword-like methods.
1264 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1265
388573ee
JB
12662013-06-22 Juanma Barranquero <lekktu@gmail.com>
1267
1268 * bs.el (bs-buffer-show-mark): Make defvar-local.
1269 (bs-mode): Use setq-local.
1270
1271 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1272 (emacs-lock--try-unlocking): Make defvar-local.
1273
4582a01c 12742013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 1275
2663dd23
GM
1276 * play/cookie1.el (cookie-apropos): Minor simplification.
1277
3d94f3ad
GM
1278 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1279
f72e2fdb
DG
12802013-06-22 Dmitry Gutov <dgutov@yandex.ru>
1281
1282 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1283 `regexp-opt', it breaks the build during dumping.
1284
73eab938
DG
12852013-06-21 Dmitry Gutov <dgutov@yandex.ru>
1286
c763842b
SM
1287 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1288 Highlight keyword-like methods on Kernel and Module with
73eab938 1289 font-lock-builtin-face.
5cf8176d
DG
1290 (auto-mode-alist): Consolidate different entries into one regexp
1291 and add more *file-s.
73eab938 1292
d26255f6
SB
12932013-06-21 Stephen Berman <stephen.berman@gmx.net>
1294
1295 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1296
1297 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1298 (diary-entry): Use it in the action of this button type instead of
1299 diary-goto-entry.
1300
1301 * calendar/todo-mode.el: New version.
1302 (todo-add-category): Append new category to end of file and give
1303 it the highest number, instead of putting it at the beginning and
1304 giving it 0. Incorporate noninteractive functionality.
1305 (todo-forward-category): Adapt to 1-based category numbering.
1306 Allow skipping over archived categories.
1307 (todo-backward-category): Derive from todo-forward-category.
1308 (todo-backward-item, todo-forward-item): Make noninteractive and
1309 delegate interactive part to new commands. Make sensitive to done items.
1310 (todo-categories): Make value an alist of category names and
1311 vectors of item counts.
1312 (todo-category-beg): Make a defconst.
1313 (todo-category-number): Use 1 instead of 0 as initial value.
1314 (todo-category-select): Make sensitive to overlays, optional item
1315 highlighting and done items.
1316 (todo-delete-item): Make sensitive to overlays and marked and done items.
1317 (todo-edit-item): Make sensitive to overlays and editing of
1318 date/time header optional. Add format checks.
1319 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
1320 no-op if point is not on an item. Advertise using todo-edit-quit.
1321 (todo-edit-mode): Make sensitive to new format, font-locking, and
1322 multiple todo files.
1323 (todo-insert-item, todo-insert-item-here): Derive from
1324 todo-basic-insert-item and extend functionality.
1325 (todo-item-end, todo-item-start): Make sensitive to done items.
1326 (todo-item-string): Don't return text properties. Restore point.
1327 (todo-jump-to-category): Make sensitive to multiple todo files and
1328 todo archives. Use extended category completion.
1329 (todo-lower-item, todo-raise-item): Rename to *-priority and
1330 derive from todo-set-item-priority.
1331 (todo-mode): Derive from special-mode. Make sensitive to new
1332 format, font-locking and multiple todo files. Make read-only.
1333 (todo-mode-map): Don't suppress digit keys, so they can supply
1334 prefix arguments. Add many new key bindings.
1335 (todo-prefix): Insert as an overlay instead of file text.
1336 Change semantics from diary date expression to purely visual mark.
1337 (todo-print): Rename to todo-print-buffer. Make buffer display
1338 features printable. Remove option to restrict number of items
1339 printed. Add option to print to file.
1340 (todo-print-function): Rename to todo-print-buffer-function.
1341 (todo-quit): Extend to handle exiting new todo modes.
1342 (todo-remove-item): Make sensitive to overlays.
1343 (todo-save): Extend to buffers of filtered items.
1344 (todo-show): Make sensitive to done items, multiple todo files and
1345 new todo modes. Offer to convert legacy todo file before creating
1346 first new todo file.
1347 (todo-show-priorities): Rename to todo-top-priorities.
1348 Change semantics of value 0.
1349 (todo-top-priorities): Rename to todo-filter-top-priorities,
1350 derive from todo-filter-items and extend functionality.
1351 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
1352 and extend functionality to other types of filtered items.
1353 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
1354 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
1355 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
1356 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
1357 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
1358 (todo-edit-mode-hook, todo-entry-prefix-function)
1359 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
1360 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
1361 (todo-initials, todo-insert-threshold, todo-item-string-start)
1362 (todo-line-string, todo-menu, todo-mode-hook)
1363 (todo-more-important-p, todo-previous-answer, todo-previous-line)
1364 (todo-print-priorities, todo-remove-separator)
1365 (todo-save-top-priorities-too, todo-string-count-lines)
1366 (todo-string-multiline-p, todo-time-string-format)
1367 (todo-tmp-buffer-name): Remove.
1368 (todo-add-file, todo-archive-done-item, todo-choose-archive)
1369 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
1370 (todo-edit-category-diary-inclusion)
1371 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
1372 (todo-edit-file, todo-edit-item-date-day)
1373 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
1374 (todo-edit-item-date-month, todo-edit-item-date-to-today)
1375 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
1376 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
1377 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
1378 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
1379 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
1380 (todo-filter-top-priorities-multifile, todo-find-archive)
1381 (todo-find-filtered-items-file, todo-go-to-source-item)
1382 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
1383 (todo-jump-to-archive-category, todo-lower-category)
1384 (todo-mark-category, todo-marked-item-p, todo-merge-category)
1385 (todo-move-category, todo-move-item, todo-next-button)
1386 (todo-next-item, todo-padded-string, todo-powerset)
1387 (todo-previous-button, todo-previous-item)
1388 (todo-print-buffer-to-file, todo-raise-category)
1389 (todo-rename-category, todo-repair-categories-sexp, todo-search)
1390 (todo-set-category-number, todo-set-item-priority)
1391 (todo-set-top-priorities-in-category)
1392 (todo-set-top-priorities-in-file, todo-show-categories-table)
1393 (todo-sort-categories-alphabetically-or-numerically)
1394 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
1395 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
1396 (todo-toggle-item-header, todo-toggle-item-highlighting)
1397 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
1398 (todo-toggle-view-done-items, todo-toggle-view-done-only)
1399 (todo-unarchive-items, todo-unmark-category): New commands.
1400 (todo-absolute-file-name, todo-add-to-buffer-list)
1401 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
1402 (todo-basic-insert-item, todo-category-completions)
1403 (todo-category-number, todo-category-string-matcher-1)
1404 (todo-category-string-matcher-2, todo-check-filtered-items-file)
1405 (todo-check-format, todo-clear-matches)
1406 (todo-comment-string-matcher, todo-convert-legacy-date-time)
1407 (todo-current-category, todo-date-string-matcher)
1408 (todo-define-insertion-command, todo-diary-expired-matcher)
1409 (todo-diary-goto-entry, todo-diary-item-p)
1410 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
1411 (todo-display-categories, todo-display-sorted, todo-done-item-p)
1412 (todo-done-item-section-p, todo-done-separator)
1413 (todo-done-string-matcher, todo-files, todo-filter-items)
1414 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
1415 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
1416 (todo-insert-category-line, todo-insert-item-from-calendar)
1417 (todo-insert-sort-button, todo-insert-with-overlays)
1418 (todo-insertion-command-name, todo-insertion-key-bindings)
1419 (todo-label-to-key, todo-longest-category-name-length)
1420 (todo-make-categories-list, todo-mode-external-set)
1421 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
1422 (todo-modes-set-3, todo-multiple-filter-files)
1423 (todo-nondiary-marker-matcher, todo-prefix-overlays)
1424 (todo-read-category, todo-read-date, todo-read-dayname)
1425 (todo-read-file-name, todo-read-time)
1426 (todo-reevaluate-category-completions-files-defcustom)
1427 (todo-reevaluate-default-file-defcustom)
1428 (todo-reevaluate-filelist-defcustoms)
1429 (todo-reevaluate-filter-files-defcustom)
1430 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
1431 (todo-reset-done-separator, todo-reset-done-separator-string)
1432 (todo-reset-done-string, todo-reset-global-current-todo-file)
1433 (todo-reset-highlight-item, todo-reset-nondiary-marker)
1434 (todo-reset-prefix, todo-set-categories)
1435 (todo-set-date-from-calendar, todo-set-show-current-file)
1436 (todo-set-top-priorities, todo-short-file-name)
1437 (todo-show-current-file, todo-sort, todo-time-string-matcher)
1438 (todo-total-item-counts, todo-update-buffer-list)
1439 (todo-update-categories-display, todo-update-categories-sexp)
1440 (todo-update-count, todo-validate-name, todo-y-or-n-p):
1441 New functions.
1442 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
1443 New major modes.
1444 (todo-categories, todo-display, todo-edit, todo-faces)
1445 (todo-filtered): New defgroups.
1446 (todo-archived-only, todo-button, todo-category-string, todo-date)
1447 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
1448 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
1449 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
1450 (todo-add-item-if-new-category, todo-always-add-time-string)
1451 (todo-categories-align, todo-categories-archived-label)
1452 (todo-categories-category-label, todo-categories-diary-label)
1453 (todo-categories-done-label, todo-categories-number-separator)
1454 (todo-categories-todo-label, todo-categories-totals-label)
1455 (todo-category-completions-files, todo-completion-ignore-case)
1456 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
1457 (todo-done-separator-string, todo-done-string)
1458 (todo-files-function, todo-filter-done-items, todo-filter-files)
1459 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
1460 (todo-initial-category, todo-initial-file, todo-item-mark)
1461 (todo-legacy-date-time-regexp, todo-mode-line-function)
1462 (todo-nondiary-marker, todo-number-prefix)
1463 (todo-print-buffer-function, todo-show-current-file)
1464 (todo-show-done-only, todo-show-first, todo-show-with-done)
1465 (todo-skip-archived-categories, todo-top-priorities-overrides)
1466 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
1467 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
1468 New defcustoms.
1469 (todo-category-done, todo-date-pattern, todo-date-string-start)
1470 (todo-diary-items-buffer, todo-done-string-start)
1471 (todo-filtered-items-buffer, todo-item-start)
1472 (todo-month-abbrev-array, todo-month-name-array)
1473 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
1474 (todo-top-priorities-buffer): New defconsts.
1475 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
1476 (todo-categories-with-marks, todo-category-string-face)
1477 (todo-comment-face, todo-comment-string, todo-current-todo-file)
1478 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
1479 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
1480 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
1481 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
1482 (todo-font-lock-keywords, todo-global-current-todo-file)
1483 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
1484 (todo-insertion-commands-args)
1485 (todo-insertion-commands-args-genlist)
1486 (todo-insertion-commands-names, todo-insertion-map)
1487 (todo-key-bindings-t, todo-key-bindings-t+a)
1488 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
1489 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
1490 (todo-nondiary-face, todo-print-buffer, todo-time-face)
1491 (todo-visited): New variables.
1492
cad5d1cb
GM
14932013-06-21 Glenn Morris <rgm@gnu.org>
1494
1495 * play/cookie1.el (cookie-apropos): Add optional display argument.
1496 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
1497 (psychoanalyze-pinhead): Use cookie-doctor.
1498
9e277302
JB
14992013-06-21 Juanma Barranquero <lekktu@gmail.com>
1500
1501 * emacs-lisp/package.el (tar-get-file-descriptor)
1502 (tar--extract): Declare.
1503
c5b0993e
EW
15042013-06-21 Eduard Wiebe <usenet@pusto.de>
1505
1506 Extend flymake's warning predicate to be a function (bug#14217).
1507 * progmodes/flymake.el (flymake-warning-predicate): New.
1508 (flymake-parse-line): Use it.
1509 (flymake-warning-re): Make obsolete alias to
1510 `flymake-warning-predicate'.
1511
a7d2d465
SM
15122013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * emacs-lisp/package.el (package-alist): Include obsolete packages.
1515 (package-obsolete-list): Remove.
1516 (package-activate): Remove min-version argument. Add `force' argument.
1517 Adjust to new package-alist format.
1518 (package-mark-obsolete): Remove.
1519 (package-unpack): Force reload of the package's autoloads.
1520 (package-installed-p): Check builtins if the installed package is not
1521 recent enough.
1522 (package-initialize): Don't reset package-obsolete-list.
1523 Don't specify which package version to activate.
1524 (package-process-define-package, describe-package-1)
1525 (package-menu--generate): Adjust to new package-alist format.
1526
cedf5c9d
JB
15272013-06-21 Juanma Barranquero <lekktu@gmail.com>
1528
1529 * allout-widgets.el (allout-widgets-mode-off)
1530 (allout-widgets-mode-on, allout-widgets-pre-command-business)
1531 (allout-widgets-post-command-business)
1532 (allout-widgets-after-copy-or-kill-function)
1533 (allout-widgets-after-undo-function, allout-test-range-overlaps)
1534 (allout-decorate-item-and-context)
1535 (allout-graphics-modification-handler): Fix typos in docstrings.
1536 (allout-get-or-create-parent-widget): Use `looking-at-p'.
1537
1538 * cmuscheme.el (scheme-start-file): Doc fix.
1539 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
1540 (scheme-input-filter): Use `string-match-p'.
1541
1542 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
1543
1544 * dired-x.el: Use Dired consistently in docstrings.
1545
1546 * dired.el: Use Dired consistently in docstrings.
1547 (dired-readin, dired-mode): Use `setq-local'.
1548 (dired-switches-alist): Make defvar-local.
1549 (dired-buffers-for-dir): Use `zerop'.
1550 (dired-safe-switches-p, dired-switches-escape-p)
1551 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
1552 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
1553 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
1554 (dired-goto-next-nontrivial-file): Use `string-match-p'.
1555 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
1556 (dired-toggle-marks, dired-mark-files-containing-regexp)
1557 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
1558 (dired-flag-auto-save-files, dired-flag-backup-files):
1559 Use `looking-at-p'.
1560 (dired-mark-files-regexp, dired-build-subdir-alist):
1561 Use `string-match-p', `looking-at-p'.
1562
1563 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
1564 (direct-print-region-helper): Use `string-match-p'.
1565
aed838b5
LL
15662013-06-21 Leo Liu <sdl.web@gmail.com>
1567
cedf5c9d
JB
1568 * comint.el (comint-redirect-results-list-from-process):
1569 Fix infinite loop.
aed838b5 1570
d80a808f
LMI
15712013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1572
1573 * net/eww.el (eww-update-header-line-format): Quote % characters.
1574
e7a526e3
GM
15752013-06-21 Glenn Morris <rgm@gnu.org>
1576
1577 * play/cookie1.el (cookie): New custom group.
1578 (cookie-file): New option.
1579 (cookie-check-file): New function.
1580 (cookie): Make it interactive. Make start and end messages optional.
1581 Interactively, display the result. Default to cookie-file.
1582 (cookie-insert): Default to cookie-file.
1583 (cookie-snarf): Make start and end messages optional.
1584 Default to cookie-file. Use with-temp-buffer.
1585 (cookie-read): Rename from read-cookie.
1586 Make start and end messages optional. Default to cookie-file.
1587 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 1588 Do not autoload it.
e7a526e3
GM
1589 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
1590 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
1591
62efb35e
LL
15922013-06-21 Leo Liu <sdl.web@gmail.com>
1593
1594 * progmodes/octave.el (octave-mode): Backward compatibility fix.
1595
21e3f963
GM
15962013-06-21 Glenn Morris <rgm@gnu.org>
1597
1598 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
1599
fd846ab4
SM
16002013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1601 Daniel Hackney <dan@haxney.org>
1602
1603 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
1604 Consolidate the single-file vs tarball code.
1605 (package-desc-suffix): New function.
1606 (package-desc-full-name): Don't bother inlining it.
1607 (package-load-descriptor): Return the new package-desc.
1608 (package-mark-obsolete): Remove unused arg `package'.
1609 (package-unpack): Make it work for single files as well.
1610 Make it update package-alist.
1611 (package--make-autoloads-and-stuff): Rename from
1612 package--make-autoloads-and-compile. Don't compile any more.
1613 (package--compile): New function.
1614 (package-generate-description-file): New function, extracted from
1615 package-unpack-single.
1616 (package-unpack-single): Remove.
1617 (package--with-work-buffer): Add indentation and debugging info.
1618 (package-download-single): Remove.
1619 (package-install-from-archive): Rename from package-download-tar, make
1620 it take a pkg-desc, and make it work for single files as well.
1621 (package-download-transaction): Simplify.
1622 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
1623 external tar program.
1624 (package-install-from-buffer): Remove `pkg-desc' argument.
1625 Use package-tar-file-info for tar-mode buffers.
1626 (package-install-file): Simplify accordingly.
1627 (package-archive-base): Change to take a pkg-desc.
1628 * tar-mode.el (tar--check-descriptor): New function, extracted from
1629 tar-get-descriptor.
1630 (tar-get-descriptor): Use it.
1631 (tar-get-file-descriptor): New function.
1632 (tar--extract): New function, extracted from tar-extract.
1633 (tar--extract): Use it.
1634 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
1635 case the summary uses non-ascii. Adjust to new calling convention of
1636 package-tar-file-info.
1637
b7deae5e
LL
16382013-06-21 Leo Liu <sdl.web@gmail.com>
1639
fd846ab4
SM
1640 * comint.el (comint-redirect-results-list-from-process):
1641 Fix random delay. (Bug#14681)
b7deae5e 1642
7a65a0b2
JB
16432013-06-21 Juanma Barranquero <lekktu@gmail.com>
1644
1645 * profiler.el (profiler-format-number): Use log, not log10.
1646
1493c2af
JB
16472013-06-20 Juanma Barranquero <lekktu@gmail.com>
1648
1649 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
1650
aff6371e
SM
16512013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
1654 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
1655 yet available.
1656 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
1657 (AUTOGENEL): ... here.
1658 * emacs-lisp/cl-macs.el (cl--sublis): New function.
1659 (cl--defsubst-expand): Use it.
1660
89561f72
PE
16612013-06-20 Paul Eggert <eggert@cs.ucla.edu>
1662
1663 * subr.el (log10): Move here from C code, and declare as obsolete.
1664 All uses of (log10 X) replaced with (log X 10).
1665
47199123
JB
16662013-06-20 Juanma Barranquero <lekktu@gmail.com>
1667
1668 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1669 Declare with `defvar-local'.
1670 (tabulated-list-use-header-line, tabulated-list-entries)
1671 (tabulated-list-padding, tabulated-list-printer)
1672 (tabulated-list-sort-key): Declare with `defvar-local'.
1673 (tabulated-list-init-header, tabulated-list-print-fake-header):
1674 Use `setq-local'.
1675
4a172eab
MA
16762013-06-20 Michael Albinus <michael.albinus@gmx.de>
1677
47199123
JB
1678 * arc-mode.el (archive-mode): Add `archive-write-file' to
1679 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 1680
5fc0acc0
JB
16812013-06-20 Juanma Barranquero <lekktu@gmail.com>
1682
d5b27848
JB
1683 * cus-edit.el (custom-commands): Fix typos.
1684 (custom-display): Fix tooltip text.
1685 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1686 Fix typos in docstrings.
1687 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1688 (custom-unlispify-menu-entry, custom-magic-value-create)
1689 (custom-add-see-also, custom-group-value-create): Use ?\s.
1690 (custom-guess-type, customize-apropos, editable-field)
1691 (custom-face-value-create): Use `string-match-p'.
1692 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
1693
1694 * custom.el (custom-load-symbol): Use `string-match-p'.
1695
a5c581d8
JB
1696 * ansi-color.el: Convert to lexical binding.
1697 (ansi-colors): Fix URL.
1698 (ansi-color-context, ansi-color-context-region): Use defvar-local.
1699 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
1700 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
1701
970ad972
G
17022013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1703
1704 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
1705
1706 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
1707
17082013-06-19 Tom Tromey <tromey@redhat.com>
1709
1710 * net/eww.el (eww-top-url): Remove.
1711 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
1712 (eww-render): Set new variables. Don't set eww-top-url.
1713 (eww-handle-link): Handle "prev", "home", and "contents".
1714 Downcase the rel text.
1715 (eww-top-url): Choose best top URL.
1716
17172013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718
1719 * net/eww.el: Rewrite to implement form elements "by hand" instead of
1720 relying in widget.el. Using widget.el leads to too many
1721 user interface inconsistencies.
1722 (eww-self-insert): Implement entering commands in text fields.
1723 (eww-process-text-input): New function to make text input field editing
1724 work.
1725 (eww-submit): Rewrite to use the new-style form methods.
1726 (eww-select-display): Display the correct selected item.
1727 (eww-change-select): Implement changing the select value.
1728 (eww-toggle-checkbox): Implement radio/checkboxes.
1729 (eww-update-field): Fix compilation error.
1730 (eww-tag-textarea): Implement <textarea>.
1731
1732 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
1733 we don't shadow mode-specific bindings.
1734
1735 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
1736 nothing to push.
1737
1738 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
1739
4582a01c 17402013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
1741
1742 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
1743
15b263dc
MA
17442013-06-19 Michael Albinus <michael.albinus@gmx.de>
1745
1746 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
1747 not needed.
1748
1749 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
1750
8f5297f7
LMI
17512013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1752
1753 * net/browse-url.el (browse-url-browser-function):
1754 `eww-browse-url' has the right calling signature, `eww' does not.
1755
011c4552
GM
17562013-06-19 Glenn Morris <rgm@gnu.org>
1757
2285bd27
GM
1758 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1759 Only eval autoloaded macros.
1760 (byte-compile-autoload): Only give the macro warning for macros.
1761
1d653303
GM
1762 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
1763 (ps-underlined-faces): Declare.
1764
bdd779ec
GM
1765 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
1766 (speedbar-add-supported-extension): Declare.
1767
011c4552
GM
1768 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
1769 Don't include a date stamp in the header of the generated file;
1770 it leads to needless differences between output files.
1771
e59dfb0e
MA
17722013-06-19 Michael Albinus <michael.albinus@gmx.de>
1773
c763842b
SM
1774 * net/secrets.el (secrets-struct-secret-content-type):
1775 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 1776 Some servers do not offer introspection.
e59dfb0e 1777
102626e2
SM
17782013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * electric.el (electric-pair-mode): Improve interaction with
1781 electric-layout-mode.
1782 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
1783 (electric-pair-syntax): Use text-mode-syntax-table in comments
1784 and strings.
1785 (electric-pair--insert): New function.
1786 (electric-pair-post-self-insert-function): Use it and
1787 electric--after-char-pos.
1788
ad528125
LL
17892013-06-19 Leo Liu <sdl.web@gmail.com>
1790
1791 * progmodes/octave.el (octave-help): Fix regexp.
1792
924d6997
G
17932013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1794
1795 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
1796 (shr-table-horizontal-line): Allow nil as a value, and change the
1797 default.
1798 (shr-insert-table-ruler): Respect the nil value.
1799
18002013-06-18 Tom Tromey <tromey@barimba>
1801
1802 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1803 New defvars.
1804 (eww-open-file): New defun.
1805 (eww-render): Initialize new variables.
1806 (eww-display-html): Handle "link" and "a".
1807 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
1808 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
1809 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
1810 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1811 New defuns.
924d6997 1812
d1bbba4f
DG
18132013-06-18 Dmitry Gutov <dgutov@yandex.ru>
1814
1815 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
1816 Distinguish ternary operator tokens from slash symbol and slash
1817 char literal.
1818
14dd22d2
JB
18192013-06-18 Juanma Barranquero <lekktu@gmail.com>
1820
1821 Convert symbol prettification into minor mode and global minor mode.
1822
1823 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
1824 `prog-prettify-symbols', and make a local defvar instead of defcustom.
1825 (prettify-symbols--keywords): Rename from
1826 `prog-prettify-symbols-alist' and make a local defvar.
1827 (prettify-symbols--compose-symbol): Rename from
1828 `prog--prettify-font-lock-compose-symbol'.
1829 (prettify-symbols--make-keywords): Rename from
1830 `prog-prettify-font-lock-symbols-keywords' and simplify.
1831 (prog-prettify-install): Remove.
1832 (prettify-symbols-mode): New minor mode, based on
1833 `prog-prettify-install'.
1834 (turn-on-prettify-symbols-mode): New function.
1835 (global-prettify-symbols-mode): New globalized minor mode.
1836
1837 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1838 * progmodes/cfengine.el (cfengine3-mode):
1839 * progmodes/perl-mode.el (perl-mode): Don't call
1840 `prog-prettify-install'; set `prettify-symbols-alist' instead.
1841
292c880c
JL
18422013-06-18 Juri Linkov <juri@jurta.org>
1843
1844 * files-x.el (modify-file-local-variable-message): New function.
1845 (modify-file-local-variable)
1846 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
1847 and call `modify-file-local-variable-message' when it's non-nil.
1848 (add-file-local-variable, delete-file-local-variable)
1849 (add-file-local-variable-prop-line)
1850 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
1851 and use it. (Bug#9820)
1852
0950aa27
JL
18532013-06-18 Juri Linkov <juri@jurta.org>
1854
1855 * emulation/vi.el (vi-shell-op):
1856 * emulation/vip.el (vip-execute-com, ex-command):
1857 * emulation/viper-cmd.el (viper-exec-bang):
1858 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
1859 the call of `shell-command-on-region'. (Bug#14637)
1860
1861 * simple.el (shell-command-on-region): Doc fix.
1862
8fbcca16
SM
18632013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
1866 (bug#14633).
1867
dd7426ea
GM
18682013-06-18 Glenn Morris <rgm@gnu.org>
1869
4ba54f7d
GM
1870 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
1871
dd7426ea
GM
1872 * newcomment.el (comment-search-forward, comment-search-backward):
1873 Doc fix. (Bug#14376)
1874
58aa805b
JB
18752013-06-18 Juanma Barranquero <lekktu@gmail.com>
1876
1877 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
1878 (buffer-face-mode-invoke): Doc fix.
1879
9a08a617
MM
18802013-06-18 Matthias Meulien <orontee@gmail.com>
1881
1882 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 1883 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 1884
f2f426ca
GM
18852013-06-18 Glenn Morris <rgm@gnu.org>
1886
9445f99b
GM
1887 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
1888 Replace obsolete function generic-make-keywords with its expansion.
1889
e0df2d14
GM
1890 * progmodes/python.el (ffap-alist): Declare.
1891
f2f426ca
GM
1892 * textmodes/reftex.el (bibtex-mode-map): Declare.
1893
f7f9a720
SM
18942013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
1897 (package-unpack, package-unpack-single): Return the pkg-dir.
1898 (package-download-transaction): Use it to update package-alist.
1899
57ff04e0
LMI
19002013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1901
1902 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
1903 possible choice.
1904
c048c022
JL
19052013-06-17 Juri Linkov <juri@jurta.org>
1906
1907 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
1908
b5bcaee5
DG
19092013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1910
a020afb9
JB
1911 * emacs-lisp/package.el (package-load-descriptor):
1912 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
1913 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
1914
551e07e5
JB
19152013-06-17 Juanma Barranquero <lekktu@gmail.com>
1916
1917 * startup.el (command-line): Expand package name returned by
1918 `package--description-file' (bug#14639).
1919
d363bffb
DG
19202013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1921
1922 * emacs-lisp/package.el (package-load-descriptor): Do not call
1923 `emacs-lisp-mode', just use its syntax table.
1924
f612933b
JB
19252013-06-17 Juanma Barranquero <lekktu@gmail.com>
1926
1927 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
1928 `font-lock-extra-managed-props' if any prettifying keyword is added.
1929 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
1930 (prog-mode): Use `setq-local'.
1931
db3b7db5
SM
19322013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * international/characters.el (standard-case-table): Set syntax of ?»
1935 and ?« to punctuation.
1936
f3d674df
JB
19372013-06-16 Juanma Barranquero <lekktu@gmail.com>
1938
1939 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
1940 Save relevant match data before calling `syntax-ppss' (bug#14595).
1941
31489a32
JL
19422013-06-15 Juri Linkov <juri@jurta.org>
1943
1944 * files-x.el (modify-file-local-variable-prop-line): Add local
1945 variables to the end of the existing comment on the first line.
1946 Use `file-auto-mode-skip' to skip interpreter magic line,
1947 and also skip XML declaration.
1948
66bd25ab
SM
19492013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * startup.el (package--builtin-versions): New var.
1952 (package-subdirectory-regexp): Remove.
1953 (package--description-file): Hard code its value instead.
1954
1955 * emacs-lisp/package.el: Don't activate packages older than builtin.
1956 (package-obsolete-list): Rename from package-obsolete-alist, and make
1957 it into a simple list of package-desc.
1958 (package-strip-version): Remove.
1959 (package-built-in-p): Use package--builtin-versions.
1960 (package-mark-obsolete): Simplify.
1961 (package-process-define-package): Mark it obsolete if older than the
1962 builtin version.
1963 (package-handle-response): Use line-end-position.
1964 (package-read-archive-contents, package--download-one-archive):
1965 Simplify.
1966 (package--add-to-archive-contents): Skip if older than the builtin or
1967 installed version.
1968 (package-menu-describe-package): Fix last change.
1969 (package-list-unversioned): New var.
1970 (package-menu--generate): Use it.
1971
1972 * emacs-lisp/autoload.el: Manage package--builtin-versions.
1973 (autoload--insert-text, autoload--insert-cookie-text): New functions.
1974 (autoload-builtin-package-versions): New variable.
1975 (autoload-generate-file-autoloads): Use them.
1976 Remove the list of autoloaded functions/macros from the
1977 (autoload...) comments.
1978
1979 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
1980
9583ec36
EZ
19812013-06-15 Eli Zaretskii <eliz@gnu.org>
1982
1983 * simple.el (line-move-partial): Don't jump to the next screen
1984 line as soon as it becomes visible. Instead, continue enlarging
1985 the vscroll until the portion of a tall screen line that's left on
1986 display is about the height of the frame's default font.
1987 (Bug#14567)
1988
f0100d8a
GM
19892013-06-15 Glenn Morris <rgm@gnu.org>
1990
b86a85ca
GM
1991 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
1992 compilation-error-regexp-alist void, or local while let-bound.
1993
f0100d8a
GM
1994 * progmodes/make-mode.el (makefile-mode-syntax-table):
1995 Treat "=" as punctuation. (Bug#14614)
1996
05e7ce90
JB
19972013-06-15 Juanma Barranquero <lekktu@gmail.com>
1998
1999 * help-fns.el (describe-variable):
2000 Add extra line for permanent-local variables.
2001
12e5e86e
SH
20022013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
2003
2004 * progmodes/scheme.el (scheme-font-lock-keywords-2):
2005 Add export, import, library. (Bug#9164)
2006 (library): Set indent function.
2007
230dcbaf
GM
20082013-06-14 Glenn Morris <rgm@gnu.org>
2009
2010 * term/xterm.el (xterm--query):
2011 Stop after first matching handler. (Bug#14615)
2012
a020afb9 20132013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
2014
2015 Add support for dired in saveplace.
2016 * dired.el (dired-initial-position-hook): New variable.
2017 (dired-initial-position): Call hook to place cursor position.
2018 * saveplace.el (save-place-to-alist): Add dired position.
2019 (save-place-dired-hook): New function.
2020
0b31660d
SM
20212013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2022
bf1e6ae8
SM
2023 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2024 through a symbol rather than letrec.
2025
1b8dff23
SM
2026 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
2027 (package-desc): Add `dir' field.
2028 (package-desc-full-name): New function.
2029 (package-load-descriptor): Combine the two arguments. Don't use `load'.
2030 (package-maybe-load-descriptor): Remove.
2031 (package-load-all-descriptors): Just call package-load-descriptor.
2032 (package--disabled-p): New function.
2033 (package-desc-vers, package-desc-doc): Remove aliases.
2034 (package--dir): Remove function.
2035 (package-activate): Check if a package is disabled.
2036 (package-process-define-package): New function, extracted from
2037 define-package.
2038 (define-package): Turn into a place holder.
2039 (package-unpack-single, package-tar-file-info):
2040 Use package--description-file.
2041 (package-compute-transaction): Use package--disabled-p.
2042 (package-download-transaction): Don't call
2043 package-maybe-load-descriptor since they're all loaded anyway.
2044 (package-install): Change argument to be a pkg-desc.
2045 (package-delete): Use a single pkg-desc argument.
2046 (describe-package-1): Use package-desc-dir instead of package--dir.
2047 Use package-desc property instead of package-symbol.
2048 (package-install-button-action): Adjust accordingly.
2049 (package--push): Rewrite.
2050 (package-menu--print-info): Adjust accordingly. Change the ID format
2051 to be a pkg-desc.
2052 (package-menu-describe-package, package-menu-get-status)
2053 (package-menu--find-upgrades, package-menu-mark-upgrades)
2054 (package-menu-execute, package-menu--name-predicate):
2055 Adjust accordingly.
2056 * startup.el (package--description-file): New function.
2057 (command-line): Use it.
2058 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2059 Use package-desc-version.
2060
0b31660d
SM
2061 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2062 (byte-compile-preprocess): Use it.
2063 (byte-compile-file-form-defalias): Try a bit harder to use macros we
2064 can't quite recognize.
2065 (byte-compile-add-to-list): Remove.
2066 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2067 (cconv-closure-convert): Add assertion.
2068
2069 * emacs-lisp/map-ynp.el: Use lexical-binding.
2070 (map-y-or-n-p): Remove unused vars `tail' and `object'.
2071 Factor out some repeated code.
2072
de0503df
SM
20732013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * subr.el (with-eval-after-load): New macro.
2076 (eval-after-load): Allow form to be a function.
2077 take advantage of lexical-binding.
2078 (do-after-load-evaluation): Use dolist and adjust to new format.
2079 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2080
bc5c8c5a
JL
20812013-06-13 Juri Linkov <juri@jurta.org>
2082
2083 * replace.el (perform-replace): Display "symbol " and other search
2084 modes from `isearch-message-prefix' in the *Help* buffer.
2085
2086 * isearch.el (isearch-query-replace): Add " symbol" and other
2087 possible search modes from `isearch-message-prefix' to the prompt.
2088 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2089 when reading a regexp to collect.
2090
a22289f7
JL
20912013-06-13 Juri Linkov <juri@jurta.org>
2092
2093 * isearch.el (word-search-regexp): Match whitespace if the search
2094 string begins or ends in whitespace. The LAX arg is applied to
2095 both ends of the search string. Use `regexp-quote' and explicit
2096 \< and \> instead of \b. Use \` and \' instead of ^ and $.
2097 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2098 boundaries are replaced with symbol boundaries, and characters
2099 between symbols match non-word non-symbol syntax. (Bug#14602)
2100
cb89acab
JL
21012013-06-13 Juri Linkov <juri@jurta.org>
2102
2103 * isearch.el (isearch-del-char): Don't exceed the length of
2104 `isearch-string' by the prefix arg. (Bug#14563)
2105
6e8cfc81
JL
21062013-06-13 Juri Linkov <juri@jurta.org>
2107
2108 * isearch.el (isearch-yank-word, isearch-yank-line)
2109 (isearch-char-by-name, isearch-quote-char)
2110 (isearch-printing-char, isearch-process-search-char):
2111 Add optional count prefix arg. (Bug#14563)
2112
2113 * international/isearch-x.el
2114 (isearch-process-search-multibyte-characters):
2115 Add optional count prefix arg.
2116
c23d55f4
VS
21172013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2120 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2121 lexical-binding.
2122
21232013-06-13 Vitalie Spinu <spinuvit@gmail.com>
2124
2125 * subr.el (set-temporary-overlay-map): Add on-exit argument.
2126
ba947bc4
GM
21272013-06-13 Glenn Morris <rgm@gnu.org>
2128
8baeb37a
GM
2129 * startup.el (tty-handle-args):
2130 Don't just discard "--" and anything after. (Bug#14608)
2131
ba947bc4
GM
2132 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2133
9abefce4
MA
21342013-06-13 Michael Albinus <michael.albinus@gmx.de>
2135
2136 Implement changes in Secret Service API. Make it backward compatible.
2137 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2138 (secrets-create-item): Use it. Prefix properties with interface.
2139
5755011f
MH
21402013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
2141
2142 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
2143 (term-emulate-terminal): Respect term-suppress-hard-newline.
2144
1261d2da
S
21452013-06-13 E Sabof <esabof@gmail.com> (tiny change)
2146
2147 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2148 Only remove a `thumb-file' overlay. (Bug#14548)
2149
868490bb
GJ
21502013-06-12 Grégoire Jadi <daimrod@gmail.com>
2151
2152 * mail/reporter.el (reporter-submit-bug-report):
2153 Handle missing package-name. (Bug#14600)
2154
79d7167f
TH
21552013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2156
2157 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2158 (reftex-citation-prompt, reftex-default-bibliography)
2159 (reftex-bib-or-thebib, reftex-get-bibfile-list)
2160 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2161 (reftex-bib-sort-author, reftex-bib-sort-year)
2162 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2163 (reftex-extract-bib-entries-from-thebibliography)
2164 (reftex-get-bibkey-default, reftex-get-bib-names)
2165 (reftex-parse-bibtex-entry, reftex-get-bib-field)
2166 (reftex-format-bib-entry, reftex-parse-bibitem)
2167 (reftex-format-bibitem, reftex-do-citation)
2168 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2169 (reftex-restrict-bib-matches, reftex-extract-bib-file)
2170 (reftex-insert-bib-matches, reftex-format-citation)
2171 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2172 (reftex-create-bibtex-file): Add docstrings, mostly by converting
2173 existing comments into docstrings.
2174
5f9dbd7a
XF
21752013-06-12 Xue Fuqiao <xfq.free@gmail.com>
2176
2177 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2178
94df41ab
AS
21792013-06-12 Andreas Schwab <schwab@suse.de>
2180
2181 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2182 for auto-save files.
2183
a7f3fecc
GM
21842013-06-12 Glenn Morris <rgm@gnu.org>
2185
001809f6
GM
2186 * ido.el (ido-delete-ignored-files): Remove.
2187 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2188 Go back to calling ido-ignore-item-p directly.
a7f3fecc 2189
834b5ded
EL
21902013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
2191
08c73ed2
EL
2192 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2193
834b5ded
EL
2194 * ido.el (ido-delete-ignored-files): New function,
2195 split from ido-make-file-list-1.
2196 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
2197 (ido-make-file-list-1): Use ido-delete-ignored-files.
2198
daabf15a
LL
21992013-06-12 Leo Liu <sdl.web@gmail.com>
2200
2201 * progmodes/octave.el (inferior-octave-startup)
2202 (inferior-octave-completion-table)
2203 (inferior-octave-track-window-width-change)
2204 (octave-eldoc-function-signatures, octave-help)
2205 (octave-find-definition): Use single quoted strings.
2206 (inferior-octave-startup-args): Change default value.
2207 (inferior-octave-startup): Do not hard code "-i" and
2208 "--no-line-editing".
2209 (inferior-octave-resync-dirs): Add optional arg NOERROR.
2210 (inferior-octave-directory-tracker): Use it.
2211 (octave-goto-function-definition): Robustify.
2212 (octave-help): Support highlighting operators in 'See also'.
2213 (octave-find-definition): Find subfunctions only in Octave mode.
2214
cf4e5178
SM
22152013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * help-fns.el (help-fns--compiler-macro): If the handler function is
2218 named, then put a link to it.
2219 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2220 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2221 (cl-typep): Use it.
2222 (cl-eval-when): Simplify debug spec.
2223 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
2224 compiler-macro function instead of setting `compiler-macro-file'.
2225
99c81280 22262013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
2227
2228 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2229 * vc/vc-hooks.el (vc-stay-local): Doc fix.
2230
f56be016
SM
22312013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2232 Daniel Hackney <dan@haxney.org>
2233
2234 First part of Daniel Hackney's patch to package.el.
2235 * emacs-lisp/package.el: Use defstruct.
2236 (package-desc): New, main struct.
2237 (package--bi-desc, package--ac-desc): New structs, used to describe the
2238 format in external files.
2239 (package-desc-vers): Replace with package-desc-version accessor.
2240 (package-desc-doc): Replace with package-desc-summary accessor.
2241 (package-activate-1): Remove `package' arg since the pkg-vec now
2242 includes the name.
2243 (define-package): Use package-desc-from-define.
2244 (package-unpack-single): Change file-name arg to be a symbol.
2245 (package--add-to-archive-contents): Use package-desc-create and new
2246 accessor functions to package--ac-desc.
2247 (package-buffer-info, package-tar-file-info): Return a package-desc.
2248 (package-install-from-buffer): Remove `type' argument. Change pkg-info
2249 arg to be a package-desc.
2250 (package-install-file): Adjust accordingly. Use \' to match EOS.
2251 (package--from-builtin): New function.
2252 (describe-package-1, package-menu--generate): Use it.
2253 (package--make-autoloads-and-compile): Change name arg to be a symbol.
2254 (package-generate-autoloads): Idem and return the name of the file.
2255 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2256 Change pkg-info arg to be a package-desc.
2257 Use package-make-ac-desc.
2258 (package-upload-file): Use \' to match EOS.
2259 * finder.el (finder-compile-keywords): Use package-make-builtin.
2260
31119d63
SM
22612013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2262
931a2762
SM
2263 * vc/vc.el (vc-deduce-fileset): Change error message.
2264 (vc-read-backend): New function.
2265 (vc-next-action): Use it.
2266
5a3eb0c6
SM
2267 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2268
e3eb1bb7
SM
2269 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2270 (prolog-font-lock-keywords): Use regexp-opt instead.
2271 Don't manually highlight strings.
2272 (prolog-mode-variables): Simplify comment-start-skip.
2273 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
2274
31119d63
SM
2275 * emacs-lisp/generic.el (generic--normalise-comments)
2276 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2277 (generic-mode-set-comments): Use them.
2278 (generic-bracket-support): Use setq-local.
2279 (generic-make-keywords-list): Declare obsolete.
2280
7de135d0
GM
22812013-06-11 Glenn Morris <rgm@gnu.org>
2282
2283 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2284 Prettify after setting font-lock-defaults. (Bug#14574)
2285
fa6bc6fd
JB
22862013-06-11 Juanma Barranquero <lekktu@gmail.com>
2287
2288 * replace.el (query-replace, occur-read-regexp-defaults-function)
2289 (replace-search):
2290 * subr.el (declare-function, number-sequence, local-set-key)
2291 (substitute-key-definition, locate-user-emacs-file)
2292 (with-silent-modifications, split-string, eval-after-load):
2293 Fix typos, remove unneeded backslashes and reflow some docstrings.
2294
cf1f9b9a
SM
22952013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2298 default for Elisp files.
2299
56602a4b
GM
23002013-06-11 Glenn Morris <rgm@gnu.org>
2301
2302 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2303 although define-derived-mode was doing this anyway. (Bug#14583)
2304
30ae0b2c
JB
23052013-06-10 Juanma Barranquero <lekktu@gmail.com>
2306
2307 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2308 Fix make-variable-buffer-local call to refer to the correct variable.
2309
fa472906
AG
23102013-06-10 Aidan Gauland <aidalgol@amuri.net>
2311
2312 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
2313 (eshell-visual-subcommands, eshell-visual-options):
2314 Add summary line to docstrings. Add cross-references.
fa472906 2315
ff4871b9
GM
23162013-06-10 Glenn Morris <rgm@gnu.org>
2317
2318 * epa.el (epa-read-file-name): New function. (Bug#14510)
2319 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
2320
04fcf1b0
AG
23212013-06-09 Aidan Gauland <aidalgol@amuri.net>
2322
2323 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
2324 output redirection to be ignored with visual commands.
2325
88b00caa
AG
23262013-06-09 Aidan Gauland <aidalgol@amuri.net>
2327
2328 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
2329 (eshell-term-initialize): Move long lambda to separate function
2330 eshell-visual-command-p.
e7b41c4c
JB
2331 * eshell/em-dirs.el (eshell-dirs-initialise):
2332 * eshell/em-script.el (eshell-script-initialize):
2333 Add missing #' to lambda.
88b00caa 2334
fda74125
LL
23352013-06-08 Leo Liu <sdl.web@gmail.com>
2336
2337 * progmodes/octave.el (octave-add-log-current-defun): New function.
2338 (octave-mode): Set add-log-current-defun-function.
2339 (octave-goto-function-definition): Do not move point if not found.
2340 (octave-find-definition): Enhance to try subfunctions first.
2341
467f3b33
GM
23422013-06-08 Glenn Morris <rgm@gnu.org>
2343
2344 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2345 (byte-compile-backward-char, byte-compile-backward-word):
2346 Improve previous change, to handle non-explicit nil.
2347
544badc3
SM
23482013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
2351 (smie--opener/closer-at-point): New function.
2352 (smie--matching-block-data): Use it. Don't match from right after an
2353 opener or right before a closer. Obey smie-blink-matching-inners.
2354 Don't signal a mismatch for repeated inners like "switch..case..case".
2355
a175bf33
LL
23562013-06-07 Leo Liu <sdl.web@gmail.com>
2357
2358 * progmodes/octave.el (octave-mode): Set comment-use-global-state
2359 to t. (Bug#14303)
ce8209d4
LL
2360 (octave-function-header-regexp): Fix. (Bug#14570)
2361 (octave-help-mode-finish-hook, octave-help-mode-finish):
2362 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
2363
2364 * newcomment.el (comment-search-backward): Revert last change.
2365 (Bug#14434)
2366
2367 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
2368
a822acff
EZ
23692013-06-07 Eli Zaretskii <eliz@gnu.org>
2370
2371 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
2372 through xargs, to avoid failure due to MS-Windows limitations on
2373 command-line length.
2374
961166f5
GM
23752013-06-06 Glenn Morris <rgm@gnu.org>
2376
d0341459
GM
2377 * font-lock.el (lisp-font-lock-keywords-2):
2378 Treat user-error like error.
2379
961166f5
GM
2380 * emacs-lisp/bytecomp.el (byte-compile-char-before)
2381 (byte-compile-backward-char, byte-compile-backward-word):
2382 Handle explicit nil arguments. (Bug#14565)
2383
80fa505f
AM
23842013-06-05 Alan Mackenzie <acm@muc.de>
2385
2386 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 2387 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 2388 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 2389 (Bug#9706)
80fa505f 2390
fccdc796
SM
23912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * autorevert.el (auto-revert-notify-handler): Use memq.
2394 Hide assertion failure.
2395
2396 * skeleton.el: Use cl-lib.
2397 (skeleton-further-elements): Use defvar-local.
2398 (skeleton-insert): Use cl-progv.
2399
9bfff84b
TZ
24002013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2401
2402 * progmodes/prog-mode.el (prog-prettify-symbols)
2403 (prog-prettify-install): Update docstrings.
2404
55577e7c
SM
24052013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * simple.el: Move all the prog-mode code to prog-mode.el.
2408 * progmodes/prog-mode.el: New file.
2409 * loadup.el: Add prog-mode.el.
2410
8fc57765
TZ
24112013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2412
2413 * simple.el (prog-prettify-symbols): Add version.
2414 (prog-prettify-install): Add convenience function to prettify symbols.
2415
2416 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
2417 (perl--augmented-font-lock-keywords-1)
2418 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
2419 variables and use it.
2420
2421 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2422 (cfengine3-mode): Remove unneeded variable and use it.
2423
2424 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2425 (lisp--augmented-font-lock-keywords-1)
2426 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
2427 Remove unneeded variables and use it.
2428
650645d5 24292013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
2430
2431 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 2432 to point when opening the connection. (Bug#14380)
28f5da6d 2433
781b4af6
SM
24342013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * subr.el (load-history-regexp, load-history-filename-element)
2437 (eval-after-load, after-load-functions, do-after-load-evaluation)
2438 (eval-next-after-load, display-delayed-warnings)
2439 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
2440 definition of save-match-data.
2441 (overriding-local-map): Remove accidental obsolescence declaration.
2442
2443 * emacs-lisp/edebug.el (edebug-result): Move before first use.
2444
3ca0d0b4
TZ
24452013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
2446
2447 Generalize symbol prettify support to prog-mode and implement it
2448 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
2449 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
2450 (prog--prettify-font-lock-compose-symbol)
2451 (prog-prettify-font-lock-symbols-keywords): New variables and
2452 functions to support symbol prettification.
2453 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2454 (lisp--augmented-font-lock-keywords-1)
2455 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
2456 (lisp--prettify-symbols-alist): Implement prettify of lambda.
2457 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
2458 (cfengine3--prettify-symbols-alist, cfengine3-mode):
2459 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
2460 * progmodes/perl-mode.el (perl-prettify-symbols)
2461 (perl--font-lock-compose-symbol)
2462 (perl--font-lock-symbols-keywords): Move to prog-mode.
2463 (perl--prettify-symbols-alist): Prettify -> => :: strings.
2464 (perl-font-lock-keywords-1)
2465 (perl-font-lock-keywords-2): Remove explicit prettify support.
2466 (perl--augmented-font-lock-keywords)
2467 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
2468 (perl--augmented-font-lock-keywords-2, perl-mode):
2469 Implement prettify support.
3ca0d0b4 2470
976cb066
LL
24712013-06-05 Leo Liu <sdl.web@gmail.com>
2472
2473 Re-implement smie matching block highlight using
2474 show-paren-data-function. (Bug#14395)
2475 * emacs-lisp/smie.el (smie-matching-block-highlight)
2476 (smie--highlight-matching-block-overlay)
2477 (smie--highlight-matching-block-lastpos)
2478 (smie-highlight-matching-block)
2479 (smie-highlight-matching-block-mode): Remove.
2480 (smie--matching-block-data-cache): New variable.
2481 (smie--matching-block-data): New function.
2482 (smie-setup): Use smie--matching-block-data for
2483 show-paren-data-function.
2484
2485 * progmodes/octave.el (octave-mode-menu): Fix.
2486 (octave-find-definition): Skip garbage lines.
2487
208d0342
SM
24882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 Fix compilation error with simultaneous dynamic+lexical scoping.
2491 Add warning when a defvar appears after the first let-binding.
2492 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
2493 (byte-compile-close-variables): Initialize it.
2494 (byte-compile--declare-var): New function.
2495 (byte-compile-file-form-defvar)
2496 (byte-compile-file-form-define-abbrev-table)
2497 (byte-compile-file-form-custom-declare-variable): Use it.
2498 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
2499 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
2500 (byte-compile-bind): Handle dynamic bindings that shadow
2501 lexical bindings.
2502 (byte-compile-unbind): Make arg non-optional.
2503 (byte-compile-let): Simplify.
2504 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
2505 (cconv--analyse-function, cconv-analyse-form): Populate it.
2506 Protect byte-compile-bound-variables to limit the scope of defvars.
2507 (cconv-analyse-form): Add missing rule for (defvar <foo>).
2508 Remove unneeded rule for `declare'.
2509
2510 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
2511 so as to avoid depending on cl-adjoin at run-time.
2512 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
2513
2514 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
2515 (macroexp--warn-and-return): Use it.
2516
2587b005
LL
25172013-06-05 Leo Liu <sdl.web@gmail.com>
2518
2519 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
2520
f1da3c88
LL
25212013-06-04 Leo Liu <sdl.web@gmail.com>
2522
2523 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
2524 (compilation-auto-jump): Suppress the "Mark set" message to give
2525 way to exit message.
2526
3caa391f
AM
25272013-06-04 Alan Mackenzie <acm@muc.de>
2528
2529 Remove faulty optimisation from indentation calculation.
2530 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
2531 search limit based on 2000 characters back from indent-point.
2532
068922a2
TH
25332013-06-03 Tassilo Horn <tsdh@gnu.org>
2534
2535 * eshell/em-term.el (cl-lib): Require `cl-lib'.
2536
1f8fdd53
SM
25372013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2538
bbcc4d97
SM
2539 * emacs-lisp/lisp.el: Use lexical-binding.
2540 (lisp--local-variables-1, lisp--local-variables): New functions.
2541 (lisp--local-variables-completion-table): New var.
208d0342 2542 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 2543
1f8fdd53
SM
2544 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
2545 eagerly (bug#14422).
2546
c9628c79
MA
25472013-06-03 Michael Albinus <michael.albinus@gmx.de>
2548
2549 * autorevert.el (auto-revert-notify-enabled)
2550 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2551 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
2552 (auto-revert-notify-handler): Handle also gfilenotify.
2553
e7b41c4c 2554 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 2555 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 2556 Remove.
c9628c79 2557
e5e4a942
JL
25582013-06-03 Juri Linkov <juri@jurta.org>
2559
2560 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
2561 `M-s h .'. (Bug#14427)
2562
2563 * hi-lock.el (highlight-symbol-at-point): New alias for the new
2564 command `hi-lock-face-symbol-at-point'.
2565 (hi-lock-face-symbol-at-point): New command.
2566 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
2567 (hi-lock-menu): Add `highlight-symbol-at-point'.
2568 (hi-lock-mode): Doc fix.
2569
2570 * isearch.el (isearch-forward-symbol-at-point): New command.
2571 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
2572 (isearch-highlight-regexp): Add a regexp which matches
2573 words/symbols for word/symbol mode.
2574
2575 * subr.el (find-tag-default-bounds): New function with the body
2576 mostly moved from `find-tag-default'.
2577 (find-tag-default): Move most code to `find-tag-default-bounds',
2578 call it and apply `buffer-substring-no-properties' afterwards.
2579
26b3353a
TH
25802013-06-03 Tassilo Horn <tsdh@gnu.org>
2581
781b4af6
SM
2582 * eshell/em-term.el (eshell-term-initialize):
2583 Use `cl-intersection' rather than `intersection'.
26b3353a 2584
51b60f53
XF
25852013-06-02 Xue Fuqiao <xfq.free@gmail.com>
2586
fe054b63 2587 * vc/log-view.el: Doc fix.
d3ffe17c 2588 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 2589
a0eb10b3 25902013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
2591
2592 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
2593 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
2594 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
2595 (eieio-unbound, eieio-default-superclass)
2596 (eieio--define-field-accessors, method-static, method-before)
2597 (method-primary, method-after, method-num-lists)
2598 (method-generic-before, method-generic-primary)
2599 (method-generic-after, method-num-slots)
2600 (eieio-specialized-key-to-generic-key)
2601 (eieio--check-type, class-v, class-p)
2602 (eieio-class-name, define-obsolete-function-alias)
2603 (eieio-class-parents-fast, eieio-class-children-fast)
2604 (same-class-fast-p, class-constructor, generic-p)
2605 (generic-primary-only-p, generic-primary-only-one-p)
2606 (class-option-assoc, class-option, eieio-object-p)
2607 (class-abstract-p, class-method-invocation-order)
2608 (eieio-defclass-autoload-map, eieio-defclass-autoload)
2609 (eieio-class-un-autoload, eieio-defclass)
2610 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
2611 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
2612 (eieio--defgeneric-init-form, eieio-defgeneric-form)
2613 (eieio-defgeneric-reset-generic-form)
2614 (eieio-defgeneric-form-primary-only)
2615 (eieio-defgeneric-reset-generic-form-primary-only)
2616 (eieio-defgeneric-form-primary-only-one)
2617 (eieio-defgeneric-reset-generic-form-primary-only-one)
2618 (eieio-unbind-method-implementations)
2619 (eieio--defmethod, eieio--typep)
2620 (eieio-perform-slot-validation, eieio-validate-slot-value)
2621 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
2622 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
2623 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
2624 (eieio-slot-name-index, eieio-class-slot-name-index)
2625 (eieio-set-defaults, eieio-initarg-to-attribute)
2626 (eieio-attribute-to-initarg, eieio-c3-candidate)
2627 (eieio-c3-merge-lists, eieio-class-precedence-c3)
2628 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
2629 (eieio-class-precedence-list, eieio-generic-call-methodname)
2630 (eieio-generic-call-arglst, eieio-generic-call-key)
2631 (eieio-generic-call-next-method-list)
2632 (eieio-pre-method-execution-functions, eieio-generic-call)
2633 (eieio-generic-call-primary-only, eieiomt-method-list)
2634 (eieiomt-optimizing-obarray, eieiomt-install)
2635 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
2636 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 2637 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
2638 (defclass): Remove `eval-and-compile' from macro.
2639 (call-next-method, shared-initialize): Instead of using
2640 `scoped-class' variable, use new eieio--scoped-class, and
2641 eieio--with-scoped-class.
2642 (initialize-instance): Rename local variable 'scoped-class' to
2643 'this-class' to remove ambiguitity from old global.
2644
2645 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
2646 eieio.el.
4f405069
JB
2647 (eieio--scoped-class-stack): New variable.
2648 (eieio--scoped-class): New fcn.
890f7890
DE
2649 (eieio--with-scoped-class): New scoping macro.
2650 (eieio-defclass): Use pushnew instead of add-to-list.
2651 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
2652 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
2653 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
2654 `scoped-class' variable, use new eieio--scoped-class, and
2655 eieio--with-scoped-class.
2656
2657 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
2658
d105b0e2
TH
26592013-06-02 Tassilo Horn <tsdh@gnu.org>
2660
2661 * eshell/esh-ext.el (eshell-external-command): Pass args to
2662 `eshell-find-interpreter'.
2663 (eshell-find-interpreter): Add new second parameter ARGS.
2664
2665 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 2666 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
2667
2668 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 2669 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
2670
2671 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2672 (eshell-visual-options): New defcustom.
2673 (eshell-escape-control-x): Adapt docstring.
2674 (eshell-term-initialize): Test `eshell-visual-subcommands' and
2675 `eshell-visual-options' in addition to `eshell-visual-commands'.
2676 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2677
f46305c8 26782013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
2679
2680 * progmodes/python.el (python-indent-block-enders): Add break,
2681 continue and raise keywords.
2682
d870df21
GM
26832013-06-01 Glenn Morris <rgm@gnu.org>
2684
9133b82e
GM
2685 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2686
02c992ec 2687 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
2688 * progmodes/cc-cmds.el (delete-forward-p):
2689 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2690 * progmodes/cc-engine.el (buffer-syntactic-context):
2691 * progmodes/cc-fonts.el (face-property-instance):
2692 * progmodes/cc-mode.el (set-keymap-parents):
2693 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
2694 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
2695 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
2696 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
2697 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 2698
31e7b090
GM
2699 * progmodes/cc-vars.el (other): Emacs has this widget since
2700 at least 21.1, so don't (re)define it.
2701
d870df21
GM
2702 * eshell/em-cmpl.el (eshell-cmpl-initialize):
2703 Replace the obsolete alias pcomplete-arg-quote-list.
2704
c75c93c7
LL
27052013-06-01 Leo Liu <sdl.web@gmail.com>
2706
2707 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
2708 punctuation syntax.
2709 (inferior-octave-minimal-columns)
2710 (inferior-octave-last-column-width): New variables.
2711 (inferior-octave-track-window-width-change): New function.
2712 (inferior-octave-mode): Adjust column width so that Octave output,
2713 for example from 'ls', can fit into the window nicely.
2714
973d1e12
DG
27152013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2716
2717 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2718 Highlight expansions inside regexp literals.
2719
0888c286
GM
27202013-05-31 Glenn Morris <rgm@gnu.org>
2721
e26aac1f
GM
2722 * obsolete/sym-comp.el (symbol-complete):
2723 Replace obsolete completion-annotate-function.
2724
0888c286
GM
2725 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2726
19bb8e62
DG
27272013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2728
781b4af6
SM
2729 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2730 New function, checks if point is inside a literal that allows
19bb8e62
DG
2731 expression expansion.
2732 (ruby-syntax-propertize-expansion): Use it.
2733 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
2734 around the body.
2735
01dea85f
JL
27362013-05-30 Juri Linkov <juri@jurta.org>
2737
2738 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
2739 to "\M-si".
2740 (isearch-invisible): New variable.
2741 (isearch-forward): Doc fix.
2742 (isearch-mode): Set `isearch-invisible'
2743 to the value of `search-invisible'.
2744 (isearch-toggle-case-fold): Doc fix.
2745 (isearch-toggle-invisible): New command.
2746 (isearch-query-replace): Let-bind `search-invisible'
2747 to the value of `isearch-invisible'.
2748 (isearch-search): Use `isearch-invisible' instead of
2749 `search-invisible'. Let-bind `search-invisible'
2750 to the value of `isearch-invisible'. (Bug#11378)
2751
ab1bdce5
JL
27522013-05-30 Juri Linkov <juri@jurta.org>
2753
2754 * replace.el (perform-replace): Avoid `isearch-range-invisible'
2755 call when `query-flag' is nil and `search-invisible' is non-nil.
2756 (Bug#11746)
2757
d6d236e2
GM
27582013-05-30 Glenn Morris <rgm@gnu.org>
2759
8accd027
GM
2760 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
2761
2a8bed1c
GM
2762 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
2763 (cc-require): Suppress spurious "noruntime" warnings.
2764 (cc-require-when-compile): Use fboundp, for sake of compiler.
2765
d6d236e2
GM
2766 * progmodes/cc-mode.el: Move load of cc-vars before that of
2767 cc-langs (which in turn loads cc-vars), to quieten compiler.
2768
9190b35b
SM
27692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * paren.el: Simplify the code.
2772 (show-paren-mode): Always start the timer.
2773 (show-paren--idle-timer): Rename from show-paren-idle-timer.
2774 (show-paren--overlay, show-paren--overlay-1): Rename from
2775 show-paren-overlay and show-paren-overlay-1, and initialize to an
2776 overlay rather than to nil.
2777 (show-paren-function): Misc cleanup and simplifications.
2778
4f8d1cf6
SM
27792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * paren.el (show-paren-data-function): New hook.
2782 (show-paren--default): New function, extracted from show-paren-function.
2783 (show-paren-function): Use show-paren-data-function.
2784
02d844b5
GM
27852013-05-30 Glenn Morris <rgm@gnu.org>
2786
d209d4a9
GM
2787 * ielm.el (ielm-map, ielm-complete-symbol):
2788 Use completion-at-point rather than obsolete functions.
2789 (inferior-emacs-lisp-mode): Doc fix.
2790 Set completion-at-point-functions, rather than
2791 comint-dynamic-complete-functions.
2792
2082faa6
GM
2793 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
2794 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
2795 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
2796
dd8620de
GM
2797 * image.el (image-animated-p): Tweak definition.
2798
ceca95b1
GM
2799 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
2800 (rlogin-process-connection-type): Tweak default. Add set-after.
2801 (rlogin-host): Doc fix.
2802 (rlogin): Tweak prompt.
2803 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
2804
ee9f1acc
GM
2805 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2806 * progmodes/tcl.el (inferior-tcl-mode-map):
2807 Use completion-at-point rather than obsolete alias.
2808
45ce222e
GM
2809 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
2810
02d844b5
GM
2811 * minibuffer.el (read-file-name-completion-ignore-case):
2812 Move before completion--in-region, for eager macro expansion.
2813
ac44d6c1
JL
28142013-05-29 Juri Linkov <juri@jurta.org>
2815
2816 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
2817 for total count of matching lines. Add `global-matches' for total
2818 count of matches. Rename `matches' to `lines' for count of
2819 matching lines. Add `matches' for count of matches.
2820 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
2821 to `prev-line' for line number of prev match endpt.
2822 Increment `matches' for every match. Print the number of
2823 matching lines in the header.
2824 (occur-context-lines): Rename `lines' to `curr-line'.
2825 Rename `prev-lines' to `prev-line'. (Bug#14017)
2826
3c9c9d38
JL
28272013-05-29 Juri Linkov <juri@jurta.org>
2828
2829 * replace.el (perform-replace): Add `skip-read-only-count',
2830 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
2831 Increment them for corresponding conditions and report the number
2832 of skipped occurrences in the final message. (Bug#11746)
2833 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2834 (replace-string, replace-regexp): Doc fix.
2835
33e249a2
SM
28362013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2837
8e399682
SM
2838 * emacs-lisp/trace.el (trace--read-args): Provide a default.
2839
33e249a2 2840 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 2841 prog-mode-map (bug#14504).
33e249a2 2842
f236dd84
LL
28432013-05-29 Leo Liu <sdl.web@gmail.com>
2844
2845 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
2846 (octave-help): Small simplification.
2847
2848 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
2849 off the highlight first.
2850
3694d13f
GM
28512013-05-29 Glenn Morris <rgm@gnu.org>
2852
03983bdc
GM
2853 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
2854 Handle idlwave-last-system-routine-info-cons-cell being nil.
2855
bc74a74a
GM
2856 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2857 (idlwave-write-paths): Simplify via with-temp-buffer.
2858
8b394200
GM
2859 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
2860 * emulation/cua-rect.el: Also load cua-base at run time.
2861
3694d13f
GM
2862 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
2863 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
2864 (cperl-imenu-on-info): Require imenu.
2865
336d7284
AM
28662013-05-28 Alan Mackenzie <acm@muc.de>
2867
2868 Handle "capitalised keywords" correctly.
33e249a2 2869 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 2870
cb29c582
AG
28712013-05-28 Aidan Gauland <aidalgol@amuri.net>
2872
781b4af6 2873 * eshell/em-unix.el: Add -r option to cp.
cb29c582 2874
690e44b2
GM
28752013-05-28 Glenn Morris <rgm@gnu.org>
2876
e658d75c
GM
2877 * vc/vc-arch.el (vc-exec-after): Declare.
2878 (vc-switches): Autoload.
2879 * vc/vc-bzr.el: No need to require vc when compiling.
2880 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
2881 (vc-resynch-buffer, vc-dir-refresh): Declare.
2882 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
2883 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
2884 (vc-resynch-buffer): Declare.
2885 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 2886 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
2887 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
2888 (grep-read-regexp, grep-read-files, grep-expand-template)
2889 (vc-dir-refresh): Declare.
2890 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
2891 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
2892 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
2893 * vc/vc-mtn.el (vc-exec-after): Declare.
2894 (vc-switches): Autoload.
2895 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
2896 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
2897 (vc-file-tree-walk): Declare.
712b9732
GM
2898 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
2899 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
2900 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
2901 * vc/vc-svn.el (vc-exec-after): Declare.
2902 (vc-switches, vc-setup-buffer): Autoload.
2903 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
2904 Autoload.
2905 (vc-resynch-buffer): Declare.
2906
98e87fb3
GM
2907 * obsolete/fast-lock.el (byte-compile-warnings):
2908 Don't warn about obsolete features in this obsolete file.
2909
f5379553
GM
2910 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
2911 Move definition before use.
2912
7a20ef83
GM
2913 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
2914 (dun-unix-verbs): Remove dun-zippy.
2915 (dun-zippy): Remove function.
2916
690e44b2
GM
2917 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
2918
3a52ccf7
JL
29192013-05-27 Juri Linkov <juri@jurta.org>
2920
2921 * replace.el (replace-search): New function with code moved out
2922 from `perform-replace'.
2923 (replace-highlight, replace-dehighlight): Move function definitions
2924 up closer to `replace-search'. (Bug#11746)
2925
d289938a
JL
29262013-05-27 Juri Linkov <juri@jurta.org>
2927
2928 * replace.el (perform-replace): Ignore invisible matches.
2929 In addition to checking `query-replace-skip-read-only', also
2930 filter out matches by calling `run-hook-with-args-until-failure'
2931 on `isearch-filter-predicates', and also check `search-invisible'
2932 for t or call `isearch-range-invisible'.
2933 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
2934
66fc57e3
JL
29352013-05-27 Juri Linkov <juri@jurta.org>
2936
2937 * isearch.el (isearch-filter-predicates): Rename from
2938 `isearch-filter-predicate'. Doc fix. (Bug#11378)
2939 (isearch-message-prefix): Display text from the property
2940 `isearch-message-prefix' of the currently active filters.
2941 (isearch-search): Don't compare `isearch-filter-predicate' with
2942 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
2943 on `isearch-filter-predicates'. Also check `search-invisible' for t
2944 or call `isearch-range-invisible'.
2945 (isearch-filter-visible): Make obsolete.
2946 (isearch-lazy-highlight-search):
2947 Call `run-hook-with-args-until-failure' on
2948 `isearch-filter-predicates' and use `isearch-range-invisible'.
2949
2950 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
2951 `isearch-filter-predicates' instead of `funcall'ing
2952 `isearch-filter-predicate'.
2953 (Info-mode): Set `Info-isearch-filter' to
2954 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
2955
2956 * dired-aux.el (dired-isearch-filter-predicate-orig):
2957 Remove variable.
2958 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
2959 (dired-isearch-filenames-end): Add and remove
2960 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
2961 instead of changing the value of `isearch-filter-predicate'.
2962 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
2963 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
2964 Put property `isearch-message-prefix' to "filename " on
2965 `dired-isearch-filter-filenames'.
2966
2967 * wdired.el (wdired-change-to-wdired-mode):
2968 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
2969 locally instead of changing `isearch-filter-predicate'.
2970 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
2971
f1a60a0f
DG
29722013-05-27 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
2975 return the commit hash (Bug#14459). Also set the
2976 `vc-git-detached' property.
2977 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
2978 (vc-git-mode-line-string): Use the same help-echo format whether
2979 in detached mode or not, because we know the actual revision now.
2980 When in detached mode, shorten the revision to 7 chars.
2981
7f17cc40
SM
29822013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * emacs-lisp/easy-mmode.el (define-minor-mode):
2985 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
2986 mode hook and provide a docstring.
2987
25c8401c
AM
29882013-05-27 Alan Mackenzie <acm@muc.de>
2989
2990 Remove spurious syntax-table text properties inserted by C-y.
2991 * progmodes/cc-mode.el (c-after-change): Also clear hard
2992 syntax-table property with value nil.
2993
dde84790
MA
29942013-05-27 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
2997 when reading the events; the buffer layout shall not be changed.
2998
837fd9af
LL
29992013-05-27 Leo Liu <sdl.web@gmail.com>
3000
3001 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3002 New variable.
3003 (inferior-octave-directory-tracker): Automatically re-sync
3004 default-directory.
3005 (octave-help): Improve handling of 'See also'.
3006
4fd996b3
SM
30072013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3008
416f1802
SM
3009 * doc-view.el: Minor naming convention tweaks.
3010 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3011
4fd996b3
SM
3012 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3013 even if there's no `display' property yet (bug#14435).
3014
a052ef3b
EZ
30152013-05-25 Eli Zaretskii <eliz@gnu.org>
3016
4fd996b3 3017 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
3018
3019 * Makefile.in (custom-deps, finder-data, autoloads)
3020 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3021 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3022 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3023
c9023370
SM
30242013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3027 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 3028 Don't burp at EOB.
c9023370 3029
24d699fa
LL
30302013-05-25 Leo Liu <sdl.web@gmail.com>
3031
3032 * comint.el (comint-previous-matching-input): Do not flood the
3033 *Messages* buffer with trivial messages.
3034
17e5c0cc
SM
30352013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * progmodes/flymake.el (flymake-nop): Don't return a string.
3038 (flymake-set-at): Fix typo.
3039
3040 * simple.el (read--expression): New function, extracted from
3041 eval-expression. Set completion-at-point-functions (bug#14465).
3042 (eval-expression, eval-minibuffer): Use it.
3043
5d028165
XF
30442013-05-25 Xue Fuqiao <xfq.free@gmail.com>
3045
3046 * progmodes/flymake.el (flymake-save-buffer-in-file)
3047 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3048 (flymake-selected-frame, flymake-log, flymake-ins-after)
3049 (flymake-set-at, flymake-get-buildfile-from-cache)
3050 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3051 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3052 Refine the doc string.
3053 (flymake-get-file-name-mode-and-masks): Reformat.
3054 (flymake-get-real-file-name-function): Fix a minor bug.
3055
7a1d7ba7
JL
30562013-05-24 Juri Linkov <juri@jurta.org>
3057
3058 * progmodes/grep.el (grep-mode-font-lock-keywords):
3059 Support =linenumber= format used by git-grep for lines with
3060 function names. (Bug#13549)
3061
650cff3d
SM
30622013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3063
3064 * progmodes/octave.el (octave-smie-rules): Return nil rather than
3065 0 after a semi-colon; it works better for smie-auto-fill.
3066 (octave--indent-new-comment-line): New function.
3067 (octave-indent-new-comment-line): Use it (indirectly).
3068 (octave-mode): Don't disable smie-auto-fill. Use add-function to
3069 modify comment-line-break-function.
3070
3071 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3072 (smie-setup): Use add-function to set it.
3073
9631677d
SS
30742013-05-24 Sam Steingold <sds@gnu.org>
3075
3076 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3077 argument (before the `interactive' argument).
3078
50105835
SM
30792013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * image-mode.el (image-mode-winprops): Add winprops to
3082 image-mode-winprops-alist before running
3083 image-mode-new-window-functions.
3084 * doc-view.el (doc-view-new-window-function): Don't delay
3085 doc-view-goto-page via timers (bug#14435).
3086
57b9823e
TH
30872013-05-24 Tassilo Horn <tsdh@gnu.org>
3088
3089 * doc-view.el: Integrate with desktop.el. (Bug#14435)
3090 (doc-view-desktop-save-buffer): New function.
3091 (doc-view-restore-desktop-buffer): New function.
50105835
SM
3092 (desktop-buffer-mode-handlers):
3093 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
3094 handler.
3095 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3096 `desktop-save-buffer' function.
3097
91aafa16
MA
30982013-05-24 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3101 (tramp-gvfs-file-name-handler): Raise a user error when
3102 `tramp-gvfs-enabled' is nil.
3103 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3104 Do not raise a user error when loading package. (Bug#14447)
3105
ec076379
MA
3106 * net/xesam.el: Move to obsolete/.
3107
db785726
GM
31082013-05-24 Glenn Morris <rgm@gnu.org>
3109
af5c7606
GM
3110 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3111
e5d1916a
GM
3112 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3113
ded62b08
GM
3114 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3115 (Info-find-node, Man-getpage-in-background): Declare.
3116
9e614a3f
GM
3117 * mail/unrmail.el (unrmail):
3118 Replace obsolete detect-coding-with-priority.
3119
892f8ca3
GM
3120 * net/socks.el (socks-split-string): Use this rather than split-string.
3121 (socks-nslookup-host): Update for above change.
3122 (dynamic-choice, s5-dynamic-choice-match)
3123 (s5-dynamic-choice-match-inline, s5-widget-value-create):
3124 Comment out unused code.
3125
3c291973
GM
3126 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3127 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3128 (gud-tooltip-echo-area): Make obsolete.
3129 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3130
43cc956b
GM
3131 * progmodes/js.el (js--optimize-arglist): Declare.
3132
dab49a3b
GM
3133 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3134
36b9d085
GM
3135 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3136 (ediff-window-C): Declare.
3137
e354ae76
GM
3138 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3139 Tweak requires to silence compiler.
3140
b8e57bf4
GM
3141 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3142 (he-search-string, he-tried-table, he-expand-list)
3143 (he-init-string, he-string-member, he-substitute-string)
3144 (he-reset-string): Declare.
3145
db785726
GM
3146 * obsolete/options.el (list-options): Use custom-variable-p,
3147 rather than obsolete alias.
3148
b3531901
SS
31492013-05-23 Sam Steingold <sds@gnu.org>
3150
3151 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 3152 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
3153 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3154
bdda4c66
SM
31552013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * emacs-lisp/smie.el (smie-indent-forward-token)
3158 (smie-indent-backward-token): Handle string tokens (bug#14381).
3159
c43d45f9
TH
31602013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3161
fe1eb856
RS
3162 * ielm.el (ielm-menu): New menu.
3163 (inferior-emacs-lisp-mode): Set comment-start.
96172128 3164
fe1eb856
RS
31652013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3166
3167 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3168 Fix deactivate action.
3169
3170 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3171 Add cleveref macros.
074dd971 3172
c43d45f9
TH
3173 * lisp/textmodes/reftex-parse.el
3174 (reftex-locate-bibliography-files): Accept options for
3175 bibliography commands.
3176 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3177 Add addbibresource. Basic Biblatex support.
3178
7764286e
MA
31792013-05-23 Michael Albinus <michael.albinus@gmx.de>
3180
3181 * net/tramp-gvfs.el (top):
3182 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3183 when loading package. (Bug#14447)
3184
d361bc10
GM
31852013-05-23 Glenn Morris <rgm@gnu.org>
3186
8fa23984
GM
3187 * progmodes/js.el: No need to load comint when compiling.
3188 (ring-insert, comint-send-string, comint-send-input)
3189 (comint-last-input-end, ido-chop): Declare.
3190
a5c7df1a
GM
3191 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3192 * vc/ediff-mult.el: Adjust requires.
3193 (ediff-directories-internal, ediff-directory-revisions-internal)
3194 (ediff-patch-file-internal): Declare.
3195 * vc/ediff-ptch.el: Adjust requires.
3196 (ediff-use-last-dir, ediff-buffers-internal): Declare.
3197 (ediff-find-file): Autoload.
3198 * vc/ediff-util.el: No need to load ediff when compiling.
3199 (ediff-regions-internal): Declare.
3200 * vc/ediff-wind.el: Adjust requires.
3201 (ediff-compute-toolbar-width): Define when compiling.
3202 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3203 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3204 (dired-get-filename, dired-get-marked-files)
3205 (ediff-last-dir-patch, ediff-patch-default-directory)
3206 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3207 (ediff-patch-buffer-internal): Declare.
3208
e2aec513
GM
3209 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3210 (ispell-process, ispell-buffer-local-words, lm-summary)
3211 (lm-section-start, lm-section-end): Declare.
3212 (checkdoc-ispell-init): Simplify.
3213
e68bbd7c
GM
3214 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3215 (he-string-member, he-reset-string, he-substitute-string): Declare.
3216
7efe0991
GM
3217 * eshell/em-ls.el: Adjust requires.
3218 (eshell-glob-regexp): Declare.
f87b1284
GM
3219 * eshell/em-tramp.el: Adjust requires.
3220 (eshell-parse-command): Autoload.
3221 * eshell/em-xtra.el: Adjust requires.
3222 (eshell-parse-command): Autoload.
3223 * eshell/esh-ext.el: Adjust requires.
3224 (eshell-parse-command, eshell-close-handles): Autoload.
3225 * eshell/esh-io.el: Adjust requires.
3226 (eshell-output-filter): Autoload.
3227 * eshell/esh-util.el: No need to load tramp when compiling.
3228 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3229 Declare.
3230 (eshell-parse-ange-ls): Require ange-ftp and tramp.
3231 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3232 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3233 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3234 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3235 * eshell/esh-opt.el, eshell/esh-proc.el:
3236 * eshell/esh-var.el: Adjust requires.
3237 * eshell/eshell.el: Do not require esh-util twice.
3238 (eshell-add-input-to-history): Declare.
3239 (eshell-command): Check history module is active before using it.
3240
d361bc10
GM
3241 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3242
85d090a9
LL
32432013-05-22 Leo Liu <sdl.web@gmail.com>
3244
3245 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3246
5d0acd9d
MA
32472013-05-22 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * autorevert.el (auto-revert-notify-add-watch)
3250 (auto-revert-notify-handler): Add `attrib' for the inotify case,
3251 it indicates changes in file modification time.
3252
0cdffd7d
GM
32532013-05-22 Glenn Morris <rgm@gnu.org>
3254
ca5995ec
GM
3255 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3256 Always delete the autoloaded function from the noruntime and
3257 unresolved functions lists.
3258
6450907e
GM
3259 * allout.el: No need to load epa, epg, overlay when compiling.
3260 (epg-context-set-passphrase-callback, epg-list-keys)
3261 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3262 (epg-key-user-id-list): Declare.
3263
9c6906f6
GM
3264 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3265 (viper-set-parsing-style-toggling-macro)
3266 (viper-set-emacs-state-searchstyle-macros):
3267 Use called-interactively-p on Emacs.
3268 (viper-looking-back): Make it an obsolete alias. Update callers.
3269 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3270 Use looking-back rather than viper-looking-back.
3271 (viper-tmp-insert-at-eob, viper-enlarge-region)
3272 (viper-read-string-with-history, viper-register-to-point)
3273 (viper-append-to-register, viper-change-state-to-vi)
3274 (viper-backward-char-carefully, viper-forward-char-carefully)
3275 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3276 (viper-change-state-to-emacs): Declare.
3277 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3278 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3279 * emulation/viper-mous.el: Do not load viper-cmd.
3280 (viper-backward-char-carefully, viper-forward-char-carefully)
3281 (viper-forward-word, viper-adjust-window): Declare.
3282
5f70c169
GM
3283 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3284
b1b7f300
GM
3285 * progmodes/idlw-help.el (idlwave-help-fontify):
3286 Use called-interactively-p.
3287
f6ebbb46
GM
3288 * term/w32console.el (w32-get-console-codepage)
3289 (w32-get-console-output-codepage): Declare.
3290
0cdffd7d
GM
3291 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3292 Remove unnecessary declarations.
3293 (dframe-message): Doc fix.
3294
3295 * info.el (dframe-select-attached-frame, dframe-current-frame):
3296 Declare.
3297
3298 * speedbar.el (speedbar-message): Make it an obsolete alias.
3299 Update all callers.
3300 (speedbar-with-attached-buffer)
3301 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3302 (speedbar-with-writable): Use backquote.
3303 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3304 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3305 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
3306 rather than speedbar- aliases.
3307 * mail/rmail.el: Load dframe rather than speedbar when compiling.
3308 (speedbar-make-specialized-keymap, speedbar-insert-button)
3309 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
3310 (speedbar-do-function-pointer): Declare.
3311 (rmail-speedbar-button, rmail-speedbar-find-file)
3312 (rmail-speedbar-move-message):
3313 Use dframe-with-attached-buffer rather than speedbar- alias.
3314 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
3315 (dframe-message, speedbar-make-specialized-keymap)
3316 (speedbar-add-expansion-list, speedbar-mode-functions-list)
3317 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
3318 (speedbar-insert-button, dframe-select-attached-frame)
3319 (dframe-maybee-jump-to-attached-frame)
3320 (speedbar-change-initial-expansion-list)
3321 (speedbar-previously-used-expansion-list-name): Declare.
3322 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
3323 Use dframe-message, dframe-with-attached-buffer rather than
3324 speedbar- aliases.
3325 (gud-sentinel): Silence compiler.
3326 * progmodes/vhdl-mode.el (speedbar-refresh)
3327 (speedbar-do-function-pointer, speedbar-add-supported-extension)
3328 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
3329 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
3330 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
3331 (speedbar-file-lists, speedbar-make-tag-line)
3332 (speedbar-line-directory, speedbar-goto-this-file)
3333 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
3334 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
3335 (speedbar-make-button, speedbar-reset-scanners)
3336 (speedbar-files-item-info, speedbar-line-text)
3337 (speedbar-find-file-in-frame, speedbar-set-timer)
3338 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
3339 (speedbar-with-writable): Do not (re)define it.
3340 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
3341 rather than speedbar- alias.
3342
ee44b62a
LL
33432013-05-21 Leo Liu <sdl.web@gmail.com>
3344
3345 * progmodes/octave.el (octave-mode-menu): Update and re-organize
3346 menu items.
3347 (octave-mode): Tweak fill-nobreak-predicate.
3348 (inferior-octave-startup): Check process to avoid infinite loop.
3349 (inferior-octave): Pop to buffer first to show abornmal process
3350 exit information.
3351
640f050f
GM
33522013-05-21 Glenn Morris <rgm@gnu.org>
3353
79458038
GM
3354 * printing.el (pr-menu-bar): Define when compiling.
3355
9cc3e83f
LL
33562013-05-21 Leo Liu <sdl.web@gmail.com>
3357
3358 * progmodes/octave.el (octave-auto-fill): Remove.
3359 (octave-indent-new-comment-line): Improve.
3360 (octave-mode): Use auto fill mode through
4f405069 3361 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 3362 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 3363 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
3364 (octave-help): Show parent directory.
3365
f440830d
GM
33662013-05-21 Glenn Morris <rgm@gnu.org>
3367
3368 * files.el (dired-unmark):
3369 * progmodes/gud.el (gdb-input): Update declarations.
3370
3371 * calculator.el (electric, ehelp): No need to load when compiling.
3372 (Electric-command-loop, electric-describe-mode): Declare.
3373
3374 * doc-view.el (doc-view-current-converter-processes): Move before use.
3375
3376 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3377 Move MODE-set-explicitly definition before use.
3378
3379 * international/mule-diag.el (mule-diag):
3380 Don't use obsolete window-system-version.
3381
3382 * mail/feedmail.el (smtpmail): No need to load when compiling.
3383 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
3384
3385 * mail/mail-utils.el (rfc822): No need to load when compiling.
3386 (rfc822-addresses): Autoload it.
3387 (mail-strip-quoted-names): Trivial simplification.
3388
3389 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
3390 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
3391
3392 * net/snmp-mode.el (tempo): Don't duplicate requires.
3393
3394 * progmodes/prolog.el (info): No need to load when compiling.
3395 (comint): Require before shell requires it.
3396 (Info-goto-node): Autoload it.
3397 (Info-follow-nearest-node): Declare.
3398 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
3399
3400 * textmodes/artist.el (picture-mode-exit): Declare.
3401
3402 * textmodes/reftex-parse.el (reftex-parse-from-file):
3403 Trivial rewrite so the compiler can parse it better.
3404
b4da2cbb
LL
34052013-05-20 Leo Liu <sdl.web@gmail.com>
3406
3407 * progmodes/octave.el (octave-help-mode-map)
3408 (octave-help-mode-finish-hook): New variables.
3409 (octave-help-mode, octave-help-mode-finish): New functions.
3410 (octave-help): Use octave-help-mode.
3411
33c0f65b
GM
34122013-05-20 Glenn Morris <rgm@gnu.org>
3413
3414 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
3415
1a0a0a8a
DG
34162013-05-19 Dmitry Gutov <dgutov@yandex.ru>
3417
3418 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
3419 start at point, so that expansion starting right after opening
3420 slash in a regexp is recognized.
3421 (ruby-syntax-before-regexp-re): New defvar, extracted from
3422 ruby-syntax-propertize-function. Since the value of this regexp
3423 is looked up at runtime now, we should be able to turn
3424 `ruby-syntax-methods-before-regexp' into a defcustom later.
3425 (ruby-syntax-propertize-function): Split regexp matching into two
3426 parts, for opening and closing slashes. That allows us to skip
3427 over string interpolations and support multiline regexps.
3428 Don't call `ruby-syntax-propertize-expansions', instead use another rule
3429 for them, which calls `ruby-syntax-propertize-expansion'.
3430 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
3431 call to `ruby-syntax-propertize-function'.
3432 (ruby-syntax-propertize-expansion): Extracted from
3433 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
3434 (ruby-syntax-propertize-percent-literal): Leave point right after
3435 the percent symbol, so that the expression expansion rule can
3436 propertize the contents.
462388b6
DG
3437 (ruby-syntax-propertize-heredoc): Leave point at bol following the
3438 heredoc openers.
3439 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 3440
c1a6c0a4
JL
34412013-05-18 Juri Linkov <juri@jurta.org>
3442
3443 * man.el (Man-default-man-entry): Remove `-' from the end
3444 of the default value. (Bug#14400)
3445
8051fccd
GM
34462013-05-18 Glenn Morris <rgm@gnu.org>
3447
3448 * comint.el (comint-password-prompt-regexp):
3449 Allow "password for XXX" where XXX contains colons (eg https://...).
3450
5e80b74f
LL
34512013-05-18 Leo Liu <sdl.web@gmail.com>
3452
3453 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 3454 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
3455 (octave-source-directories): Don't check process.
3456 (octave-source-directories, octave-find-definition): Doc fix.
3457
521a54c5
GM
34582013-05-18 Glenn Morris <rgm@gnu.org>
3459
86a94b05
GM
3460 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3461 Remove backspace/delete bindings. (Bug#14392)
3462
521a54c5
GM
3463 * cus-dep.el (custom-make-dependencies): Sort the output.
3464 (custom-versions-load-alist): Convert comment to doc.
3465
42caeb89
LL
34662013-05-17 Leo Liu <sdl.web@gmail.com>
3467
3468 * newcomment.el (comment-search-backward): Stricter in finding
3469 comment start. (Bug#14303)
3470
3471 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
3472 (octave-comment-start-skip): Properly anchored.
3473
e219dd97
LL
34742013-05-17 Leo Liu <sdl.web@gmail.com>
3475
fe1eb856
RS
3476 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
3477 Clean up when turned off. (Bug#14395)
e219dd97
LL
3478 (smie--highlight-matching-block-overlay): No longer buffer-local.
3479 (smie-highlight-matching-block): Adjust.
3480
dc5dcb4b
PE
34812013-05-17 Paul Eggert <eggert@cs.ucla.edu>
3482
3483 Doc string fix for "nanoseconds" (Bug#14406).
3484 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
3485 Fix doc string typo that had "nanoseconds" instead of "microseconds".
3486
1db165f0
JB
34872013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
3488
3489 * calc/calc-units.el (math-extract-units): Preserve powers
3490 of units.
3491
c7a8fcac
LL
34922013-05-17 Leo Liu <sdl.web@gmail.com>
3493
3494 * subr.el (delete-consecutive-dups): New function.
3495 * ido.el (ido-set-matches-1): Use it.
3496 * progmodes/octave.el (inferior-octave-completion-table): Use it.
3497 * ido.el (ido-remove-consecutive-dups): Remove.
3498
f678b18a
SM
34992013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3502 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
3503 regexp-opt's `words'.
3504
ebfe68e8
LL
35052013-05-16 Leo Liu <sdl.web@gmail.com>
3506
3507 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
3508 (smie--highlight-matching-block-overlay)
3509 (smie--highlight-matching-block-lastpos)
3510 (smie--highlight-matching-block-timer): New variables.
3511 (smie-highlight-matching-block): New function.
3512 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
3513 (smie-setup): Conditionally enable smie-blink-matching-open.
3514
bc8bc17d
WS
35152013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
3516
3517 Sync with upstream verilog-mode r840.
3518 * progmodes/verilog-mode.el (verilog-mode-version)
3519 (verilog-mode-release-date): Update.
3520 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
3521 (verilog-sig-tieoff): Fix string error on
3522 AUTORESET with colon define, bug594. Reported by Andrew Hou.
3523 (verilog-read-decls): Fix parameters confusing
3524 AUTOINST interfaces, bug565. Reported by Leith Johnson.
3525
df065a0b
EZ
35262013-05-16 Eli Zaretskii <eliz@gnu.org>
3527
3528 * subr.el (reveal-filename): New function.
3529
3530 * loadup.el: Compute Emacs executable versions on MS-Windows,
3531 where executables have the .exe extension. Add a hard link
3532 emacs-XX.YY.ZZ.exe on MS-Windows.
3533
3534 * Makefile.in (XARGS_LIMIT): New variable.
3535 (custom-deps, finder-data, autoloads)
3536 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3537 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3538 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
3539 (compile-main): Limit xargs according to $(XARGS_LIMIT).
3540
2d4bf34b
LL
35412013-05-16 Leo Liu <sdl.web@gmail.com>
3542
3543 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
3544 (octave-mode-menu, octave-mode-map): Remove its uses.
3545
6b9c2d85
RZ
35462013-05-16 Reto Zimmermann <reto@gnu.org>
3547
3548 Sync with upstream vhdl mode v3.34.2.
3549 * progmodes/vhdl-mode.el: Use `push' throughout.
3550 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
3551 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
3552 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
3553 (vhdl-actual-generic-name): New option to derive actual generic name.
3554 (vhdl-port-paste-signals): Replace formal by actual generics.
3555 (vhdl-beautify): New name for old group vhdl-align. Update users.
3556 (vhdl-beautify-options): New option.
3557 (vhdl-last-input-event): New compat alias. Use throughout.
3558 (vhdl-goto-line): Replace user level function `goto-line'.
3559 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
3560 vhdl-fix-statement-buffer.
3561 (vhdl-create-mode-menu): Add some entries.
3562 (vhdl-align-region-groups): Respect vhdl-beautify-options.
3563 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
3564 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
3565 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
3566 to force statements on one line.
3567 (vhdl-remove-trailing-spaces-region):
3568 New, split from vhdl-remove-trailing-spaces.
3569 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
3570 Respect vhdl-beautify-options.
3571 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
3572 (vhdl-update-sensitivity-list): Not add with index if exists without.
3573 Not include array index with signal. Ignore keywords in comments.
3574 (vhdl-get-visible-signals): Regexp tweaks.
3575 (vhdl-template-component-inst): Handle empty library.
3576 (vhdl-template-type): Add template for 'enum' type.
3577 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
3578 Use vhdl-replace-string.
3579 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
3580 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
3581 (vhdl-speedbar-initialize): Update for above name change.
3582 (vhdl-compose-wire-components): Fix in handling of constants.
3583 (vhdl-error-regexp-emacs-alist): New variable.
3584 (vhdl-error-regexp-add-emacs): New function;
3585 adds support for new compile.el (Emacs 22+)
3586 (vhdl-generate-makefile-1): Change target order for single lib. units.
3587 Allow use of absolute file names.
3588
9df4ec5e
LL
35892013-05-16 Leo Liu <sdl.web@gmail.com>
3590
3591 * simple.el (prog-indent-sexp): Indent enclosing defun.
3592
f5ba00a6
GM
35932013-05-15 Glenn Morris <rgm@gnu.org>
3594
ed8be7ff
GM
3595 * cus-start.el (show-trailing-whitespace): Move to editing basics.
3596 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
3597 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
3598 (whitespace-highlight): Move to whitespace group.
3599
3600 * comint.el (comint-source):
3601 * pcmpl-linux.el (pcmpl-linux):
3602 * shell.el (shell-faces):
3603 * eshell/esh-opt.el (eshell-opt):
3604 * international/ccl.el (ccl): Remove empty custom groups.
3605
3606 * completion.el (dynamic-completion-mode):
3607 * jit-lock.el (jit-lock-debug-mode):
3608 * minibuffer.el (completion-in-region-mode):
3609 * type-break.el (type-break-mode-line-message-mode)
3610 (type-break-query-mode):
3611 * emulation/tpu-edt.el (tpu-edt-mode):
3612 * progmodes/subword.el (global-subword-mode, global-superword-mode):
3613 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3614 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
3615
3616 * term/xterm.el (xterm): Change parent group to terminals.
3617
3618 * master.el (master): Remove empty custom group.
3619 (master-mode): Remove unused :group argument.
3620 * textmodes/refill.el (refill): Remove empty custom group.
3621 (refill-mode): Remove unused :group argument.
3622
3623 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
3624
82a7c41b
GM
3625 * cus-dep.el: Provide a feature.
3626 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
3627 Don't mistakenly ignore files whose basenames match a basename
3628 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 3629 Add a fallback method for getting :group.
f5ba00a6 3630
6d65486d
JL
36312013-05-15 Juri Linkov <juri@jurta.org>
3632
da547b32
JL
3633 * isearch.el (isearch-char-by-name): Rename from
3634 `isearch-insert-char-by-name'. Doc fix.
3635 (isearch-forward): Mention `isearch-char-by-name' in
3636 the docstring. (Bug#13348)
3637
6d65486d
JL
3638 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
3639 `exit-minibuffer' instead of
3640 `isearch-nonincremental-exit-minibuffer'.
3641 (isearch-edit-string): Remove mention of
3642 `isearch-nonincremental-exit-minibuffer' from docstring.
3643 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
3644 (isearch-forward-exit-minibuffer)
3645 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
3646
c9990474
SM
36472013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3648
6e911150
SM
3649 * loadup.el: Just use unversioned DOC.
3650
c9990474
SM
3651 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
3652 literals as extending to EOB.
3653 (nxml-last-fontify-end): Remove unused variable.
3654 (nxml-after-change1): Use with-silent-modifications.
3655 (nxml-extend-after-change-region): Simplify.
3656 (nxml-extend-after-change-region1): Remove function.
3657 (nxml-after-change1): Don't adjust for dependent regions.
3658 (nxml-fontify-matcher): Simplify.
3659 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3660 (xmltok-add-dependent): Remove function.
3661 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3662 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3663 (xmltok-scan-prolog-after-processing-instruction-open): Treat
3664 unclosed <[[, <?, comment, and other literals as extending to EOB.
3665 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3666 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3667 Remove functions.
3668 (rng-do-some-validation-1): Don't mark dependent regions.
3669 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3670 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3671 (nxml-clear-dependent-regions): Remove functions.
3672 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3673 (nxml-ensure-scan-up-to-date):
3674 Don't clear&mark dependent regions.
3675
e3772e98
LL
36762013-05-15 Leo Liu <sdl.web@gmail.com>
3677
c9990474
SM
3678 * progmodes/octave.el (octave-goto-function-definition):
3679 Improve and fix callers.
e3772e98 3680
5ac2eb34
SM
36812013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3682
c46c57b0
SM
3683 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3684 the setter (bug#14387).
3685
5ac2eb34
SM
3686 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3687 surrounding group (bug#14402).
3688
180ed218
JL
36892013-05-14 Juri Linkov <juri@jurta.org>
3690
3691 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3692 (Bug#14390)
3693
0ac0fecb
GM
36942013-05-14 Glenn Morris <rgm@gnu.org>
3695
3696 * progmodes/f90.el (f90-imenu-generic-expression):
3697 Fix typo in 2013-05-08 change. (Bug#14402)
3698
2e78e6a7
JPG
36992013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3700
5ac2eb34
SM
3701 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
3702 Remove signals for which replies are never received.
2e78e6a7 3703
53267cca
JPG
37042013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3705
3706 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
3707 (gdb-handler-alist, gdb-handler-number): Remove variables.
3708 (gdb-handler-list): New variable.
3709 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
3710 (gdb-pending-handler-p, gdb-handle-reply)
3711 (gdb-remove-all-pending-triggers): New functions.
3712 (gdb-discard-unordered-replies): New defcustom.
3713 (gdb-handler): New defstruct.
3714 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
3715 instead of gdb-pending-triggers. Update docstring.
3716 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
3717 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
3718 (gdb-var-update-handler, def-gdb-auto-update-trigger)
3719 (def-gdb-auto-update-handler, gdb-get-changed-registers)
3720 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
3721 (gdb-frame-handler): Pending triggers are now automatically managed.
3722 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
3723 Remove argument.
3724 (gdb-input): Automatically handles pending triggers. Update docstring.
3725 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
3726 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
3727 Update comments.
3728 (gdb-done-or-error): Now use gdb-handle-reply.
3729
d04ce803
JPG
37302013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3731
3732 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
3733 gdb-debug-log.
3734
0114073a
GM
37352013-05-14 Glenn Morris <rgm@gnu.org>
3736
3737 * subr.el (user-emacs-directory-warning): New option.
3738 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
3739
4d25fd7e
LL
37402013-05-14 Leo Liu <sdl.web@gmail.com>
3741
3742 * progmodes/octave.el (octave-font-lock-keywords): Fix error
3743 during redisplay.
3744 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
3745 (octave-font-lock-texinfo-comment): Fix invalid search bound
3746 error: wrong side of point.
4d25fd7e 3747
27c8b6eb
GM
37482013-05-14 Glenn Morris <rgm@gnu.org>
3749
61aaeb01
GM
3750 * progmodes/flymake.el (flymake-xml-program): New option.
3751 (flymake-xml-init): Use it.
3752
5bf90bc5
GM
3753 * term/xterm.el: Provide a feature.
3754
3755 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 3756
f4c7dfd2
GM
37572013-05-13 Glenn Morris <rgm@gnu.org>
3758
3759 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
3760 Add compat aliases as a hack workaround. (Bug#14384)
3761
2aeb3a1d
LL
37622013-05-13 Leo Liu <sdl.web@gmail.com>
3763
b0e069c2
LL
3764 * progmodes/octave.el (octave-indent-comment): Fix indentation for
3765 ###, and %!.
f5a9432f
LL
3766 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
3767 C-M-q.
b0e069c2
LL
3768 (octave-comment-start-skip): Include %!.
3769 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 3770
30ea8374
LL
37712013-05-12 Leo Liu <sdl.web@gmail.com>
3772
3773 * progmodes/octave.el (inferior-octave-startup): Store the value
3774 of __octave_srcdir__ for octave-source-directories.
3775 (inferior-octave-check-process): New function refactored out of
3776 inferior-octave-send-list-and-digest.
3777 (octave-source-directories)
3778 (octave-find-definition-filename-function): New variables.
3779 (octave-source-directories)
3780 (octave-find-definition-default-filename): New functions.
3781 (octave-find-definition): Improve to find functions implemented in C++.
3782
472a3834
GM
37832013-05-12 Glenn Morris <rgm@gnu.org>
3784
3785 * calendar/diary-lib.el (diary-outlook-format-1):
3786 Don't include dayname in the output. (Bug#14349)
3787
3191b52f
GM
37882013-05-11 Glenn Morris <rgm@gnu.org>
3789
0060ac73
GM
3790 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
3791
3191b52f
GM
3792 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
3793 Treat cc-provide like provide.
3794
e065ba74
KR
37952013-05-11 Kevin Ryde <user42@zip.com.au>
3796
3797 * cus-dep.el (custom-make-dependencies):
3798 Use generated-autoload-load-name for the sake of files such
3799 such cedet/semantic/bovine/c.el, where the base file name
3800 is not in load-path. (Bug#5277)
3801
36f84c37
GM
38022013-05-11 Glenn Morris <rgm@gnu.org>
3803
3804 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
3805 Provide features.
3806
c8730c3a
LL
38072013-05-11 Leo Liu <sdl.web@gmail.com>
3808
3809 * progmodes/octave.el (octave-indent-comment): Improve.
3810 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
3811 (octave-eldoc-function-signatures, octave-eldoc-function):
3812 New functions.
c8730c3a
LL
3813 (octave-mode, inferior-octave-mode): Add eldoc support.
3814
212e29f2
RS
38152013-05-11 Richard Stallman <rms@gnu.org>
3816
3817 * epa.el (epa-decrypt-file): Take output file name as argument
3818 and read it using `interactive'.
3819
083fe0d7
LL
38202013-05-11 Leo Liu <sdl.web@gmail.com>
3821
3822 * progmodes/octave.el (octave-beginning-of-line)
3823 (octave-end-of-line): Check before using up-list because it jumps
3824 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
3825 (octave-indent-comment): New function.
3826 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
3827 (octave-begin-keywords, octave-end-keywords)
3828 (octave-reserved-words, octave-smie-bnf-table)
3829 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 3830
8582e4c4
GM
38312013-05-11 Glenn Morris <rgm@gnu.org>
3832
f20def1f
GM
3833 * faces.el (internal-face-x-get-resource):
3834 * frame.el (ns-display-monitor-attributes-list):
d78abe37 3835 * calc/calc-aent.el (math-to-radians-2):
f20def1f 3836 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 3837 Fix declarations.
f20def1f 3838
445f95e2
GM
3839 * calc/calc-menu.el: Make it loadable in isolation.
3840
3841 * net/eudcb-bbdb.el: Make it loadable without bbdb.
3842 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
3843 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
3844 (eudc-bbdb-query-internal): Require 'bbdb.
3845
99fb2756
GM
3846 * lpr.el (lpr-headers-switches):
3847 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
3848
3849 * progmodes/sql.el (sql-login-params): Fix and improve :type.
3850
0da7ad96
GM
3851 * emulation/edt-mapper.el: In batch mode, error rather than hang.
3852
8582e4c4
GM
3853 * term.el (term-set-escape-char): Make it idempotent.
3854
f71c50d0
LL
38552013-05-10 Leo Liu <sdl.web@gmail.com>
3856
5ac2eb34
SM
3857 * progmodes/octave.el (inferior-octave-completion-table):
3858 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
3859 completion due to bug#11906.
3860 (octave-beginning-of-defun): Re-write to be more general.
3861
d5837773
GM
38622013-05-10 Glenn Morris <rgm@gnu.org>
3863
3864 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
3865
027c0f75
SM
38662013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * comint.el (comint-redirect-send-command-to-process): Use :around
3869 rather than :override for comint-redirect-filter.
3870 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
3871 Call it instead of comint-redirect-original-filter-function (which
3872 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
3873
4465bfb4
JD
38742013-05-09 Jan Djärv <jan.h.d@swipnet.se>
3875
3876 * frame.el (display-monitor-attributes-list): Add NS case.
3877 (ns-display-monitor-attributes-list): Declare.
3878
2d809ffa 38792013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
3880
3881 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
3882
e54eeb9b
GM
38832013-05-09 Glenn Morris <rgm@gnu.org>
3884
56cd351d
GM
3885 * international/fontset.el (vertical-centering-font-regexp):
3886 Set standard-value.
3887
d84b6108
GM
3888 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
3889
a931698a
GM
3890 * bookmark.el (bookmark-search-delay):
3891 * cus-start.el (vertical-centering-font-regexp):
3892 * ps-mule.el (ps-mule-font-info-database-default):
3893 * ps-print.el (ps-default-fg, ps-default-bg):
3894 * type-break.el (type-break-good-break-interval):
3895 * whitespace.el (whitespace-indentation-regexp)
3896 (whitespace-space-after-tab-regexp):
3897 * emacs-lisp/testcover.el (testcover-1value-functions)
3898 (testcover-noreturn-functions, testcover-progn-functions)
3899 (testcover-prog1-functions):
3900 * emulation/viper-init.el (viper-emacs-state-cursor-color):
3901 * eshell/em-glob.el (eshell-glob-translate-alist):
3902 * play/tetris.el (tetris-tty-colors):
3903 * progmodes/cpp.el (cpp-face-default-list):
3904 * progmodes/flymake.el (flymake-allowed-file-name-masks):
3905 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
3906 (idlwave-help-browser-generic-args):
3907 * progmodes/make-mode.el (makefile-special-targets-list):
3908 * progmodes/python.el (python-shell-virtualenv-path):
3909 * progmodes/verilog-mode.el (verilog-active-low-regexp)
3910 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
3911 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
3912 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
3913 * textmodes/reftex-vars.el (reftex-format-label-function):
3914 * textmodes/remember.el (remember-diary-file): Fix custom types.
3915
e54eeb9b
GM
3916 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
3917 Add :version.
3918
455851dd
LL
39192013-05-09 Leo Liu <sdl.web@gmail.com>
3920
3921 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 3922 Restore file completion. (Bug#14300)
455851dd
LL
3923 (inferior-octave-startup): Fix incorrect highlighting for the
3924 first prompt.
3925
a9e4425b
SM
39262013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * progmodes/ruby-mode.el: First cut at SMIE support.
3929 (ruby-use-smie): New var.
3930 (ruby-smie-grammar): New constant.
3931 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
3932 (ruby-smie--forward-token, ruby-smie--backward-token)
3933 (ruby-smie-rules): New functions.
3934 (ruby-mode-variables): Setup SMIE if applicable.
3935
060ca408
EZ
39362013-05-08 Eli Zaretskii <eliz@gnu.org>
3937
3938 * simple.el (line-move-visual): Signal beginning/end of buffer
3939 only if vertical-motion moved less than it was requested. Avoids
3940 silly incorrect error messages when there are display strings with
3941 multiple newlines at EOL.
3942
1d5963cc
SM
39432013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
3946 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
3947 (prolog-char-quote-workaround):
3948 * progmodes/cperl-mode.el (cperl-under-as-char):
3949 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
3950 Mark as obsolete.
3951 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
3952 their declaration.
3953 (vhdl-mode-syntax-table-init): Remove.
3954
c9990474
SM
3955 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
3956 last change.
1d5963cc
SM
3957
3958 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
3959 syntax for "_".
3960 (ld-script-font-lock-keywords):
3961 Change regexps to use things like \_< and \_>.
3962
3963 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
3964 Change all regexps to use things like \_< and \_>.
3965
3966 * progmodes/autoconf.el (autoconf-definition-regexp)
3967 (autoconf-font-lock-keywords, autoconf-current-defun-function):
3968 Handle a _ with symbol syntax.
3969 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
3970
c9990474
SM
3971 * progmodes/ada-mode.el (ada-mode-abbrev-table):
3972 Consolidate declaration.
1d5963cc
SM
3973 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
3974 the declaration.
3975 (ada-create-syntax-table): Remove.
3976 (ada-capitalize-word): Don't mess with the syntax of "_" since it
3977 already has the right syntax nowadays.
3978 (ada-goto-next-word): Don't change the syntax of "_".
3979
3980 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
3981 with-wrapper-hook.
3982
72d3cfca
SS
39832013-05-08 Sam Steingold <sds@gnu.org>
3984
3985 * thingatpt.el (thing-at-point): Accept optional second argument
3986 NO-PROPERTIES to strip the text properties from the return value.
3987 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
3988 to `thing-at-point' instead of stripping the properties ourselves.
3989 Also, when `thing-at-point' fails to find a url, prepend "http://"
3990 to the filename at point on the assumption that the user is
3991 pointing at something like gnu.org/gnu.
3992
5cb15713
JB
39932013-05-08 Juanma Barranquero <lekktu@gmail.com>
3994
3995 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3996 * faces.el (crm-separator):
3997 Silence byte-compiler.
3998
3999 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4000 (tool-bar-map): Remove unneeded defvars.
4001
ea78b95b
LL
40022013-05-08 Leo Liu <sdl.web@gmail.com>
4003
4004 Re-work a fix for bug#10994 based on Le Wang's patch.
4005 * ido.el (ido-remove-consecutive-dups): New helper.
4006 (ido-completing-read): Use it.
4007 (ido-chop): Revert fix for bug#10994.
4008
dc7466df
AS
40092013-05-08 Adam Spiers <emacs@adamspiers.org>
4010
4011 * cus-edit.el (custom-save-variables):
4012 Pretty-print long values. (Bug#14187)
4013
9ecf672a
GM
40142013-05-08 Glenn Morris <rgm@gnu.org>
4015
4016 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4017 (m4-mode-syntax-table): Init in the defvar.
4018 (m4-mode-abbrev-table): Let define-derived-mode define it.
4019
3f555be8
TT
40202013-05-08 Tom Tromey <tromey@redhat.com>
4021
4022 * progmodes/m4-mode.el (m4-mode-syntax-table):
4023 Do not treat "_" as word constituent. (Bug#14167)
4024
7cc8ae06
GM
40252013-05-07 Glenn Morris <rgm@gnu.org>
4026
4f58bc06
GM
4027 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4028 Remove explicit eshell-isearch-cancel-map.
4029
7cc8ae06
GM
4030 * progmodes/f90.el (f90-smart-end-names): New option.
4031 (f90-smart-end): Doc fix.
4032 (f90-end-block-optional-name): New constant.
4033 (f90-block-match): Respect f90-smart-end-names.
4034
ceb57e59
SM
40352013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * progmodes/octave.el (octave-smie-forward-token): Be more careful
4038 about implicit semi-colons (bug#14218).
4039
4e3f9230
YM
40402013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4041
4042 * frame.el (display-monitor-attributes-list)
4043 (frame-monitor-attributes): New functions.
4044
203a5572
LL
40452013-05-06 Leo Liu <sdl.web@gmail.com>
4046
4047 * progmodes/octave.el (octave-syntax-propertize-function): Change
4048 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
4049 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 4050 (octave-completion-at-point): Rename from
203a5572
LL
4051 octave-completion-at-point-function.
4052 (inferior-octave-directory-tracker): Robustify.
4053 (octave-text-functions): Remove and fix its uses. No such things
4054 any more.
4055
ee6cff99
SM
40562013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * emacs-lisp/trace.el (trace--display-buffer): New function.
4059 (trace-make-advice): Use it.
4060
32985194
JL
40612013-05-06 Juri Linkov <juri@jurta.org>
4062
4063 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
4064 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4065 Doc fix.
4066 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4067 in the help string. (Bug#12985)
4068
a1c700de
KD
40692013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4070
4071 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
4072
c67c0839
SM
40732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4074
323885fd
SM
4075 * progmodes/perl-mode.el: Add support for here documents.
4076 (perl-syntax-propertize-function): Match here-doc markers.
4077 (perl-syntax-propertize-special-constructs): Find their end.
4078 (perl-imenu-generic-expression): Use [:alnum:].
4079
c67c0839
SM
4080 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4081 (advice--add-function): Refresh the advice if already present
4082 (bug#14317).
4083
d491e7a8
IA
40842013-05-06 Ivan Andrus <darthandrus@gmail.com>
4085
4086 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
4087
ddf9925e
GM
40882013-05-06 Glenn Morris <rgm@gnu.org>
4089
7cc3af27
GM
4090 * w32-fns.el (w32-charset-info-alist): Declare.
4091
16e343d6
GM
4092 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4093 of its defcustom properties.
4094 (eshell-cmpl-initialize): No need to load pcomplete.
4095
7d889a47
GM
4096 * generic-x.el: No need to require comint when compiling.
4097
ddf9925e
GM
4098 * net/eudc-export.el: Make it loadable without bbdb.
4099 (top-level): Use require rather than load-library.
4100 (eudc-create-bbdb-record, eudc-bbdbify-phone)
4101 (eudc-batch-export-records-to-bbdb)
4102 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4103 Require bbdb.
4104
1e2c18df
SM
41052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4108 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4109 some tweaks, instead.
4110
02502a5f
LL
41112013-05-05 Leo Liu <sdl.web@gmail.com>
4112
4113 * progmodes/octave.el (octave-font-lock-keywords)
4114 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4115 (inferior-octave-send-list-and-digest): Improve error message.
4116 (octave-mode, inferior-octave-mode): Use setq-local.
4117 (octave-help): Set info-lookup-mode.
4118
0dc04f42
RS
41192013-05-05 Richard Stallman <rms@gnu.org>
4120
6c54491c
RS
4121 * vc/compare-w.el (compare-windows-whitespace):
4122 Treat no-break space as whitespace.
4123
0dc04f42
RS
4124 * mail/rmailsum.el (rmail-summary-rmail-update):
4125 Detect empty summary and don't change selected message.
4126 (rmail-summary-goto-msg): Likewise.
4127
df8f35df
RS
4128 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4129 Doc fixes, rename args.
4130
5356e1a3
AM
41312013-05-05 Alan Mackenzie <acm@muc.de>
4132
4133 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4134
d44014cb
JL
41352013-05-05 Juri Linkov <juri@jurta.org>
4136
4137 * info.el (Info-read-subfile): Use (point-min) instead of (point)
4138 to not add the length of the summary segment to the return value.
4139 (Bug#14125)
4140
c129b51f
LL
41412013-05-05 Leo Liu <sdl.web@gmail.com>
4142
4143 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4144 (inferior-octave-output-filter): Remove.
4145 (octave-send-region, inferior-octave-startup): Fix callers.
4146 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4147 (octave-binary-file-extensions): New user variable.
4148 (octave-find-definition): Confirm if opening binary files.
4149 (octave-help-file): Use octave-find-definition to get the binary
4150 confirmation.
4151 (octave-help): Adjust for octave-help-file change.
4152
aa7dab97
SM
41532013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4156 Merge the two entries that handle function definitions.
4157 (pascal--syntax-propertize): New const.
4158 (pascal-mode): Use it. Use setq-local.
4159
fd3a9a6b
GM
41602013-05-04 Glenn Morris <rgm@gnu.org>
4161
4162 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4163 (diary-from-outlook): Respect diary-from-outlook-function.
4164
30c7e542
SM
41652013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4168 Move the declaration from C.
4169 (read-minibuffer, eval-minibuffer): Move from C.
4170 (completion-setup-function): Avoid minibuffer-completion-contents.
4171
b54f978b
LL
41722013-05-03 Leo Liu <sdl.web@gmail.com>
4173
4174 * progmodes/octave.el (octave-font-lock-keywords): Do not
4175 dehighlight 'end' in comments or strings.
30c7e542
SM
4176 (octave-completing-read, octave-goto-function-definition):
4177 New helpers.
d4d0f9b3
LL
4178 (octave-help-buffer): New user variable.
4179 (octave-help-file, octave-help-function): New button types.
4180 (octave-help): New command and bind it to C-h ;.
4181 (octave-find-definition): New command and bind it to M-.
d74a1581 4182 (user-error): Alias to error if not defined.
b54f978b 4183
27135018
LL
41842013-05-02 Leo Liu <sdl.web@gmail.com>
4185
4186 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4187 for \. (bug#14332)
4188 (octave-font-lock-keywords): Include [ and {.
4189
0d634d3a
LL
41902013-05-02 Leo Liu <sdl.web@gmail.com>
4191
4192 * progmodes/octave.el (inferior-octave-startup-file): Change default.
4193 (inferior-octave): Remove calling comint-mode and return the buffer.
4194 (inferior-octave-startup): Cosmetic changes.
4195
b4c8295e
LL
41962013-05-02 Leo Liu <sdl.web@gmail.com>
4197
30c7e542
SM
4198 * progmodes/octave.el (octave-syntax-propertize-function):
4199 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 4200
f12ad6ec
GM
42012013-05-02 Glenn Morris <rgm@gnu.org>
4202
4203 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4204 * desktop.el (vc-dir-mode): Just autoload it here.
4205
30cac1e0
AM
42062013-05-02 Alan Mackenzie <acm@muc.de>
4207
4208 Eliminate variable c-standard-font-lock-fontify-region-function.
4209 * progmodes/cc-mode.el
4210 (c-standard-font-lock-fontify-region-function): Remove.
4211 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4212
d8ef28b1
LL
42132013-05-01 Leo Liu <sdl.web@gmail.com>
4214
2640d52e 4215 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 4216 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 4217 variables were removed from Octave in 2007.
d8ef28b1
LL
4218 (inferior-octave-startup): Fix uses.
4219 (comint-line-beginning-position): Remove compatibility code for
4220 emacs 21.
4221
ac63ec89
JL
42222013-05-01 Juri Linkov <juri@jurta.org>
4223
4224 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
4225
9e9be37c
JL
42262013-05-01 Juri Linkov <juri@jurta.org>
4227
4228 * comint.el (comint-previous-matching-input): Don't print message
4229 "History item: %d" when `isearch-mode' is active.
4230 (comint-history-isearch-message): Print message "History item: %d"
4231 when `comint-input-ring-index' is not empty and this function is
4232 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
4233
9b92c13b
LL
42342013-05-01 Leo Liu <sdl.web@gmail.com>
4235
4236 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4237 definitions. Use completion-at-point to insert keywords.
4238 (octave-abbrev-start): Remove.
4239 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4240
b12d33d7
LL
42412013-04-30 Leo Liu <sdl.web@gmail.com>
4242
4243 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4244 change.
4245
3d1c39fa
AM
42462013-04-30 Alan Mackenzie <acm@muc.de>
4247
4248 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
4249 * progmodes/cc-engine.el (c-back-over-member-initializers):
4250 new function.
3d1c39fa
AM
4251 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4252 (most) member init lists.
4253
5147fc17
RS
42542013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4255
4256 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4257 variable.
4258
5b78d7fc
LL
42592013-04-30 Leo Liu <sdl.web@gmail.com>
4260
4261 * progmodes/octave.el (octave-variables): Remove. No builtin
4262 variables any more. All converted to functions.
4263 (octave-font-lock-keywords, octave-completion-at-point-function):
4264 Fix uses.
4265 (octave-font-lock-texinfo-comment): New user variable.
4266 (octave-texinfo-font-lock-keywords): New variable for texinfo
4267 comment block.
4268 (octave-function-comment-block): New face.
4269 (octave-font-lock-texinfo-comment): New function.
4270 (octave-mode): Font lock texinfo comment block.
4271
38d8527b
LL
42722013-04-29 Leo Liu <sdl.web@gmail.com>
4273
4274 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4275 indexing expression.
4276 (octave-continuation-string): Do not use \.
4277 (inferior-octave-complete-impossible): Remove.
4278 (inferior-octave-completion-table)
4279 (inferior-octave-completion-at-point): Remove its uses.
4280 (inferior-octave-startup): completion_matches was introduced to
4281 Octave in 1996 so safe to assume it.
4282 (octave-function-file-comment): Improve to follow how Octave does it.
4283 (octave-update-function-file-comment): Tweak.
4284
2ec12cb0
LL
42852013-04-29 Leo Liu <sdl.web@gmail.com>
4286
4287 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4288 (inferior-octave-startup): Remove inferior-octave-startup-hook.
4289 (octave-function-file-comment): Fix typo.
4290 (octave-sync-function-file-names): Use read-char-choice.
4291
6eaed048
JB
42922013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
4293
4294 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4295 to t for the less important warnings.
4296
3ffa2d4f
DH
42972013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
4298
4299 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
4300
685c9501
GM
43012013-04-27 Glenn Morris <rgm@gnu.org>
4302
4303 * vc/log-view.el (log-view-current-entry):
4304 Treat "---" separator lines as part of the following rev. (Bug#14169)
4305
0208ede7
JL
43062013-04-27 Juri Linkov <juri@jurta.org>
4307
4308 * subr.el (read-number): Doc fix about using it by interactive
4309 code letter `n'. (Bug#14254)
4310
5db9dace
JL
43112013-04-27 Juri Linkov <juri@jurta.org>
4312
4313 * desktop.el (desktop-auto-save-timeout): New option.
4314 (desktop-file-checksum): New variable.
4315 (desktop-save): Add optional arg `auto-save' and don't auto-save
4316 if nothing changed.
4317 (desktop-auto-save-timer): New variable.
4318 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
4319 (after-init-hook): Call `desktop-auto-save-set-timer'.
4320 Suggested by Reuben Thomas <rrt@sc3d.org> in
4321 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
4322
b7260dd4
LL
43232013-04-27 Leo Liu <sdl.web@gmail.com>
4324
4325 * progmodes/octave.el (octave-function-file-p)
4326 (octave-skip-comment-forward, octave-function-file-comment)
4327 (octave-update-function-file-comment): New functions.
4328 (octave-mode-map): Bind C-c ; to
4329 octave-update-function-file-comment.
4330 (octave-mode-menu): Add octave-update-function-file-comment.
4331 (octave-mode, inferior-octave-mode): Fix doc-string.
4332 (octave-insert-defun): Conform to Octave's coding convention.
4333 (Bug#14285)
4334
4335 * files.el (basic-save-buffer): Don't let errors in
4336 before-save-hook prevent saving buffer.
4337
c46da669
RW
43382013-04-20 Roland Winkler <winkler@gnu.org>
4339
4340 * faces.el (read-face-name): Use completing-read if arg multiple
4341 is nil.
4342
a81ee1eb
IL
43432013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
4344
4345 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
4346 displayed, move point to after the totals line.
4347 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
4348 for the details.
4349
4fac34ce
SM
43502013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * emacs-lisp/package.el (package-autoload-ensure-default-file):
4353 Add current dir to the load-path.
4354 (package-generate-autoloads): Don't rely on
4355 autoload-ensure-default-file.
4356
f6bfc063
RT
43572013-04-26 Reuben Thomas <rrt@sc3d.org>
4358
d40ab5cf
BG
4359 * textmodes/remember.el (remember-store-in-files): Document that
4360 the file name format is passed to `format-time-string'.
f6bfc063 4361
e55d3b04
LL
43622013-04-26 Leo Liu <sdl.web@gmail.com>
4363
4364 * progmodes/octave.el (octave-sync-function-file-names): New function.
4365 (octave-mode): Use it in before-save-hook.
4366
e53052d3
SM
43672013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4368
140ef50c
SM
4369 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
4370 (bug#14274).
4371
e53052d3
SM
4372 * progmodes/octave.el (octave-smie-forward-token): Properly skip
4373 \n and comment, even if it's not an implicit ; (bug#14218).
4374
af80458d 43752013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
4376
4377 * subr.el (read-number): Once more use `read' rather than
4378 `string-to-number', to trap non-numeric input. (Bug#14254)
4379
af80458d 43802013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
4381
4382 * emacs-lisp/syntax.el (syntax-propertize-multiline):
4383 Use `syntax-multiline' text property consistently instead of
8a621d53 4384 `font-lock-multiline'. (Bug#14237)
70203c2e 4385
e6ea1f6c
GM
43862013-04-26 Glenn Morris <rgm@gnu.org>
4387
4388 * emacs-lisp/shadow.el (list-load-path-shadows):
4389 No longer necessary to check for duplicate simple.el, since
4390 2012-07-07 change to init_lread to not include installation lisp
4391 directories in load-path when running uninstalled. (Bug#14270)
4392
070ccca4
LL
43932013-04-26 Leo Liu <sdl.web@gmail.com>
4394
4395 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
4396 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 4397 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
4398 octave-in-string-or-comment-p.
4399 (octave-in-comment-p, octave-in-string-p)
4400 (octave-in-string-or-comment-p): Replace defsubst with defun.
4401
9d1c5fb6
PE
44022013-04-25 Paul Eggert <eggert@cs.ucla.edu>
4403
4404 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
4405
c034abda
BG
44062013-04-25 Bastien Guerry <bzg@gnu.org>
4407
4408 * textmodes/remember.el (remember-data-directory)
4409 (remember-directory-file-name-format): Fix custom types.
4410
584ea277
LL
44112013-04-25 Leo Liu <sdl.web@gmail.com>
4412
e53052d3
SM
4413 * progmodes/octave.el (octave-completion-at-point-function):
4414 Make use of inferior octave process.
584ea277
LL
4415 (octave-initialize-completions): Remove.
4416 (inferior-octave-completion-table): New function.
4417 (inferior-octave-completion-at-point): Use it.
4418 (octave-completion-alist): Remove.
4419
1693b06a
SM
44202013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * progmodes/opascal.el: Use font-lock and syntax-propertize.
4423 (opascal-mode-syntax-table): New var.
4424 (opascal-literal-kind, opascal-is-literal-end)
4425 (opascal-literal-token-at): Rewrite.
4426 (opascal--literal-start-re, opascal-font-lock-keywords)
4427 (opascal--syntax-propertize): New constants.
4428 (opascal-font-lock-defaults): Adjust.
4429 (opascal-mode): Use them. Set comment-<foo> variables as well.
4430 (delphi-comment-face, opascal-comment-face, delphi-string-face)
4431 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
4432 (delphi-other-face, opascal-other-face): Remove face variables.
4433 (opascal-save-state): Remove macro.
4434 (opascal-fontifying-progress-step): Remove constant.
4435 (opascal--ignore-changes): Remove var.
4436 (opascal-set-token-property, opascal-parse-next-literal)
4437 (opascal-is-stable-literal, opascal-complete-literal)
4438 (opascal-is-literal-start, opascal-face-of)
4439 (opascal-parse-region, opascal-parse-region-until-stable)
4440 (opascal-fontify-region, opascal-after-change)
4441 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
4442 (opascal-debug-parse-region, opascal-debug-parse-window)
4443 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
4444 (opascal-debug-fontify-buffer): Remove.
4445 (opascal-debug-mode-map): Adjust accordingly.
4446
be64c05d
LL
44472013-04-25 Leo Liu <sdl.web@gmail.com>
4448
4449 Merge octave-mod.el and octave-inf.el into octave.el with some
4450 cleanups.
4451 * progmodes/octave.el: New file renamed from octave-mod.el.
4452 * progmodes/octave-inf.el: Merged into octave.el.
4453 * progmodes/octave-mod.el: Renamed to octave.el.
4454
d79d37bd
TH
44552013-04-25 Tassilo Horn <tsdh@gnu.org>
4456
4457 * textmodes/reftex-vars.el
4458 (reftex-label-ignored-macros-and-environments): New defcustom.
4459
4460 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
4461
ced3fc5d
SM
44622013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
4465 (smie-indent-keyword): Improve the check to ensure that the next
4466 comment is really on the same line.
4467 (smie-indent-comment): Don't align with a subsequent closer (or eob).
4468
4469 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
4470 semi-colons if the line is not otherwise empty (bug#14218).
4471
1c141dad
GM
44722013-04-25 Glenn Morris <rgm@gnu.org>
4473
4474 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
4475
5058062a
SM
44762013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4477
4478 * progmodes/opascal.el (opascal-set-token-property): Rename from
4479 opascal-set-text-properties and only set `token' (bug#14134).
4480 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
4481 (opascal-literal-text-properties): Remove.
4482 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
4483 Adjust callers.
4484
5db9dace 44852013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
4486
4487 * textmodes/remember.el (remember-handler-functions): Add an
4488 option for a new handler `remember-store-in-files'.
4489 (remember-data-directory, remember-directory-file-name-format):
4490 New options.
4491 (remember-store-in-files): New function to store remember notes
4492 as separate files within a directory.
4493
4391916c
MH
44942013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
4495
4496 * progmodes/compile.el (compilation-next-error-function):
4497 Pass "formats" to compilation-find-file (bug#11777).
4498
bb7cdf58
GM
44992013-04-24 Glenn Morris <rgm@gnu.org>
4500
3b8fe752 4501 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
4502 * vc/vc-hg.el (vc-hg-print-log):
4503 * vc/vc-svn.el (vc-svn-print-log):
4504 Fix START-REVISION with LIMIT != 1. (Bug#14168)
4505
bb7cdf58
GM
4506 * vc/vc-bzr.el (vc-bzr-print-log):
4507 * vc/vc-cvs.el (vc-cvs-print-log):
4508 * vc/vc-git.el (vc-git-print-log):
4509 * vc/vc-hg.el (vc-hg-print-log):
4510 * vc/vc-mtn.el (vc-mtn-print-log):
4511 * vc/vc-rcs.el (vc-rcs-print-log):
4512 * vc/vc-sccs.el (vc-sccs-print-log):
4513 * vc/vc-svn.el (vc-svn-print-log):
4514 * vc/vc.el (vc-print-log-internal): Doc fixes.
4515
b46a056e
GM
45162013-04-23 Glenn Morris <rgm@gnu.org>
4517
4518 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
4519 Remove venerable code attempting to avoid substitute-command-keys.
4520
0aecf718
TH
45212013-04-23 Tassilo Horn <tsdh@gnu.org>
4522
4391916c
MH
4523 * textmodes/reftex-vars.el (reftex-label-regexps):
4524 Call `reftex-compile-variables' after changes to this variable.
0aecf718 4525
117f94cf
SM
45262013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4391916c 4528 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
4529 Use lexical-binding.
4530 (jit-lock-force-redisplay): Use markers, check buffer's continued
4531 existence and beware narrowed buffers.
4532 (jit-lock-fontify-now): Adjust call accordingly.
4533
1d829c64
SM
45342013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
4537 to avoid misleading the user.
4538
72d548a9
LL
45392013-04-22 Leo Liu <sdl.web@gmail.com>
4540
4541 * info-look.el: Prefer latex2e.info. (Bug#14240)
4542
d0853629
MA
45432013-04-22 Michael Albinus <michael.albinus@gmx.de>
4544
4545 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
4546
4547 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 4548 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
4549 (tramp-set-completion-function, tramp-parse-putty):
4550 * net/tramp-adb.el (tramp-adb-execute-adb-command):
4551 * net/tramp-gvfs.el (tramp-gvfs-send-command):
4552 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4553 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
4554 (tramp-call-local-coding-command): Use `tramp-call-process'
4555 instead of `tramp-compat-call-process'.
4556
4557 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
4558 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
4559 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 4560 (tramp-find-inline-compress): Improve traces.
d0853629
MA
4561 (tramp-maybe-send-script): Check for Perl binary.
4562 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
4563
38cc0210
DU
45642013-04-22 Daiki Ueno <ueno@gnu.org>
4565
4566 * epg.el (epg-context-pinentry-mode): New function.
4567 (epg-context-set-pinentry-mode): New function.
4568 (epg--start): Pass --pinentry-mode option to gpg command.
4569
cc641ee1
XF
45702013-04-21 Xue Fuqiao <xfq.free@gmail.com>
4571
02d844b5 4572 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 4573 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 4574 `completion-at-point'. (Bug#13774)
5d4e5c31 4575
cc641ee1
XF
4576 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
4577 default key binding for `describe-distribution' has been moved to
4578 `C-h C-o'. (Bug#13970)
4579
1b42ee43
GM
45802013-04-21 Glenn Morris <rgm@gnu.org>
4581
4582 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
4583 Add doc strings.
4584 (vc-print-log): Clarify interactive prompt.
4585
a6d63d97
GM
45862013-04-20 Glenn Morris <rgm@gnu.org>
4587
4588 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4589 No longer include timestamp etc information.
4590
d7f5c16f
RW
45912013-04-20 Roland Winkler <winkler@gnu.org>
4592
4593 * faces.el (read-face-name): Bug fix, return just one face if arg
4594 multiple is nil. (Bug#14209)
4595
bcd7a0a4
SM
45962013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
4599 (remove-function): Autoload.
4600
4601 * comint.el (comint-redirect-original-filter-function): Remove.
4602 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
4603 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
4604 (vc-cvs-annotate-command):
bcd7a0a4
SM
4605 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
4606 * progmodes/prolog.el (prolog-consult-compile):
4607 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
4608 Use add/remove-function instead.
4609 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
4610 (gud-tooltip-process-output, gud-tooltip-tips):
4611 Use add/remove-function instead.
4612 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
4613 (scheme-interaction-mode, exit-scheme-interaction-mode):
4614 Use add/remove-function instead.
4615
4616 * vc/vc-dispatcher.el: Use lexical-binding.
4617 (vc--process-sentinel): Rename from vc-process-sentinel.
4618 Change last arg to be the code to run. Don't use vc-previous-sentinel
4619 and vc-sentinel-commands any more.
4620 (vc-exec-after): Allow code to be a function. Use add/remove-function.
4621 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
4622
4d3268ba
MY
46232013-04-19 Masatake YAMATO <yamato@redhat.com>
4624
bcd7a0a4 4625 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 4626 Handle function names with a single character. (Bug#14111)
4d3268ba 4627
781b4af6 46282013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
4629
4630 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
4631 for subroutines defined in an eval (bug#14182).
4632
7d688336
TV
46332013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4634
4635 * bookmark.el (bookmark-completing-read): Improve handling of empty
4636 string (bug#14176).
4637
31dcede0
SM
46382013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
4641
adc31213
FEG
46422013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
4643
4644 New faster Imenu implementation (bug#14058).
4645 * progmodes/python.el:
4646 (python-imenu-prev-index-position):
4647 (python-imenu-format-item-label-function)
4648 (python-imenu-format-parent-item-label-function)
4649 (python-imenu-format-parent-item-jump-label-function):
4650 New vars.
4651 (python-imenu-format-item-label)
4652 (python-imenu-format-parent-item-label)
4653 (python-imenu-format-parent-item-jump-label)
4654 (python-imenu--put-parent, python-imenu--build-tree)
4655 (python-imenu-create-index, python-imenu-create-flat-index)
4656 (python-util-popn): New functions.
4657 (python-mode): Set imenu-create-index-function to
4658 python-imenu-create-index.
4659
cdca8255
SM
46602013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * winner.el (winner-active-region): Use region-active-p, activate-mark
4663 and deactivate-mark (bug#14225).
4664
4665 * simple.el (deactivate-mark): Don't inline it.
4666
beb42340
MA
46672013-04-18 Michael Albinus <michael.albinus@gmx.de>
4668
4669 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4670
fc7f4d7e
TH
46712013-04-18 Tassilo Horn <tsdh@gnu.org>
4672
4673 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4674 file extensions from the archive-mode entry in order to prefer
4675 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4676
29f47822
LL
46772013-04-18 Leo Liu <sdl.web@gmail.com>
4678
4679 * bindings.el (help-event-list): Add ?\?.
4680
d36ed1c8
SM
46812013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4682
4683 * subr.el (with-wrapper-hook): Declare obsolete.
4684 * simple.el (filter-buffer-substring-function): New hook.
4685 (filter-buffer-substring): Use it.
4686 (filter-buffer-substring-functions): Mark obsolete.
4687 * minibuffer.el (completion-in-region-function): New hook.
4688 (completion-in-region): Use it.
4689 (completion-in-region-functions): Mark obsolete.
4690 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4691 * abbrev.el (abbrev-expand-function): New hook.
4692 (expand-abbrev): Use it.
4693 (abbrev-expand-functions): Mark obsolete.
4694 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
4695 and :filter-return.
4696
04754d36
FEG
46972013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4698
4699 * progmodes/python.el (python-nav--syntactically): Fix cornercases
4700 and do not care about match data.
4701
dd8791e9
SM
47022013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
4705 completion tables when completing error conditions and
4706 `declare' arguments.
4707 (lisp-complete-symbol, field-complete): Mark as obsolete.
4708 (check-parens): Unmatched parens are user errors.
4709 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
4710
ffe54a13
AM
47112013-04-17 Michal Nazarewicz <mina86@mina86.com>
4712
dd8791e9
SM
4713 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4714 command changed buffer (ie. `flyspell-pre-buffer' is not current
4715 buffer), which prevents making decisions based on invalid value of
4716 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
4717 cause an error when `flyspell-pre-point' was nil after switching
4718 buffers.
4719 (flyspell-post-command-hook): No longer needs to change buffers when
4720 checking pre-word. While at it remove unnecessary progn.
ffe54a13 4721
ec7e39f2
AM
47222013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4723
4724 * textmodes/ispell.el (ispell-add-per-file-word-list):
4725 Fix `flyspell-correct-word-before-point' error when accepting
4726 words and `coment-padding' is an integer by using
4727 `comment-normalize-vars' (Bug #14214).
4728
083850a6
FEG
47292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4730
4731 New defun movement commands.
4732 * progmodes/python.el (python-nav--syntactically)
4733 (python-nav--forward-defun, python-nav-backward-defun)
4734 (python-nav-forward-defun): New functions.
4735
619ed6e1
FEG
47362013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4737
4738 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
4739 (python-syntax-context): Use named compiler-macro for backwards
4740 compatibility with Emacs 24.x.
4741
7a1beb6c
LL
47422013-04-17 Leo Liu <sdl.web@gmail.com>
4743
4744 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
4745 octave-hide-process-buffer.
4746
2d3fa3e5
SM
47472013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
4750 (bug#14216).
4751
7ce5be54
JPG
47522013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
4753
4754 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
4755 Fix adjustment of offset when receiving incomplete responses from GDB
4756 (bug#14129).
4757
351edece
SM
47582013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
4761 python-mode-abbrev-table.
4762 (python-skeleton-define): Adjust accordingly.
4763 (python-mode-abbrev-table): New table that inherits from it so that
4764 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
4765
4766 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
4767 (abbrev-symbol): Use it.
4768 (abbrev--before-point): Use it since we already handle inheritance.
4769
613f9481
LL
47702013-04-16 Leo Liu <sdl.web@gmail.com>
4771
4772 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
4773 binding to info-lookup-symbol.
4774
51646b62
JB
47752013-04-16 Juanma Barranquero <lekktu@gmail.com>
4776
4777 * minibuffer.el (completion--twq-all):
4778 * term/ns-win.el (ns-initialize-window-system):
4779 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
4780
efb3f01d
SM
47812013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4782
36c0a301
SM
4783 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
4784 global bindings.
4785
efb3f01d
SM
4786 * doc-view.el (doc-view-start-process): Handle url-handler directories.
4787
fb549d64
DG
47882013-04-15 Dmitry Gutov <dgutov@yandex.ru>
4789
4790 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
4791 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
4792 to nil.
4793 (ruby-end-of-defun): Remove the unused arg, change the docstring
4794 to reflect that this function is only used as the value of
4795 `end-of-defun-function'.
4796 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
4797 to reflect an earlier change that beginning/end-of-defun functions
4798 jump between methods in a class definition, as well as top-level
4799 functions.
4800
21e8fe2f
SM
48012013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * minibuffer.el (minibuffer-complete): Don't just scroll
4804 a *Completions* that's been iconified.
4805 (minibuffer-force-complete): Make sure repetitions do cycle when going
4806 through completion-in-region -> minibuffer-complete.
4807
20e527d0
AM
48082013-04-15 Alan Mackenzie <acm@muc.de>
4809
4810 Correct the placement of c-cpp-delimiters when there're #s not at
4811 col 0.
4812
4813 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
4814 place a submatch around the #.
21e8fe2f
SM
4815 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
4816 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
4817 on the #, not BOL.
4818
dabefae5
SM
48192013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * emacs-lisp/nadvice.el: Properly test names when adding advice.
4822 (advice--member-p): New arg `name'.
4823 (advice--add-function, advice-member-p): Use it (bug#14202).
4824
85c9ab64
AM
48252013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
4826
4827 Reformulate java imenu-generic-expression.
4828 The old expression contained ill formed regexps.
4829
4830 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
4831 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
4832 (cc-imenu-java-method-arg-regexp): New defconsts.
4833 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 4834 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
4835 handling of spaces in the regexp.
4836
0f821d99
AM
48372013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4838
4839 * textmodes/ispell.el (ispell-command-loop): Remove
4840 flyspell highlight of a word when ispell accepts it (bug #14178).
4841
eb922adf
MA
48422013-04-15 Michael Albinus <michael.albinus@gmx.de>
4843
4844 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
4845 uses code from the previous `ange-ftp-run-real-handler'.
4846 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
4847 only in case that function exist. This is needed for proper
4848 unloading of Tramp.
4849
4d9a0979
TH
48502013-04-15 Tassilo Horn <tsdh@gnu.org>
4851
4852 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
4853
4854 * textmodes/reftex.el (reftex-compile-variables): Use it.
4855
a829b0dc
SM
48562013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4857
91e8293c
SM
4858 * files.el (normal-mode): Only use default major-mode if no other mode
4859 was specified.
4860
830aed4d
SM
4861 * emacs-lisp/trace.el (trace-values): New function.
4862
a829b0dc
SM
4863 * files.el: Allow : in local variables (bug#14089).
4864 (hack-local-variable-regexp): New var.
4865 (hack-local-variables-prop-line, hack-local-variables): Use it.
4866
7ae9f0fb
RW
48672013-04-13 Roland Winkler <winkler@gnu.org>
4868
4869 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
4870 data before it gets modified by bibtex-beginning-of-entry.
4871
6646e848
RW
48722013-04-13 Roland Winkler <winkler@gnu.org>
4873
4874 * textmodes/bibtex.el (bibtex-url): Doc fix.
4875
48762013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
4877
4878 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
4879 does not visit a BibTeX file, exclude it from the list of buffers
4880 returned by bibtex-initialize.
4881
0aa3616e
SB
48822013-04-13 Stephen Berman <stephen.berman@gmx.net>
4883
4884 * window.el (split-window): Remove interactive form, since as a
4885 command this function is a special case of split-window-below.
4886 Correct doc string.
4887
011cddd6
RW
48882013-04-12 Roland Winkler <winkler@gnu.org>
4889
4890 * faces.el (read-face-name): Do not override value of arg default.
4891 Allow single faces and strings as default values. Remove those
4892 elements from return value that are not faces.
4893 (describe-face): Simplify.
4894 (face-at-point): New optional args thing and multiple so that this
4895 function can provide the same functionality previously provided by
4896 read-face-name.
4897 (make-face-bold, make-face-unbold, make-face-italic)
4898 (make-face-unitalic, make-face-bold-italic, invert-face)
4899 (modify-face, read-face-and-attribute): Use face-at-point.
4900
4901 * cus-edit.el (customize-face, customize-face-other-window)
4902 * cus-theme.el (custom-theme-add-face)
4903 * face-remap.el (buffer-face-set)
4904 * facemenu.el (facemenu-set-face): Use face-at-point.
4905
f24e0036
MA
49062013-04-12 Michael Albinus <michael.albinus@gmx.de>
4907
4908 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
4909
da3cda2d
TH
49102013-04-10 Tassilo Horn <tsdh@gnu.org>
4911
4912 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
4913 off leading { and trailing } from field values.
4914
15e54145
SM
49152013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4916
78ce603d
SM
4917 * emacs-lisp/timer.el (timer--check): New function.
4918 (timer--time, timer-set-function, timer-event-handler): Use it.
4919 (timer-set-idle-time): Simplify.
4920 (timer--activate): CSE.
4921 (timer-event-handler): Give more info in error message.
4922 (internal-timer-start-idle): New function, moved from C.
4923
15e54145
SM
4924 * mpc.el (mpc-proc): Add `restart' argument.
4925 (mpc-proc-cmd): Use it.
4926 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
4927 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
4928 less often.
4929
7144c627
MY
49302013-04-10 Masatake YAMATO <yamato@redhat.com>
4931
4932 * progmodes/sh-script.el: Implement `sh-mode' own
4933 `add-log-current-defun-function' (bug#14112).
4934 (sh-current-defun-name): New function.
4935 (sh-mode): Use the function.
4936
b39792eb
BG
49372013-04-09 Bastien Guerry <bzg@gnu.org>
4938
4939 * simple.el (choose-completion-string): Fix docstring (bug#14163).
4940
8acdeb71
SM
49412013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4942
6fcdab68
SM
4943 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
4944
8acdeb71
SM
4945 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
4946 timer (bug#14156).
4947
e3e7b504
NF
49482013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
4949
4950 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
4951 declaration.
4952
201bb296
LL
49532013-04-07 Leo Liu <sdl.web@gmail.com>
4954
4955 * pcmpl-x.el: New file.
4956
ebb19708
DA
49572013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
4958
4959 Do not set x-display-name until X connection is established.
4960 This is needed to prevent from weird situation described at
4961 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
4962 * frame.el (make-frame): Set x-display-name after call to
4963 window system initialization function, not before.
4964 * term/x-win.el (x-initialize-window-system): Add optional
4965 display argument and use it.
4966 * term/w32-win.el (w32-initialize-window-system):
4967 * term/ns-win.el (ns-initialize-window-system):
4968 * term/pc-win.el (msdos-initialize-window-system):
4969 Add compatible optional display argument.
4970
33bb237a
EZ
49712013-04-06 Eli Zaretskii <eliz@gnu.org>
4972
4973 * files.el (normal-backup-enable-predicate): On MS-Windows and
4974 MS-DOS compare truenames of temporary-file-directory and of the
4975 file, so that 8+3 aliases (usually found in $TEMP on Windows)
4976 don't fail comparison by compare-strings. Also, compare file
4977 names case-insensitively on MS-Windows and MS-DOS.
4978
134abf1f
SM
49792013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
4982 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
4983
d695cb94
DG
49842013-04-05 Dmitry Gutov <dgutov@yandex.ru>
4985
e3e7b504
NF
4986 * whitespace.el (whitespace-color-on, whitespace-color-off):
4987 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 4988
f4ad7ea1 49892013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
4990
4991 * ispell.el (ispell-set-spellchecker-params):
4992 Really set `ispell-args' for all equivs.
4993
632556e4
SM
49942013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * ido.el (ido-completions): Use extra elements of ido-decorations
4997 (bug#14143).
4998 (ido-decorations): Update docstring.
4999
2a417372
MA
50002013-04-05 Michael Albinus <michael.albinus@gmx.de>
5001
5002 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5003 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5004 nil during initialization, in order not to miss changes since the
5005 file was opened. (Bug#14140)
5006
fc164b0c
LL
50072013-04-05 Leo Liu <sdl.web@gmail.com>
5008
5009 * kmacro.el (kmacro-call-macro): Fix bug#14135.
5010
0ccecc08
JB
50112013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
5012
5013 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5014
51af1aa2
GM
50152013-04-04 Glenn Morris <rgm@gnu.org>
5016
5017 * electric.el (electric-pair-inhibit-predicate): Add :version.
5018
b208ebc6
SM
50192013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5022 when a package is required several times (bug#14082).
5023
f3d3eaf0
RW
50242013-04-04 Roland Winkler <winkler@gnu.org>
5025
5026 * faces.el (read-face-name): Behave as promised by the docstring.
5027 Assume that arg default is a list of faces.
5028 (describe-face): Call read-face-name with list of default faces.
5029
2575da50
TV
50302013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5031
5032 * bookmark.el: Fix deletion of bookmarks (bug#13972).
5033 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5034 (bookmark-bmenu-execute-deletions): Only skip first line if it's
5035 the header.
5036 (bookmark-exit-hook-internal): Save even if list is empty.
5037
397703b4
YH
50382013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
5039
5040 * emacs-lisp/package.el (package-pinned-packages): New var.
5041 (package--add-to-archive-contents): Obey it (bug#14118).
5042
691e26ae
AM
50432013-04-03 Alan Mackenzie <acm@muc.de>
5044
8a621d53
JB
5045 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5046 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
5047
5048 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5049 parameter `not-in-delimiter'. Handle being inside comment opener.
5050 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5051 character in case we're typing a '*' after a '/'.
5052 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5053 instead by passing the parameter to c-state-pp-to-literal.
5054
5055 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5056 for elt. 7 of a parse state.
5057
4b725a70
PE
50582013-04-01 Paul Eggert <eggert@cs.ucla.edu>
5059
5060 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5061 * international/latin1-disp.el, international/mule-util.el:
5062 * language/cyril-util.el, language/european.el, language/ind-util.el:
5063 * language/lao-util.el, language/thai.el, language/tibet-util.el:
5064 * language/tibetan.el, language/viet-util.el:
5065 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5066
15c579f0
SM
50672013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5070 (electric-pair-post-self-insert-function): Use it.
5071 (electric-pair-default-inhibit): New function, extracted from
5072 electric-pair-post-self-insert-function.
5073
a77e2924
RW
50742013-03-31 Roland Winkler <winkler@gnu.org>
5075
5076 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5077
2bd8a4a8
SM
50782013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5081
8d3655be 50822013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
5083
5084 Un-indent after "pass" and "return" statements (Bug#13888)
5085 * progmodes/python.el (python-indent-block-enders): New var.
5086 (python-indent-calculate-indentation): Use it.
5087
8d3655be 50882013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
5089
5090 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5091 defun. Defining it as defalias could introduce too eager
5092 byte-compiler optimization. (Bug#14030)
5093
8d3655be 50942013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
5095
5096 * iswitchb.el (iswitchb-read-buffer): Fix typo.
5097
0b1619da
LL
50982013-03-30 Leo Liu <sdl.web@gmail.com>
5099
5100 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5101 (kmacro-execute-from-register): Pass the keyboard macro to
5102 kmacro-call-macro or repeating won't work correctly.
5103
0b938190
TZ
51042013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
5105
5106 * progmodes/subword.el: Back to using `forward-symbol'.
5107
5108 * subr.el (forward-whitespace, forward-symbol)
5109 (forward-same-syntax): Move from thingatpt.el.
5110
35710234
LL
51112013-03-29 Leo Liu <sdl.web@gmail.com>
5112
5113 * kmacro.el (kmacro-to-register): New command.
5114 (kmacro-execute-from-register): New function.
5115 (kmacro-keymap): Bind to 'x'. (Bug#14071)
5116
efc0bb73
SM
51172013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * mpc.el: Use defvar-local and setq-local.
5120 (mpc--proc-connect): Connection failures are not bugs.
5121 (mpc-mode-map): `follow-link' only applies to the buffer's content.
5122 (mpc-volume-map): Bind to the up-events.
5123
75a2f981
TZ
51242013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5125
5126 * progmodes/subword.el (superword-mode): Use `forward-sexp'
5127 instead of `forward-symbol'.
5128
17c781d1
SM
51292013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5132 (edebug--recursive-edit): Use it.
5133 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5134 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5135
f67bfbcf
LL
51362013-03-28 Leo Liu <sdl.web@gmail.com>
5137
5138 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
5139
b59f639d
EZ
51402013-03-27 Eli Zaretskii <eliz@gnu.org>
5141
5142 * facemenu.el (list-colors-callback): New defvar.
5143 (list-colors-redisplay): New function.
5144 (list-colors-display): Install list-colors-redisplay as the
5145 revert-buffer-function. (Bug#14063)
5146
f557c1b1
SM
51472013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5148
b1da2957
SM
5149 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5150 and suffixes don't overlap (bug#14061).
5151
f557c1b1
SM
5152 * case-table.el: Use lexical-binding.
5153 (case-table-get-table): New function.
5154 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
5155
002668e1
TZ
51562013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5157
5158 * progmodes/subword.el: Add `superword-mode' to do word motion
5159 over symbol_words (parallels and leverages `subword-mode' which
5160 does word motion inside MixedCaseWords).
5161
73572c72
AG
51622013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
5163
78b8f320 5164 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 5165 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 5166
69b2c07e
SM
51672013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5168
5169 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5170 Change return value to be a sexp. Delay `get-buffer' to after
5171 restoring the desktop (bug#13951).
5172
08bb5ee2
LL
51732013-03-26 Leo Liu <sdl.web@gmail.com>
5174
5175 * register.el: Move semantic tag handling back to
5176 cedet/semantic/senator.el. (Bug#14052)
5177
8d4c974e
SM
51782013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5181 into the prompt either (bug#13963).
5182
b234d92c
SM
51832013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5186 part of "(error-foo)".
5187
ddfa3cb4
JL
51882013-03-24 Juri Linkov <juri@jurta.org>
5189
5190 * replace.el (list-matching-lines-prefix-face): New defcustom.
5191 (occur-1): Pass `list-matching-lines-prefix-face' to the function
5192 `occur-engine' if `face-differs-from-default-p' returns t.
5193 (occur-engine): Add `,' inside backquote construct to evaluate
5194 `prefix-face'. Propertize the prefix with the `prefix-face' face.
5195 Pass `prefix-face' to the functions `occur-context-lines' and
5196 `occur-engine-add-prefix'.
5197 (occur-engine-add-prefix, occur-context-lines): Add optional arg
5198 `prefix-face' and propertize the prefix with `prefix-face'.
5199 (Bug#14017)
5200
7b0e2f85
LL
52012013-03-24 Leo Liu <sdl.web@gmail.com>
5202
5203 * nxml/rng-valid.el (rng-validate-while-idle)
5204 (rng-validate-quick-while-idle): Guard against deleted buffer.
5205 (Bug#13999)
5206
5207 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5208 is the last entry in kill-buffer-hook.
5209
5210 * files.el (kill-buffer-hook): Doc fix.
5211
b3082f49
DG
52122013-03-23 Dmitry Gutov <dgutov@yandex.ru>
5213
b234d92c
SM
5214 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5215 Make it safe-local.
bde73d27 5216
b3082f49
DG
5217 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5218
a320a2db
LL
52192013-03-23 Leo Liu <sdl.web@gmail.com>
5220
7e74b0fb
LL
5221 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5222 Remove.
5223
5224 * nxml/rng-valid.el (rng-validate-mode)
5225 (rng-after-change-function, rng-do-some-validation):
5226 * nxml/rng-maint.el (rng-validate-buffer):
5227 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5228 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5229 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5230 (nxml-extend-after-change-region): Use with-silent-modifications.
5231
a320a2db
LL
5232 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5233 timer-idle-list.
5234
5235 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5236 (rng-next-error-1, rng-previous-error-1): Do not let-bind
5237 timer-idle-list. (Bug#13999)
5238
e38e6780
JL
52392013-03-23 Juri Linkov <juri@jurta.org>
5240
5241 * info.el (info-index-match): New face.
5242 (Info-index, Info-apropos-matches): Add a nested subgroup to the
5243 main pattern and add text properties with the new face to matches
5244 in index entries relative to the beginning of the index entry.
5245 (Bug#14015)
5246
e8cc7880
DE
52472013-03-21 Eric Ludlam <zappo@gnu.org>
5248
5249 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5250 Inhibit read only while inserting objects.
5251
9bb0d822
TZ
52522013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
5253
5254 * progmodes/cfengine.el: Update docs to mention
5255 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
5256 symbol motion. Remove "_" from the word syntax.
5257
aa703640
TZ
52582013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
5259
5260 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5261 syntax for both `cfengine2-mode' and `cfengine3-mode'.
5262
afff09d0
JL
52632013-03-20 Juri Linkov <juri@jurta.org>
5264
5265 * info.el (Info-next-reference-or-link)
5266 (Info-prev-reference-or-link): New functions.
5267 (Info-next-reference, Info-prev-reference): Use them.
5268 (Info-try-follow-nearest-node): Handle footnote navigation.
5269 (Info-fontify-node): Fontify footnotes. (Bug#13989)
5270
9a1ff164
SM
52712013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5274 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5275
2667d15d
PE
52762013-03-20 Paul Eggert <eggert@cs.ucla.edu>
5277
5278 Suppress unnecessary non-ASCII chatter during build process.
5279 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5280 (batch-skkdic-convert): Suppress most of the chatter.
5281 It's not needed so much now that machines are faster,
5282 and its non-ASCII component was confusing; see Dmitry Gutov in
5283 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5284
438b0579
LL
52852013-03-20 Leo Liu <sdl.web@gmail.com>
5286
5287 * ido.el (ido-chop): Fix bug#10994.
5288
c128ab07
DG
52892013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5290
5291 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5292 Remove vars.
9a1ff164
SM
5293 (whitespace-color-on, whitespace-color-off):
5294 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 5295
0e6008c5
SM
52962013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5299 remapping in mode-line.
5300 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5301
627b52b0
DG
53022013-03-19 Dmitry Gutov <dgutov@yandex.ru>
5303
5304 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
5305 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
5306 (whitespace-font-lock-keywords): Change description.
5307 (whitespace-color-on): Don't save `font-lock-keywords' value, save
5308 the constructed keywords instead.
5309 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 5310
50c3a20b
LL
53112013-03-19 Leo Liu <sdl.web@gmail.com>
5312
5313 * progmodes/compile.el (compilation-display-error): New command.
5314 (compilation-mode-map, compilation-minor-mode-map): Bind it to
5315 C-o. (Bug#13992)
5316
2aa2157b
PE
53172013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5318
5319 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
5320
e477dbfa
JD
53212013-03-18 Jan Djärv <jan.h.d@swipnet.se>
5322
5323 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
5324
64ab82d1
MA
53252013-03-18 Michael Albinus <michael.albinus@gmx.de>
5326
5327 * net/tramp-compat.el (tramp-compat-user-error): New defun.
5328
5329 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5330 * net/tramp-gvfs.el (top):
5331 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
5332 (tramp-handle-shell-command): Use it.
5333 (tramp-dissect-file-name): Raise an error when hostname is a
5334 method name, and neither method nor user is specified.
5335
5336 * net/trampver.el: Update release number.
5337
33cef733
LL
53382013-03-18 Leo Liu <sdl.web@gmail.com>
5339
5340 Make sure eldoc can be turned off properly.
5341 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
5342 eldoc-mode.
5343 (eldoc-display-message-p): Revert last change.
5344 (eldoc-display-message-no-interference-p)
5345 (eldoc-print-current-symbol-info): Tweak.
5346
2167b7b2
TH
53472013-03-18 Tassilo Horn <tsdh@gnu.org>
5348
5349 * doc-view.el (doc-view-new-window-function): Check the new window
5350 overlay's display property instead the char property of the
5351 buffer's first char. Use `with-selected-window' instead of
5352 `save-window-excursion' with `select-window'.
5353 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 5354 display property instead the char property of the buffer's first char.
2167b7b2 5355
982efbcd
PE
53562013-03-18 Paul Eggert <eggert@cs.ucla.edu>
5357
5358 Automate the build of ja-dic.el (Bug#13984).
5359 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
5360 from the input, rather than assume that it's been done for us by the
5361 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
5362 the current date into a ja-dic.el comment, as that complicates
5363 regression testing.
5364
2fcc7665
SM
53652013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * whitespace.el: Fix double evaluation.
5368 (whitespace-space, whitespace-hspace, whitespace-tab)
5369 (whitespace-newline, whitespace-trailing, whitespace-line)
5370 (whitespace-space-before-tab, whitespace-indentation)
5371 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
5372 obsolete defvars.
5373 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
5374 (whitespace-color-on): Use a single font-lock-add-keywords call.
5375 Fix double-evaluation of face variables.
5376
67c0a6e6
MA
53772013-03-17 Michael Albinus <michael.albinus@gmx.de>
5378
2fcc7665
SM
5379 * net/tramp-adb.el (tramp-adb-parse-device-names):
5380 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 5381 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 5382
69489f1d
LL
53832013-03-17 Leo Liu <sdl.web@gmail.com>
5384
5385 Extend eldoc to display info in the mode-line. (Bug#13978)
5386 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
5387 (eldoc-mode-line-string): New variable.
5388 (eldoc-minibuffer-message): New function.
5389 (eldoc-message-function): New variable.
5390 (eldoc-message): Use it.
5391 (eldoc-display-message-p)
2fcc7665
SM
5392 (eldoc-display-message-no-interference-p):
5393 Support eldoc-post-insert-mode.
69489f1d
LL
5394
5395 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
5396 (eval-expression): Run it.
5397
9c44569e
RW
53982013-03-17 Roland Winkler <winkler@gnu.org>
5399
5400 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
5401 strings in the list of return values.
5402
327f1f6f
JB
54032013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5404
5405 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
5406 radix before checking for HMS forms.
5407
67ed8fcd
LL
54082013-03-16 Leo Liu <sdl.web@gmail.com>
5409
5410 * progmodes/scheme.el: Add indentation and font-locking for λ.
5411 (Bug#13975)
5412
78be8b64 54132013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
5414
5415 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
5416 token before point (bug#13942).
5417
78be8b64 54182013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 5419
95b43468 5420 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 5421
98e775e6
EZ
54222013-03-16 Eli Zaretskii <eliz@gnu.org>
5423
5424 * startup.el (command-line-normalize-file-name): Fix handling of
5425 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
5426 <xfq.free@gmail.com> in
5427 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
5428
2edd6029
MA
54292013-03-15 Michael Albinus <michael.albinus@gmx.de>
5430
5431 Sync with Tramp 2.2.7.
5432
5433 * net/trampver.el: Update release number.
5434
d35f5864
TH
54352013-03-14 Tassilo Horn <tsdh@gnu.org>
5436
f35ffe5e
TH
5437 * doc-view.el Fix bug#13887.
5438 (doc-view-insert-image): Don't modify overlay associated to
5439 non-live windows, and implement horizontal centering of image in
5440 case it's smaller than the window.
5441 (doc-view-new-window-function): Force redisplay of new windows on
5442 doc-view buffers.
d35f5864 5443
1c4a85ed
KF
54442013-03-13 Karl Fogel <kfogel@red-bean.com>
5445
5446 * saveplace.el (save-place-alist-to-file): Don't sort
5447 `save-place-alist', just pretty-print it (bug#13882).
5448
85b66a21
MA
54492013-03-13 Michael Albinus <michael.albinus@gmx.de>
5450
a020afb9
JB
5451 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5452 Check whether `default-file-name-coding-system' is bound.
5453 It isn't in XEmacs.
85b66a21 5454
175600da
SM
54552013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
5456
e7f7cb1a
SM
5457 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
5458 backquotes for `obsolete' (bug#13929).
5459
175600da
SM
5460 * international/mule.el (find-auto-coding): Include file name in
5461 obsolescence warning (bug#13922).
5462
ca68a22e
TZ
54632013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
5464
5465 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
5466 for CFEngine 3-specific indentation.
5467 (cfengine3-indent-line): Use it. Fix up category regex.
5468 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
5469
940e5099
SM
54702013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5471
5472 * type-break.el (type-break-file-name):
5473 * textmodes/remember.el (remember-data-file):
5474 * strokes.el (strokes-file):
5475 * shadowfile.el (shadow-initialize):
5476 * saveplace.el (save-place-file):
5477 * ps-bdf.el (bdf-cache-file):
5478 * progmodes/idlwave.el (idlwave-config-directory):
5479 * net/quickurl.el (quickurl-url-file):
5480 * international/kkc.el (kkc-init-file-name):
5481 * ido.el (ido-save-directory-list-file):
5482 * emulation/viper.el (viper-custom-file-name):
5483 * emulation/vip.el (vip-startup-file):
5484 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5485 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
5486
cc725808
PE
54872013-03-12 Paul Eggert <eggert@cs.ucla.edu>
5488
5489 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
5490 * language/thai-word.el: Switch to UTF-8.
5491
a020afb9 5492See ChangeLog.16 for earlier changes.
e3d51b27
MR
5493
5494;; Local Variables:
5495;; coding: utf-8
e3d51b27
MR
5496;; End:
5497
ab422c4d 5498 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
5499
5500 This file is part of GNU Emacs.
5501
5502 GNU Emacs is free software: you can redistribute it and/or modify
5503 it under the terms of the GNU General Public License as published by
5504 the Free Software Foundation, either version 3 of the License, or
5505 (at your option) any later version.
5506
5507 GNU Emacs is distributed in the hope that it will be useful,
5508 but WITHOUT ANY WARRANTY; without even the implied warranty of
5509 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5510 GNU General Public License for more details.
5511
5512 You should have received a copy of the GNU General Public License
5513 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.