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