lisp/simple.el (choose-completion): Fix docstring typo.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bed5126f
JB
12014-02-21 Juanma Barranquero <lekktu@gmail.com>
2
3 * simple.el (choose-completion): Fix docstring typo.
4 (read-quoted-char-radix): Remove unneeded * in docstring.
5 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
6 Don't escape parentheses unnecessarily in docstrings.
7
8dd3e94f
MR
82014-02-21 Martin Rudalics <rudalics@gmx.at>
9
10 Fix handling of window-min-height/-width (Bug#16738).
11 * window.el (window--dump-window, window--dump-frame): New
12 functions.
13 (window--min-size-1): Account for window dividers. When
14 window-resize-pixelwise is nil, delay rounding till after the
15 sum of the window components has been calculated.
16 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
17 nil make sure at least one text line and two text columns remain
18 fully visible.
19 (window-resize): Signal an error when window-resize-apply fails.
20 (window--resize-child-windows): Fix calculation of by how many
21 pixels a window can still be shrunk via window-new-normal.
22 (adjust-window-trailing-edge): Call window--resizable with
23 correct TRAIL argument.
24
2ed94e04
MR
25 (with-temp-buffer-window): Don't evaluate BODY within
26 with-current-buffer (Bug#16816).
27
0e5324c4
MA
282014-02-21 Michael Albinus <michael.albinus@gmx.de>
29
30 * net/tramp.el (tramp-check-cached-permissions):
31 Call `file-attributes' with `suffix' being a symbol but a string.
32
48198420
DC
332014-02-21 Daniel Colascione <dancol@dancol.org>
34
35 * net/dbus.el (dbus-init-bus-1): Declare new subr.
36 (dbus-init-bus): New function: call into dbus-init-bus-1
37 and installs a handler for the disconnect signal.
38 (dbus-call-method): Rewrite to look for result in cons.
39 (dbus-call-method-handler): Store result in cons.
40 (dbus-check-event): Recognize events with nil sender as valid.
41 (dbus-handle-bus-disconnect): New function. React to bus
42 disconnection signal by synthesizing dbus error for each
43 pending synchronous or asynchronous call.
44 (dbus-notice-synchronous-call-errors): New function.
45 (dbus-handle-event): Raise errors directly only when `dbus-debug'
46 is true, not all the time.
47
99e15133
JB
482014-02-21 Juanma Barranquero <lekktu@gmail.com>
49
e48983a6
JB
50 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
51 Remove obsolescence declarations, these variables do not exist anymore.
52
fdcfd745
JB
53 * savehist.el (savehist-save-minibuffer-history)
54 (savehist-additional-variables, savehist-file, savehist-mode-hook)
55 (savehist-save-hook, savehist-coding-system, savehist-loaded)
56 (savehist-load, savehist-install, savehist-autosave): Fix typos;
57 mostly, refer to "Savehist mode" when talking about the mode,
58 and not the function.
59
99e15133
JB
60 * saveplace.el (save-place): Remove redundant info in docstring.
61 (save-place-forget-unreadable-files, toggle-save-place)
62 (save-place-forget-unreadable-files, save-place-dired-hook):
63 Fix typos and remove unneeded backslashes.
64
f5bee33b
MA
652014-02-20 Michael Albinus <michael.albinus@gmx.de>
66
67 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
68 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
69
70 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 71 <insert-directory>: Use `tramp-handle-insert-directory.
f5bee33b
MA
72 (tramp-gvfs-handle-insert-directory): Remove function.
73
74 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
75 Call `tramp-handle-insert-directory'.
76
ee0761ca
JB
772014-02-20 Juanma Barranquero <lekktu@gmail.com>
78
79 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
80 before the start of buffer/region (bug#16799).
81
4d49cc65
GM
822014-02-20 Glenn Morris <rgm@gnu.org>
83
84 * isearch.el (search-invisible): Doc fix.
85
eee0d650
TK
862014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
87
88 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
89 (bug#16657).
90
94e5e202
JB
912014-02-19 Juanma Barranquero <lekktu@gmail.com>
92
93 * frameset.el (frameset-restore): Delay removing an old frame's
94 duplicate id until the new frame has been correctly created.
95
50bfdd5d
MA
962014-02-19 Michael Albinus <michael.albinus@gmx.de>
97
98 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
99 (tramp-check-cached-permissions): Call `file-attributes' if the
100 cache is empty.
101
102 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 103 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
104
105 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 106 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
107 (tramp-gvfs-maybe-open-connection): Set always connection
108 properties, even if target is mounted already.
109
110 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
111 Set tramp-autoload cookie.
112 (tramp-get-remote-touch): New defun.
113 (tramp-sh-handle-set-file-times): Use it.
114 (tramp-sh-handle-directory-files-and-attributes):
115 Use `tramp-handle-directory-files-and-attributes' if neither stat
116 nor perl are available on the remote host.
117
118 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
119 "/". Write long listing only when "l" belongs to the switches.
120
121 * net/trampver.el: Update release number.
122
f097a3d2
JB
1232014-02-19 Juanma Barranquero <lekktu@gmail.com>
124
125 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
126
8e009b78
MR
1272014-02-19 Martin Rudalics <rudalics@gmx.at>
128
129 * window.el (window-state-put): Allow WINDOW to refer to an
130 internal window (Bug#16793).
131
95160c90
GM
1322014-02-19 Glenn Morris <rgm@gnu.org>
133
134 * textmodes/remember.el: Move provide statement to end.
135 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
136 (remember-notes): Doc fixes.
137
b28df58c
SM
1382014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * delsel.el (delete-char): Restore incorrectly erased property
141 (bug#16795).
142
7108e1c0
JB
1432014-02-18 Juanma Barranquero <lekktu@gmail.com>
144
145 * frameset.el (frameset--restore-frame): When a frame is being reused
146 and its root window is not alive, delete all the frame's windows before
147 restoring the window state. This works around the issue in bug#16793.
148
c863b6ad
GM
1492014-02-18 Glenn Morris <rgm@gnu.org>
150
a73fae1f
GM
151 * textmodes/remember.el (remember-data-directory)
152 (remember-directory-file-name-format, remember-store-in-files)
153 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
154 (remember-notes-save-and-bury-buffer)
155 (remember-notes--kill-buffer-query): Doc fixes.
156
c863b6ad
GM
157 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
158
29238d28
AM
1592014-02-17 Alan Mackenzie <acm@muc.de>
160
161 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 162 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 163 to electric-indent-{,local-}-mode.
b28df58c
SM
164 (c-basic-common-init): Set electric-indent-inhibit.
165 Initialise c-electric-flag from electric-indent-mode.
29238d28 166 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 167 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
168
169 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 170 hit, toggle electric-indent-local-mode.
29238d28 171
b28df58c
SM
172 * electric.el (electric-indent-mode-has-been-called):
173 New variable.
29238d28 174
c6463340
JB
1752014-02-17 Juanma Barranquero <lekktu@gmail.com>
176
177 * frameset.el (frameset-cfg-id): New function.
178 (frameset--reuse-frame, frameset-restore): Use it.
179 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
180
94912b88
SM
1812014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * ido.el (ido-file-internal): Remove unused var `d'.
184 Use \` for to match BoS. Fit within 80n columns.
185
26ea164c
DC
1862014-02-17 Daniel Colascione <dancol@dancol.org>
187
188 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
189 dbus-call-method check for completion using a busy-wait loop with
190 gradual backoff.
191
dd7691b7
MA
1922013-10-02 Michael Albinus <michael.albinus@gmx.de>
193
194 Sync with Tramp 2.2.9.
195
196 * net/trampver.el: Update release number.
197
17d1b51b
DG
1982014-02-16 Dmitry Gutov <dgutov@yandex.ru>
199
200 * ido.el (ido-file-internal): Don't add the name of an existing
201 directory twice. (Bug#16747)
202
5bcad689
GM
2032014-02-16 Glenn Morris <rgm@gnu.org>
204
205 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
206 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
207
2082014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
209
210 * progmodes/sql.el: Version 3.4
211 (sql-oracle-options): New default value ("-L").
94912b88 212 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7
MM
213 (sql-placeholders-filter): Correct placeholder pattern.
214 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
215 (sql-login-delay): New variable.
216 (sql-product-interactive): Use it.
217
285f1858
JB
2182014-02-15 Juanma Barranquero <lekktu@gmail.com>
219
220 * frameset.el (frameset--jump-to-register): Check that buffer is live
221 (bug#16749).
222
5d645ea4
GM
2232014-02-15 Glenn Morris <rgm@gnu.org>
224
225 * info.el (info-initialize): Revert 2014-01-10 change.
226
48c4f9b1
GM
2272014-02-14 Glenn Morris <rgm@gnu.org>
228
b8630261
GM
229 * replace.el (map-query-replace-regexp)
230 (read-regexp-defaults-function, read-regexp): Doc fixes.
231
b2bf2a25
GM
232 * dired.el (dired-read-regexp):
233 * faces.el (list-faces-display):
234 * misearch.el (multi-isearch-read-matching-buffers)
235 (multi-isearch-read-matching-files):
236 * play/cookie1.el (cookie-apropos):
237 * progmodes/grep.el (grep-read-regexp): Doc fixes.
238
48c4f9b1
GM
239 * textmodes/remember.el (remember): Use frameset-to-register
240 rather than frame-configuration-to-register.
241
2804e0bd
JB
2422014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
243
244 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
245 incorrect keybinding.
246
0b87142f
DC
2472014-02-13 Daniel Colascione <dancol@dancol.org>
248
249 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
250 when adding overlays so that line numbers from compiler match line
251 numbers we use.
252
47a73eb0
GM
2532014-02-13 Glenn Morris <rgm@gnu.org>
254
8abcfd51
GM
255 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
256
47a73eb0
GM
257 * jit-lock.el (jit-lock-mode): Doc fix.
258
c9b6b262
JB
2592014-02-13 Juanma Barranquero <lekktu@gmail.com>
260
261 * apropos.el (apropos-read-pattern): When the user passes an empty
262 string, give a more helpful error message than "Wrong type
263 argument: stringp, nil".
264
eb4c6947
SM
2652014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
268
0dab5068
GM
2692014-02-13 Glenn Morris <rgm@gnu.org>
270
271 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
272
59075dcf
SM
2732014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
276 shift-select commands.
277
5af9fbad
DG
2782014-02-12 Dmitry Gutov <dgutov@yandex.ru>
279
280 * progmodes/js.el (js-indent-line): Don't widen.
281 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
282
a215930c
GM
2832014-02-12 Glenn Morris <rgm@gnu.org>
284
a8cb4247
GM
285 * icomplete.el (icomplete): Add info-link to defgroup.
286 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
287 (icomplete-minibuffer-map, icomplete-mode)
288 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
289
a215930c
GM
290 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
291 (package-menu-filter): Rename from package-menu-filter-interactive.
292 Doc fix.
293
26c5ecd9
JB
2942014-02-11 Juanma Barranquero <lekktu@gmail.com>
295
296 * frameset.el (frameset--jump-to-register): Select the required
297 window and buffer before restoring position (bug#16696).
298
fcd58a02
LI
2992014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
300
301 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
302
bacb3380
GM
3032014-02-10 Glenn Morris <rgm@gnu.org>
304
305 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
306
881329dc
EZ
3072014-02-10 Eli Zaretskii <eliz@gnu.org>
308
02328db9
EZ
309 * w32-common-fns.el (x-get-selection): Doc fix.
310 * select.el (x-get-selection): Doc fix. (Bug#15109)
311
881329dc
EZ
312 * face-remap.el (face-remap-add-relative)
313 (face-remap-remove-relative, face-remap-reset-base)
314 (face-remap-set-base): Call force-mode-line-update to redisplay
315 the current buffer due to potential change in faces. (Bug#16709)
316
c7db4c06
MA
3172014-02-10 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
320 script more robustly.
321
6abe4589
LI
3222014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
323
7602b5c3
LI
324 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
325
e3692ee0
LI
326 * simple.el (choose-completion): Doc fix (bug#14160).
327
41015524
LI
328 * subr.el (event-start): Say what a nil EVENT value means.
329
87c79dcb
LI
330 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
331 (bug#14197).
332
3ab49e2c
LI
333 * progmodes/grep.el (find-program): Doc fix (bug#14289).
334
f3c60241
LI
335 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
336
3bd1d8a8
LI
337 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
338
6abe4589
LI
339 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
340 predicate function (bug#15455).
341
a11463de
DG
3422014-02-10 Dmitry Gutov <dgutov@yandex.ru>
343
344 * ielm.el (inferior-emacs-lisp-mode): Instead of
345 `comment-use-global-state', set `comment-use-syntax'.
346
2ab0ad85
GM
3472014-02-10 Glenn Morris <rgm@gnu.org>
348
349 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
350
411141fb
AM
3512014-02-09 Alan Mackenzie <acm@muc.de>
352
353 Fix c-invalidate-state-cache on narrowed buffers.
354 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
355 Widen when setting and clearing the CPP delimiter properties.
356
d6d5fdf8
LI
3572014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
358
92c70367
LI
359 * help.el (describe-bindings): Doc fix (bug#9888).
360
468ef484
LI
361 * files.el (save-buffer): Use ARG as the parameter name for
362 consistency (bug#10346).
7e34193f 363 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 364
fc2b1ffa 365 * cus-edit.el (customize-apropos): Fix error string.
382fd368 366 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 367 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 368
790aceec
LI
369 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
370
a54a7552 371 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 372 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 373
dd163123
LI
374 * font-lock.el (font-lock-value-in-major-mode): Clarify the
375 meaning of the parameter (bug#12282).
376
9e108fe6
LI
377 * files.el (find-file-noselect): Clarify prompt when changing
378 readedness (bug#13261).
5a836f58
LI
379 (locate-file): Suffixes aren't returned, so don't say that they
380 are (bug#12674).
2356b316 381 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 382
20dda930
LI
383 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
384 before we actually start to delete things (bug#16331).
385
d6d5fdf8
LI
386 * subr.el (event-start): Doc fix (bug#14228).
387 (event-end): Ditto.
388
2abd71e5
GM
3892014-02-09 Glenn Morris <rgm@gnu.org>
390
391 * emacs-lisp/warnings.el (lwarn):
392 Empower help-enable-auto-load. (Bug#15940)
393
c1b5900b
AS
3942014-02-08 Andreas Schwab <schwab@linux-m68k.org>
395
396 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
397 (Bug#16690)
398
429b93bd
MA
3992014-02-08 Michael Albinus <michael.albinus@gmx.de>
400
401 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
402 Insert output at end of buffer. (Bug#16120)
403
b772a699
LI
4042014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
405
18c6aa8c
LI
406 * simple.el (choose-completion-string-functions): Document new
407 calling convention (bug#14153).
54dd147a 408 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 409
dce8463b
LI
410 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
411
b772a699 412 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 413 (find-grep-dired): Doc fix (bug#14288).
b772a699 414
2423c8d5
JL
4152014-02-08 Juri Linkov <juri@jurta.org>
416
417 * isearch.el (isearch-quote-char): Check character validity
418 like in `quoted-insert' (bug#16677).
419
518f26c2
LI
4202014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
421
893cc908
LI
422 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
423
9165ffc0
LI
424 * isearch.el (isearch-hide-immediately): Doc clarification
425 (bug#14723).
426
6ef4f3ce
LI
427 * simple.el (line-move): Document utility function used many
428 places in the Emacs sources (bug#14843).
429
be58a238 430 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 431 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 432 (dired-up-directory): Doc fix (bug#14848).
be58a238 433
dd7aafbb
LI
434 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
435
15cb9968
LI
436 * files.el (file-relative-name): Doc fix (bug#15159).
437
9788effd
LI
438 * fringe.el (fringe-styles): Doc fix (bug#15239).
439
c96411bd
LI
440 * isearch.el (isearch-filter-predicate): Documentation typo fix
441 (bug#15474).
442
ea838c36
LI
443 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
444
0d8a4ae7
LI
445 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
446
f7a17bb3
LI
447 * replace.el (replace-match-maybe-edit): Doc clarification
448 (bug#15632).
449
1bde5c3b
LI
450 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
451
518f26c2
LI
452 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
453
dd8e49fd
GM
4542014-02-08 Glenn Morris <rgm@gnu.org>
455
456 * help-fns.el (describe-variable):
457 Check {file,dir}-local-variables-alist, and buffer-file-name,
458 in the correct buffer.
459
7e088b29
IL
4602014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
461
462 * help-fns.el (describe-variable): Fix the case where
463 a value is directory-local with no dir-locals file. (Bug#16635)
464
41a4a82f
GM
4652014-02-08 Glenn Morris <rgm@gnu.org>
466
467 * abbrev.el (edit-abbrevs-mode):
468 Derive from fundamental-mode. (Bug#16682)
469
e255a703
JB
4702014-02-07 Juanma Barranquero <lekktu@gmail.com>
471
472 * simple.el (quoted-insert): Check character validity (bug#16677).
473
c99cf5ee
JL
4742014-02-07 Juri Linkov <juri@jurta.org>
475
476 * desktop.el (desktop-read): Claim the lock when the owner is not
477 the current process. (Bug#16157)
478
7d7a68d8
JL
4792014-02-07 Juri Linkov <juri@jurta.org>
480
481 * desktop.el (desktop-buffers-not-to-save): Change default from nil
482 to "\\` ". (Bug#16651)
483
2b777cd9
JL
4842014-02-07 Juri Linkov <juri@jurta.org>
485
486 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
487 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
488 (desktop-auto-save-cancel-timer): New function with some code from
489 `desktop-auto-save-set-timer'.
490 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
491 Instead of setting `desktop-save-mode' to nil, call
492 `desktop-save-mode' with arg 0. (Bug#16630)
493
60eabbb9
GM
4942014-02-07 Glenn Morris <rgm@gnu.org>
495
99cf3859
GM
496 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
497 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
498 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
499
2b568bc9
GM
500 * obsolete/iswitchb.el: Move to obsolete/.
501 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
502 since obsolete/ is not scanned for autoloads.
503 * emacs-lisp/authors.el (authors-valid-file-names):
504 Add iswitchb.el.
505
60eabbb9
GM
506 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
507 Disable now non-functional find-file-hook.
508
629de968
MA
5092014-02-06 Michael Albinus <michael.albinus@gmx.de>
510
511 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
512 instead of ";" in order to avoid additional prompts. Let heredoc
513 scripts read from tty. (Bug#16582)
514 (tramp-send-command): No special handling of heredocs, it isn't
515 necessary anymore.
516
29127376
SM
5172014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
520 with a space (bug#16664). Limit the symbols considered to the ones
521 that are bound or fbound (bug#16646).
522
79b6e0a9
GM
5232014-02-06 Glenn Morris <rgm@gnu.org>
524
525 * epa.el (epa-mail-aliases): Doc fix.
526
a333e4d2
DG
5272014-02-06 Dmitry Gutov <dgutov@yandex.ru>
528
29127376
SM
529 * emacs-lisp/lisp.el (lisp-completion-at-point):
530 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
531 (bug#16604).
532
533 * minibuffer.el (completion-table-merge): New function.
534
9a83b32b
MA
5352014-02-05 Michael Albinus <michael.albinus@gmx.de>
536
537 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
538 (tramp-sh-handle-set-file-acl)
539 (tramp-sh-handle-start-file-process)
540 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
541 (tramp-find-executable, tramp-send-command): Use it.
542
451ea3e6
GM
5432014-02-05 Glenn Morris <rgm@gnu.org>
544
9a83b32b 545 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 546
dd27d13b
FEG
5472014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
548
549 * progmodes/python.el (python-shell-send-string):
550 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
551
08e41897
AL
5522014-02-04 Anders Lindgren <andlind@gmail.com>
553
554 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
555 the names (bug#16620).
556
764ec9e5
MR
5572014-02-03 Martin Rudalics <rudalics@gmx.at>
558
08e41897
AL
559 * faces.el (window-divider): New default value. Rewrite doc-string.
560 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 561
6da8227c
DG
5622014-02-03 Dmitry Gutov <dgutov@yandex.ru>
563
564 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
565 `protected' and `public' can also be called without arguments.
566
6a6b8e40
GM
5672014-02-03 Glenn Morris <rgm@gnu.org>
568
7bcbca40
GM
569 * register.el (window-configuration-to-register)
570 (frame-configuration-to-register): Unadvertise unused argument.
571 * frameset.el (frameset-to-register): Remove unused argument.
572
719d965d 573 * frameset.el (frameset-to-register):
6a6b8e40
GM
574 * kmacro.el (kmacro-to-register):
575 * register.el (increment-register):
576 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
577 (calc-append-to-register, calc-prepend-to-register):
578 * play/gametree.el (gametree-layout-to-register)
579 (gametree-apply-register-layout):
580 * textmodes/picture.el (picture-clear-rectangle-to-register)
581 (picture-yank-rectangle-from-register):
582 * vc/emerge.el (emerge-combine-versions-register):
583 Use register-read-with-preview to read registers.
584
5dca7759
JT
5852014-02-03 João Távora <joaotavora@gmail.com>
586
587 * elec-pair.el (electric-pair-backward-delete-char): Don't error
588 when at beginning of (possibly narrowed) buffer.
589
709085b9
DC
5902014-02-02 Daniel Colascione <dancol@dancol.org>
591
c295fc18 592 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 593 Also try to display local help from just before point.
709085b9 594
99f7b0a6
AM
5952014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
596
597 c-parse-state. Don't "append-lower-brace-pair" in certain
598 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
599 recognised as a comment.
600
601 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
602 as well as normal comment starter.
603 (c-parse-state-get-strategy): Extra return possibility
604 'back-and-forward.
605 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
606 return value list to indicate replacement of a brace-pair cons
607 with its car.
608 (c-parse-state-1): With 'back-and-forward, only call
609 c-append-lower-brace-pair-to state-cache when cons-separated.
610
f0a10576
JD
6112014-02-02 Jan Djärv <jan.h.d@swipnet.se>
612
613 * term/ns-win.el (ns-suspend-error): New function.
614 (ns-initialize-window-system): Add ns-suspend-error to
615 suspend-hook (Bug#16612).
616
b8d552c2
DC
6172014-02-02 Daniel Colascione <dancol@dancol.org>
618
619 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
620
f2b7d123
DC
6212014-02-02 Daniel Colascione <dancol@dancol.org>
622
623 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
624
4472a196
GM
6252014-02-02 Glenn Morris <rgm@gnu.org>
626
627 * register.el (register-read-with-preview, point-to-register)
628 (window-configuration-to-register, frame-configuration-to-register)
629 (jump-to-register, number-to-register, view-register, insert-register)
630 (copy-to-register, append-to-register, prepend-to-register)
631 (copy-rectangle-to-register): Doc fixes.
632
70e5a261
SM
6332014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
636 * emacs-lisp/find-func.el (find-function-C-source): Idem.
637 * emacs-lisp/nadvice.el (advice--cd*r): New function.
638 * help-fns.el (describe-function-1): Use it.
639
7c324762
GM
6402014-02-02 Glenn Morris <rgm@gnu.org>
641
642 * register.el (register-preview-default): New function,
643 split from register-preview.
644 (register-preview-function): Rename from register-preview-functions,
645 make it not a hook.
646 (register-preview): Use register-preview-function.
647 (register-read-with-preview): Error on non-character event. (Bug#16595)
648
a09beb3d
DG
6492014-02-01 Dmitry Gutov <dgutov@yandex.ru>
650
651 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
652 `:' before binary operators (bug#16609). Don't check for `:'
653 before `[' and `(', or their syntax status. A percent literal
654 can't end with either.
68e004e0
DG
655 (ruby-font-lock-keywords): For built-ins that require arguments,
656 check that they're followed by something that looks like argument
657 (bug#16610).
a09beb3d 658
ed4d2875
LI
6592014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
660
661 * subr.el (butlast): Document what an omitted N means (bug#13437).
662 (nbutlast): Ditto.
663
dba6e3ec
LI
6642014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
665
666 * net/shr.el (shr-generic): Make into a defsubst to make the stack
667 depth shallower (bug#16587).
cc477daa
LI
668 (shr-tag-svg): Respect `shr-inhibit-images'.
669 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 670
e2a67bd0
DG
6712014-01-31 Dmitry Gutov <dgutov@yandex.ru>
672
673 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
674 (ruby-smie-grammar): Make "." right-associative. Make its priority
675 lower than the ternary and all binary operators.
676 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
677 parent, or the first "." parent at indentation.
678 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
679 (Bug#16593)
680
bd21bf41
JL
6812014-01-31 Juri Linkov <juri@jurta.org>
682
683 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
684 from `make-hash-table'.
685
686 * textmodes/ispell.el (ispell-init-process): Change message format
687 to be consistent with other messages.
688
b7e615b9
GM
6892014-01-31 Glenn Morris <rgm@gnu.org>
690
a69ecd19
GM
691 * delsel.el (delete-selection-mode): Doc fix.
692
9997d7e3
GM
693 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
694 (trace-function-background): Doc fixes.
695
fbb764b8
GM
696 * ido.el (ido-use-virtual-buffers): Doc fix.
697 Reset :version, since the default value has not changed.
698
da942af1
GM
699 * register.el (register-preview-delay, register-read-with-preview):
700 Doc fixes.
701
b7e615b9
GM
702 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
703 do not mess with mail-buffer position (fixes 2009-11-03 change).
704 * progmodes/cc-mode.el (c-submit-bug-report):
705 Check auto-fill-mode is bound. (Bug#16592)
706
0a25002d
DH
7072014-01-31 Darren Hoo <darren.hoo@gmail.com>
708
709 * startup.el (fancy-splash-image-file): New function,
710 split from fancy-splash-head.
711 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
712 so that we are both using the same image. (Bug#16574)
713
ad78f432
GM
7142014-01-30 Glenn Morris <rgm@gnu.org>
715
6bbc0c84
GM
716 * simple.el (eval-expression): Doc fix.
717
ad78f432
GM
718 * hexl.el (hexl-mode-hook):
719 * ielm.el (ielm-mode-hook):
720 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
721 (lisp-interaction-mode-hook):
722 * progmodes/cfengine.e (cfengine3-documentation-function):
723 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
724
7b2f049c
SM
7252014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
728 is a symbol (bug#16584).
729
0c633f13
GM
7302014-01-30 Glenn Morris <rgm@gnu.org>
731
732 * help.el (help-for-help-internal): Add "P" to text.
733
5e61c1ef
GM
7342014-01-29 Glenn Morris <rgm@gnu.org>
735
736 * simple.el (just-one-space, cycle-spacing): Doc fixes.
737
1dcb169c
MR
7382014-01-28 Martin Rudalics <rudalics@gmx.at>
739
740 * window.el (fit-frame-to-buffer): Fix calculations for margins and
741 height constraints.
742
a9128931
LL
7432014-01-28 Luke Lee <luke.yx.lee@gmail.com>
744
745 * progmodes/hideif.el: Extend to full CPP expression syntax.
746 (hif-token-alist): Add missing tokens.
747 (hif-token-regexp): Add support for float/octal/hex immediates.
748 (hif-string-literal-regexp): New const.
749 (hif-tokenize): Recognize strings and float/octal/hex immediates.
750 (hif-exprlist): New function.
751 (hif-parse-if-exp): Use it.
752 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
753 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
754 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
755 (hif-logxor, hif-comma): New functions.
756
a22359a7
GM
7572014-01-28 Glenn Morris <rgm@gnu.org>
758
793ffe81
GM
759 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
760
e3bd7eed
GM
761 * indent.el (tab-stop-list): Doc fix. Add :version.
762
a22359a7
GM
763 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
764 (cvs-append-to-ignore): Add compatibility alias.
765
52695556 7662014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 767
bac524e0
GM
768 * dired.el (dired-hide-details-mode): Don't autoload it,
769 since it cannot be used outside Dired buffers anyway.
770
52695556 771 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 772
52695556
GM
773 * dired.el (dired-hide-details-hide-symlink-targets)
774 (dired-hide-details-hide-information-lines)
775 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
776
777 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
778 * strokes.el (strokes-file): Doc fix. Bump :version.
779 (strokes-help): Doc fix.
780 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
781 * emulation/viper.el (viper): Doc fix for custom group.
782 (top-level): Remove oh-so-no-longer-relevant text about vip.
783 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
784
785 * ido.el (ido-save-directory-list-file):
786 * saveplace.el (save-place-file):
787 * calendar/timeclock.el (timeclock-file):
788 * net/quickurl.el (quickurl-url-file):
789 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
790 * progmodes/idlwave.el (idlwave-config-directory):
791 * textmodes/remember.el (remember-data-file):
792 Bump :version.
793
169d6004
GM
7942014-01-26 Glenn Morris <rgm@gnu.org>
795
de6a923b
GM
796 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
797 Doc fix. Make obsolete.
798 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
799
169d6004
GM
800 * sort.el (delete-duplicate-lines): Doc fix.
801
ed85dee6
RS
8022014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
803
804 * progmodes/ada-mode.el (ada):
805 * woman.el (woman): Link to info manual and Commentary section.
806
807 * progmodes/flymake.el (flymake):
808 * nxml/nxml-mode.el (nxml):
809 * net/eww.el (eww):
810 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
811 * htmlfontify.el (htmlfontify):
812 * ses.el (ses):
813 * epa.el (epa):
814 * ido.el (ido): Link to info manual.
815
e0c67e1d
LL
8162014-01-25 Leo Liu <sdl.web@gmail.com>
817
818 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
819
35408b1a
AS
8202014-01-25 Adam Sjøgren <asjo@koldfront.dk>
821
822 * net/shr.el (shr-tag-img): Prefer the title over the alt text
823 (bug#16537).
824
76c3fa95
JB
8252014-01-24 Juanma Barranquero <lekktu@gmail.com>
826
f77c7a99
JB
827 * net/eww.el (eww-download-callback):
828 Fix reference to eww-download-directory.
829
76c3fa95
JB
830 * emacs-lisp/bytecomp.el (byte-compile-file):
831 Remove unused local variable `file-name'.
832
1e548e40
GM
8332014-01-24 Glenn Morris <rgm@gnu.org>
834
03f3b318
GM
835 * woman.el (woman-default-faces, woman-monochrome-faces):
836 Fix obsolescence specification.
837
1e548e40
GM
838 * subr.el (with-demoted-errors): Doc fix.
839
d4f0427b
SM
8402014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
843 (cl--macroexp-fboundp): New function.
844 (cl--make-type-test): Use it.
845
1670e27f
GM
8462014-01-23 Glenn Morris <rgm@gnu.org>
847
848 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
849 * simple.el (eval-expression): Doc fixes.
850
80efa207
GM
8512014-01-22 Glenn Morris <rgm@gnu.org>
852
853 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
854
29afcbab
SM
8552014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/package.el: Write files silently.
858 (package-autoload-ensure-default-file, package--write-file-no-coding)
859 (package-generate-description-file, package--download-one-archive)
860 (package-install-from-archive): Tell `write-region' to stay quiet.
861 (package-menu-mode, package-menu--print-info): Omit the Archive column
862 if there's only one archive.
863 (package-all-keywords, package--has-keyword-p): Remove dead code.
864
2a5bce4f
GM
8652014-01-22 Glenn Morris <rgm@gnu.org>
866
edace89f
GM
867 * version.el (emacs-bzr-version-bzr): Fix typo.
868
2a5bce4f
GM
869 * version.el (emacs-repository-get-version):
870 Check either .bzr or .git, but not both.
871 Make the git case actually use the DIR argument, and return nil
872 rather than the empty string.
983664c0 873 Avoid error if .git exists but the git executable is not found.
2a5bce4f 874
6cb4da45
MR
8752014-01-22 Martin Rudalics <rudalics@gmx.at>
876
877 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
878 * window.el (window-total-size, window-size): New argument ROUND.
879 (window--min-delta-1, window-min-delta, window--max-delta-1):
880 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
881 columns a window can shrink (Bug#16430).
882 (fit-window-to-buffer): Simplify code.
883 * term.el (term-window-width): Call window-body-width again.
884
cc0f2ece
GM
8852014-01-22 Glenn Morris <rgm@gnu.org>
886
7b997b14
GM
887 * image.el (image-format-suffixes): Doc fix.
888
44e76f9d
GM
889 * international/quail.el (quail-define-package): Doc fix.
890
73c1c6d7
GM
891 * emacs-lisp/authors.el (authors-valid-file-names):
892 (authors-renamed-files-alist): Additions.
7bfc1caa 893
85a5f61f
GM
894 * vc/vc-git.el (vc-git-print-log): Remove --follow;
895 reverts 2014-01-09 change. (Bug#16422)
896
cc0f2ece
GM
897 * calc/calc-embed.el (thing-at-point-looking-at):
898 * emacs-lisp/map-ynp.el (x-popup-dialog):
899 * obsolete/lmenu.el (x-popup-dialog):
900 * emacs-lisp/package.el (url-recreate-url):
901 * mail/mailclient.el (clipboard-kill-ring-save):
902 * subr.el (x-popup-dialog): Update declaration.
903 * mail/rmail.el (rmail-mime-message-p):
904 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
905
00d2a6bb
DC
9062014-01-21 Daniel Colascione <dancol@dancol.org>
907
908 * progmodes/sh-script.el (sh--inside-noncommand-expression):
909 Correctly detect when we're inside an arithmetic expansion form
910 containing nested parenthesis.
c295fc18 911 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
912 to detect cases where we shouldn't expand "<<" to a heredoc
913 skeleton.
914
dd9d2e9d
SM
9152014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
918 (eldoc--message-command-p): New function.
919 (eldoc-display-message-p): Use it.
920 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
921 message is not automatically erased for us.
922 (eldoc-print-current-symbol-info): Erase previous message, if any.
923
e7d807ca
TH
9242014-01-21 Tassilo Horn <tsdh@gnu.org>
925
4ff0a0e5
TH
926 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
927 specify it's an interactive function.
928
dd9d2e9d
SM
929 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
930 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
931 citations with optional arguments.
932
87503791
LL
9332014-01-21 Leo Liu <sdl.web@gmail.com>
934
935 * simple.el (read--expression): Don't enable eldoc-mode.
936
6cc750ee
SM
9372014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * simple.el (move-beginning-of-line): Make sure we don't move forward
940 (bug#16497).
941
71f16bda
JL
9422014-01-20 Juri Linkov <juri@jurta.org>
943
944 * saveplace.el (toggle-save-place, save-place-to-alist)
945 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
946 'dired-mode) before checking for dired-directory. (Bug#16477)
947
3c5a4839
JL
9482014-01-20 Juri Linkov <juri@jurta.org>
949
950 * indent.el (indent-line-to): Use backward-to-indentation
951 instead of back-to-indentation. (Bug#16461)
952
f952002e
PE
9532014-01-20 Paul Eggert <eggert@cs.ucla.edu>
954
955 Revert some of the CANNOT_DUMP fix (Bug#16494).
956 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
957 but fixing this can wait until after the next release.
958 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
959
93675500
MA
9602014-01-19 Michael Albinus <michael.albinus@gmx.de>
961
962 * eshell/esh-mode.el (eshell-password-prompt-regexp):
963 Use `password-word-equivalents'.
964 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
965 to t. (Bug#5664, Bug#13124)
966
e3af763f
AM
9672014-01-19 Alan Mackenzie <acm@muc.de>
968
969 Bind open-paren-in-column-0-is-defun-start to nil at some entry
970 points.
971 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 972 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
973 * progmodes/cc-mode.el (c-before-change, c-after-change)
974 (c-font-lock-fontify-region): Bind it here.
975
4ff6d92d
MR
9762014-01-19 Martin Rudalics <rudalics@gmx.at>
977
978 * term.el (term-window-width): Call window-text-width instead of
979 window-width (Bug#16470).
980
9a685cf6
PE
9812014-01-18 Paul Eggert <eggert@cs.ucla.edu>
982
983 * simple.el (password-word-equivalents): Remove duplicates.
984 Sort, to make this easier next time.
985 Downcase. Omit ": " after "jelszó".
986
5aa78c2d
JD
9872014-01-18 Jan Djärv <jan.h.d@swipnet.se>
988
989 * term/common-win.el (saved-region-selection): Defvar it.
990 (x-select-text): Set saved-region-selection (Bug#16382).
991
cabb250c
GM
9922014-01-18 Glenn Morris <rgm@gnu.org>
993
994 * emacs-lisp/authors.el (authors-aliases)
995 (authors-renamed-files-alist): Add some entries.
996
a1340440
MA
9972014-01-17 Michael Albinus <michael.albinus@gmx.de>
998
93675500
MA
999 * net/tramp.el (tramp-password-prompt-regexp):
1000 Use `password-word-equivalents' if available.
a1340440
MA
1001 (tramp-action-password, tramp-process-one-action)
1002 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1003
681ce5d2
CY
10042014-01-17 Chong Yidong <cyd@gnu.org>
1005
1006 * simple.el (password-word-equivalents): New defcustom.
1007 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1008 to 24.4.
1009 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1010 to t. (Bug#13124)
1011
fb3d479c
DG
10122014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1013
1014 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1015 (ruby-align-to-stmt-keywords): Change the default value.
1016 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1017 choices.
1018 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1019 keywords, check against the value of `ruby-alignable-keywords'
1020 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1021
0d613483
GM
10222014-01-17 Glenn Morris <rgm@gnu.org>
1023
fc23fe2d
GM
1024 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1025
0d613483
GM
1026 Make M-x authors return zero *Authors Errors* from current logs.
1027 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1028 (authors-ignored-files): Add some entries, remove others.
1029 (authors-ambiguous-files, authors-valid-file-names):
1030 Add some entries.
1031 (authors-renamed-files-alist): Add, remove, and adjust entries.
1032 (authors-renamed-files-regexps): Add some entries.
1033 Remove some very broad ones. Make some entries `lax'.
1034 (authors-lax-changelogs): New constant.
1035 (authors-disambiguate-file-name): Treat top-level specially.
1036 (authors-lax-changelog-p): New function.
1037 (authors-canonical-file-name): Check file as written against
1038 authors-valid-file-names. Do not special-case etc/.
1039 Handle `lax' logs and authors-renamed-files-regexps elements.
1040
2dbf4ffd
DG
10412014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1042
1043 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1044 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1045 callers.
2dbf4ffd 1046
87b2a7f2
SM
10472014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1050 Assume we're already in the proper buffer.
1051 Inspired by Anders Lindgren <andlind@gmail.com>.
1052 (follow-post-command-hook): Call it from the right buffer.
1053 (follow-comint-scroll-to-bottom): Adjust call.
1054 (follow-all-followers): Use get-buffer-window-list.
1055
93acfb0e
DC
10562014-01-15 Daniel Colascione <dancol@dancol.org>
1057
1058 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1059 `buffer-file-name' in interactive-form so that we don't leave
1060 pathless file names in `file-name-history'.
1061
ccc6b208
JL
10622014-01-15 Juri Linkov <juri@jurta.org>
1063
1064 * indent.el (indent-rigidly): Set deactivate-mark to nil
1065 in transient indentation mode. (Bug#16438)
1066
5c92e00d
DG
10672014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1068
1069 * emacs-lisp/package.el (package-desc-keywords): New function
1070 (Bug#16222).
1071 (describe-package-1, package-all-keywords)
1072 (package--has-keyword-p): Use it.
1073
dac69660
NR
10742014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1075
1076 * simple.el (define-alternatives): When creating the
1077 COMMAND-alternatives variable, assign COMMAND as its definition
1078 name so that `describe-variable' can relocate it.
1079
8b63edf8
ML
10802014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1081
1082 * font-lock.el (font-lock-keywords): Fix typo in docstring
1083 (bug#16307).
1084
c6a0b8eb
AM
10852014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1086
1087 * ispell.el (ispell-region): Reset `in-comment' for new line
1088 instead of wrongly reset `add-coment' (bug#13577).
1089
02bf443d
DU
10902014-01-14 Daiki Ueno <ueno@gnu.org>
1091
1092 * epa-file.el (epa-file-write-region): Encode the region according
1093 to `buffer-file-format'. Problem reported at:
1094 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1095
fd7fde15
SM
10962014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1099 so it applies in the right buffer (bug#16410).
1100
c176054f
DC
11012014-01-13 Daniel Colascione <dancol@dancol.org>
1102
1103 * textmodes/rst.el (rst-define-key): Provide deprecated
1104 keybindings through named functions instead of anonymous ones so
1105 that "??" doesn't appear in describe-mode output.
1106
e3f33e5d
BG
11072014-01-13 Bastien Guerry <bzg@gnu.org>
1108
1109 * simple.el (define-alternatives): Call the selected command
1110 interactively. When setting `COMMAND--implementation' for the
1111 first time, tell the user how to chose another implementation.
1112 Enhance the docstring.
1113
c055d654
SM
11142014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1117 (log-edit--match-first-line): New function.
1118 (log-edit-font-lock-keywords): Use it.
1119 (log-edit-mode): Make jit-lock-defer-multiline work.
1120
d791cc3b
BG
11212014-01-13 Bastien Guerry <bzg@gnu.org>
1122
1123 * rect.el (rectangle-mark-mode): When the region is not active,
1124 display a message saying that the mark as been set and that
1125 rectangle mode is in use.
1126 (rectangle--highlight-for-redisplay): Only put an overlay with a
1127 visible vertical bar when (display-graphic-p) is non-nil.
1128 This partially fixes Bug#16403.
1129
3c0c4562
JL
11302014-01-13 Juri Linkov <juri@jurta.org>
1131
1132 * info.el (Info-find-file): Go to DIR before displaying the error
1133 about a nonexistent file if no previous Info file is visited.
1134 Use `user-error' instead of `error' for "Info file %s does not exist".
1135 (Info-find-node-2): In case of a nonexistent node in unwind forms
1136 go to the Top node if there is no previous node to revert to.
1137 (Bug#16405)
1138
25a700d0
MR
11392014-01-13 Martin Rudalics <rudalics@gmx.at>
1140
1141 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1142 * window.el (fit-frame-to-buffer): Fix doc-string.
1143 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1144 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1145 when avoiding that frame goes partially off-screen.
1146 (fit-window-to-buffer): Respect window-min-height/-width
1147 (Bug#14096).
1148
6ae948d8
SM
11492014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1152 after an empty line.
1153
6137cb82
SM
11542014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * net/shr.el (shr-render-region): Autoload.
1157
e6344e17
XF
11582014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1159
1160 * net/eww.el (eww-download-directory): Rename from
1161 `eww-download-path' (Bug#16419).
1162
3b922c70
LL
11632014-01-12 Leo Liu <sdl.web@gmail.com>
1164
1165 * dired-x.el (dired-mode-map): Fix last change.
1166
1167 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1168
4fa51741
PE
11692014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1170
1171 Spelling fixes.
1172 * emacs-lisp/generic.el (generic--normalize-comments):
1173 Rename from generic--normalise-comments. All uses changed.
1174 * play/bubbles.el (bubbles--neighborhood-score):
1175 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1176 (bubbles--neighborhood-available)
1177 (bubbles--update-neighborhood-score):
1178 Rename from names with 'neighbourhood'. All uses changed.
1179
9b335362
LL
11802014-01-12 Leo Liu <sdl.web@gmail.com>
1181
1182 Re-implement the feature of showing eldoc info after editing.
1183 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1184 (eldoc-edit-message-commands): New function.
1185 (eldoc-print-after-edit): New variable.
1186 (eldoc-pre-command-refresh-echo-area): Emit message only by
1187 eldoc-message-commands.
1188 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1189 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1190 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1191 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1192
e2a095b1
GM
11932014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1194 Eric S. Raymond <esr@thyrsus.com>
9685190b 1195
841a6d0c 1196 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1197 function works correctly in either a Bazaar or Git repo.
0abf4134 1198
e2a095b1
GM
11992014-01-11 Eric S. Raymond <esr@thyrsus.com>
1200
6137cb82
SM
1201 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1202 Goes with removal of the joke manpages from /etc.
9685190b 1203
c295fc18 12042014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1205
6137cb82
SM
1206 * mail/rmail.el (rmail-get-coding-system):
1207 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1208
d2f16e93
GM
12092014-01-10 Glenn Morris <rgm@gnu.org>
1210
1211 * emacs-lisp/authors.el (authors-fixed-entries):
1212 Update for files that no longer exist.
1213
7e03bb32
ER
12142014-01-10 Eric S. Raymond <esr@thyrsus.com>
1215
1216 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1217 24.3 (Tested).
7e03bb32 1218
dd806710
BB
12192014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1220
1221 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1222 and Podfile.
1223
ed6ec139
EZ
12242014-01-10 Eli Zaretskii <eliz@gnu.org>
1225
1226 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1227
cc33cac9
CY
12282014-01-10 Chong Yidong <cyd@gnu.org>
1229
6137cb82 1230 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1231
d9d836b5
AL
12322014-01-10 Anders Lindgren <andlind@gmail.com>
1233
1234 * follow.el (follow-cache-command-list): Include right-char and
1235 left-char.
1236
06827ec8
PE
12372014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1238
1239 Spelling fixes.
1240 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1241 * woman.el (woman-mark-horizontal-position):
1242 Rename from woman-mark-horizonal-position. Use changed.
1243
458dbf5e
GM
12442014-01-10 Glenn Morris <rgm@gnu.org>
1245
dad6fae7
GM
1246 * info.el (info-initialize): If running uninstalled, ensure our
1247 own info files are always found first, even if INFOPATH is set.
1248
458dbf5e
GM
1249 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1250
05e0afce
DE
12512014-01-09 David Engster <deng@randomsample.de>
1252
1253 * emacs-lisp/eieio-custom.el:
1254 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1255 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1256 * emacs-lisp/eieio.el: Regenerate autoloads.
1257
f29778b3
ER
12582014-01-09 Eric S. Raymond <esr@thyrsus.com>
1259
1260 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1261 following renames. (Bug#8756)
f29778b3 1262
684d44ef
SM
12632014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1266 (bug#16382).
1267 (activate-mark): Add `no-tmm' argument.
1268 (set-mark, push-mark-command): Use it instead of running
1269 activate-mark-hook by hand.
1270
9475054f
ER
12712014-01-08 Eric S. Raymond <esr@thyrsus.com>
1272
1273 In preparation for the move to git, sanitize out some
1274 Bazaar-specific names.
1275
38942b9c
GM
1276 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1277
9475054f 1278 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1279 emacs-repository-version. Obsolete-variable alias made.
9475054f 1280 * loadup.el: Follow through on this name change.
a12bf61e 1281 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1282 assumption about the version control system in use.
1283
0f918d96 12842014-01-08 David Engster <deng@randomsample.de>
abb82152 1285
684d44ef
SM
1286 * help-fns.el (help-fns-describe-function-functions):
1287 New variable to call functions for augmenting help buffers.
abb82152
DE
1288 (describe-function-1): Remove explicit calls to
1289 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1290 `help-fns--obsolete'. Put them in above new variable instead, and
1291 call them through `run-hook-with-args'.
1292 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1293 `eieio-describe-class'. Not meant for interactive use anymore,
1294 but to augment existing help buffers. Remove optional second
684d44ef
SM
1295 argument. Create proper button for file location.
1296 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1297 possible.
1298 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1299 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1300 (describe-method, describe-generic, eieio-describe-method):
1301 Remove aliases.
0f918d96
DE
1302 (eieio-help-constructor, eieio-help-generic): Rename from
1303 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1304 Rewrite to use `insert' in the current buffer and use proper help
1305 buttons.
1306 (eieio-help-find-method-definition)
1307 (eieio-help-find-class-definition): Also accept symbols as
1308 arguments.
1309 (eieio-help-mode-augmentation-maybee): Remove.
1310 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1311 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1312 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1313
136b74c5
PE
13142014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1315
1316 Spelling fixes.
1317 * language/china-util.el (hz-ascii-designation):
1318 Rename from hz-ascii-designnation.
1319 (hz-ascii-designation): Rename from hz-ascii-designnation.
1320 All uses changed.
1321
ec6c7de2
SM
13222014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1325 package-alist.
1326
d6262c7c
BG
13272014-01-08 Bastien Guerry <bzg@gnu.org>
1328
4b9e6087
GM
1329 * emacs-lisp/package.el (package-delete):
1330 Correctly delete the package from package-alist.
d6262c7c 1331
0a3eec32
DU
13322014-01-08 Daiki Ueno <ueno@gnu.org>
1333
1334 * emacs-lisp/package.el (url-recreate-url): Declare.
1335 (url-http-target-url): Declare.
4b9e6087 1336 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1337 (package--check-signature): Don't re-signal errors from
1338 package--with-work-buffer. Suggested by Stefan Monnier.
1339
68f0bb97
BG
13402014-01-07 Bastien Guerry <bzg@gnu.org>
1341
1342 * minibuffer.el (completion--try-word-completion): When both a
1343 hyphen and a space are possible candidates for the character
1344 following a word, display both candidates. (Bug#15980)
1345
7e1899d7
MR
13462014-01-07 Martin Rudalics <rudalics@gmx.at>
1347
1348 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1349 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1350
0030ec15
GM
13512014-01-07 Glenn Morris <rgm@gnu.org>
1352
1353 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1354 (menu-bar-help-menu): Use view-external-packages instead.
1355
2b6b4f20
BG
13562014-01-07 Bastien Guerry <bzg@gnu.org>
1357
1358 * emacs-lisp/package.el (package-delete): Also delete the package
1359 name from `package-alist', not its description only.
1360
e9be0a13
GM
13612014-01-07 Glenn Morris <rgm@gnu.org>
1362
1363 * help.el (view-external-packages):
1364 * menu-bar.el (menu-bar-help-extra-packages):
1365 Visit efaq.info rather than etc/MORE.STUFF.
1366
e4f74da9
JL
13672014-01-07 Juri Linkov <juri@jurta.org>
1368
1369 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1370 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1371
1372 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1373 that shadows RET. (Bug#16342)
1374
de7ce2d1
CY
13752014-01-07 Chong Yidong <cyd@gnu.org>
1376
1377 * isearch.el (isearch-yank-char, isearch-yank-word)
1378 (isearch-yank-line): Doc fix.
1379
6bdd9204
SM
13802014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1383 * emacs-lisp/elint.el (elint-find-builtins):
1384 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1385 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1386 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1387 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1388 * apropos.el (apropos-safe-documentation):
1389 * subr.el (symbol-file): Remove redundant fboundp.
1390 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1391
daccca97
BG
13922014-01-06 Bastien Guerry <bzg@gnu.org>
1393
1394 * hl-line.el (global-hl-line-overlay): Make a local variable.
1395 (global-hl-line-overlays): New variable to store all overlays.
1396 (global-hl-line-mode): Don't delete overlays from the current
1397 buffer when `global-hl-line-sticky-flag' is non-nil.
1398 (global-hl-line-highlight): Add new overlays to
1399 `global-hl-line-overlays'.
1400 (global-hl-line-unhighlight-all): New function to delete all
1401 overlays when turning off `global-hl-line-mode'.
1402 This fixes Bug#16183.
1403
ec00f20f
SM
14042014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * subr.el (set-transient-map): Fix nested case and docstring.
1407
a0031f97
TH
14082014-01-06 Tassilo Horn <tsdh@gnu.org>
1409
1410 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1411 `Texinfo' entry.
1412
bf6a77f3
DC
14132014-01-06 Daniel Colascione <dancol@dancol.org>
1414
1415 Fix defun navigation in vc log view.
1416
1417 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1418 like `beginning-of-defun'.
c295fc18 1419 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1420 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1421 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1422 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1423 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1424
d5081c1e
PE
14252014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1426
1427 Spelling fixes.
1428 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1429 * emacs-lisp/debug.el (cancel-debug-on-entry):
1430 * epg.el (epg-error-to-string):
1431 * files.el (recover-file):
1432 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1433 * mail/emacsbug.el (report-emacs-bug-hook):
1434 * mail/sendmail.el (mail-recover):
1435 * ses.el (ses-yank-resize):
1436 * term/ns-win.el (ns-print-buffer):
1437 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1438 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1439 All uses changed.
1440 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1441
53f6b148
LL
14422014-01-06 Leo Liu <sdl.web@gmail.com>
1443
1444 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1445 to avoid shadowing global key. (Bug#16354)
53f6b148 1446
b82ace2f
DC
14472014-01-06 Daniel Colascione <dancol@dancol.org>
1448
1449 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1450 rst-mode.
1451
3669b636
MR
14522014-01-05 Martin Rudalics <rudalics@gmx.at>
1453
1454 * window.el (balance-windows): Add mising t to fix Bug#16351.
1455
1a29adc2
LMI
14562014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1457
1458 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1459 (bug#16285).
3d95a0f4
LMI
1460 (shr-insert): If we have a word that's longer than `shr-width',
1461 break after it anyway. Otherwise we'll do no breaking once we get
1462 such a long word.
1a29adc2 1463
f4018140
KN
14642014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1465
3fcfc4ee 1466 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1467 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1468 (eww-history-quit): Delete and use quit-window.
1469 (eww-history-kill): Delete, because it doesn't work well and
1470 not necessary.
1471 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1472
4e619754
PE
14732014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1474
73dbf960
PE
1475 Fix misspelling of 'chinese' in rx (Bug#16237).
1476 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1477 chinese-two-byte.
1478
4e619754
PE
1479 Change subword regexps back to vars (Bug#16296).
1480 * progmodes/subword.el (subword-forward-regexp)
1481 (subword-backward-regexp): Change these back to variables.
1482
e18b70fc
SM
14832014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1486 syntax-begin-function (bug#16247).
1487
0d53f628
CY
14882014-01-03 Chong Yidong <cyd@gnu.org>
1489
1490 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1491 (advice--docstring): Delete variable.
1492 (advice--make-1): Leave the docstring empty.
1493 (advice-add): Use function-documentation for advised docstring.
1494
1495 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1496 Ignore function-documentation property when getting documentation.
1497 (ad-activate-advised-definition): Use function-documentation
1498 generate the docstring.
1499 (ad-make-advised-definition): Don't call
1500 ad-make-advised-definition-docstring.
1501 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1502 Delete functions.
1503
1504 * progmodes/sql.el (sql-help): Use function-documentation instead
1505 of dynamic-docstring-function property. No need to autoload now.
1506 (sql--help-docstring): New variable.
1507 (sql--make-help-docstring): Use it.
1508
6f547583
SM
15092014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1510
6ef9aed8
SM
1511 * ielm.el (ielm-tab): Retarget.
1512 (ielm-map): Use ielm-tab for tab.
1513 (ielm-complete-filename): Use comint-filename-completion.
1514 (ielm-complete-symbol): Remove.
1515 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1516 remove ielm-tab from completion-at-point-functions (bug#16224).
1517
6f547583
SM
1518 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1519 Beware signals raised by predicates (bug#16201).
1520
a574edbe
RS
15212014-01-02 Richard Stallman <rms@gnu.org>
1522
e831604d
RS
1523 * dired-aux.el (dired-do-print): Handle printer-name.
1524
6f547583
SM
1525 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1526 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1527 (rmail-epa-decrypt): Turn off mime processing.
1528
3fcfc4ee 1529 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1530 Add parens in message-id.
1531
1532 * mail/rmail.el (rmail-get-coding-function): Variable.
1533 (rmail-get-coding-system): Use it.
1534
04311a16
KH
15352013-12-31 Eli Zaretskii <eliz@gnu.org>
1536
1537 * international/mule-conf.el: Unify the charset indian-is13194.
1538 (indian-is13194): Specify unify-map.
1539
c8d89778
LL
15402013-12-31 Leo Liu <sdl.web@gmail.com>
1541
1542 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1543
e63ace37
DC
15442013-12-30 Daniel Colascione <dancol@dancol.org>
1545
9e0bf19a
DC
1546 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1547 of printing a useless when we resume from sleep.
1548
e63ace37 1549 * progmodes/sh-script.el
c295fc18 1550 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
1551 in indentation code. (Bug#16233)
1552
e9d6c46a
JT
15532013-12-28 João Távora <joaotavora@gmail.com>
1554
6f547583
SM
1555 * elec-pair.el (electric-pair-post-self-insert-function):
1556 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1557
bf7bea5d
EZ
15582013-12-28 Eli Zaretskii <eliz@gnu.org>
1559
1560 * frame.el (window-system-for-display): Don't allow to create a
1561 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1562
8449dd1f
GM
15632013-12-28 Glenn Morris <rgm@gnu.org>
1564
9c5a5c77
GM
1565 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1566 Update callers.
1567
1568 * apropos.el (apropos-match-face):
1569 * calculator.el (calculator-displayer):
1570 * dabbrev.el (dabbrev-search-these-buffers-only):
1571 * face-remap.el (buffer-face-mode-face):
1572 * simple.el (yank-handled-properties):
1573 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1574 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1575 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1576 (hashcash-double-spend-database):
1577 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1578 (ruby-deep-indent-paren-style):
1579 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1580 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1581 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1582 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1583 Specify custom types.
1584
bb098075
GM
1585 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1586 * bookmark.el (bookmark-bmenu-use-header-line):
1587 * doc-view.el (doc-view-scale-internally):
1588 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1589 * register.el (register-preview-delay):
1590 * net/shr.el (shr-bullet):
1591 * progmodes/cfengine.el (cfengine-cf-promises)
1592 (cfengine-parameters-indent):
1593 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1594 * textmodes/reftex-vars.el (reftex-label-regexps):
1595 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1596
9c61f806
GM
1597 * net/tls.el (tls-certtool-program): Fix default value.
1598
1599 * desktop.el (desktop-restore-in-current-display):
1600 * newcomment.el (comment-empty-lines):
1601 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1602 (idlwave-pad-keyword):
1603 * progmodes/tcl.el (tcl-tab-always-indent):
1604 * textmodes/reftex-vars.el (reftex-index-default-tag):
1605 * elec-pair.el (electric-pair-skip-whitespace):
1606 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1607
8449dd1f
GM
1608 * emacs-lisp/authors.el (authors-ignored-files)
1609 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1610
fdadeb49
JC
16112013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1612
72140a0f
GM
1613 * shell.el (shell-dynamic-complete-command): Doc fix.
1614 (shell--command-completion-data): Shell completion now matches
1615 executable filenames from the current buffer's directory, on
da5ecfa9 1616 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1617
e572a7d8
LI
16182013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1619
1620 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1621
7514d3f8
SM
16222013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1623
a4151f3b
SM
1624 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1625 (bug#16251).
1626
7514d3f8
SM
1627 * electric.el: Move all electric-pair-* to elec-pair.el.
1628 * elec-pair.el: New file, split from electric.el.
1629
ac5758d1
LI
16302013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1631
1632 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1633 indentation level is larger than the width, because that will
1634 infloop.
1635 (shr-insert): Fill repeatedly long texts, so that Japanese is
1636 formatted correctly (bug#16263).
24a6b65e
LI
1637 (shr-find-fill-point): Off by one error in comparison with the
1638 indentation.
ac5758d1 1639
7514d3f8 16402013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1641
1642 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1643 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1644 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1645 if that keeps or improves their balance in buffers.
1646 (electric-pair-delete-adjacent-pairs): Delete the pair when
1647 backspacing over adjacent matched delimiters.
1648 (electric-pair-open-extra-newline): Open extra newline when
1649 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1650 (electric--sort-post-self-insertion-hook):
1651 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1652 minor-modes are activated.
1653 * simple.el (newline-and-indent): Call newline with interactive
1654 set to t.
1655 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1656 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1657 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1658 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1659 electric-pair-open-newline-between-pairs to nil.
1660
fbcc63a3
FEG
16612013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1662
1663 * progmodes/python.el: Use lexical-binding.
1664 (python-nav-beginning-of-defun): Stop searching ASAP.
1665
ed78d16c
XF
16662013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1667
1668 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1669 Fix interactive spec. Doc fix. (Bug#15754)
1670
38b2c142
KY
16712013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1672
1673 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1674 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1675 Fix edebug spec (bug#16184).
1676
3c856c14
LI
16772013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1678
83fa295c 1679 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1680 (shr-insert): Don't infloop if we can't find a good place to break
1681 the line (bug#16256).
3c856c14 1682
01379221
FEG
16832013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1684
1685 * progmodes/python.el:
1686 (python-nav--lisp-forward-sexp): New function.
1687 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1688 python-nav-lisp-forward-sexp-safe.
1689 (python-nav--forward-sexp): New argument SAFE allows switching
1690 forward sexp movement behavior for parens.
1691 (python-nav-forward-sexp): Throw errors on unterminated parens
1692 (Bug#16191).
1693 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1694 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1695 (python-shell-buffer-substring):
1696 Use `python-nav-forward-sexp-safe'.
01379221 1697
99e4926f
LI
16982013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1699
1700 * net/shr.el (shr-find-fill-point): Don't break lines before a
1701 quotation mark.
c6c20584
LI
1702 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1703 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1704 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1705
fec0e828
KN
17062013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1707
1708 * net/eww.el (eww-form-textarea): Use a different face for
1709 textareas than text input since they have different keymaps
1710 (bug#16142).
1711
89c868ad
FEG
17122013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1713
7514d3f8
SM
1714 * progmodes/python.el (python-nav-beginning-of-statement):
1715 Speed up (Bug#15295).
89c868ad 1716
eeef121a
LI
17172013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1718
1719 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1720 the window configuration.
1721
121ea65f
EZ
17222013-12-24 Eli Zaretskii <eliz@gnu.org>
1723
1724 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1725 we run on MS-Windows or MS-DOS.
1726
18cee9ec
MR
17272013-12-24 Martin Rudalics <rudalics@gmx.at>
1728
1729 * window.el (balance-windows-area): Call window-size instead of
1730 window-height and window-width. Bug#16241.
1731
58f2b9a5
LI
17322013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1733
1734 * net/eww.el (eww-bookmark-quit): Remove.
1735 (eww-bookmark-browse): Restore the window configuration when you
1736 choose a bookmark (bug#16144).
1737
d64b6308
DC
17382013-12-24 Daniel Colascione <dancol@dancol.org>
1739
1740 * icomplete.el: Remove redundant :group arguments to `defcustom'
1741 throughout.
1742 (icomplete-show-matches-on-no-input): New customizable variable.
1743 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1744 we have something to show.
7514d3f8 1745 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1746
0da54898
DC
17472013-12-23 Daniel Colascione <dancol@dancol.org>
1748
1749 * icomplete.el: Move `provide' to end of file.
1750
b90aa4f4
TZ
17512013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1752
1753 * net/gnutls.el (gnutls-verify-error): Add version tag.
1754
8cd22a08
CY
17552013-12-23 Chong Yidong <cyd@gnu.org>
1756
1757 * subr.el (set-transient-map): Rename from
1758 set-temporary-overlay-map. Doc fix.
1759
1760 * face-remap.el (text-scale-adjust):
1761 * indent.el (indent-rigidly):
1762 * kmacro.el (kmacro-call-macro):
1763 * minibuffer.el (minibuffer-force-complete):
1764 * repeat.el (repeat):
1765 * simple.el (universal-argument--mode):
1766 * calendar/todo-mode.el (todo-insert-item--next-param):
1767 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1768
7510b021
CY
1769 * indent.el (indent-rigidly): Use substitute-command-keys.
1770
72140a0f 17712013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1772
1773 * net/eww.el (eww-tag-select): Add text-property to jump to next
1774 select field.
e9dc713d 1775 (eww): Add non-supported ftp error.
56890ecd 1776
1f87a56c
DG
17772013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1780 comments. Handle electric indent after typing `?' and `!'.
1781
dca38cf9
CY
17822013-12-22 Chong Yidong <cyd@gnu.org>
1783
1784 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1785 applicable to a frame, fall back on the defface spec.
1786 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1787
f2351498
DG
17882013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1789
1790 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1791 after `{'. We need it after block openers, and it doesn't seem
1792 to hurt after hash openers.
1793
6cddebc1
DG
17942013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1795
1796 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1797 extracted from `ruby-smie-rules'.
1798 (ruby--electric-indent-chars): New variable.
1799 (ruby--electric-indent-p): New function.
1800 (ruby-mode): Use `electric-indent-functions' instead of
1801 `electric-indent-chars'.
1802
65a1da00
DG
18032013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1804
1805 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1806 docstring.
1807 (ruby-smie-rules): Indent plus one level after `=>'.
1808
b51ad4cf
RS
18092013-12-21 Richard Stallman <rms@gnu.org>
1810
1811 * simple.el (newline): Doc fix.
1812
72140a0f 18132013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1814
e9dc713d 1815 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1816 (eww-history-browse, eww-history-quit, eww-history-kill)
1817 (eww-history-mode-map, eww-history-mode): New command and
1818 functions to list browser histories.
e9dc713d
JB
1819 (eww-form-text): Support text form with disabled
1820 and readonly attributes.
1821 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1822
5e1901c1
RS
18232013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1824
1825 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1826 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1827 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1828 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1829 Use `user-error'.
1830 (eww-bookmark-mode-map): Add menu.
1831 (eww-render, eww-mode): Use `setq-local'.
1832 (eww-tool-bar-map): New variable.
1833 (eww-mode): Set `tool-bar-map'.
1834 (eww-view-source): Check for `html-mode' with `fboundp'.
1835
073d5cfd
LMI
18362013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1837
1838 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1839 elements with text inside. Also remove debugging.
1840
41cf3d11
JD
18412013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1842
1843 * cus-start.el (all): Add ns-use-srgb-colorspace.
1844
aac2b673
CY
18452013-12-21 Chong Yidong <cyd@gnu.org>
1846
1847 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1848 undefined. Thus, theme settings for undefined faces do not take
1849 effect until the faces are defined with defface, the same as with
1850 theme variables.
1851
1852 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1853 (face-spec-reset-face): Don't assign extra properties in temacs.
1854 (face-spec-recalc): Apply X resources too.
1855
bacb0e77
CY
18562013-12-21 Chong Yidong <cyd@gnu.org>
1857
1858 * faces.el (face-spec-set):
1859 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1860 * custom.el (defface): Doc fixes (Bug#16203).
1861
77221051
CY
1862 * indent.el (indent-rigidly-map): Add docstring, and move commands
1863 into named functions.
1864 (indent-rigidly-left, indent-rigidly-right)
1865 (indent-rigidly-left-to-tab-stop)
1866 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1867 indentation direction based on bidi direction, and accumulate
1868 sequential commands in a single undo boundary.
1869 (indent-rigidly--pop-undo): New utility function.
1870
e0eb0550
JB
18712013-12-20 Juanma Barranquero <lekktu@gmail.com>
1872
1873 * faces.el (read-face-name): Require crm.el when using crm-separator.
1874
3282bd2e
DC
18752013-12-20 Daniel Colascione <dancol@dancol.org>
1876
1877 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1878 so that we don't reflow comments into the shebang line.
1879
1d42e5b6
JL
18802013-12-20 Juri Linkov <juri@jurta.org>
1881
1882 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1883 a position when `dired-directory' is non-nil. Check integer
1884 positions with `integerp'.
1885 (toggle-save-place, save-places-to-alist): Add check for
1886 `dired-directory'.
1887 (save-place-find-file-hook): Check integer positions with
1888 `integerp'.
1889 (save-place-dired-hook): Use `dired-goto-file' when
1890 `dired-filename' is found in the assoc list. Check integer
1891 positions with `integerp'.
1892 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1893
1894 * dired.el (dired-initial-position-hook): Rename back from
1895 `dired-initial-point-hook'.
1896 (dired-initial-position): Rename `dired-initial-point-hook' to
1897 `dired-initial-position-hook'.
1898 (dired-file-name-at-point): Doc fix. (Bug#15329)
1899
24da7273
JL
19002013-12-20 Juri Linkov <juri@jurta.org>
1901
1902 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1903 (read-regexp-suggestions): New function.
1904 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1905 Use `read-regexp-suggestions'. Add non-empty default to history
1906 for empty input.
1907 (occur-read-regexp-defaults-function): Remove function.
1908 (occur-read-primary-args): Use `regexp-history-last' instead of
1909 `occur-read-regexp-defaults-function'.
1910
1911 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1912 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1913 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1914 `hi-lock-read-regexp-defaults-function'. Doc fix.
1915 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1916 with `find-tag-default-as-symbol-regexp'. Doc fix.
1917 (hi-lock-read-regexp-defaults): Remove function.
1918 (hi-lock-regexp-okay): Add check for null.
1919
1920 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1921 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1922
1923 * subr.el (find-tag-default-as-symbol-regexp): New function.
1924 (find-tag-default-as-regexp): Move symbol regexp formatting to
1925 `find-tag-default-as-symbol-regexp'.
1926
137f57c8
S
19272013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1928
1929 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1930 (Bug#14179)
1931
f3a66082
SB
19322013-12-20 Stephen Berman <stephen.berman@gmx.net>
1933
1934 * calendar/todo-mode.el: New implementation of item insertion
1935 commands and key bindings.
1936 (todo-key-prompt): New face.
1937 (todo-insert-item): New command.
1938 (todo-insert-item--parameters): New defconst, replacing defvar
1939 todo-insertion-commands-args-genlist.
1940 (todo-insert-item--param-key-alist): New defconst, replacing
1941 defvar todo-insertion-commands-arg-key-list.
1942 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1943 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1944 (todo-insert-item--next-param): New functions.
1945 (todo-insert-item--args, todo-insert-item--argleft)
1946 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1947 New variables.
1948 (todo-key-bindings-t): Change binding of "i" from
1949 todo-insertion-map to todo-insert-item.
1950 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1951 (todo-insertion-command-name, todo-insertion-commands-names)
1952 (todo-define-insertion-command, todo-insertion-commands)
1953 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1954
2f99433b
SB
19552013-12-20 Stephen Berman <stephen.berman@gmx.net>
1956
1957 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1958 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1959 eval-when-compile.
1960 (todo-move-category): Allow choosing a non-existing todo file to
1961 move the category to, and create that file.
1962 (todo-default-priority): New user option.
1963 (todo-set-item-priority): Use it.
1964 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1965 (desktop-restore-file-buffer): Declare.
1966 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1967 (todo-modes-set-2): Locally set desktop-save-buffer to
1968 todo-desktop-save-buffer.
1969 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1970 (auto-mode-alist): Add autoload cookie.
1971
131e4695
BB
19722013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1973
1974 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1975 helpers.el was a poor choice of name.
3cbfb935
BB
1976 (string-remove-prefix): New function.
1977 (string-remove-suffix): New function.
131e4695 1978
c44de18d
MR
19792013-12-20 Martin Rudalics <rudalics@gmx.at>
1980
1981 Fix assignment for new window total sizes.
1982 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1983 (window--pixel-to-total-1, window--pixel-to-total):
1984 Fix calculation of new total sizes.
c44de18d 1985
ca65efcc
VS
19862013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1987
1988 * comint.el (comint-output-filter): Fix rear-nonsticky property
1989 placement (Bug#16010).
1990
a9574eb7
CY
19912013-12-20 Chong Yidong <cyd@gnu.org>
1992
1993 * faces.el (read-color): Minor fix for completion function.
1994
b520f210
DG
19952013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1996
e0eb0550
JB
1997 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1998 New option. (Bug#16182)
b520f210
DG
1999 (ruby-smie--indent-to-stmt-p): Use it.
2000 (ruby-smie-rules): Revert the logic in the handling of `when'.
2001 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2002 (ruby-deep-arglist, ruby-deep-indent-paren)
2003 (ruby-deep-indent-paren-style): Update docstrings to note that the
2004 vars don't have any effect with SMIE.
2005
26b75b45
JB
20062013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2007
2008 * calc/calc.el (calc-enter, calc-pop): Use the variable
2009 `calc-context-sensitive-enter'.
2010
cf91cee7
LMI
20112013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2012
2013 * net/shr.el (shr-insert): Protect against infloops in degenerate
2014 tables.
2015
51d971b4
RS
20162013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2017
2018 * progmodes/octave.el (octave): Add link to manual and octave
2019 homepage.
2020 (octave-mode-menu): Link to octave-mode manual.
2021
8c2e462a
LL
20222013-12-20 Leo Liu <sdl.web@gmail.com>
2023
2024 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2025 insertion using skeleton-end-newline. (Bug#16138)
2026
501158bc
JL
20272013-12-20 Juri Linkov <juri@jurta.org>
2028
2029 * replace.el (occur-engine): Use `add-face-text-property'
2030 to add the face property to matches and titles. (Bug#14645)
2031
2032 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2033 the palette of other hi-lock colors.
2034 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2035
50ab1da6
JL
20362013-12-19 Juri Linkov <juri@jurta.org>
2037
2038 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2039 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2040 (minibuffer-history-symbol): Move variable declaration closer to
2041 its usage.
2042
2043 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2044 (Bug#14785)
2045
3d6e95e7
JL
20462013-12-19 Juri Linkov <juri@jurta.org>
2047
2048 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2049 New function.
2050 (log-edit-hook): Add it to :options. (Bug#16170)
2051
b41594fd
JL
20522013-12-19 Juri Linkov <juri@jurta.org>
2053
2054 * simple.el (eval-expression-print-format): Don't check for
2055 command names and the last command. Always display additional
2056 formats of the integer result in the echo area, and insert them
2057 to the current buffer only with a zero prefix arg.
2058 Display character when char-displayable-p is non-nil.
2059 (eval-expression): With a zero prefix arg, set `print-length' and
2060 `print-level' to nil, and insert the integer values from
2061 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2062
2063 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2064 `eval-last-sexp-arg-internal'. Doc fix.
2065 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2066 `eval-last-sexp-print-value'. Doc fix.
2067 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2068 Set `print-length' and `print-level' to nil when arg is zero.
2069 (eval-last-sexp): Doc fix.
2070 (eval-defun-2): Print the integer values from
2071 `eval-expression-print-format' at the end.
2072
2073 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2074 values from `eval-expression-print-format' at the end.
2075
2076 * ielm.el (ielm-eval-input): Print the integer
2077 values from `eval-expression-print-format' at the end.
2078
8f2be364
TZ
20792013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2080
2081 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2082 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2083
2230a6e3
SM
20842013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2087 (hl-line-highlight, global-hl-line-highlight): Use it.
2088 (hl-line-overlay): Use defvar-local.
2089
1269a680
JD
20902013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2091
2092 * term/ns-win.el: Require dnd.
2093 (global-map): Remove drag items.
2094 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2095 (ns-set-background-at-mouse):
2096 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2097 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2098 New functions.
1269a680 2099
049638ad
GM
21002013-12-19 Glenn Morris <rgm@gnu.org>
2101
2102 * emacs-lisp/ert.el (ert-select-tests):
2103 Fix string/symbol mixup. (Bug#16121)
2104
ce41edb4
DG
21052013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2106
2107 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2108 keywords to their parent.
2109
7e1549c9
DG
21102013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2113 first arg to be a string (fixed dead code), or an operator symbol.
2114 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2115 operator symbols.
2116 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2117 did nothing. Don't respond to `(:after ".")', it will be called
2118 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2119 change anything. Only return indentation for binary operators
2120 when they are hanging. De-dent opening paren when its parent is
2121 `.', otherwise it looks bad when the dot is not at bol or eol
2122 (bug#16182).
2123
3ee4cd64
JL
21242013-12-19 Juri Linkov <juri@jurta.org>
2125
2126 * replace.el (query-replace-read-args): Split a non-negative arg
2127 and a negative arg into separate elements.
2128 (query-replace, query-replace-regexp, replace-string)
2129 (replace-regexp): Add arg `backward'. Doc fix.
2130 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2131 move point to the beginning of the match.
2132 (replace-search, replace-highlight): Use new arg `backward'
2133 to set the value of `isearch-forward'.
2134 (perform-replace): Add arg `backward' and use it to perform
2135 replacement backward. (Bug#14979)
2136
2137 * isearch.el (isearch-query-replace): Use a negative prefix arg
2138 to call `perform-replace' with a non-nil arg `backward'.
2139
0cda6b7b
JL
21402013-12-18 Juri Linkov <juri@jurta.org>
2141
2142 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2143 to the default list. Move `log-edit-show-files' to the end.
2144 Add more available functions to options.
2145 (log-edit): Move default specific settings to
2146 `log-edit-insert-message-template'. Don't move point.
2147 (log-edit-insert-message-template): New function.
2148 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2149 (Bug#16170)
2150
b216f0a6
JL
21512013-12-18 Juri Linkov <juri@jurta.org>
2152
2153 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2154 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2155
1d1c55dc
LL
21562013-12-18 Leo Liu <sdl.web@gmail.com>
2157
e9dc713d
JB
2158 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2159 (Bug#16186)
1d1c55dc 2160
64e4c76e
EZ
21612013-12-18 Eli Zaretskii <eliz@gnu.org>
2162
2163 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2164 formats for displaying file sizes when the -s switch is given.
2165 Instead, compute a separate format for displaying the size in
2166 blocks, which is displayed in addition to the "regular" size.
2167 When -h is given in addition to -s, produce size in blocks in
2168 human-readable form as well. (Bug#16179)
2169
b2984e39
TH
21702013-12-18 Tassilo Horn <tsdh@gnu.org>
2171
2230a6e3
SM
2172 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2173 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2174
50ff2e06
CY
21752013-12-18 Chong Yidong <cyd@gnu.org>
2176
0081bc84
CY
2177 * cus-edit.el (custom-magic-alist): Fix "themed" description
2178 (Bug#14348).
2179
a7ee9424
CY
2180 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2181 is non-nil, do not create a new entry in the symbol's theme-value
2182 or theme-face property; update theme-settings only (Bug#14664).
18874304 2183 (custom-available-themes): Doc fix.
a7ee9424 2184
8f942537
CY
2185 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2186 (Bug#15674).
2187
50ff2e06
CY
2188 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2189
83c60f60
KI
21902013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2191
2192 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2193 (Bug#13914).
2194
e0eb0550 21952013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2196
2197 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2198
1f41ee56
GM
21992013-12-18 Glenn Morris <rgm@gnu.org>
2200
2201 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2202 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2203
e82134b1
LW
22042013-12-18 Le Wang <l26wang@gmail.com>
2205
2230a6e3
SM
2206 * comint.el (comint-previous-matching-input-from-input):
2207 Retain point (Bug#13404).
e82134b1 2208
33f5d4c1
CY
22092013-12-18 Chong Yidong <cyd@gnu.org>
2210
2211 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2212
ccc9f6dc
GM
22132013-12-18 Glenn Morris <rgm@gnu.org>
2214
2215 * mail/emacsbug.el (report-emacs-bug):
2216 Only mention enable-multibyte-characters if non-standard.
2217
33dd8e95
JL
22182013-12-17 Juri Linkov <juri@jurta.org>
2219
2220 * arc-mode.el (archive-extract-by-file): Check if directory exists
2221 before deletion to not show irrelevant errors if it doesn't exist.
2222
7a409b30
JL
22232013-12-17 Juri Linkov <juri@jurta.org>
2224
2225 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2226 (Bug#14751)
2227
2228 * net/eww.el (browse-web): Add alias to `eww'.
2229 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2230 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2231
2232 * net/browse-url.el (browse-url-browser-function): Move `eww'
2233 closer to similar functions.
2234
2235 * startup.el (fancy-startup-screen, fancy-about-screen):
2236 Set browse-url-browser-function to eww-browse-url locally.
2237 (Bug#14751)
2238
2d6b6005
SM
22392013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * window.el (window--pixel-to-total): Remove unused `mini' var.
2242 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2243 (split-window): Remove unused `new' var.
2244 (window--display-buffer): Remove unused `frame' and `delta' vars.
2245 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2246 and display-width'.
2247
cf2b7efc
MR
22482013-12-17 Martin Rudalics <rudalics@gmx.at>
2249
2250 * dired.el (dired-mark-pop-up):
2251 * register.el (register-preview): Don't bind
2252 split-height-threshold here since it's now done in
2253 display-buffer-below-selected.
2254
ed3af8a7 22552013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2256
2257 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2258 xterm-rgb-convert-to-16bit.
2259 (rxvt-register-default-colors): Standardize with
2260 xterm-register-default-colors (Bug#14078).
2261
76da3455
DK
22622013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2263
2264 * simple.el (kill-region): Pass mark first, then point, so that
2265 kill-append works right (Bug#12819).
2266 (copy-region-as-kill, kill-ring-save): Likewise.
2267
2b84d763
LL
22682013-12-17 Leo Liu <sdl.web@gmail.com>
2269
2270 * net/rcirc.el (rcirc-add-face):
2271 * eshell/em-prompt.el (eshell-emit-prompt):
2272 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2273 (Bug#16167)
2274
e2f6a0bc
CY
22752013-12-17 Chong Yidong <cyd@gnu.org>
2276
2277 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2278 Suggested by Xue Fuqiao.
2279
35b249a6
DG
22802013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2281
2282 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2283
e9145444
SM
22842013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * net/shr.el (shr-insert-document): Remove unused var
2287 `shr-preliminary-table-render'.
2288 (shr-rescale-image): Remove unused arg `force'.
2289 (shr-put-image): Update calls accordingly.
2290 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2291
5556c0ce
DG
22922013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2293
2294 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2295 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2296 :close-all, to see which indentation method to use (Bug#16116).
2297 (smie-rules-function): Document the method :close-all.
2298
11bade0a
LMI
22992013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2300
1c4b1e61
LMI
2301 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2302
11bade0a
LMI
2303 * net/eww.el (eww-display-html): If we can't find the anchor we're
2304 looking for, then go to point-min.
2305
8fb8c4f3
PE
23062013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2307
2308 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2309 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2310 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2311 Expand dir too, in case it's relative.
2312
6c8e0ae6
JL
23132013-12-16 Juri Linkov <juri@jurta.org>
2314
2315 * desktop.el (desktop-auto-save-timeout): Change default to
2316 `auto-save-timeout'. Doc fix.
2317 (desktop-save): Skip the timestamp in desktop-saved-frameset
2318 when checking for auto-save changes.
2319 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2320 `desktop-auto-save' is called repeatedly by the idle timer.
2321 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2322 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2323 (Bug#15331)
2324
2178e858
JL
23252013-12-16 Juri Linkov <juri@jurta.org>
2326
2327 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2328 (Bug#16035)
2329 (isearch-pre-command-hook): Check `this-command' for symbolp.
2330
39cb42c6
SM
23312013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2334
5b9b750a
TZ
23352013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2336
2337 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2338 (cfengine3--current-function): Bring in the current-function
2339 functionality from `cfengine3--current-word'.
2340 (cfengine3-completion-function): Bring in the
2341 bounds-of-current-word functionality from
2342 `cfengine3--current-word'.
2343
d144ef06
MR
23442013-12-16 Martin Rudalics <rudalics@gmx.at>
2345
39cb42c6
SM
2346 * window.el (display-buffer-below-selected):
2347 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2348
a8bbe298
LL
23492013-12-16 Leo Liu <sdl.web@gmail.com>
2350
2351 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2352 Remove NOMSG arg and all uses changed.
2353
2013a2f9
SM
23542013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2357 (cua--deactivate-rectangle): Don't deactivate the mark.
2358 (cua-set-rectangle-mark): Don't set mark-active since
2359 cua--activate-rectangle already does it for us.
2360 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2361 non-rectangular region.
2362
2363 * emulation/cua-base.el (cua-repeat-replace-region):
2364 Use with-current-buffer.
2365
2366 * net/gnutls.el: Use cl-lib.
2367 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2368
5ae811dd
TZ
23692013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2370
2371 * emacs-lisp/package.el (package-built-in-p): Support both
2372 built-in and the package.el converted package descriptions.
2373 (package-show-package-list): Allow keywords.
2374 (package-keyword-button-action): Use it instead of
2375 `finder-list-matches'.
2376 (package-menu-filter-interactive): Interactive filtering (by
2377 keyword) function.
2378 (package-menu--generate): Support keywords and change keymappings
2379 and headers when they are given.
2380 (package--has-keyword-p): Helper function.
2381 (package-menu--refresh): Use it.
2382 (package--mapc): Helper function.
2383 (package-all-keywords): Use it.
2384 (package-menu-mode-map): Set up menu items and keybindings to
2385 provide a filtering UI.
2386
31b4827e
TZ
23872013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2388
2389 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2390 the behavior when a certificate fails validation. Defaults to
2391 old behavior: never abort, just warn.
2392 (gnutls-negotiate): Use it.
2393
f93cc74f
MR
23942013-12-14 Martin Rudalics <rudalics@gmx.at>
2395
2396 * window.el (display-buffer-below-selected): Never split window
2397 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2398
f77d7d17
TW
23992013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2400
2401 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2402 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2403
7514d3f8
SM
24042013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2405
aa2bddd7 2406 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2407 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2408
276bc333
DG
24092013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2410
2411 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2412 open-paren tokens when preceded by a open-paren, too.
2413 (ruby-smie-rules): Handle virtual indentation after open-paren
2414 tokens specially. If there is code between it and eol, return the
2415 column where is starts (Bug#16118).
2416
d43957f3
TZ
24172013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2418
a5c1ac0c 2419 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2420 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2421 (cfengine3--current-word): Fix parameters.
2422 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2423 (cfengine3-completion-function, cfengine3--current-function):
2424 Use `assq' for symbols.
d43957f3
TZ
2425 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2426
06a4f110
GM
24272013-12-13 Glenn Morris <rgm@gnu.org>
2428
2429 * loadup.el (load-path): Warn if site-load or site-init changes it.
2430 No more need to reset it when bootstrapping.
2431
978a5fda
TZ
24322013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2433
2434 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2435 locations for cf-promises.
2436 (cfengine-mode-syntax-functions-regex): New caching variable.
2437 (cfengine3-fallback-syntax): Fallback syntax for cases where
2438 cf-promises doesn't run.
2439 (cfengine3--current-word): Reimplement using
2440 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2441 (cfengine3-completion-function, cfengine3--current-function):
2442 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2443 (cfengine3-clear-syntax-cache): New function.
2444 (cfengine3-make-syntax-cache): Simplify and create
2445 `cfengine-mode-syntax-functions-regex' on demand.
2446 (cfengine3-format-function-docstring): Don't call
2447 `cfengine3-make-syntax-cache' explicitly.
2448
71e6691e
MR
24492013-12-13 Martin Rudalics <rudalics@gmx.at>
2450
2451 Fix windmove-find-other-window broken after pixelwise resizing
2452 (Bug#16017).
2453 * windmove.el (windmove-other-window-loc): Revert change from
2454 2013-12-04.
2455 (windmove-find-other-window): Call window-in-direction.
2456 * window.el (window-in-direction): New arguments SIGN, WRAP and
2457 MINI to emulate original windmove-find-other-window behavior.
2458
84c73ba0
DG
24592013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2460
2461 * simple.el (blink-matching--overlay): New variable.
2462 (blink-matching-open): Instead of moving point, highlight the
2463 matching paren with an overlay
2464 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2465
2466 * faces.el (paren-showing-faces, show-paren-match)
2467 (show-paren-mismatch): Move from paren.el.
2468
b9e20952
LL
24692013-12-13 Leo Liu <sdl.web@gmail.com>
2470
2471 * indent.el (indent-region): Disable progress reporter in
2472 minibuffer. (Bug#16108)
2473
2474 * bindings.el (visual-order-cursor-movement): Fix version.
2475
ce030451
FEG
24762013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2477
2478 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2479 Also match after beginning of line.
2480 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2481 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2482
4a9c6865
JL
24832013-12-13 Juri Linkov <juri@jurta.org>
2484
2485 * simple.el <Keypad support>: Remove key bindings duplicated
2486 with bindings.el. (Bug#14397)
2487
2bc170c3
JL
24882013-12-13 Juri Linkov <juri@jurta.org>
2489
2490 * comint.el (comint-mode-map): Replace `delete-char' with
2491 `delete-forward-char'. (Bug#16109)
2492
bc9222c9
FEG
24932013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2494
aa2bddd7 2495 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2496 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2497
cb3a1380
SM
24982013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2501 (advice--make): Pay attention to `depth'.
2502 (advice--make-1): Don't autoload commands eagerly.
2503 * emacs-lisp/elp.el (elp-instrument-function):
2504 * emacs-lisp/trace.el (trace-function-internal):
2505 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2506
2507 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2508
01633a17
EZ
25092013-12-12 Eli Zaretskii <eliz@gnu.org>
2510
2511 * term/w32-win.el (w32-handle-dropped-file):
2512 * startup.el (normal-top-level):
2513 * net/browse-url.el (browse-url-file-url):
2514 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2515 decode file names using 'utf-8' rather than
2516 file-name-coding-system.
2517
09faee72
FEG
25182013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2519
2520 * progmodes/python.el (python-indent-context)
2521 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2522 behavior for comment blocks. (Bug#15916)
09faee72 2523
f4f84024 25242013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2525
cb3a1380
SM
2526 * progmodes/python.el (python-indent-calculate-indentation):
2527 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2528 operators when they are just string constituents. (Bug#15812)
2529
d5ccb7be
JL
25302013-12-12 Juri Linkov <juri@jurta.org>
2531
2532 * uniquify.el (uniquify-buffer-name-style): Change default to
2533 `post-forward-angle-brackets'.
2534
2535 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2536 `uniquify'. Change default to `post-forward-angle-brackets'.
2537
7b3f5679
GM
25382013-12-11 Glenn Morris <rgm@gnu.org>
2539
2540 * emacs-lisp/package.el (finder-list-matches):
2541 Autoload rather than falsely declaring.
2542
f4fe8fdd
TZ
25432013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2544
2545 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2546 (eww-mode-map): Use them.
2547
3c29190f
MR
25482013-12-11 Martin Rudalics <rudalics@gmx.at>
2549
2550 * window.el (display-buffer-in-side-window): Fix doc-string
2551 (Bug#16115).
2552
0cd616a2
JB
25532013-12-11 Juanma Barranquero <lekktu@gmail.com>
2554
2555 * vc/vc-git.el: Silence byte-compiler warnings.
2556 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2557 (log-edit-set-header): Declare.
2558
3ef8e0d1
EZ
25592013-12-11 Eli Zaretskii <eliz@gnu.org>
2560
2561 * Makefile.in (custom-deps, finder-data): Run output file names
2562 through unmsys--file-name. (Bug#16099)
2563
afdadaf7
SM
25642013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2565
7ae3ae39 2566 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2567 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2568
5b4f37ab
SM
2569 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2570 instead of deleting the selection "by hand" (bug#16098).
2571 Rely on insert-for-yank to yank rectangles.
2572 (cua-highlight-region-shift-only): Mark obsolete.
2573 (cua-mode): Don't enable/disable transient-mark-mode,
2574 shift-select-mode (cua-mode works both with and without them), and
2575 pc-selection-mode (obsolete).
2576 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2577 (cua--deactivate-rectangle): Deactivate it.
2578
4b72c12b
SM
2579 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2580 (delete-selection-helper): Make sure yank starts at the top of the
2581 deleted region.
2582 (minibuffer-keyboard-quit): Use region-active-p.
2583
e82af72d
SM
2584 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2585
afdadaf7
SM
2586 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2587 to `delete' (bug#16109).
2588
ed4bc201
RS
25892013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2590
2591 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2592 info manual and show keybindings and set `:group' keyword.
2593
bb8097b9
JL
25942013-12-11 Juri Linkov <juri@jurta.org>
2595
2596 * delsel.el (delete-active-region): Let-bind `this-command'
2597 to prevent `kill-region' from changing its original value.
2598 (delete-selection-helper): Handle `overwrite-mode' for the type
2599 `kill' exactly the same way as for the type `t'.
2600 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2601 Support more commands. (Bug#13312)
2602
c1916ff5
JL
26032013-12-11 Juri Linkov <juri@jurta.org>
2604
2605 * bindings.el: Map kp keys to non-kp keys systematically
2606 with basic modifiers control, meta and shift. (Bug#14397)
2607
7514d3f8 26082013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2609
2610 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2611 "Close browser" menu items. Fix wrong function of "List
2612 bookmarks".
2613
4cc51eaf
JL
26142013-12-11 Juri Linkov <juri@jurta.org>
2615
2616 * misearch.el (multi-isearch-buffers): Set the value of
2617 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2618 arg of isearch-forward to t.
2619 (multi-isearch-buffers-regexp): Set the value of
2620 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2621 arg of isearch-forward-regexp to t.
2622 (multi-isearch-files): Set the value of
2623 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2624 arg of isearch-forward to t.
2625 (multi-isearch-files-regexp): Set the value of
c295fc18 2626 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
2627 arg of isearch-forward-regexp to t. (Bug#16035)
2628
2629 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2630 arg of isearch-forward to t.
2631 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2632 arg of isearch-forward-regexp to t.
2633 (dired-isearch-filter-filenames): Remove unnecessary check for
2634 `dired-isearch-filenames'.
2635
2636 * comint.el (comint-history-isearch-backward):
2637 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2638 (comint-history-isearch-backward-regexp):
2639 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2640
ceac12b7
EZ
26412013-12-10 Eli Zaretskii <eliz@gnu.org>
2642
2643 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2644 unmsys--file-name. (Bug#16099)
2645
5a565782
TZ
26462013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2647
cb3a1380
SM
2648 * emacs-lisp/package.el (package-keyword-button-action):
2649 Remove finder.el require dependency.
5a565782 2650
a81fc7ba
TZ
26512013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2652
2653 * emacs-lisp/package.el: Require finder.el.
2654 (describe-package-1): Add keyword buttons.
2655 (package-make-button): New convenience function.
2656 (package-keyword-button-action): Keyword button action using
e0eb0550 2657 `finder-list-matches'.
a81fc7ba 2658
6aaca951
EZ
26592013-12-09 Eli Zaretskii <eliz@gnu.org>
2660
2661 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2662 last commit.
2663
a1099a91
MA
26642013-12-09 Michael Albinus <michael.albinus@gmx.de>
2665
2666 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2667 symlinked files.
2668
8212d9c0
DG
26692013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2670
2671 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2672 after the end of a percent literal.
2673
8f48d131
CD
26742013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2675
cb3a1380
SM
2676 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2677 Handle caret-delimited strings (Bug#16079).
8f48d131 2678
ff8c9764
DG
26792013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2680
cb3a1380
SM
2681 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2682 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2683 `ruby-parse-partial' (Bug#16078).
2684
d64643b4
LL
26852013-12-09 Leo Liu <sdl.web@gmail.com>
2686
2687 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2688
47e59c66
DG
26892013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2690
2691 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2692 (js-switch-indent-offset): New option.
2693 (js--proper-indentation): Use it. And handle the case when
2694 "default" is actually a key in an object literal.
2695 (js--same-line): New function.
2696 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2697 (js--indent-in-array-comp, js--array-comp-indentation):
2698 New functions.
47e59c66
DG
2699 (js--proper-indentation): Use them, to handle array comprehension
2700 continuations.
2701
974ebc9c
LL
27022013-12-08 Leo Liu <sdl.web@gmail.com>
2703
2704 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2705 (flymake-make-overlay): Remove arg MOUSE-FACE.
2706 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2707
27262e39
SM
27082013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2711 New function.
2712 (redisplay-highlight-region-function): Use it.
2713
2714 * emulation/cua-base.el (cua--explicit-region-start)
2715 (cua--last-region-shifted): Remove.
2716 (cua--deactivate): Use deactivate-mark.
2717 (cua--pre-command-handler-1): Don't handle shift-selection.
2718 (cua--post-command-handler-1): Don't change transient-mark-mode.
2719 (cua--select-keymaps): Use region-active-p rather than
2720 cua--explicit-region-start or cua--last-region-shifted.
2721 (cua-mode): Enable shift-select-mode.
2722
6407822c
LL
27232013-12-08 Leo Liu <sdl.web@gmail.com>
2724
27262e39
SM
2725 * progmodes/flymake.el (flymake-popup-current-error-menu):
2726 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2727 (flymake-posn-at-point-as-event, flymake-popup-menu)
2728 (flymake-make-emacs-menu): Remove. (Bug#16077)
2729
00a2b823
SM
27302013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2731
02033d49
SM
2732 * rect.el (rectangle-mark-mode): Activate mark even if
2733 transient-mark-mode is off (bug#16066).
2734 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2735 is > mark and at bolp.
2736
6f8dfccf
SM
2737 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2738 (region-extract-function): Use it.
2739 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2740 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2741 Delete functions.
2742 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2743 kill-ring-save, kill-region, delete-char, delete-forward-char.
2744 Ignore self-insert-iso.
2745
2746 * emulation/cua-gmrk.el (cua--init-global-mark):
2747 Ignore `self-insert-iso'.
2748
2749 * emulation/cua-base.el (cua--prefix-copy-handler)
2750 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2751 checking cua--rectangle.
2752 (cua-delete-region): Use region-extract-function.
2753 (cua-replace-region): Delete function.
2754 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2755 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2756 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2757 (cua--init-keymaps): Don't remap delete-selection commands.
2758 (cua-mode): Use delete-selection-mode instead of rolling our own
2759 (bug#16085).
2760
2761 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2762 Obey region-extract-function.
2763
00a2b823
SM
2764 Make registers and delete-selection-mode work on rectangles.
2765 * register.el (describe-register-1): Don't modify the register's value.
2766 (copy-to-register): Obey region-extract-function.
2767 * delsel.el (delete-active-region): Obey region-extract-function.
2768
a92fa5f1
LL
27692013-12-08 Leo Liu <sdl.web@gmail.com>
2770
2771 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2772 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2773 (flymake-compilation-prevents-syntax-check)
2774 (flymake-start-syntax-check-on-newline)
2775 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2776 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2777 (flymake-xml-program, flymake-master-file-dirs)
2778 (flymake-master-file-count-limit)
2779 (flymake-allowed-file-name-masks): Relocate.
2780 (flymake-makehash, flymake-float-time)
2781 (flymake-replace-regexp-in-string, flymake-split-string)
2782 (flymake-get-temp-dir): Remove.
2783 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2784 (flymake-current-row, flymake-selected-frame)
2785 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2786 related functions. (Bug#16077)
2787
73c8ceea
BB
27882013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2789
2790 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2791
faec28d9
TH
27922013-12-07 Tassilo Horn <tsdh@gnu.org>
2793
2794 * help-fns.el (describe-function-1): Use new advice-* functions
2795 rather than old ad-* functions. Fix function type description and
2796 source links for advised functions and subrs.
2797
e330b646
LMI
27982013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2799
00a2b823 2800 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2801
4803595d
MA
28022013-12-06 Michael Albinus <michael.albinus@gmx.de>
2803
2804 * progmodes/compile.el (compilation-start):
2805 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2806
2807 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2808 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2809
fa834a93
DG
28102013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2811
00a2b823
SM
2812 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2813 Touch up the last change.
fa834a93 2814
b2856a6f
LL
28152013-12-06 Leo Liu <sdl.web@gmail.com>
2816
2817 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2818 (inferior-octave-startup): Always use "octave> " for prompt.
2819 (octave-goto-function-definition)
2820 (octave-sync-function-file-names)
2821 (octave-find-definition-default-filename): Remove redundant backquotes.
2822
af67e79a
DG
28232013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2824
2825 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2826 syntax for `?'.
2827 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2828 where appropriate already.
2829 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2830 end of method names (Bug#15874).
2831
bf093209
JL
28322013-12-06 Juri Linkov <juri@jurta.org>
2833
2834 * isearch.el (isearch--saved-overriding-local-map):
2835 New internal variable.
2836 (isearch-mode): Set it to the initial value of
2837 `overriding-terminal-local-map'.
2838 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2839 with `isearch--saved-overriding-local-map'. (Bug#16035)
2840
16588fad
DG
28412013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2842
00a2b823
SM
2843 * progmodes/octave.el (inferior-octave-completion-table):
2844 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2845 (Bug#11906). Update all references.
2846
2847 * minibuffer.el (completion-table-with-cache): New function.
2848
bf4906d7
CD
28492013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2850
2851 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2852
ff69c18f
TZ
28532013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2854
2855 * net/eww.el (eww-current-source): New variable to store page
2856 source.
2857 (eww-display-html, eww-mode, eww-save-history)
2858 (eww-restore-history): Use it.
2859 (eww-view-source): New command to view page source.
2860 Opportunistically uses `html-mode' to highlight the buffer.
2861 (eww-mode-map): Install it.
2862
b85eff45
MA
28632013-12-05 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/dbus.el (dbus-unregister-service)
2866 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2867 Fix docstring.
2868 (dbus-unregister-service): Skip :serial entries in
2869 `dbus-registered-objects-table'.
2870 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2871
39eb0899
TZ
28722013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2873
2874 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2875 around keywords with extra `split-string' argument.
2876
456760a5
MR
28772013-12-04 Martin Rudalics <rudalics@gmx.at>
2878
2879 * windmove.el (windmove-other-window-loc): Handle navigation
2880 between windows (excluding the minibuffer window - Bug#16017).
2881
81961e4c
MA
28822013-12-04 Michael Albinus <michael.albinus@gmx.de>
2883
2884 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2885 in D-Bus type syntax.
2886 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2887 preserve unibyte strings. (Bug#16048)
2888
8497f938
SM
28892013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2892 Call force-mode-line-update is the proper buffer (bug#16042).
2893
dda61916
DG
28942013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2895
2896 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2897 `log-edit-remember-comment', make argument optional. Adjust all
2898 callers.
2899 (log-edit-mode): Add `log-edit-remember-comment' to
2900 `kill-buffer-hook' locally.
2901 (log-edit-kill-buffer): Don't remember comment explicitly since
2902 the buffer is killed anyway.
2903
c085e5b9
JL
29042013-12-04 Juri Linkov <juri@jurta.org>
2905
2906 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2907 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2908
e0eb0550 29092013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2910
2911 * notifications.el (notifications-close-notification): Call the
81961e4c 2912 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2913
39fa32d6
KY
29142013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2915
2916 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2917
9139632a
JL
29182013-12-03 Juri Linkov <juri@jurta.org>
2919
2920 * progmodes/compile.el (compilation-start): Rename window alist
2921 entry `no-display-ok' to `allow-no-window'.
2922
2923 * simple.el (shell-command): Add window alist entry
2924 `allow-no-window' to `display-buffer'.
2925 (async-shell-command): Doc fix.
2926
2927 * window.el (display-buffer-no-window): New action function.
2928 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2929
0f457a37
DG
29302013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2931
2932 * vc/log-edit.el (log-edit-set-header): Extract from
2933 `log-edit-toggle-header'.
2934 (log-edit-extract-headers): Separate the summary, when extracted
2935 from header, from the rest of the message with an empty line.
2936
2937 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2938 line, if present, to the Summary header.
2939
0962f376
SM
29402013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2943 in current-buffer (bug#16029).
2944
f345395c
HE
29452013-12-02 Helmut Eller <eller.helmut@gmail.com>
2946
2947 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2948 (debugger-mode-map): Bind it.
2949 (debugger--backtrace-base): New function.
2950 (debugger-eval-expression): Use it.
2951 (debugger-frame-number): Skip local vars when present.
2952 (debugger--locals-visible-p, debugger--insert-locals)
2953 (debugger--show-locals, debugger--hide-locals): New functions.
2954
a8a15d9d
MA
29552013-12-02 Michael Albinus <michael.albinus@gmx.de>
2956
2957 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2958 "LC_ALL".
2959 (tramp-get-remote-locale): New defun.
2960 (tramp-open-connection-setup-interactive-shell): Use it.
2961
0518b057
LL
29622013-12-02 Leo Liu <sdl.web@gmail.com>
2963
2964 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2965
2966 * progmodes/sh-script.el (sh-shell-process):
2967 * progmodes/octave.el (inferior-octave-process-live-p):
2968 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2969 (gdb-inferior-io-sentinel):
2970 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2971
3adc9c6d
DG
29722013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2975 `save-selected-window' to `log-edit-hide-buf'. This makes
2976 `log-edit-show-files' idempotent.
2977 (log-edit-show-files): Mark the new window as dedicated.
2978
47e8b74e
DG
29792013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * vc/log-edit.el (log-edit-mode-map): Add binding for
2982 `log-edit-kill-biffer'.
2983 (log-edit-hide-buf): Add a FIXME comment.
2984 (log-edit-add-new-comment): New function, extracted from
2985 `log-edit-done'.
2986 (log-edit-done, log-edit-add-to-changelog): Use it.
2987 (log-edit-kill-buffer): New command.
2988
1f6e1bb0
LMI
29892013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2990
2991 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2992 instead of killing the buffer.
2993
fb651d15
SM
29942013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2997
8feacce0
RS
29982013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2999
fb651d15 3000 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3001 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3002 (eww-form-checkbox, eww-toggle-checkbox):
3003 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3004
e0eb0550 3005 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3006 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3007 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3008 no :src tag was specified.
3009
fb651d15 3010 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3011 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3012 Use \\` to match beginning of string instead of ^.
3013 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3014 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3015
177948a5
RS
3016 * net/shr.el (shr-tag-video): Display content for video if no
3017 poster is available.
eb2dd24d 3018 (shr-tag-audio): Add support for <audio> tag.
177948a5 3019
e0eb0550 3020 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3021 (eww-process-text-input): Treat input types in
3022 `eww-text-input-types' as text.
3023
8feacce0
RS
3024 * net/shr.el (shr-tag-table): Fix comment typo.
3025
513562a1
LMI
30262013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3027
3028 * net/eww.el (eww-follow-link): New command to avoid reloading
3029 pages when we follow #target links (bug#15243).
de8a5633 3030 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3031
9dd99753
KN
30322013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3033
3034 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3035 forms.
3036
3e9876de
LMI
30372013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3038
3039 * net/eww.el (eww-restore-history): Update the window title after
3040 moving in the history.
ab6dea82 3041 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3042
52789f7f
DG
30432013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3044
3045 * vc/log-edit.el (log-edit-mode-map): Add binding for
3046 `log-edit-beginning-of-line'.
3047 (log-edit-setup-add-author): New user option.
3048 (log-edit-beginning-of-line): New command.
3049 (log-edit): Move major mode call above the contents setup so that
3050 the local variable values are already applied.
3051 (log-edit): Only insert "Author: " when
3052 `log-edit-setup-add-author' is non-nil.
3053 (log-edit): When SETUP is non-nil, position point after ": "
3054 instead of point-min.
3055
2e6710c3
GM
30562013-12-01 Glenn Morris <rgm@gnu.org>
3057
3058 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3059
fadec31f
EZ
30602013-11-30 Eli Zaretskii <eliz@gnu.org>
3061
3062 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3063 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3064 visible. (Bug#16014)
3065
10634b40 30662013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3067
3068 Support resizing frames and windows pixelwise.
3069 * cus-start.el (frame-resize-pixelwise)
3070 (window-resize-pixelwise): New entries.
3071 * emacs-lisp/debug.el (debug): Use window-total-height instead
3072 of window-total-size.
3073 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3074 * help.el (describe-bindings-internal): Call help-buffer
3075 (temp-buffer-max-width): New option.
3076 (resize-temp-buffer-window, help-window-setup)
3077 (with-help-window): Rewrite.
3078 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3079 dragging dividers.
3080 * window.el (frame-char-size, window-min-pixel-height)
3081 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3082 (window-min-pixel-width, window-safe-min-pixel-size)
3083 (window-combination-p, window-safe-min-size)
3084 (window-resizable-p, window--size-to-pixel)
3085 (window--pixel-to-size, window--resize-apply-p): New functions.
3086 (window-safe-min-height): Fix doc-string.
3087 (window-size, window-min-size, window--min-size-1)
3088 (window-sizable, window-sizable-p, window--min-delta-1)
3089 (window-min-delta, window--max-delta-1, window-max-delta)
3090 (window--resizable, window--resizable-p, window-resizable)
3091 (window-full-height-p, window-full-width-p, window-at-side-p)
3092 (window--in-direction-2, window-in-direction)
3093 (window--resize-reset-1, window--resize-mini-window)
3094 (window-resize, window-resize-no-error)
3095 (window--resize-child-windows-normal)
3096 (window--resize-child-windows, window--resize-siblings)
3097 (window--resize-this-window, window--resize-root-window)
3098 (window--resize-root-window-vertically)
3099 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3100 (maximize-window, minimize-window, delete-window)
3101 (quit-restore-window, window-split-min-size, split-window)
3102 (balance-windows-2, balance-windows)
3103 (balance-windows-area-adjust, balance-windows-area)
3104 (window--state-get-1, window-state-get, window--state-put-1)
3105 (window--state-put-2, window-state-put)
fb651d15
SM
3106 (display-buffer-record-window, window--display-buffer):
3107 Make functions handle pixelwise sizing of windows.
880e6158 3108 (display-buffer--action-function-custom-type)
fb651d15
SM
3109 (display-buffer-fallback-action):
3110 Add display-buffer-in-previous-window.
880e6158
MR
3111 (display-buffer-use-some-window): Resize window to height it had
3112 before.
3113 (fit-window-to-buffer-horizontally): New option.
3114 (fit-frame-to-buffer): Describe new values.
3115 (fit-frame-to-buffer-bottom-margin): Replace with
3116 fit-frame-to-buffer-margins.
3117 (window--sanitize-margin): New function.
3118 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3119 using window-text-pixel-size.
3120
f9b697dd
GM
31212013-11-30 Glenn Morris <rgm@gnu.org>
3122
3e2fb4db
GM
3123 * emacs-lisp/bytecomp.el (byte-compile-form):
3124 Make the `interactive-only' warning like the `obsolete' one.
3125 * comint.el (comint-run):
3126 * files.el (insert-file-literally, insert-file):
3127 * replace.el (replace-string, replace-regexp):
3128 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3129 (goto-line, insert-buffer, next-line, previous-line):
3130 Tweak `interactive-only' spec.
3131
f9b697dd
GM
3132 Stop keeping (most) generated cedet grammar files in the repository.
3133 * Makefile.in (semantic): New.
3134 (compile-main): Depend on semantic.
3135
da048127
SM
31362013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3137
7784b779
SM
3138 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3139 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3140
4e36a6a6
SM
3141 * uniquify.el (uniquify-buffer-name-style): Change default.
3142
3143 * loadup.el: Preload "uniquify".
3144
e0ba1308
SM
3145 * time.el (display-time-update): Update all mode lines (bug#15999).
3146
da048127
SM
3147 * electric.el (electric-indent-mode): Enable by default.
3148 * loadup.el: Preload "electric".
3149
015b3b3e
BB
31502013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3151
3152 * emacs-lisp/helpers.el (string-empty-p): New function.
3153 (string-blank-p): New function.
3154
7efb806d
AP
31552013-11-29 Andreas Politz <politza@hochschule-trier.de>
3156
3157 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3158 (Bug#14029).
3159
c8f0efc2
AP
31602013-11-29 Andreas Politz <politza@fh-trier.de>
3161 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3162 allow non-lambda lists as functions.
3163 (imenu--in-alist): Don't recurse into non-subalists.
3164 (imenu): Don't pass function itself as an argument (Bug#14029).
3165
bd15d9d1
SM
31662013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * progmodes/python.el (python-mode-map): Remove binding for ":".
3169 (python-indent-electric-colon): Remove command.
3170 (python-indent-post-self-insert-function): Integrate the previous code
3171 of python-indent-electric-colon. Make it conditional on
3172 electric-indent-mode.
3173 (python-mode): Add ?: to electric-indent-chars.
3174 Move python-indent-post-self-insert-function to the end of
3175 post-self-insert-hook.
3176
1b10adb6
SM
31772013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3178
655ab9a3
SM
3179 * doc-view.el (doc-view-goto-page): Update mode-line.
3180
1b10adb6
SM
3181 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3182
7e3bf78c
GM
31832013-11-27 Glenn Morris <rgm@gnu.org>
3184
3185 * international/charprop.el, international/uni-bidi.el:
3186 * international/uni-category.el, international/uni-combining.el:
3187 * international/uni-comment.el, international/uni-decimal.el:
3188 * international/uni-decomposition.el, international/uni-digit.el:
3189 * international/uni-lowercase.el, international/uni-mirrored.el:
3190 * international/uni-name.el, international/uni-numeric.el:
3191 * international/uni-old-name.el, international/uni-titlecase.el:
3192 * international/uni-uppercase.el:
3193 Remove generated files from VCS repository.
3194
fb6a5d68
EZ
31952013-11-27 Eli Zaretskii <eliz@gnu.org>
3196
3197 * filenotify.el (file-notify-add-watch): Don't special-case
3198 w32notify when computing the directory to watch.
3199
cb6c95a3
GM
32002013-11-27 Glenn Morris <rgm@gnu.org>
3201
20372d0c
GM
3202 Make bootstrap without generated uni-*.el files possible again.
3203 * loadup.el: Update command-line-args checking for unidata-gen.
3204 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3205 * composite.el, international/characters.el:
3206 Handle unicode tables being undefined.
3207
52d6635f 3208 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3209 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3210 (compile-main): Depend on leim rule.
3211 (leim): New rule.
3212 * loadup.el: Move leim-list.el to leim/ subdirectory.
3213 * startup.el (normal-top-level): No more leim directory.
3214 * international/ja-dic-cnv.el (skkdic-convert):
3215 Disable version-control and autoloads in output files.
3216 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3217 Disable version-control and autoloads in output files.
3218 * leim/quail: Move here from ../leim.
3219 * leim/quail/hangul.el (hangul-input-method-activate):
3220 Add autoload cookie.
3221 (generated-autoload-load-name): Set file-local value.
3222 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3223 (generated-autoload-load-name): Set file-local value.
3224
7514d3f8 32252013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3226
e0eb0550 3227 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3228 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3229 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3230
0e2c793f
EZ
32312013-11-26 Eli Zaretskii <eliz@gnu.org>
3232
3233 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3234 reading output from Diff on MS-Windows and MS-DOS.
3235
447bdcb8
BB
32362013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3237
3238 * emacs-lisp/helpers.el (string-reverse): New function.
3239
5fbf6856
MA
32402013-11-26 Michael Albinus <michael.albinus@gmx.de>
3241
3242 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3243 names on MS Windows, like "/[::1]:".
3244
3245 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3246 SWITCHES.
3247
624780f0
GM
32482013-11-26 Glenn Morris <rgm@gnu.org>
3249
0bf3f0fa
GM
3250 * progmodes/python.el (python-indent-guess-indent-offset):
3251 Avoid corner-case error. (Bug#15975)
3252
624780f0
GM
3253 Preload leim-list.el. (Bug#4789)
3254 * loadup.el: Load leim-list.el when found.
3255 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3256
4301875e 32572013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3258
3259 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3260
4301875e
BB
3261 * emacs-lisp/helpers.el (string-join): New function.
3262
1633a815 32632013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3264
3265 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3266 Mark as obsolete and replace it with a symbol property.
3267 (byte-compile-form): Use new 'interactive-only property.
3268 * comint.el, files.el, replace.el, simple.el:
3269 Apply new 'interactive-only properly.
3270
00139435
MR
32712013-11-25 Martin Rudalics <rudalics@gmx.at>
3272
3273 * window.el (display-buffer-at-bottom): Make sure that
3274 split-window-sensibly creates the new window on bottom
3275 (Bug#15961).
3276
5f5b128d
DK
32772013-11-23 David Kastrup <dak@gnu.org>
3278
3279 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3280 on the conflict markers when available.
3281 (smerge--get-marker): New function.
3282 (smerge-end-re, smerge-base-re): Add subgroup.
3283
623891e5
SM
32842013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * frame.el (handle-focus-in, handle-focus-out): Add missing
3287 interactive spec.
3288
05ca27d8
MA
32892013-11-25 Michael Albinus <michael.albinus@gmx.de>
3290
3291 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3292 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3293
511fa0d3
SM
32942013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3295
e82ad66c
SM
3296 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3297 (gomoku--last-pos): New var.
3298 (gomoku--intangible-chars): New const.
3299 (gomoku--intangible): New function.
3300 (gomoku-mode): Use it. Derive from special-mode.
3301 (gomoku-move-up): Adjust line count.
3302 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3303 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3304 Simplify accordingly.
3305
511fa0d3
SM
3306 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3307 Remove blink-cursor code.
3308 (blink-cursor-timer-function, blink-cursor-suspend):
3309 Don't special-case GUIs.
3310 (blink-cursor-mode): Use focus-in/out-hook.
3311
6f20dd03
DG
33122013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3313
3314 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3315 work when annotation is invisible (Bug#13886).
3316
431dec31 33172013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3318
3319 * json.el (json-alist-p): Only return non-nil if the alist has
3320 simple keys (Bug#13518).
3321
431dec31 33222013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3323
3324 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3325 when control-statement is the first statement in a buffer (Bug#15956).
3326
ee4f0261
DG
33272013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3328
3329 * imenu.el (imenu-generic-skip-comments-and-strings):
3330 New option (Bug#15560).
3331 (imenu--generic-function): Use it.
3332
c484f866
JS
33332013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3334
e9dc713d
JB
3335 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3336 (Bug#13898)
c484f866 3337
41ce6f70
BB
33382013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3339
b55aea38
BB
3340 * emacs-lisp/helpers.el: Add some string helpers.
3341 (string-trim-left): Removes leading whitespace.
3342 (string-trim-right): Removes trailing whitespace.
3343 (string-trim): Removes leading and trailing whitespace.
3344
41ce6f70
BB
3345 * subr.el (string-suffix-p): New function.
3346
3cfb6af3
GM
33472013-11-23 Glenn Morris <rgm@gnu.org>
3348
3349 * progmodes/python.el (python-shell-send-file):
3350 Add option to delete file when done. (Bug#15647)
3351 (python-shell-send-string, python-shell-send-region): Use it.
3352
c27924b7
IS
33532013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3354
e1b01c7f
IS
3355 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3356 to set buffer-read-only to t, never to nil. (Bug#15938)
3357
c27924b7
IS
3358 * textmodes/tex-mode.el (latex-noindent-environments):
3359 Add safe-local-variable property. (Bug#15936)
3360
17e0445b
GM
33612013-11-23 Glenn Morris <rgm@gnu.org>
3362
92f78ea3
GM
3363 * textmodes/enriched.el (enriched-mode): Doc fix.
3364 * emacs-lisp/authors.el (authors-renamed-files-alist):
3365 Add enriched.doc -> enriched.txt.
3366
17e0445b
GM
3367 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3368
965bb23a
LL
33692013-11-22 Leo Liu <sdl.web@gmail.com>
3370
3371 * progmodes/octave.el (inferior-octave-startup): Spit out error
3372 message.
3373
d19ffd64
BB
33742013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3375
3376 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3377 Improve docstring.
15ba2182
BB
3378 Add :version.
3379 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3380
7a7567d2
LL
33812013-11-22 Leo Liu <sdl.web@gmail.com>
3382
3383 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3384 (Bug#15076)
8c09f64b
LL
3385 (octave-help-mode): Adapt to change to help-mode-finish to use
3386 derived-mode-p on 2013-09-17.
3387 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3388 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3389
724bc265
LL
33902013-11-22 Leo Liu <sdl.web@gmail.com>
3391
3392 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3393 (inferior-octave-startup, inferior-octave-check-process)
3394 (inferior-octave-track-window-width-change)
3395 (octave-completion-at-point, octave-eldoc-function): Use it.
3396 (octave-kill-process): Provide confirmation. (Bug#10564)
3397
38637cca
LL
33982013-11-21 Leo Liu <sdl.web@gmail.com>
3399
511fa0d3
SM
3400 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3401 Fix obsolete variable comment-use-global-state.
38637cca 3402
06e752b4
RS
34032013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3404
511fa0d3
SM
3405 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3406 Add `octave-source-file'.
06e752b4
RS
3407 (octave-source-file): New function. (Bug#15935)
3408
7514d3f8 34092013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3410
3411 * net/eww.el (eww-local-regex): New variable.
3412 (eww): Use it to detect localhost and similar.
3413
b6ffa04a
LL
34142013-11-21 Leo Liu <sdl.web@gmail.com>
3415
3416 Add completion for command `ag'.
2021a200
LL
3417 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3418 (pcomplete/ag): New function.
e9dc713d 3419 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3420
d1a6bccc
SM
34212013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3424 (bug#14646).
3425 (make-obsolete): Remove interactive spec.
3426
2df10228
GM
34272013-11-21 Glenn Morris <rgm@gnu.org>
3428
3429 * startup.el (command-line-1): Use path-separator with -L.
3430
86fd16b6
TZ
34312013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3432
3433 * emacs-lisp/package.el (describe-package-1): Add package archive
3434 to shown fields.
3435
0449d6cd 34362013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3437
3438 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3439 Change default to "# encoding: %s" to differentiate it from the
3440 default Ruby encoding comment template.
3441
dc7e8c17 34422013-11-20 era eriksson <era+emacsbugs@iki.fi>
3443
3444 * ses.el (ses-mode): Doc fix. (Bug#14748)
3445
f0cfa5fe
LL
34462013-11-20 Leo Liu <sdl.web@gmail.com>
3447
3448 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3449
826dc7b6
DN
34502013-11-19 Dan Nicolaescu <dann@gnu.org>
3451
3452 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3453 when rebase or bisect are in progress.
3454
a6e3a5d5
XF
34552013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3456
3457 * filenotify.el (file-notify-add-watch): Doc fix.
3458
f130cb76
LL
34592013-11-19 Leo Liu <sdl.web@gmail.com>
3460
e0855d7d
LL
3461 * obsolete/rcompile.el: Mark obsolete.
3462
f130cb76 3463 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3464 (compilation-goto-locus, compilation-find-file):
3465 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3466 (Bug#13594)
3467
3468 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3469 new parameter no-display-ok. Return either a window or nil
3470 but never a non-window value.
f130cb76 3471
1f35d401
SM
34722013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3473
25158c76
SM
3474 * electric.el (electric-indent-mode-map): Remove.
3475 (electric-indent-mode): Change the global-map instead (bug#15915).
3476
3477 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3478 Use add-function.
1f35d401 3479
9bc67baa
SM
34802013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3481
986545b5
SM
3482 * emacs-lisp/nadvice.el (remove-function): Align with
3483 add-function's behavior.
3484
9bc67baa
SM
3485 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3486 (gdb--string-regexp): New constant.
3487 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3488 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3489 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3490 submatch 1.
3491 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3492 Adjust use accordingly.
3493 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3494
56cd894e
AS
34952013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3496
3497 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3498 interpolation curlies (Bug#15914).
3499
014690de
JB
35002013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3501
3502 * calc/calc.el (calc-context-sensitive-enter): New variable.
3503 (calc-enter): Use `calc-context-sensitive-enter'.
3504
7e26a6c3
TZ
35052013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3506
3507 * progmodes/cfengine.el: Version bump.
3508 (cfengine-cf-promises): New defcustom to locate cf-promises.
3509 (cfengine3-vartypes): Add new "data" type.
3510 (cfengine3--current-word): New function to get current name-like
3511 word or its bounds.
3512 (cfengine3--current-function): New function to look up a CFEngine
3513 function's definition.
3514 (cfengine3-format-function-docstring): New function.
3515 (cfengine3-make-syntax-cache): New function.
3516 (cfengine3-documentation-function): New function: ElDoc glue.
3517 (cfengine3-completion-function): New function: completion glue.
3518 (cfengine3-mode): Set `compile-command',
3519 `eldoc-documentation-function', and add to
3520 `completion-at-point-functions'.
3521
355204dd
MA
35222013-11-16 Michael Albinus <michael.albinus@gmx.de>
3523
3524 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3525 `tramp-current-connection'.
3526
43cebc23
DG
35272013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3528
3529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3530 nil/self/true/false with "end of symbol".
3531
a3fed6ff
BB
35322013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3533
3534 * subr.el (version-regexp-alist): Fix a typo.
3535
e675b3e4
MA
35362013-11-15 Michael Albinus <michael.albinus@gmx.de>
3537
3538 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3539 "en_US.utf8" and "LC_CTYPE" to "".
3540 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3541 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3542
a1f03e89
LL
35432013-11-15 Leo Liu <sdl.web@gmail.com>
3544
3545 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3546
5d9d9451
SM
35472013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3548
58362662
CS
3549 * progmodes/gud.el (ctl-x-map):
3550 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3551 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3552
6c1bf086
BB
35532013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3554
0d5363c4
BB
3555 * subr.el (version-regexp-alist):
3556 Recognize hg, svn and darcs versions as snapshot versions.
3557
4e9fc48c
BB
3558 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3559 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3560 (ruby--encoding-comment-required-p): Extract from
3561 `ruby-mode-set-encoding'.
3562 (ruby-mode-set-encoding): Add the ability to always insert an
3563 utf-8 encoding comment. Fix and simplify coding comment update
3564 logic.
6c1bf086 3565
2f7e72f8
MA
35662013-11-14 Michael Albinus <michael.albinus@gmx.de>
3567
3568 * net/tramp-gvfs.el (top): Run init code only when
3569 `tramp-gvfs-enabled' is not nil.
3570 (tramp-gvfs-enabled): Check also :system bus.
3571
0f137a73
SM
35722013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 Sync with upstream verilog-mode revision 78e66ba.
3575 * progmodes/verilog-mode.el (verilog-end-of-defun)
3576 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3577 (verilog-get-end-of-defun): Remove unused argument.
3578 (verilog-comment-depth): Remove unused local `e'.
3579 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3580 Don't pass arg to verilog-get-end-of-defun.
3581
1c276bdd
GM
35822013-11-14 Glenn Morris <rgm@gnu.org>
3583
3584 * obsolete/assoc.el (aget): Prefix dynamic variable.
3585
3586 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3587
ff6ec81d
SM
35882013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * widget.el, hfy-cmap.el: Remove bogus package version number.
3591
75f777b6
GM
35922013-11-13 Glenn Morris <rgm@gnu.org>
3593
1d43dba1
GM
3594 * replace.el (replace-eval-replacement):
3595 Try to give more helpful error message. (Bug#15836)
3596
ff4b7bd5
GM
3597 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3598 (archive-7z-update): Avoid custom type mismatches.
3599
75f777b6
GM
3600 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3601
11151a06
MA
36022013-11-13 Michael Albinus <michael.albinus@gmx.de>
3603
e675b3e4 3604 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3605 address can be empty.
3606
3607 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3608 Accept nil SWITCHES.
3609 (tramp-gvfs-handle-write-region): Implement APPEND.
3610
7b08f97e
DG
36112013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3612
3613 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3614 binary "|" operator and closing block args delimiter.
3615 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3616 (ruby-smie--implicit-semi-p): Not after "|" operator.
3617 (ruby-smie--closing-pipe-p): New function.
3618 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3619 (ruby-smie-rules): Indent after "|".
3620
f201cf3a
GM
36212013-11-12 Glenn Morris <rgm@gnu.org>
3622
3623 * ps-print.el (ps-face-attribute-list):
3624 Handle anonymous faces. (Bug#15827)
3625
e6f759f9
MR
36262013-11-12 Martin Rudalics <rudalics@gmx.at>
3627
3628 * window.el (display-buffer-other-frame): Fix doc-string.
3629 (Bug#15868)
3630
ecda65d4
SM
36312013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3634
7ce8fcc3
MA
36352013-11-11 Michael Albinus <michael.albinus@gmx.de>
3636
3637 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3638 (tramp-sh-handle-file-local-copy): Don't write a message when
3639 saving temporary files.
3640
3641 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3642 both directories are remote.
3643 (tramp-smb-handle-directory-files): Do not return double entries.
3644 Do not expand full file names.
3645 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3646 (tramp-smb-handle-write-region): Implement APPEND.
3647 (tramp-smb-get-stat-capability): Fix a stupid bug.
3648
7818df11
SM
36492013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3652
608c2085
NT
36532013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3654
3655 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3656 throwing error over malformed let/let* (bug#15814).
3657
122a7e46
SM
36582013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * iswitchb.el (iswitchb-mode): Mark obsolete.
3661
766284d9
GM
36622013-11-11 Glenn Morris <rgm@gnu.org>
3663
3664 * international/uni-bidi.el, international/uni-category.el:
3665 * international/uni-name.el, international/uni-numeric.el:
3666 Regenerate for Unicode 6.3.0.
3667
7072a4e9
MA
36682013-11-10 Michael Albinus <michael.albinus@gmx.de>
3669
3670 * net/tramp.el (tramp-methods):
3671 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3672 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3673
c9df215b
AS
36742013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3675
608c2085
NT
3676 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3677 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3678
fa47d796
DG
36792013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3680
3681 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3682 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3683 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3684 (ispell-complete-word): Call `ispell-lookup-words' with the value
3685 independent of `ispell-look-p'.
3686
1629a329
DG
36872013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3690 Not after "||".
3691 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3692 their parent.
3693
ad16897c
SM
36942013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3697 (ruby-font-lock-keywords): Use backquote.
3698
ffa2df72
DG
36992013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3700
3701 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3702 (ruby-smie--backward-token): Only consider full-string matches.
3703
5b97b4c0
JD
37042013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3705
3706 * faces.el (describe-face): Add distant-foreground.
3707
71731c03
BB
37082013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3709
4e9fc48c
BB
3710 * progmodes/ruby-mode.el: Improve encoding comment handling.
3711 (ruby-encoding-magic-comment-style): New option.
3712 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3713 (ruby--insert-coding-comment, ruby--detect-encoding):
3714 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3715 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3716 to control the style of the auto-inserted encoding comment.
71731c03 3717
da3b328d
DG
37182013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3719
ad16897c
SM
3720 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3721 Use `smie-backward-sexp' with token argument.
da3b328d 3722
1606c2d3
MA
37232013-11-08 Michael Albinus <michael.albinus@gmx.de>
3724
3725 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3726 Remove instrumentation code.
3727
b0f4c320
GM
37282013-11-08 Glenn Morris <rgm@gnu.org>
3729
3730 * progmodes/autoconf.el (autoconf-mode):
3731 Tweak comment-start-skip. (Bug#15822)
3732
43668fb1
SM
37332013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3736 at bobp (bug#15826).
3737 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3738
daddb3fd
DH
37392013-11-08 Darren Hoo <darren.hoo@gmail.com>
3740
3741 * man.el (Man-start-calling): New macro, extracted from
3742 Man-getpage-in-background.
3743 (Man-getpage-in-background): Use it.
3744 (Man-update-manpage): New command.
3745 (Man-mode-map): Bind it.
3746
1f923923
DG
37472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3748
3749 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3750 of "and", "or", "&&" and "||".
3751 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3752 argument. Prohibit opening curly brace because it could only be a
3753 block opener in that position.
daddb3fd
DH
3754 (ruby-smie--forward-token, ruby-smie--backward-token):
3755 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3756 arguments.
3757 (ruby-smie--indent-to-stmt): New function, seeks the end of
3758 previous statement or beginning of buffer.
3759 (ruby-smie-rules): Use it.
3760 (ruby-smie-rules): Check if there's a ":" before a curly block
3761 opener candidate; if there is, it's a hash.
3762
3220d527
SM
37632013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3766 (cl--block-wrapper): Fix last accidental change.
3767
1eb1f9e0
MA
37682013-11-07 Michael Albinus <michael.albinus@gmx.de>
3769
3770 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3771 Instrument, in order to hunt failure on hydra.
3772
e6e4db3c
NT
37732013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3774
3775 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3776 malformed bindings form (bug#15814).
3777
b420ccfc
DG
37782013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3781 "." compared to " @ ". This incidentally fixes some indentation
3782 examples with "do".
e6e4db3c 3783 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3784 (ruby-smie-grammar): New tokens: "and" and "or".
3785 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3786 Exclude "and" and "or". Remove "do" in order to work around token
3787 priorities.
3788 (ruby-smie-rules): Add all infix tokens. Handle the case of
3789 beginning-of-buffer.
b420ccfc 3790
6b4ac03e
GM
37912013-11-06 Glenn Morris <rgm@gnu.org>
3792
3793 * Makefile.in (setwins_almost, setwins_for_subdirs):
3794 Avoid accidental matches.
3795
5ca114d1
SM
37962013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * menu-bar.el (popup-menu): Use key-binding.
3799
f72552bd
EZ
38002013-11-06 Eli Zaretskii <eliz@gnu.org>
3801
3802 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3803 menus, support also the menus produced by minor modes.
3804 (Bug#15817)
3805
5d5c701e
LL
38062013-11-06 Leo Liu <sdl.web@gmail.com>
3807
3808 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3809 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3810
0a8b75e2
GM
38112013-11-06 Glenn Morris <rgm@gnu.org>
3812
3813 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3814 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3815 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3816
a35287ea
SM
38172013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3818
feca4e2d
SM
3819 * electric.el (electric-indent-just-newline): New command.
3820 (electric-indent-mode-map): New keymap.
3821 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3822 Re-add :group which weren't redundant.
3823
a35287ea
SM
3824 * electric.el (electric-indent-local-mode): New minor mode.
3825 (electric-indent-functions-without-reindent): New var.
3826 (electric-indent-post-self-insert-function): Use it.
3827 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3828
375761b2
EZ
38292013-11-05 Eli Zaretskii <eliz@gnu.org>
3830
9a6ad735
EZ
3831 * international/quail.el (quail-help): Be more explicit about the
3832 meaning of the labels shown on the keys. (Bug#15800)
3833
375761b2
EZ
3834 * startup.el (normal-top-level): Load the subdirs.el files before
3835 setting the locale environment. (Bug#15805)
3836
520a6e4a
SM
38372013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3838
0acfafef
SM
3839 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3840 via arguments so as to get the right ones (bug#15418).
3841
520a6e4a
SM
3842 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3843
15826261
MA
38442013-11-05 Michael Albinus <michael.albinus@gmx.de>
3845
3846 Fix problems found while writing a test suite.
3847
3848 * net/tramp-compat.el (tramp-compat-load): New defun.
3849 * net/tramp.el (tramp-handle-load): Use it.
3850
3851 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3852 "(numberp ok-if-already-exists)" correctly.
3853
d35f31a4
XF
38542013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3855
3856 * international/characters.el (glyphless-char-display-control):
3857 Add usage note.
3858
ae93bc74
BB
38592013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3860
520a6e4a
SM
3861 * progmodes/python.el (python-mode):
3862 * progmodes/scheme.el (scheme-mode):
3863 * progmodes/prolog.el (prolog-mode):
3864 * progmodes/ruby-mode.el (ruby-mode):
3865 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3866 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3867
0ade65b5
SM
38682013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3869
a0d5f7a4
SM
3870 * rect.el (rectangle--highlight-for-redisplay):
3871 * emacs-lisp/smie.el (smie--next-indent-change):
3872 Use buffer-chars-modified-tick.
3873
c93f3f5c
SM
3874 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3875
0ade65b5
SM
3876 * electric.el (electric-indent-post-self-insert-function):
3877 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3878
ef9dd188
HE
38792013-11-04 Helmut Eller <eller.helmut@gmail.com>
3880
3881 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3882
306e7308
NT
38832013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3884
3885 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3886 (bug#15786).
3887
e5afbcac
SM
38882013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3889
1d01ad41
SM
3890 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3891
e5afbcac
SM
3892 * progmodes/python.el: Fix up last change.
3893 (python-shell--save-temp-file): New function.
3894 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3895 `string' comes from the current buffer.
3896 (python-shell-send-string-no-output): Remove `msg' arg.
3897 (python--use-fake-loc): New var.
3898 (python-shell-buffer-substring): Obey it. Try to compensate for the
3899 extra coding line added by python-shell--save-temp-file.
3900 (python-shell-send-region): Use python-shell--save-temp-file and
3901 python-shell-send-file directly. Add `nomain' argument.
3902 (python-shell-send-buffer): Use python-shell-send-region.
3903 (python-electric-pair-string-delimiter): New function.
3904 (python-mode): Use it.
3905
d0065ff1
EZ
39062013-11-04 Eli Zaretskii <eliz@gnu.org>
3907
3908 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3909 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3910 environment and decoding all of the default-directory's to here
3911 from command-line.
3912 (command-line): Decode also argv[0].
3913
3914 * loadup.el: Error out if default-directory is a multibyte string
3915 when we are dumping.
3916
3917 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3918
7397c587
TZ
39192013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3920
3921 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3922 (package-menu--print-info, package-menu--archive-predicate):
3923 Add Archive column to package list.
7397c587 3924
b27cc9fc
MA
39252013-11-04 Michael Albinus <michael.albinus@gmx.de>
3926
3927 Fix problems found while writing a test suite.
3928
3929 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3930 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3931 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3932 to nil when running original file name handler. Otherwise,
3933 there are problems with constructs like "$$FOO".
3934
3935 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3936 for `localname'.
3937
d8c4f18a
BB
39382013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3939
7b530552
BB
3940 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3941
3942 * subr.el (version<, version<=, version=):
3943 Update docstrings with information for snapshot versions.
3944
d8c4f18a
BB
3945 * helpers.el: New library for misc helper functions.
3946 (hash-table-keys): New function returning a list of hash keys.
3947 (hash-table-values): New function returning a list of hash values.
3948
dca01b09
DG
39492013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3950
3951 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3952 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3953
0a749fa0
MN
39542013-11-04 Michal Nazarewicz <mina86@mina86.com>
3955
3956 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3957 checking whether point is after a 1-letter word.
3958
39592013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3960
3961 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3962 Don't infloop when expanding region over `multiline' syntax-type that
3963 begins a line (bug#15778).
3964
4aca7145
SM
39652013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3968 Make it into a proper minor mode.
3969 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3970 (rectangle-mark-mode-map): New keymap.
3971 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3972
a0833f62
GM
39732013-11-04 Glenn Morris <rgm@gnu.org>
3974
3975 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3976
e61845c1
SM
39772013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3980 (ruby-smie-rules): Use smie-rule-parent instead.
3981
3982 * emacs-lisp/smie.el (smie-rule-parent): Always call
3983 smie-indent-virtual rather than only for hanging tokens.
3984 (smie--next-indent-change): New helper command.
3985
62942f89
GM
39862013-11-03 Glenn Morris <rgm@gnu.org>
3987
3988 * Makefile.in (abs_srcdir): Remove.
3989 (emacs): Unset EMACSLOADPATH.
3990
b0b9e592
GM
39912013-11-02 Glenn Morris <rgm@gnu.org>
3992
18ba6a33 3993 * Makefile.in (EMACS): Use a relative filename.
8061810d 3994 (abs_top_builddir): Remove.
18ba6a33
GM
3995 (custom-deps, finder-data, autoloads): Use --chdir.
3996
6a8b929e
GM
3997 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3998
c617f3d0
GM
3999 Use relative filenames in TAGS files.
4000 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4001 (lisptagsfiles4, TAGS): Use relative file names.
4002 (TAGS-LISP): Remove.
4003 (maintainer-clean): No more TAGS-LISP file.
4004
b0b9e592
GM
4005 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4006 (lisptagsfiles4): Use absolute filenames again.
4007 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4008 Remove all *loaddefs files, not just the first. Remove esh-groups.
4009 (maintainer-clean): Delete TAGS, TAGS-LISP.
4010
d1c0ea6a
BB
40112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4012
e61845c1
SM
4013 * emacs-lisp/package.el (package-version-join):
4014 Recognize snapshot versions.
d1c0ea6a 4015
684d71c6
BB
40162013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4017
4018 * subr.el (version-regexp-alist): Add support for snapshot versions.
4019
3d42b968
DG
40202013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4021
e61845c1
SM
4022 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4023 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4024 skip over our direct parent if it's an assignment token..
4025 (ruby-smie-rules): Use it.
4026
7ffd3721
DG
40272013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4028
8449dd1f 4029 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4030 unconditionally. Remove now unnecessary forward declarations.
4031 Remove XEmacs-specific setup.
4032 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4033 (ruby-font-lock-syntactic-keywords)
4034 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4035 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4036 (ruby-here-doc-end-syntax): Remove.
4037 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4038 defined as function.
4039
a3996a2e
BB
40402013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4041
4042 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4043
6f9260e8
BB
40442013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4045
4046 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4047 table and abbrev table, `define-derived-mode' does that for us
4048 anyway.
4049
6014de84
GM
40502013-11-01 Glenn Morris <rgm@gnu.org>
4051
4052 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4053 files is atomic for some time, so no parallel compilation issues).
4054
3c334c14
JD
40552013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4056
4057 * faces.el (face-x-resources): Add :distant-foreground.
4058 (region): Use :distant-foreground for gtk and ns.
4059
9bc236c8
TH
40602013-11-01 Tassilo Horn <tsdh@gnu.org>
4061
5246583b 4062 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4063 BibTeX.
4064 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4065 (reftex-locate-bibliography-files): Us it.
4066
d14c81ee
CB
40672013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4068
0e7690de
CB
4069 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4070 allow comments in pbm files.
4071
d14c81ee
CB
4072 * term/w32-win.el (dynamic-library-alist): Support newer versions
4073 of libjpeg starting with v7: look only for the DLL from the
4074 version against which Emacs was built.
ac1bf374 4075 Support versions of libpng beyond 1.4.x.
019c8218 4076 Support libtiff v4.x.
d14c81ee 4077
983d0df5
BB
40782013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4079
4080 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4081 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4082 Add property :safe.
4083 (ruby-deep-arglist): Add property :type.
4084
47f58d85
GM
40852013-10-31 Glenn Morris <rgm@gnu.org>
4086
4087 * Makefile.in (custom-deps, finder-data): No need to setq the target
4088 variables, we are in the right directory and the defaults work fine.
4089
4f85b479
GM
40902013-10-30 Glenn Morris <rgm@gnu.org>
4091
ca7dd4cd
GM
4092 * Makefile.in (autoloads): Do not use abs_lisp.
4093
4f85b479
GM
4094 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4095 `newline' does not respect `standard-output', so use `princ'.
4096
cf59e41c
AA
40972013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4098
4099 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4100 * buff-menu.el (Buffer-menu--unmark): New function.
4101 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4102
74cf04fb
GM
41032013-10-30 Glenn Morris <rgm@gnu.org>
4104
b040b60e
GM
4105 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4106
f53d3815
GM
4107 * emacs-lisp/package.el (lm-homepage): Declare.
4108
5413d873
GM
4109 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4110 Fix doc typos.
4111
cecedb36
GM
4112 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4113
74cf04fb
GM
4114 * Makefile.in (finder-data, autoloads, update-subdirs)
4115 (compile-main, compile-clean, compile-always, bootstrap-clean):
4116 Check return value of cd.
4117 (compile-calc): Remove.
4118
195ee2f0
SM
41192013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4120
ae4002ce
SM
4121 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4122
4123 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4124 (byte-compile-and-folded): New function.
4125 (=, <, >, <=, >=): Use it.
4126
4127 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4128 (path-separator, null-device, buffer-file-coding-system)
4129 (lpr-headers-switches): Check system-type before modifying them.
4130 (find-buffer-file-type-coding-system): Mark obsolete.
4131 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4132 find-file-not-found-set-buffer-file-coding-system.
4133 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4134 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4135 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4136 (w32-direct-print-region-helper, w32-direct-print-region-function)
4137 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4138 * startup.el (normal-top-level-add-subdirs-to-load-path):
4139 * ps-print.el (ps-print-region-function):
4140 * lpr.el (print-region-function): Use new name.
4141
53b39e89
SM
4142 * subr.el (custom-declare-variable-early): Remove function.
4143 (custom-declare-variable-list): Remove var.
4144 (error, user-error): Remove `while' loop.
4145 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4146 (user-emacs-directory-warning, locate-user-emacs-file):
4147 Move to files.el.
4148 * simple.el (read-quoted-char-radix, read-quoted-char):
4149 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4150 Move from subr.el.
4151 * custom.el (custom-declare-variable-list): Don't process
4152 custom-declare-variable-list.
4153
195ee2f0
SM
4154 * progmodes/python.el (python-shell-get-buffer): New function.
4155 (python-shell-get-process): Use it.
4156 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4157 Python which encoding was used. Don't split-string since we only care
4158 about the first line. Return the temp-file, if applicable.
4159 (python-shell-send-region): Tell compile.el how to turn locations in
4160 the temp-file into locations in the source buffer.
4161
7e3561ee
SM
41622013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4c9797cb
SM
4164 * subr.el (undefined): Add missing behavior from the C code for
4165 unbound keys.
4166
3472b6c6
SM
4167 * rect.el: Use lexical-binding. Add new rectangular region support.
4168 (rectangle-mark): New command.
4169 (rectangle--region): New var.
4170 (deactivate-mark-hook): Reset rectangle--region.
4171 (rectangle--extract-region, rectangle--insert-for-yank)
4172 (rectangle--highlight-for-redisplay)
4173 (rectangle--unhighlight-for-redisplay): New functions.
4174 (region-extract-function, redisplay-unhighlight-region-function)
4175 (redisplay-highlight-region-function): Use them to handle
4176 rectangular region.
4177 * simple.el (region-extract-function): New var.
4178 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4179 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4180 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4181 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4182 (redisplay-unhighlight-region-function)
4183 (redisplay-highlight-region-function): New vars.
4184 (redisplay--update-region-highlight): New function.
4185 (pre-redisplay-function): Use it.
4186 (exchange-point-and-mark): Don't deactivate the mark before
4187 reactivate-it anyway.
4188 * comint.el (comint-kill-region): Remove yank-handler argument.
4189 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4190 (delete-char): Remove property, since it's now part of their
4191 default behavior.
4192 (self-insert-iso): Remove property since this command doesn't exist.
4193
7e3561ee
SM
4194 * emacs-lisp/package.el (package--download-one-archive)
4195 (describe-package-1): Don't query the user about final newline.
4196
b9bef71f
DC
41972013-10-29 Daniel Colascione <dancol@dancol.org>
4198
4199 * net/tramp.el (tramp-methods): Document new functionality.
4200 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4201 tramp-hostname-checker if method provides one instead of scanning
4202 argument list for "%h" to decide hostname acceptability.
4203
4efc33f0
MA
42042013-10-28 Michael Albinus <michael.albinus@gmx.de>
4205
4206 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4207 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4208 Handle COPY-CONTENTS. (Bug#15737)
4209
ed42a877
DU
42102013-10-28 Daiki Ueno <ueno@gnu.org>
4211
4212 * epa-file.el
7e3561ee
SM
4213 (epa-file-cache-passphrase-for-symmetric-encryption):
4214 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4215
18c9f8a2
XF
42162013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4217
7a4bc7be
XF
4218 * image.el (defimage):
4219 (image-load-path): Doc fixes.
18c9f8a2 4220
b1e8e010
AM
42212013-10-27 Alan Mackenzie <acm@muc.de>
4222
4223 Indent statements in macros following "##" correctly.
7e3561ee
SM
4224 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4225 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4226
73d40d1e 42272013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4228
4229 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4230
c8c605ac
DG
42312013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4232
4233 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4234 after `=' is probably a new expression.
4235
ca7e59d4
RS
42362013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4237
4238 * man.el (man-imenu-title): New option.
4239 (Man-mode-map): Add menu. (Bug#15722)
4240 (Man-mode): Add imenu to menu.
4241
bae91342
DG
42422013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4243
4244 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4245 specific in what the first arg can be: a non-keyword word,
4246 string/regexp/percent literal opener, opening paren, or unary
4247 operator followed directly by word.
4248
eb89dc14
SM
42492013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4252 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4253 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4254 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4255 Remove vars, they do not apply any more.
4256 (prolog-mode-abbrev-table): Remove redundant declaration.
4257 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4258 (prolog-use-smie): Remove.
4259 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4260 supported by prolog-electric-if-then-else-flag.
4261 (prolog-mode-variables, prolog-menu): Use setq-local.
4262 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4263 Remove binding to `Backspace' since this key doesn't exist anyway.
4264 Remove bindings for electric self-inserting keys.
4265 (prog-mode): Assume it's defined.
4266 (prolog-post-self-insert): New function.
4267 (prolog-mode): Use it.
4268 (prolog-indent-line, prolog-indent-level)
4269 (prolog-find-indent-of-matching-paren)
4270 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4271 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4272 (prolog-goto-next-paren, prolog-in-string-or-comment)
4273 (prolog-tokenize, prolog-inside-mline-comment)
4274 (prolog-find-start-of-mline-comment): Remove functions.
4275 (prolog-find-unmatched-paren, prolog-clause-end)
4276 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4277 (prolog-electric--if-then-else): Rename from
4278 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4279 (prolog-tokenize-searchkey): Remove const.
4280 (prolog-clause-info): Use forward-sexp.
4281 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4282 (prolog-electric-if-then-else): Remove commands.
4283 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4284 for use in post-self-insert-hook.
4285 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4286 for use in post-self-insert-hook.
4287 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4288 for use in post-self-insert-hook.
4289 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4290 adapt it for use in post-self-insert-hook.
4291
3dab0a83
MA
42922013-10-25 Michael Albinus <michael.albinus@gmx.de>
4293
4294 * emacs-lisp/ert.el (ert-run-tests-interactively):
4295 Use `completing-read'. (Bug#9756)
4296
fbfd0e1d
EZ
42972013-10-25 Eli Zaretskii <eliz@gnu.org>
4298
4299 * simple.el (line-move): Call line-move-1 instead of
4300 line-move-visual when the current window hscroll is zero, but
4301 temporary-goal-column indicates we will need to hscroll as result
4302 of the movement. (Bug#15712)
4303
963ce636
DG
43042013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4305
4306 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4307 capitalization. Use :visible instead of :active.
4308 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4309 commands that are used with SMIE.
4310 (ruby-do-end-to-brace): Insert space after `{'.
4311
a0be396a
JA
43122013-10-25 John Anthony <john@jo.hnanthony.com>
4313
f73754c9
JA
4314 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4315
4316 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4317
f5bf77df
GM
43182013-10-25 Glenn Morris <rgm@gnu.org>
4319
4320 * vc/vc.el (vc-print-log): Don't use a working revision unless
4321 one was explicitly specified. (Bug#15322)
4322
37241f62
SM
43232013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * subr.el (add-to-list): Preserve return value in compiler-macro
4326 (bug#15692).
4327
6408a65d
RS
43282013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4329
4330 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4331 result. Ask user to retry using '-all' flag. (Bug#15701)
4332
71e3276b
SM
43332013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * emacs-lisp/smie.el: New smie-config system.
4336 (smie-config): New defcustom.
4337 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4338 (smie-config-guess, smie-config-save): New commands.
4339 (smie-config--mode-local, smie-config--buffer-local)
4340 (smie-config--trace, smie-config--modefuns): New vars.
4341 (smie-config--advice, smie-config--mode-hook)
4342 (smie-config--setter, smie-config-local, smie-config--get-trace)
4343 (smie-config--guess-value, smie-config--guess): New functions.
4344 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4345 text properties. Treat "string fence" syntax like string syntax.
4346
4347 * progmodes/sh-script.el (sh-use-smie): Change default.
4348 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4349 (sh-var-value): Simplify by CSE.
4350 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4351 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4352 is used.
4353 (sh-guess-basic-offset): Use cl-incf.
4354 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4355
60db713e
HE
43562013-10-24 Helmut Eller <eller.helmut@gmail.com>
4357
4358 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4359 (bug#15699).
4360
8b251df6
GM
43612013-10-24 Glenn Morris <rgm@gnu.org>
4362
4363 * Makefile.in (abs_top_srcdir): Remove.
4364 (update-subdirs): Use relative path to update-subdirs.
4365
6be0e22b
EZ
43662013-10-24 Eli Zaretskii <eliz@gnu.org>
4367
4368 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4369 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4370 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4371 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4372
50b5b857
MA
43732013-10-24 Michael Albinus <michael.albinus@gmx.de>
4374
4375 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4376 (ert-test-skipped): New error.
4377 (ert-skip, ert-stats-skipped): New defuns.
4378 (ert--skip-unless): New macro.
4379 (ert-test-skipped): New struct.
4380 (ert--run-test-debugger, ert-test-result-type-p)
4381 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4382 (ert--stats-set-test-and-result, ert-char-for-test-result)
4383 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4384 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4385 Handle skipped tests. (Bug#9803)
50b5b857 4386
6f317c2f
GM
43872013-10-24 Glenn Morris <rgm@gnu.org>
4388
e43817c1
GM
4389 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4390
6f317c2f
GM
4391 * Makefile.in (abs_top_srcdir): New, set by configure.
4392 (update-subdirs): Correct build-aux location.
4393
369bbf71
DG
43942013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4395
8297b2cf
DG
4396 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4397 value, whether we could auto-deduce `backend', or not.
4398
369bbf71
DG
4399 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4400 with parameters" example. Simplify the "is it block or is it
4401 hash" check, but also make it more thorough.
4402
d5f1282f
MF
44032013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4404
4405 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4406
bc4aaa31
SM
44072013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4408
03d44565
SM
4409 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4410 { if it is hanging.
4411
bc4aaa31
SM
4412 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4413 :before ";".
4414
f493ff19
JB
44152013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4416
4417 * progmodes/compile.el (compilation-directory-matcher)
4418 (compilation-page-delimiter):
4419 Support GNU Make-4.0 directory quoting. (Bug#15678)
4420
c744a3b9
LL
44212013-10-23 Leo Liu <sdl.web@gmail.com>
4422
4423 * ido.el (ido-tidy): Handle read-only text.
4424
b8e3b0a9
GM
44252013-10-23 Glenn Morris <rgm@gnu.org>
4426
4427 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4428 (emacs, compile, compile-always):
4429 Quote entities that might contain whitespace.
4430 (custom-deps, finder-data, autoloads): Use abs_lisp.
4431 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4432 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4433 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4434
ee4282cd
DG
44352013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4436
bc4aaa31
SM
4437 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4438 Use `following-char'.
7790a270 4439
ee4282cd 44402013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4441
4442 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4443 * progmodes/ruby-mode.el (ruby-smie-rules):
4444 Remove corresponding workaround. Fix indentation rule of ";" so it
4445 also applies when ";" is the parent.
4446
d40a46d7
XF
44472013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4448
4449 * frame.el (display-screens, display-pixel-height)
4450 (display-pixel-width, display-mm-width, display-backing-store)
4451 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4452 (display-visual-class, display-monitor-attributes-list):
4453 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4454
a0f143c9
MG
44552013-10-22 Michael Gauland <mikelygee@amuri.net>
4456
4457 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4458 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4459
18cacc39
DG
44602013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4461
4462 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4463 TODO. Add "." after " @ ".
4464 (ruby-smie--at-dot-call): New function. Checks if point at method
4465 call with explicit target.
4466 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4467 to the method name tokens when it precedes them.
4468 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4469 (ruby-smie-rules): Add rule for indentation before and after "."
4470 token.
4471
df74c4be
SM
44722013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4473
c6dab55f
SM
4474 * textmodes/remember.el (remember-diary-extract-entries):
4475 Avoid add-to-list.
4476
df74c4be
SM
4477 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4478 an instruction.
4479
8c1ae481
DG
44802013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4481
e9dc713d
JB
4482 * progmodes/ruby-mode.el (ruby-smie-grammar):
4483 Add (almost) all infix operators.
cfef16c0
DG
4484 (ruby-smie--implicit-semi-p): Add new operator chars.
4485
8c1ae481
DG
4486 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4487 `smie-down-list'.
4488 (ruby-smie--args-separator-p): Check that there's no newline
4489 between method call and its arguments.
4490
87756ca9
AM
44912013-10-20 Alan Mackenzie <acm@muc.de>
4492
4493 Allow comma separated lists after Java "implements".
4494
df74c4be
SM
4495 * progmodes/cc-engine.el (c-backward-over-enum-header):
4496 Parse commas.
87756ca9
AM
4497 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4498 from a "disallowed" list in enum fontification.
4499
c25f8957
JB
45002013-10-20 Johan Bockgård <bojohan@gnu.org>
4501
df74c4be 4502 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4503
c25f8957
JB
4504 * progmodes/verilog-mode.el (verilog-mode): Don't set
4505 comment-indent-function globally.
4506
aca5fcdc
JD
45072013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4508
5f161884
JD
4509 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4510 Move Info menu item creation to ns-win.el.
4511
4512 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4513 in menu bar.
4514
a6c4680a 4515 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4516
4517 * term/ns-win.el (ns-initialize-window-system): ... to here.
4518
914b7f98
SM
45192013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * simple.el (newline): Only run post-self-insert-hook when
4522 called interactively.
4523
846ffe77
JB
45242013-10-19 Johan Bockgård <bojohan@gnu.org>
4525
4526 * icomplete.el (icomplete-with-completion-tables): Add :version.
4527
033f22dd
AM
45282013-10-19 Alan Mackenzie <acm@muc.de>
4529
4530 Fix fontification bugs with constructors and const.
4531
4532 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4533 CASE 2) Remove the check for the absence of a suffix construct
4534 after a function declaration with only types (no identifiers) in
4535 the parentheses. Also, accept a function declaration with just a
4536 type inside the parentheses, if this type can be positively
4537 recognised as such, or if a prefix keyword like "explicit" nails
4538 down the construct as a declaration.
4539
58ce0cfc
EZ
45402013-10-19 Eli Zaretskii <eliz@gnu.org>
4541
4542 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4543 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4544 the problem whereby selecting a menu item that leads to a
4545 minibuffer prompt moves the cursor out of the minibuffer window,
4546 making it hard to type at the prompt. Suggested by Stefan Monnier
4547 <monnier@iro.umontreal.ca>.
4548
50e28e7d
JD
45492013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4550
4551 * menu-bar.el: Don't make Services menu.
4552
7deed4bf
RS
45532013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4554
4555 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4556 (ffap-alist): Use ffap-c++-mode for c++-mode.
4557 (ffap-c++-path): New variable.
4558 (ffap-c++-mode): New function.
4559
7bcb455b
JVJ
45602013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4561
4562 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4563
f0ff1cd5
MA
45642013-10-18 Michael Albinus <michael.albinus@gmx.de>
4565
4566 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4567 introduced on 2013-09-08, which results in an infinite loop
4568 requesting a password.
4569
d64da4b7
GM
45702013-10-18 Glenn Morris <rgm@gnu.org>
4571
4572 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4573
ea89ff08
WS
45742013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4575
4576 Sync with upstream verilog-mode revision 1a6ecec7.
4577 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4578 (verilog-mode-release-date): Remove.
4579 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4580 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4581 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4582 (verilog-auto-tieoff-ignore-regexp)
4583 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4584 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4585 (verilog-signals-with, verilog-dir-cache-preserving)
4586 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4587 Doc fixes.
4588 (verilog-case-fold): New option, to control case folding in
4589 regexp searches, bug597.
4590 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4591 (verilog-string-match-fold, verilog-in-paren-count)
4592 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4593 (verilog-at-close-struct-p): New functions.
4594 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4595 (verilog-forward-sexp, verilog-set-auto-endcomments):
4596 (verilog-leap-to-case-head): Handle "unique0" case.
4597 (verilog-in-constraint-re): New constant.
4598 (verilog-keywords, verilog-type-font-keywords):
4599 Add some SystemVerilog 1800-2012 keywords.
4600 (verilog-label-be): Remove unimplemented argument, bug669.
4601 (verilog-batch-execute-func): When batch expanding clear
4602 create-lockfiles to prevent spurious user locks when a file ends
4603 up not changing.
4604 (verilog-calculate-indent, verilog-calc-1)
4605 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4606 (verilog-do-indent): Fix indentation of nested constraints
4607 and structures.
4608 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4609 (verilog-auto-inst-param): Use verilog-string-match-fold.
4610 (verilog-read-inst-module-matcher):
4611 Fix AUTOINST on gate primitives with #1.
4612 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4613 Reads all user-defined typed variables.
4614 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4615 (verilog-signals-matching-regexp)
4616 (verilog-signals-not-matching-regexp, verilog-auto):
4617 Respect verilog-case-fold.
4618 (verilog-diff-report): Fix line count.
4619 (verilog-auto-assign-modport): Remove unused local `modi'.
4620 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4621 better handle multidimensional arrays.
4622 Fix packed array ports misadding bit index in AUTOINST, bug637.
4623 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4624 to not double-declare existing outputs and inputs, respectively.
4625 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4626 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4627 (verilog-sk-uvm-component): New skeleton.
4628 (verilog-submit-bug-report): Add verilog-case-fold,
4629 remove verilog-mode-release-date.
4630
ef566920
BR
46312013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4632
a12bf61e 4633 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4634 as before.
4635
29df8a0b
RT
46362013-10-18 Reuben Thomas <rrt@sc3d.org>
4637
e0eb0550 4638 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4639 remember buffers (bug#13566).
4640
04a19a79
DC
46412013-10-18 Daniel Colascione <dancol@dancol.org>
4642
4643 When evaluating forms in ielm, direct standard output to ielm
4644 buffer. Add new ielm-return-for-effect command. Remove trailing
4645 whitespace throughout.
4646
4647 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4648 (ielm-return-for-effect): New command.
4649 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4650 (ielm-eval-input): Accept optional `for-effect' parameter.
4651 Bind `standard-output' to stream we create using
04a19a79
DC
4652 `ielm-standard-output-impl'. Suppress printing result when
4653 `for-effect'.
4654 (ielm-standard-output-impl): New function.
4655 (inferior-emacs-lisp-mode): Explain new features in documentation.
4656
4c1f03ef
MA
46572013-10-17 Michael Albinus <michael.albinus@gmx.de>
4658
4659 Code cleanup.
4660
4661 * net/tramp.el (tramp-debug-message): Do not check for connection
4662 buffer.
4663 (tramp-message): Use "vector" connection property.
4664
4665 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4666 (tramp-equal-remote, tramp-eshell-directory-change)
4667 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4668 (tramp-adb-handle-rename-file)
4669 * net/tramp-cmds.el (tramp-list-remote-buffers)
4670 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4671 * net/tramp-compat.el (tramp-compat-process-running-p)
4672 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4673 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4674 (tramp-gvfs-handle-rename-file)
4675 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4676 (tramp-set-file-uid-gid)
4677 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4678 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4679 of `file-remote-p'.
4680
4681 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4682 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4683 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4684 (tramp-gw-open-network-stream): Suppress unrelated traces.
4685
4686 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4687 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4688 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4689 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4690 connection property.
4691
4692 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4693 persistency file.
4c1f03ef
MA
4694
4695 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4696 Refactor common code. Improve debug message.
4697 (tramp-maybe-open-connection)
4698 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4699 connection buffer too early.
4700
4701 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4702 from `tramp-smb-actions-with-acl'.
4703 (tramp-smb-actions-set-acl): New defconst.
4704 (tramp-smb-handle-copy-directory)
4705 (tramp-smb-action-get-acl): New defun, renamed from
4706 `tramp-smb-action-with-acl'.
4707 (tramp-smb-action-set-acl): New defun.
4708 (tramp-smb-handle-set-file-acl): Rewrite.
4709
642eb8b6
GM
47102013-10-17 Glenn Morris <rgm@gnu.org>
4711
4712 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4713
85527ff3
SM
47142013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4715
921c1d62
SM
4716 * skeleton.el (skeleton-newline): Remove.
4717 (skeleton-internal-1): Use (insert "\n") instead.
4718
e333fb10
SM
4719 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4720 let-bindings.
4721
85527ff3
SM
4722 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4723 forward-sexp-function while we redo its job (bug#15613).
4724
c8722a97
JB
47252013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4726
4727 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4728 represented by lists.
4729
7a550bbb
GM
47302013-10-16 Glenn Morris <rgm@gnu.org>
4731
4732 * tmm.el (tmm--history): New dynamic variable.
4733 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4734
f19da8ad
MA
47352013-10-16 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4738 (tramp-smb-errors): Add error messages.
4739 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 4740 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
4741 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4742 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4743 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4744 (tramp-smb-get-stat-capability): Fix tests.
4745
a24b9961
DK
47462013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4747
4748 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4749 (bug#15580).
4750
62ad85e6
GM
47512013-10-16 Glenn Morris <rgm@gnu.org>
4752
0283d6b0
GM
4753 * ansi-color.el (ansi-color-drop-regexp):
4754 Add 1J, 1K, 2K. (Bug#15617)
4755
012e2f9f
GM
4756 * files.el (hack-local-variables--warned-lexical): New.
4757 (hack-local-variables):
4758 Warn about misplaced lexical-binding. (Bug#15616)
4759
62ad85e6
GM
4760 * net/eww.el (eww-render): Always set eww-current-url,
4761 and update header line. (Bug#15622)
4762 (eww-display-html): ... Rather than just doing it here.
4763
6456c0ea
EZ
47642013-10-15 Eli Zaretskii <eliz@gnu.org>
4765
4766 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4767 menu navigations commands.
4768
c2de5588
DK
47692013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4770
4771 * progmodes/subword.el (subword-capitalize): Be careful when
4772 the search for [[:alpha:]] fails (bug#15580).
4773
ccd4a783
EZ
47742013-10-14 Eli Zaretskii <eliz@gnu.org>
4775
4776 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4777 to commands that scroll the menu.
4778
1eda1d8d
DG
47792013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4780
c2de5588
DK
4781 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4782 Handle methods ending with `?' and `!'.
1eda1d8d 4783
e70181b8
AM
47842013-10-14 Akinori MUSHA <knu@iDaemons.org>
4785
4786 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4787 `japanese-cp932' to `cp932' to fix the problem where saving a
4788 source file written in Shift_JIS twice would end up having
4789 `coding: japanese-cp932' which Ruby could not recognize.
4790 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4791 in `ruby-encoding-map'.
4792 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4793 doesn't need to be explicitly declared in magic comment.
4794 (ruby-encoding-map): Add type declaration for better customize UI.
4795
9148ee92
GM
47962013-10-13 Glenn Morris <rgm@gnu.org>
4797
a5d38e34
GM
4798 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4799 Occur buffers are read-only. http://bugs.debian.org/720775
4800
9148ee92
GM
4801 * emacs-lisp/authors.el (authors-fixed-entries):
4802 Comment out old alpha stuff.
4803
a9ba094b
DG
48042013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4805
4806 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4807 to `after-save-hook' instead of `before-save-hook'.
4808 (ruby-mode-set-encoding): Use the value of coding system used to
4809 write the file. Call `basic-save-buffer-1' after modifying the
4810 buffer.
4811
7a068717
AM
48122013-10-13 Alan Mackenzie <acm@muc.de>
4813
4814 Fix indentation/fontification of Java enum with
4815 "implements"/generic.
4816
c2de5588
DK
4817 * progmodes/cc-engine.el (c-backward-over-enum-header):
4818 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4819 (c-inside-bracelist-p): Uses new function above.
4820 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4821 function above.
4822 (c-font-lock-enum-tail): Uses new function above.
4823
85b64f02
KH
48242013-10-13 Kenichi Handa <handa@gnu.org>
4825
4826 * international/mule-cmds.el (select-safe-coding-system): Remove a
4827 superfluous condition in chekcing whether a coding system is safe
4828 or not.
4829
fc7f501b
OK
48302013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4831
4832 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4833
fdcb2049
AP
48342013-10-13 Andreas Politz <politza@hochschule-trier.de>
4835
4836 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4837
8c106d17
GM
48382013-10-13 Glenn Morris <rgm@gnu.org>
4839
feab892d
GM
4840 * menu-bar.el (menu-bar-update-buffers):
4841 Unify Buffers menu prompt string. (Bug#15576)
4842
b22d0686
GM
4843 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4844
8c106d17
GM
4845 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4846 Add some entries.
4847 (authors-fixed-entries): Use accented form of name.
4848
1b12c797
SM
48492013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4850
650fa7bf 4851 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4852 method calls (bug#15594).
650fa7bf
SM
4853 (ruby-smie--args-separator-p): New function.
4854 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4855 recognize paren-free method calls.
4856
1b12c797
SM
4857 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4858 internals of universal-argument.
4859
029619c8
EZ
48602013-10-11 Eli Zaretskii <eliz@gnu.org>
4861
4862 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4863 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4864 dropped menu on second mouse click on the menu bar.
029619c8 4865
dd070019
SM
48662013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4869 (explicit-shell-file-name): Declare.
4870 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4871 (sh-completion-at-point-function): New function.
4872 (sh-mode): Use it.
4873 (sh-smie--keyword-p): Remove unused argument.
4874 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4875 vars.
4876 (sh-set-shell): Always setup SMIE, even if we use the
4877 old indentation code.
4878
0922b826
DG
48792013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4880
b68e2926
DG
4881 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4882 cases of ? and =.
4883 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4884 predicate would return nil are almost non-existent.
4885 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4886
0922b826
DG
4887 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4888 cache also after commands that modify the buffer but don't move
4889 point.
4890
ee041f2d
SM
48912013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * env.el (substitute-env-in-file-name): New function.
4894 (substitute-env-vars): Extend the meaning of the optional arg.
4895
a5dab159
EZ
48962013-10-10 Eli Zaretskii <eliz@gnu.org>
4897
4898 * term/w32-win.el (dynamic-library-alist): Define separate lists
4899 of GIF DLLs for versions before and after 5.0.0 of giflib.
4900 (Bug#15531)
4901
0449d6cd 49022013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4903
4904 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4905 not locked, use last revision and current source as
4906 defaults. (Bug#15569)
4907
2f6e161e
MY
49082013-10-10 Masatake YAMATO <yamato@redhat.com>
4909
4910 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4911 menu-bar is hidden.
4912
6c8413fc
MR
49132013-10-10 Martin Rudalics <rudalics@gmx.at>
4914
4915 * window.el (pop-to-buffer-same-window): Fix doc-string.
4916 (Bug#15492)
4917
20832de0
SM
49182013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4921
c6e8ae77
AC
49222013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4923
4924 * calendar/icalendar.el (icalendar-import-file):
4925 Fix interactive spec. (Bug#15482)
4926
9db13baf
GM
49272013-10-10 Glenn Morris <rgm@gnu.org>
4928
9271e90e
GM
4929 * desktop.el (desktop-save): Default to saving in .emacs.d,
4930 since PWD is no longer in desktop-path by default. (Bug#15319)
4931
9db13baf
GM
4932 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4933 now that text mode has a menu with the same entry.
4934 (menu-bar-text-mode-auto-fill): Remove now unused func.
4935 * textmodes/text-mode.el (text-mode-map):
4936 Use auto-fill help text from menu-bar.el.
4937
a0be396a 49382013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4939
4940 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4941
2edcd3c7
JL
49422013-10-09 Juri Linkov <juri@jurta.org>
4943
4944 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4945 instead of this-command-keys. Add universal-argument-more and
4946 universal-argument-minus to the list of prefix commands. (Bug#15568)
4947
574411d0
GM
49482013-10-09 Glenn Morris <rgm@gnu.org>
4949
14afa541
GM
4950 * vc/vc-svn.el (vc-svn-create-repo):
4951 Expand paths in file://... url. (Bug#15446)
4952
574411d0
GM
4953 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4954 Add some entries.
4955 (authors): Remove unused local variables.
4956
79804536
SM
49572013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * profiler.el: Create a more coherent calltree from partial backtraces.
4960 (profiler-format): Hide the tail with `invisible' so that C-s can still
4961 find the hidden elements.
4962 (profiler-calltree-depth): Don't recurse so enthusiastically.
4963 (profiler-function-equal): New hash-table-test.
4964 (profiler-calltree-build-unified): New function.
4965 (profiler-calltree-build): Use it.
4966 (profiler-report-make-name-part): Indent the calltree less.
4967 (profiler-report-mode): Add visibility specs for profiler-format.
4968 (profiler-report-expand-entry, profiler-report-toggle-entry):
4969 Expand the whole subtree when provided with a prefix arg.
4970
238150c8
DG
49712013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4972
4973 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4974 iuwu-mod token.
4975 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4976 hanging iuwu-mod token.
4977 (ruby-smie--forward-token): Do not include a dot after a token in
4978 that token.
4979 (ruby-smie--backward-token): Likewise.
4980
b0949cc4
JL
49812013-10-08 Juri Linkov <juri@jurta.org>
4982
4983 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4984 to isearch-other-control-char.
4985 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4986 and isearch-post-command-hook to post-command-hook.
4987 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4988 and isearch-post-command-hook from post-command-hook.
4989 (isearch-unread-key-sequence)
4990 (isearch-reread-key-sequence-naturally)
4991 (isearch-lookup-scroll-key, isearch-other-control-char)
4992 (isearch-other-meta-char): Remove functions.
4993 (isearch-pre-command-hook, isearch-post-command-hook):
4994 New functions based on isearch-other-meta-char rewritten
4995 relying on the new behavior of overriding-terminal-local-map
4996 that does not replace the local keymaps any more. (Bug#15200)
4997
4ed77415
EZ
49982013-10-08 Eli Zaretskii <eliz@gnu.org>
4999
5000 Support menus on text-mode terminals.
5001 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5002 functionality.
5003
5004 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5005
c2de5588
DK
5006 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5007 Move here from mouse.el.
4ed77415
EZ
5008 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5009 and arrow keys.
5010 (tty-menu-navigation-map): New map for TTY menu navigation.
5011
5012 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5013
5014 * frame.el (display-mouse-p): Report text-mode mouse as available
5015 on w32.
5016 (display-popup-menus-p): Report availability if mouse is
5017 available; don't condition on window-system.
5018
5019 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5020 (tty-menu-selected-face): New faces.
5021
b7d5bd82
TL
50222013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5023
06286513
SM
5024 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5025 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5026 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5027 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5028 New constants.
5029 (lisp-mode-variables): New `elisp' argument.
5030 (emacs-lisp-mode): Use it.
5031 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5032 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5033
b7d5bd82
TL
5034 * indent.el: Use lexical-binding.
5035 (indent-region): Add progress reporter.
5036 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5037 last step.
5038 (indent--next-tab-stop): New function to implement this behavior.
5039 (tab-to-tab-stop, move-to-tab-stop): Use it.
5040
50412013-10-08 Teemu Likonen <tlikonen@iki.fi>
5042
5043 * indent.el (indent-rigidly--current-indentation): New function.
5044 (indent-rigidly-map): New var.
5045 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5046
5ea75d23
BG
50472013-10-08 Bastien Guerry <bzg@gnu.org>
5048
f2726fa2 5049 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5050
cc5da1ec
SM
50512013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5052
8ffa1a0b
SM
5053 * progmodes/perl-mode.el: Use lexical-binding.
5054 Remove redundant :group args.
5055 (perl-nochange): Change default to be closer to other major modes's
5056 standard behavior.
5057 (perl-indent-line): Don't consider text on current line as a
5058 valid beginning of function from which to indent.
5059
f2223371
SM
5060 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5061 with more than one argument (bug#15538).
5062
44256060
SM
5063 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5064
cc5da1ec
SM
5065 * vc/pcvs.el: Use lexical-binding.
5066 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5067 environment of `eval'.
5068 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5069 than a list of expressions. Adjust callers.
5070 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5071
0ea1599d
DG
50722013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5073
5074 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5075 case of the dot in a chained method call being on the following line.
0ea1599d 5076
da3e5ebb
SM
50772013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5078
2abb4e65
SM
5079 * electric.el (electric-indent-inhibit): New var.
5080 (electric-indent-post-self-insert-function): Use it.
5081 * progmodes/python.el (python-mode): Set it.
5082
d2e0e795
SM
5083 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5084 open braces.
5085
5086 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5087
bdc6b4c8
SM
5088 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5089 (css-mode): Use electric-indent-chars.
5090
da3e5ebb
SM
5091 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5092 (font-lock-beg, font-lock-end): Move before first use.
5093 (nxml-mode): Use syntax-propertize-function.
5094 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5095 (nxml-extend-after-change-region): Remove.
5096 * nxml/xmltok.el: Use lexical-binding.
5097 (xmltok-save): Use `declare'.
5098 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5099 * nxml/nxml-util.el: Use lexical-binding.
5100 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5101 Use `declare'.
5102 * nxml/nxml-ns.el: Use lexical-binding.
5103 (nxml-ns-save): Use `declare'.
5104 (nxml-ns-prefixes-for): Avoid add-to-list.
5105 * nxml/rng-match.el: Use lexical-binding.
5106 (rng--ipattern): Use cl-defstruct.
5107 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5108 (rng-cons-group-after, rng-subst-group-after)
5109 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5110 Use closures instead of `(lambda...).
5111
f8f91d5d
MA
51122013-10-07 Michael Albinus <michael.albinus@gmx.de>
5113
5114 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5115 of BEG and END.
5116
da3e5ebb
SM
5117 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5118 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5119 (tramp-gvfs-handle-insert-file-contents): Remove function.
5120
da3e5ebb
SM
5121 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5122 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5123
5124 * net/trampver.el: Update release number.
5125
7ccae3b1
SM
51262013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5127
55ca2c0d
SM
5128 * progmodes/compile.el (compilation-parse-errors):
5129 Use compilation--put-prop.
5130 (compilation--ensure-parse): Check compilation-multiline.
5131
731fc3ae
SM
5132 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5133
da3e5ebb
SM
5134 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5135 lexical-binding.
a5833280 5136
2e7ba2c2
SM
5137 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5138
7ccae3b1
SM
5139 * progmodes/ruby-mode.el: Fix recently added tests.
5140 (ruby-smie-grammar): Add - and +.
5141 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5142 (ruby-smie--backward-id): New functions.
5143 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5144 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5145 any more.
5146
85698d63
LL
51472013-10-07 Leo Liu <sdl.web@gmail.com>
5148
5149 * register.el (register-preview-delay)
5150 (register-preview-functions): New variables.
5151 (register-read-with-preview, register-preview)
5152 (register-describe-oneline): New functions.
5153 (point-to-register, window-configuration-to-register)
5154 (frame-configuration-to-register, jump-to-register)
5155 (number-to-register, view-register, insert-register)
5156 (copy-to-register, append-to-register, prepend-to-register)
5157 (copy-rectangle-to-register): Use register-read-with-preview to
5158 read register. (Bug#15525)
5159
3986af6c
DS
51602013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5161
5162 * net/network-stream.el (network-stream-open-starttls): Don't add
5163 --insecure if it's already present, because that gnutls-cli
5164 rejects getting that parameter twice.
5165
5cd9cda9
DG
51662013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5167
5168 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5169 keyword, too.
5170
da9ea6d9
DG
51712013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5172
5173 * newcomment.el (comment-use-global-state): Change default value
5174 to t, mark obsolete (Bug#15251).
5175 (comment-beginning): In addition to `comment-to-syntax', check the
5176 value of `comment-use-global-state'.
5177
34d1a133
SM
51782013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5181 (ruby-comment-column): Follow the global default, by default.
5182 (ruby-smie-grammar): Add assignment syntax.
5183 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5184 open-paren, a comma, or a \.
5185 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5186 and line continuations.
5187 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5188 followed by implicit semi-colons. Add rule for string concatenation
5189 and for indentation at BOB.
5190 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5191
5192 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5193 calling next-sexp, since next-token may have skipped chars which
5194 next-sexp doesn't know should be skipped!
5195
6f6ab820
LL
51962013-10-05 Leo Liu <sdl.web@gmail.com>
5197
34d1a133
SM
5198 * progmodes/octave.el (octave-send-region):
5199 Call compilation-forget-errors.
6f6ab820 5200
34ca0f4c
XF
52012013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5202
5203 * vc/vc-svn.el (vc-svn-find-admin-dir):
5204 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5205 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5206 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5207 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5208
a27c1b72
SM
52092013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5212
258ab3bc
SM
52132013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * subr.el (read-passwd): Hide chars even when called within a context
5216 where after-change-functions is disabled (bug#15501).
5217 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5218 until we removed ourself from overriding-terminal-local-map.
5219
939fb29c
LL
52202013-10-04 Leo Liu <sdl.web@gmail.com>
5221
258ab3bc
SM
5222 * progmodes/octave.el (inferior-octave-mode):
5223 Call compilation-forget-errors.
939fb29c 5224
63bd7f35
XF
52252013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5226
5227 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5228
9e6229fa
MA
52292013-10-04 Michael Albinus <michael.albinus@gmx.de>
5230
5231 * net/secrets.el (secrets-create-collection): Add optional
5232 argument ALIAS. Use proper Label keyword. Append ALIAS as
5233 dbus-call-method argument. (Bug#15516)
5234
1dab32a3
LL
52352013-10-04 Leo Liu <sdl.web@gmail.com>
5236
5237 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5238 (inferior-octave-compilation-font-lock-keywords): New variables.
5239 (compilation-error-regexp-alist)
5240 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5241 (inferior-octave-mode): Use compilation-shell-minor-mode.
5242
6cad7ba3
JS
52432013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5244
5245 * minibuffer.el (completion--replace): Be careful that `end' might be
5246 a marker.
5247
acbadd00
DU
52482013-10-03 Daiki Ueno <ueno@gnu.org>
5249
5250 Add support for package signature checking.
5251 * emacs-lisp/package.el (url-http-file-exists-p)
5252 (epg-make-context, epg-context-set-home-directory)
5253 (epg-verify-string, epg-context-result-for)
5254 (epg-signature-status, epg-signature-to-string)
5255 (epg-check-configuration, epg-configuration)
5256 (epg-import-keys-from-file): Declare.
5257 (package-check-signature): New user option.
5258 (package-unsigned-archives): New user option.
5259 (package-desc): Add `signed' field.
5260 (package-load-descriptor): Set `signed' field if .signed file exists.
5261 (package--archive-file-exists-p): New function.
5262 (package--check-signature): New function.
5263 (package-install-from-archive): Check package signature.
5264 (package--download-one-archive): Check archive signature.
5265 (package-delete): Remove .signed file.
5266 (package-import-keyring): New command.
5267 (package-refresh-contents): Import default keyring.
5268 (package-desc-status): Add "unsigned" status.
5269 (describe-package-1, package-menu--print-info)
5270 (package-menu-mark-delete, package-menu--find-upgrades)
5271 (package-menu--status-predicate): Support "unsigned" status.
5272
adf2aa61
SM
52732013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5276 the new compilation scheme using the new byte-codes.
5277
5278 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5279 (byte-pophandler): New byte codes.
5280 (byte-goto-ops): Adjust accordingly.
5281 (byte-compile--use-old-handlers): New var.
5282 (byte-compile-catch): Use new byte codes depending on
5283 byte-compile--use-old-handlers.
5284 (byte-compile-condition-case--old): Rename from
5285 byte-compile-condition-case.
5286 (byte-compile-condition-case--new): New function.
5287 (byte-compile-condition-case): New function that dispatches depending
5288 on byte-compile--use-old-handlers.
5289 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5290 when we can.
5291
5292 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5293 Optimize under `condition-case' and `catch' if
5294 byte-compile--use-old-handlers is nil.
5295 (disassemble-offset): Handle new bytecodes.
5296
328a8179
SM
52972013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * subr.el (error): Use `declare'.
5300 (decode-char, encode-char): Use advertised-calling-convention instead
5301 of the docstring to discourage use of the `restriction' arg.
5302
15a1e936
DU
53032013-10-03 Daiki Ueno <ueno@gnu.org>
5304
5305 * epg.el (epg-verify-file): Add a comment saying that it does not
5306 notify verification error as a return value nor a signal.
5307 (epg-verify-string): Ditto.
5308
376f862a
KR
53092013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5310
5311 * progmodes/compile.el (compilation-start): Try globbing the arg to
5312 `cd' (bug#15417).
5313
a2f93a5f
MA
53142013-10-02 Michael Albinus <michael.albinus@gmx.de>
5315
5316 Sync with Tramp 2.2.8.
5317
5318 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5319 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5320 * net/trampver.el: Update release number.
5321
0daa0804
JD
53222013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5323
5324 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5325 and default-process-coding-system for darwin only.
5326
abd1ae34
SM
53272013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5330
be4e325d
MH
53312013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5332
5333 * vc/vc-git.el (vc-git-grep): Disable pager.
5334
e9155c4a
DG
53352013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5336
494e898b
DG
5337 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5338 Use :url instead of :homepage, as per
5339 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5340
e9155c4a
DG
5341 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5342 non-nil, use `syntax-ppss' (Bug#15251).
5343
481a8e0f
RS
53442013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5345
be4e325d
MH
5346 * progmodes/octave.el (inferior-octave-startup-file):
5347 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5348
056453c6
DG
53492013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5350
be4e325d
MH
5351 * emacs-lisp/package.el (package-desc-from-define):
5352 Accept additional arguments as plist, convert them to an alist and store
5353 them in the `extras' slot.
056453c6
DG
5354 (package-generate-description-file): Convert extras alist back to
5355 plist and append to the `define-package' form arguments.
5356 (package--alist-to-plist): New function.
5357 (package--ac-desc): Add `extras' slot.
5358 (package--add-to-archive-contents): Check if the archive-contents
5359 vector is long enough, and if it is, pass its `extras' slot value
5360 to `package-desc-create'.
5361 (package-buffer-info): Call `lm-homepage', pass the returned value
5362 to `package-desc-from-define'.
5363 (describe-package-1): Render the homepage button (Bug#13291).
5364
be4e325d
MH
5365 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5366 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5367
832966e5
JD
53682013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5369
5370 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5371 and default-process-coding-system to utf-8-unix (Bug#15402).
5372
6cfe977d
XF
53732013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5374
5375 * subr.el (looking-back): Do not recommend using looking-back.
5376
38de11bd
AM
53772013-09-28 Alan Mackenzie <acm@muc.de>
5378
5379 Fix indentation/fontification of Java enum with "implements".
5380
5381 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5382 regexp which matches "implements", etc., in Java.
5383 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5384 specifier clauses coming after "enum".
5385 * progmodes/cc-fonts.el (c-font-lock-declarations)
5386 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5387 after "enum".
5388
1610938f
JD
53892013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5390
5391 * faces.el (region): Change ns_selection_color to
5392 ns_selection_fg_color, add ns_selection_bg_color.
5393
e090f499
LL
53942013-09-28 Leo Liu <sdl.web@gmail.com>
5395
4d2e94d1
LL
5396 * progmodes/octave.el (inferior-octave-completion-table)
5397 (inferior-octave-completion-at-point): Minor tweaks.
5398
e090f499
LL
5399 * textmodes/ispell.el (ispell-lookup-words): Rename from
5400 lookup-words. (Bug#15460)
5401 (lookup-words): Obsolete.
5402 (ispell-complete-word, ispell-command-loop): All uses changed.
5403
7e138a62
RS
54042013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5405
a12bf61e 5406 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5407 (octave-mode-menu): Add octave-send-buffer.
5408 (octave-send-buffer): New function.
5409
5af5ed08
RS
54102013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5411
a12bf61e 5412 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5413 octave-lookfor.
5414 (octave-mode-menu): Add octave-lookfor.
5415 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5416 octave-lookfor.
5417 (octave-lookfor): New function.
5418
3b7b2692
SM
54192013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * emacs-lisp/cl-macs.el:
5422 (cl--loop-destr-temps): Remove.
5423 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5424 its convention.
5425 (cl--loop-set-iterator-function): New function.
5426 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5427 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5428 Bind `it' with `let' instead of substituting it with `cl-subst'.
5429 (cl--unused-var-p): New function.
5430 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5431 Eliminate some unused variable warnings (bug#15326).
5432
529fb53f
TH
54332013-09-27 Tassilo Horn <tsdh@gnu.org>
5434
5435 * doc-view.el (doc-view-scale-reset): Rename from
5436 `doc-view-reset-zoom-level'.
5437 (doc-view-scale-adjust): New command.
5438 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5439 `doc-view-scale-adjust'.
5440
0550c95a
TH
54412013-09-26 Tassilo Horn <tsdh@gnu.org>
5442
5443 * doc-view.el (doc-view-reset-zoom-level): New command.
5444 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5445 zoom commands (bug#15466).
5446
6950f152
KH
54472013-09-26 Kenichi Handa <handa@gnu.org>
5448
5449 * international/quail.el (quail-help): Make it not a command.
5450
39587580
LL
54512013-09-26 Leo Liu <sdl.web@gmail.com>
5452
5453 * minibuffer.el (completion-all-sorted-completions): Make args
5454 optional as they are.
5455
00578659
DC
54562013-09-25 Daniel Colascione <dancol@dancol.org>
5457
5458 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5459 specs are and that they're not evaluated.
5460
0c173878
SS
54612013-09-24 Sam Steingold <sds@gnu.org>
5462
5463 * midnight.el (clean-buffer-list-kill-regexps)
5464 (clean-buffer-list-kill-buffer-names): Update for the new Man
5465 buffer naming which includes the object name.
5466
84998447
SM
54672013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5470 (eshell-parse-command, eshell-parse-pipeline): Use it since
5471 eshell-separate-commands requires a dynamic scoped var.
5472 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5473
33215353
LL
54742013-09-23 Leo Liu <sdl.web@gmail.com>
5475
5476 * autoinsert.el (auto-insert-alist): Make the value of
5477 lexical-binding match its file setting.
5478
57b16162
JB
54792013-09-23 Juanma Barranquero <lekktu@gmail.com>
5480
c8af4e67
JB
5481 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5482
57b16162
JB
5483 * autoarg.el (autoarg-kp-digit-argument):
5484 * electric.el (Electric-command-loop):
5485 * kmacro.el (kmacro-step-edit-insert):
5486 Do not set universal-argument-num-events.
5487
7186ba60
LL
54882013-09-22 Leo Liu <sdl.web@gmail.com>
5489
5490 * files.el (interpreter-mode-alist): Add octave.
5491
ece15004
AM
54922013-09-21 Alan Mackenzie <acm@muc.de>
5493
5494 C++: fontify identifier in declaration following "public:" correctly.
5495 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5496 to match "public", etc.
5497 (c-decl-prefix-re): Add ":" into the C++ value.
5498 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5499 bit. Add a check for a ":" preceded by "public", etc.
5500
75d83e22
EZ
55012013-09-21 Eli Zaretskii <eliz@gnu.org>
5502
5503 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5504 recognized by GDB 7.5 and later.
5505
d052d3bd
XF
55062013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5507
5508 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5509
31dca772
R
55102013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * subr.el (internal--call-interactively): New const.
5513 (called-interactively-p): Use it (bug#3984).
5514
98ccf24e
XF
55152013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5516
5517 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5518 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5519 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5520
c39cc7d1
SM
55212013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5524 (eshell-ls-orig-insert-directory): Remove.
5525 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5526 (eshell-ls-use-in-dired): Use advice-add/remove.
5527 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5528 Add `orig-fun' arg for use in :around advice.
5529 Make it check (redundantly) eshell-ls-use-in-dired.
5530
9a0289a2
GM
55312013-09-19 Glenn Morris <rgm@gnu.org>
5532
a2c501b8
GM
5533 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5534
c440407a
GM
5535 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5536
9a0289a2
GM
5537 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5538
85e05915
MA
55392013-09-19 Michael Albinus <michael.albinus@gmx.de>
5540
5541 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5542 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5543 (tramp-get-remote-python): New defuns.
5544 (tramp-get-remote-uid-with-perl)
5545 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5546 contributed by yary <not.com@gmail.com> (tiny change).
5547 (tramp-get-remote-uid-with-python)
5548 (tramp-get-remote-gid-with-python): New defuns. Python code
5549 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5550 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5551
ce503312
GM
55522013-09-19 Glenn Morris <rgm@gnu.org>
5553
f7544773
GM
5554 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5555
72fd2877
GM
5556 * eshell/em-unix.el (eshell-remove-entries):
5557 Rename argument to avoid name-clash with global `top-level'.
5558
336b5a56
GM
5559 * eshell/esh-proc.el (eshell-kill-process-function):
5560 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5561 (eshell-reset-after-proc): Remove unused arg `proc'.
5562
57a3a53d
GM
5563 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5564 (directory-files-and-attributes): Mark unused arg.
5565
3261d4af
GM
5566 * eshell/em-unix.el (eshell-remove-entries):
5567 Remove unused arg `path'. Update callers.
5568
8e51b5d0
GM
5569 * eshell/em-hist.el (eshell-hist-parse-arguments):
5570 Remove unused arg `silent'. Update callers.
5571
ce503312
GM
5572 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5573 Fix (f)boundp mix-up.
5574
5575 * eshell/em-smart.el (eshell-smart-scroll-window)
5576 (eshell-disable-after-change):
336b5a56 5577 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5578
ee3ce8a7
AM
55792013-09-18 Alan Mackenzie <acm@muc.de>
5580
5581 Fix fontification of type when followed by "const".
5582 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5583 "known" types from fontification.
5584
ec9177ba
GM
55852013-09-18 Glenn Morris <rgm@gnu.org>
5586
7bb3e768
GM
5587 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5588 (chart-face-list): Drop Emacsen without display-color-p.
5589
5148da15
GM
5590 * net/eww.el (libxml-parse-html-region): Declare.
5591 (eww-display-html): Explicit error if no libxml2 support.
5592
2f68e157
GM
5593 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5594
9019d095
GM
5595 * image.el (image-type-from-buffer, image-multi-frame-p):
5596 Remove --without-x warning/error.
67645389 5597
5f30349b 5598 * mouse.el (mouse-yank-primary):
45069b2e 5599 * term.el (term-mouse-paste):
5f30349b
GM
5600 Reorder to silence --without-x compilation.
5601
cd8edbbe
GM
5602 * mpc.el (doc-view-mode): Silence --without-x compilation.
5603
8a78544e
GM
5604 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5605 Silence --without-x compilation.
5606
12679bfd
GM
5607 * progmodes/gud.el (gud-find-file, gud-mode):
5608 Silence --without-x compilation.
5609 (tooltip-mode): Declare.
30810a05 5610
f0047cb9
GM
5611 * wdired.el (dired-backup-overwrite): Remove declaration.
5612 (wdired-mode-map): Add doc string.
5613
e740f9d2
GM
5614 * custom.el (x-get-resource): Declare.
5615
92d77c89
GM
5616 * eshell/em-glob.el (ange-cache):
5617 * eshell/em-unix.el (ange-cache): Declare.
5618
76e69577
GM
5619 * faces.el (x-display-list, x-open-connection, x-get-resource):
5620 Declare.
7e58af4b
GM
5621
5622 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5623 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5624 Declare.
76e69577 5625
4bd4c0af 5626 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5627
ffb82dbd
GM
5628 * net/gnutls.el (gnutls-log-level): Declare.
5629
986ed135
GM
5630 * net/shr.el (image-size, image-animate): Declare.
5631
e740f9d2
GM
5632 * simple.el (font-info): Declare.
5633
d2f3e9f8
GM
5634 * subr.el (x-popup-dialog): Declare.
5635
047a1a4c
GM
5636 * term/common-win.el (x-select-enable-primary)
5637 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5638 Declare.
5639
f4a1d572
GM
5640 * term/ns-win.el (x-handle-args): Declare.
5641
e843de77
GM
5642 * term/x-win.el (x-select-enable-clipboard): Declare.
5643
5fa89513
GM
5644 * term/w32-win.el (create-default-fontset): Declare.
5645
38702b5b
GM
5646 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5647 Declare.
5648
e740f9d2
GM
5649 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5650 (fit-frame-to-buffer): Explicit error if --without-x.
5651 (mouse-autoselect-window-select): Silence compiler.
5652
49a053fc
GM
5653 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5654
5655 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5656 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5657 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5658 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5659 Remove unused local variables.
5660
5661 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5662
ec9177ba
GM
5663 * textmodes/two-column.el: Make 2C-split work for --without-x.
5664 (scroll-bar-columns): Autoload.
5665 (top-level): Require fringe when compiling.
5666
9f25cb77
LL
56672013-09-18 Leo Liu <sdl.web@gmail.com>
5668
5669 * subr.el (add-hook): Robustify to handle closure as well.
5670
2b42da98
GM
56712013-09-17 Glenn Morris <rgm@gnu.org>
5672
5673 * simple.el (messages-buffer-mode-map): Unbind "g".
5674
e8b66a6a
SM
56752013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5676
9c0ad4f7
SM
5677 * help-mode.el (help-mode-finish): Use derived-mode-p.
5678 Remove obsolete highlighting.
5679
7a806dfb
SM
5680 * play/life.el (life-mode): Use define-derived-mode. Derive from
5681 special-mode.
5682 (life): Let-bind inhibit-read-only.
5683 (life-setup): Avoid `setq'. Use `life-mode'.
5684
96dbf5a8
SM
5685 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5686 which should not be needed any more.
5687 (package-menu-refresh, package-menu-describe-package): Use user-error.
5688
e8b66a6a
SM
5689 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5690 (eshell-post-rewrite-command-hook): Make obsolete.
5691 (eshell-parse-command): Simplify.
5692 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5693 (eshell--cmd): Declare.
5694 (eshell-parse-pipeline): Remove unused var `final-p'.
5695 Pass a dynvar to eshell-post-rewrite-command-hook.
5696 Implement the new eshell-post-rewrite-command-function.
5697 (eshell-invoke-directly): Remove unused arg `input'.
5698 * eshell/esh-io.el (eshell-io-initialize):
5699 Use eshell-post-rewrite-command-function (bug#15399).
5700 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5701 adjust to new calling convention.
5702 (eshell-create-handles): Rename args to avoid clashing with dynvar
5703 `standard-output'.
5704
90582f05
GM
57052013-09-17 Glenn Morris <rgm@gnu.org>
5706
5707 * simple.el (messages-buffer-mode): New major mode.
5708 (messages-buffer): New function.
5709 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5710 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5711 (ert-run-test): Use `messages-buffer' function.
90582f05 5712 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5713 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5714 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5715
39eb0cb5 57162013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5717
5718 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5719
1d42e5b6 5720 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5721
70568a90
SM
57222013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5723
504a0381
SM
5724 * icomplete.el (icomplete-in-buffer): New var.
5725 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5726 vars and replace them with functions.
5727 (icomplete-minibuffer-setup): Adjust accordingly.
5728 (icomplete--completion-table, icomplete--completion-predicate)
5729 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5730 New functions.
5731 (icomplete-forward-completions, icomplete-backward-completions)
5732 (icomplete-simple-completing-p, icomplete-exhibit)
5733 (icomplete-completions): Use them.
5734 (icomplete--in-region-buffer): New var.
5735 (icomplete--in-region-setup): New function.
5736 (icomplete-mode): Use it.
5737
70568a90
SM
5738 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5739 (bug#15379).
5740 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5741 return args and options.
5742 (eshell-eval-using-options): Use the new return value of
5743 eshell--do-opts to set the options's vars in their scope.
5744 (eshell--set-option): Rename from eshell-set-option.
5745 Add arg `opt-vals'.
5746 (eshell--process-option): Rename from eshell-process-option.
5747 Add arg `opt-vals'.
5748 (eshell--process-args): Use an `opt-vals' alist to store the options's
5749 values during their processing and return them additionally to the
5750 remaining args.
5751
578c21bc
DG
57522013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5753
5754 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5755 continuation character an operator, as far as indentation is
5756 concerned (Bug#15369).
5757
c089653d
MR
57582013-09-15 Martin Rudalics <rudalics@gmx.at>
5759
5760 * window.el (window--state-put-2): Don't process buffer state
5761 when buffer doesn't exist any more (Bug#15382).
5762
1e53bb4b
GM
57632013-09-15 Glenn Morris <rgm@gnu.org>
5764
30753242
GM
5765 * eshell/em-unix.el (eshell/rm):
5766 Make -f ignore missing files. (Bug#15373)
5767
1e53bb4b
GM
5768 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5769 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5770 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5771
0d8863b3
GM
57722013-09-14 Glenn Morris <rgm@gnu.org>
5773
5774 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5775
d3fc6549
GM
57762013-09-13 Glenn Morris <rgm@gnu.org>
5777
5778 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5779 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5780
fcd42c11
DA
57812013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5782
5783 * frame.el (x-focus-frame): Mark as declared in frame.c.
5784
7830899f
SM
57852013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * ls-lisp.el: Use advice-add.
5788 (original-insert-directory): Remove.
5789 (ls-lisp--insert-directory): Rename from insert-directory; add
5790 `orig-fun' argument.
5791 (insert-directory): Advise.
5792
84387cd2
EZ
57932013-09-13 Eli Zaretskii <eliz@gnu.org>
5794
5795 * term.el (term-emulate-terminal): Decode the command string
5796 before passing it to term-command-hook. (Bug#15337)
5797
35ffc6ba
GM
57982013-09-13 Glenn Morris <rgm@gnu.org>
5799
5c3f9bcc
GM
5800 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5801
2ada368a
GM
5802 * eshell/esh-ext.el (eshell-search-path): Declare.
5803
fcef2e13
GM
5804 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5805 Otherwise an error occurs if eshell-dirs module not loaded.
5806
35ffc6ba
GM
5807 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5808
35c3d36e
MA
58092013-09-13 Michael Albinus <michael.albinus@gmx.de>
5810
5811 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5812 `tramp-check-proper-host'. Check for a valid method name.
5813
5814 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5815 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5816 * net/tramp-sh.el (tramp-maybe-open-connection):
5817 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5818
5819 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5820 also for hash values.
5821
ae5e4c48
SM
58222013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5823
379add74
SM
5824 * term/ns-win.el (parameters): Don't declare as dynamic.
5825 (before-make-frame-hook): Don't add ineffective function.
5826
ae5e4c48
SM
5827 * eshell/*.el: Use lexical-binding (bug#15231).
5828
b5623270
KH
58292013-09-12 Kenichi Handa <handa@gnu.org>
5830
ae5e4c48 5831 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5832
30213927
GM
58332013-09-12 Glenn Morris <rgm@gnu.org>
5834
be94d713 5835 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5836 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5837
44915370
GM
5838 * subr.el (do-after-load-evaluation): Also give compiler warnings
5839 when obsolete files are used (except by obsolete files).
5840
a6ae021f
GM
5841 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5842 in the status output, assume `filename' is the first. (Bug#15322)
5843
40e64f0c
GM
5844 * vc/vc.el (vc-deduce-fileset): Doc fix.
5845
16d9f896
GM
5846 * calc/calc-help.el (Info-goto-node):
5847 * progmodes/cperl-mode.el (Info-find-node):
5848 * vc/ediff.el (Info-goto-node): Update declarations.
5849
dea01c6e
GM
5850 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5851
759880bf 5852 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5853 (vc-bzr-pull): Require vc-dispatcher.
5854 * vc/vc-git.el (vc-compilation-mode): Declare.
5855 (vc-git-pull): Require vc-dispatcher.
5856
08d66420
GM
5857 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5858
30b626e9
GM
5859 * progmodes/octave.el (help-button-action): Declare.
5860
8c05cb10
GM
5861 * shell.el (shell-directory-tracker): Output error as a message
5862 rather than just returning it as a string.
5863 (shell-process-pushd): Remove useless use of message.
5864
30213927
GM
5865 * dframe.el (dframe-timer-fn):
5866 * files.el (dir-locals-read-from-file):
5867 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5868 (mpc-format):
5869 * reveal.el (reveal-post-command):
5870 * saveplace.el (load-save-place-alist-from-file):
5871 * shell.el (shell-resync-dirs):
5872 * w32-common-fns.el (x-get-selection-value):
5873 * emacs-lisp/copyright.el (copyright-find-copyright):
5874 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5875 * emulation/tpu-edt.el (tpu-copy-keyfile):
5876 * play/bubbles.el (bubbles--mark-neighbourhood):
5877 * progmodes/executable.el
5878 (executable-make-buffer-file-executable-if-script-p):
5879 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5880
d3b049e6
SM
58812013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5882
170266d0
SM
5883 Cleanup Eshell to rely less on dynamic scoping.
5884 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5885 last-value, and ext-command here. Bind `args' closer to `body'.
5886 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5887 (eshell--args): Declare new dynamic var.
5888 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5889 last-value, and ext-command. Pass `args' to `body'.
5890 (eshell-process-args): Bind eshell--args.
5891 (eshell-set-option): Use eshell--args.
5892 * eshell/eshell.el (eshell): Use derived-mode-p.
5893 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5894 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5895 (eshell-glob-function): Declare.
5896 * eshell/esh-util.el: Require cl-lib.
5897 (eshell-read-hosts-file): Avoid add-to-list.
5898 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5899 `err'.
5900 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5901 Declare.
5902 (eshell/diff): Remove unused var `err'.
5903 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5904 `killflag'.
5905 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5906 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5907 first use.
5908 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5909 Move declaration before first use.
5910 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5911 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5912 rely on cl-return.
5913
56834f3b
GM
59142013-09-12 Glenn Morris <rgm@gnu.org>
5915
5916 * term/ns-win.el (global-map): Remove binding for ispell-next,
5917 deleted 1999-05-29. (Bug#15357)
5918
5c91a2b8
GM
59192013-09-11 Glenn Morris <rgm@gnu.org>
5920
da712f22
GM
5921 * echistory.el (electric-command-history): Remove call to deleted func.
5922
512e4cdc
GM
5923 * play/landmark.el (landmark-mode): Fix typos.
5924
d3506ca5
GM
5925 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5926 Check cvs-sort-ignore-file is bound.
5927
5c91a2b8
GM
5928 * savehist.el: No need for cl when compiling on Emacs.
5929
feeff482
SM
59302013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5931
656bd483
SM
5932 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5933 (bug#15338).
d3b049e6
SM
5934 (eshell-self-insert-command, eshell-send-invisible):
5935 Remove unused argument.
656bd483
SM
5936 (eshell-handle-control-codes): Remove unused var `orig'.
5937 Avoid delete-backward-char.
5938
feeff482
SM
5939 * files.el (set-auto-mode): Simplify a bit further.
5940
2a08047a
GM
59412013-09-11 Glenn Morris <rgm@gnu.org>
5942
5943 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5944 (set-auto-mode): Don't regexp-quote elements.
5945 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5946 * progmodes/cc-mode.el (interpreter-mode-alist):
5947 * progmodes/ruby-mode.el (interpreter-mode-alist):
5948 Revert previous change.
5949
34675540
SM
59502013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5951
1b3b87df
SM
5952 * play/snake.el (snake-mode):
5953 * play/mpuz.el (mpuz-mode):
5954 * play/landmark.el (lm-mode):
5955 * play/blackbox.el (blackbox-mode):
5956 * play/5x5.el (5x5-mode):
5957 * obsolete/options.el (Edit-options-mode):
5958 * net/quickurl.el (quickurl-list-mode):
5959 * net/newst-treeview.el (newsticker-treeview-mode):
5960 * mail/rmailsum.el (rmail-summary-mode):
5961 * mail/mspools.el (mspools-mode):
5962 * locate.el (locate-mode):
5963 * ibuffer.el (ibuffer-mode):
5964 * emulation/ws-mode.el (wordstar-mode):
5965 * emacs-lisp/debug.el (debugger-mode):
5966 * array.el (array-mode):
5967 * net/eudc.el (eudc-mode): Use define-derived-mode.
5968 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5969 Move initialization into declaration.
5970 (mairix-searches-mode): Use define-derived-mode.
5971 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5972 (eudc-edit-hotlist): Use dolist.
5973 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5974 (Man-mode): Use define-derived-mode.
5975 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5976 (Info-edit-mode): Use define-derived-mode.
5977 (Info-cease-edit): Use Info-mode.
5978 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5979 into declaration.
5980 (eshell-mode): Use define-derived-mode.
5981 * chistory.el (command-history-mode-map): Rename from
5982 command-history-map.
5983 (command-history-mode): Use define-derived-mode.
da712f22 5984 (Command-history-setup): Remove function.
1b3b87df
SM
5985 * calc/calc.el (calc-trail-mode-map): New var.
5986 (calc-trail-mode): Use define-derived-mode.
5987 (calc-trail-buffer): Set calc-main-buffer manually.
5988 * bookmark.el (bookmark-insert-annotation): New function.
5989 (bookmark-edit-annotation): Use it.
5990 (bookmark-edit-annotation-mode): Make it a proper major mode.
5991 (bookmark-send-edited-annotation): Use derived-mode-p.
5992 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5993 closer to its ideal place. Use \' to match EOS.
5994
34675540
SM
5995 * profiler.el (profiler-calltree-find): Use function-equal.
5996
6a5c15d9
GM
59972013-09-10 Glenn Morris <rgm@gnu.org>
5998
1af4c220
GM
5999 * files.el (interpreter-mode-alist): Convert to regexps.
6000 (set-auto-mode): Adapt for this. (Bug#15306)
6001 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6002 Comment out unused variable.
6003 * progmodes/cc-mode.el (interpreter-mode-alist):
6004 * progmodes/python.el (interpreter-mode-alist):
6005 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6006 * progmodes/sh-script.el (sh-set-shell):
6007 No longer use interpreter-mode-alist to get list of shells.
6008
6a5c15d9
GM
6009 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6010
8c27f5ff
SM
60112013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6012
02ef6c1a 6013 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6014 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6015 Bind switch-frame explicitly. Replace universal-argument-minus with
6016 a conditional binding.
6017 (universal-argument-num-events, saved-overriding-map): Remove.
6018 (restore-overriding-map): Remove.
6019 (universal-argument--mode): Rename from save&set-overriding-map,
6020 and rewrite.
6021 (universal-argument, universal-argument-more, negative-argument)
6022 (digit-argument): Adjust accordingly.
6023 (universal-argument-minus): Remove.
6024 (universal-argument-other-key): Remove.
6025
8c27f5ff
SM
6026 * subr.el (with-demoted-errors): Add `format' argument.
6027
6480194c
MA
60282013-09-10 Michael Albinus <michael.albinus@gmx.de>
6029
6030 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6031 `tramp-cleanup-connection'.
6032
6033 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6034 parameters KEEP-DEBUG and KEEP-PASSWORD.
6035
6036 * net/tramp.el (tramp-file-name-handler):
6037 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6038 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6039 (tramp-maybe-open-connection):
8c27f5ff
SM
6040 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6041 Use `tramp-cleanup-connection'.
6480194c 6042
8c27f5ff
SM
6043 * net/tramp-sh.el (tramp-maybe-open-connection):
6044 Catch 'uname-changed inside the progress reporter.
6480194c 6045
e5e916d8
GM
60462013-09-10 Glenn Morris <rgm@gnu.org>
6047
9a2c9b47
GM
6048 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6049
e5e916d8
GM
6050 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6051 returns "alternate access method" in mode (eg "-rw-r--r--.").
6052
144e38fe
GM
60532013-09-08 Glenn Morris <rgm@gnu.org>
6054
6055 * saveplace.el (load-save-place-alist-from-file):
6056 Demote errors. (Bug#15305)
6057
af9ff9e8
MA
60582013-09-08 Michael Albinus <michael.albinus@gmx.de>
6059
6060 Improve compatibility with older Emacsen, and XEmacs.
6061
6062 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6063 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6064 (with-tramp-progress-reporter): Do not let-bind `result'.
6065 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6066 (tramp-handle-make-auto-save-file-name): New function, moved from
6067 tramp-sh.el.
6068
6069 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6070 for `make-auto-save-file-name'.
8c27f5ff
SM
6071 (tramp-adb--gnu-switches-to-ash):
6072 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6073
6074 * net/tramp-cache.el (tramp-cache-print): Call
6075 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6076
6077 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6078 bound. It isn't for XEmacs.
6079
8c27f5ff
SM
6080 * net/tramp-compat.el (tramp-compat-copy-file):
6081 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6082 (tramp-compat-replace-regexp-in-string): New defun.
6083
6084 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6085 for `make-auto-save-file-name'.
6086 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6087 `copy-file'.
6088 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6089 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6090 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6091
8c27f5ff
SM
6092 * net/tramp-gw.el (tramp-gw-open-network-stream):
6093 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6094
8c27f5ff
SM
6095 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6096 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6097 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6098 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6099 (tramp-sh-file-inotifywait-process-filter):
6100 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6101 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6102
6103 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6104 for `make-auto-save-file-name'.
8c27f5ff
SM
6105 (tramp-smb-handle-copy-directory):
6106 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6107 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6108 (tramp-smb-handle-copy-file): Improve error message.
6109 (tramp-smb-handle-rename-file): Rename directly only in case
6110 `newname' does not exist yet. This is a restriction of smbclient.
6111 (tramp-smb-maybe-open-connection): Rerun the function only when
6112 `auth-sources' is non-nil.
6113
0ca754d0
KH
61142013-09-08 Kenichi Handa <handa@gnu.org>
6115
e0eb0550 6116 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6117 more characters.
6118
e8dd0787
AM
61192013-09-07 Alan Mackenzie <acm@muc.de>
6120
6121 Correctly fontify Java class constructors.
6122 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6123 in Java Mode.
6124 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6125 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6126 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6127 "typeless" declaration there.
6128
f2f248e7
RW
61292013-09-07 Roland Winkler <winkler@gnu.org>
6130
6131 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6132 field subtitle for entry type book.
6133
67982e2b
SM
61342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * minibuffer.el: Make minibuffer-complete call completion-in-region
6137 rather than other way around.
6138 (completion--some, completion-pcm--find-all-completions):
6139 Don't delay signals when debugging.
6140 (minibuffer-completion-contents): Beware fields within the
6141 minibuffer contents.
6142 (completion-all-sorted-completions): Use defvar-local.
6143 (completion--do-completion, completion--cache-all-sorted-completions)
6144 (completion-all-sorted-completions, minibuffer-force-complete):
6145 Add args `beg' and `end'.
6146 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6147 (minibuffer-complete): Use completion-in-region.
6148 (completion-complete-and-exit): New fun, extracted from
6149 minibuffer-complete-and-exit.
6150 (minibuffer-complete-and-exit): Use it.
6151 (completion--complete-and-exit): Rename from
6152 minibuffer--complete-and-exit.
6153 (completion-in-region--single-word): New function, extracted from
6154 minibuffer-complete-word.
6155 (minibuffer-complete-word): Use it.
6156 (display-completion-list): Make `common-substring' argument obsolete.
6157 (completion--in-region): Call completion--in-region-1 instead of
6158 minibuffer-complete.
6159 (completion-help-at-point): Pass boundaries to
6160 minibuffer-completion-help as args rather than via an overlay.
6161 (completion-pcm--string->pattern): Use `any-delim'.
6162 (completion-pcm--optimize-pattern): New function.
6163 (completion-pcm--pattern->regex): Handle `any-delim'.
6164 * icomplete.el (icomplete-forward-completions)
6165 (icomplete-backward-completions, icomplete-completions):
6166 Adjust calls to completion-all-sorted-completions and
6167 completion--cache-all-sorted-completions.
6168 (icomplete-with-completion-tables): Default to t.
6169 * emacs-lisp/crm.el (crm--current-element): Rename from
6170 crm--select-current-element. Don't put an overlay but return the
6171 boundaries instead.
6172 (crm--completion-command): Take two new args to bind to the boundaries.
6173 (crm-completion-help): Adjust accordingly.
6174 (crm-complete): Use completion-in-region.
6175 (crm-complete-word): Use completion-in-region--single-word.
6176 (crm-complete-and-exit): Use completion-complete-and-exit.
6177
e17d94a5
SM
61782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6181 than dynamically.
6182
96727100
JL
61832013-09-06 Juri Linkov <juri@jurta.org>
6184
6185 * info.el (Info-display-images-node): When image file doesn't exist
6186 display text version of the image if it's provided in the Info file.
6187 Otherwise, display the location of missing image from SRC attribute.
6188 Add help-echo text property from ALT attribute. (Bug#15279)
6189
86cf7329
SM
61902013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6193 (edit-abbrevs-mode): Use define-derived-mode.
6194
6195 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6196 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6197 that it's defined.
6198 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6199 Use define-derived-mode.
6200
6201 * epg.el (epg-start-encrypt): Minor CSE simplification.
6202
816244a2
WX
62032013-09-06 William Xu <william.xwl@gmail.com>
6204
6205 * arc-mode.el: Add support for 7za (bug#15264).
6206 (archive-7z-program): New var.
6207 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6208 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6209 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6210
1486fa31
MA
62112013-09-06 Michael Albinus <michael.albinus@gmx.de>
6212
6213 Remove URL syntax.
6214
6215 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6216 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6217 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6218 (tramp-postfix-host-format, tramp-file-name-regexp)
6219 (tramp-completion-file-name-regexp)
6220 (tramp-completion-dissect-file-name)
6221 (tramp-handle-substitute-in-file-name): Remove 'url case.
6222 (tramp-file-name-regexp-url)
6223 (tramp-completion-file-name-regexp-url): Remove constants.
6224
39785324
GM
62252013-09-06 Glenn Morris <rgm@gnu.org>
6226
6227 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6228
1f896cb7
DG
62292013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6230
6231 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6232 keywords" below "here-doc beginnings" (Bug#15270).
6233
c0458e0b
SM
62342013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * subr.el (pop): Use `car-safe'.
6237 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6238 to detect unused `pop' return value.
6239
6240 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6241 var `block-regexp'.
6242 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6243 (python-fill-string): Remove unused var `marker'.
6244 (python-skeleton-add-menu-items): Remove unused var `items'.
6245
6246 * international/mule-cmds.el: Require CL.
6247 (find-coding-systems-for-charsets): Avoid add-to-list.
6248 (sanitize-coding-system-list): New function, extracted from
6249 select-safe-coding-system-interactively.
6250 (select-safe-coding-system-interactively): Use it.
6251 (read-input-method-name): Accept symbols for `default'.
6252
6253 * emacs-lisp/advice.el (defadvice): Add indent rule.
6254
6c42fc3e
DH
62552013-09-05 Daniel Hackney <dan@haxney.org>
6256
6257 * dired-x.el:
6258 * net/ange-ftp.el:
6259 * net/browse-url.el:
6260 * net/dbus.el:
6261 * net/eudc.el:
6262 * net/eudcb-ldap.el:
6263 * net/eww.el:
6264 * net/imap.el:
6265 * printing.el:
6266 * vc/ediff-diff.el:
6267 * vc/ediff-init.el:
6268 * vc/ediff-merg.el:
6269 * vc/ediff-mult.el:
6270 * vc/ediff-util.el:
6271 * vc/ediff-wind.el:
6272 * vc/ediff.el:
6273 * vc/emerge.el:
6274 * vc/pcvs.el:
6275 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6276 byte compiler. Remove some unused let-bound variables.
6277
4c528aab
SM
62782013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6281 a "ref-cell", since it gets better optimized (bug#14883).
6282
bd15c390
GM
62832013-09-05 Glenn Morris <rgm@gnu.org>
6284
6285 * progmodes/cc-awk.el (c-forward-sws): Declare.
6286
1c3ac2e5
GM
62872013-09-04 Glenn Morris <rgm@gnu.org>
6288
6289 * generic-x.el [rul-generic-mode]: Require cc-mode.
6290 (c++-mode-syntax-table): Declare.
6291 (rul-generic-mode-syntax-table): Init in the defvar.
6292
52b1cc79
SM
62932013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6294
c828af56
SM
6295 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6296 (vc-do-command, vc-set-async-update):
6297 * vc/vc-mtn.el (vc-mtn-dir-status):
6298 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6299 (vc-hg-pull, vc-hg-merge-branch):
6300 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6301 (vc-git-merge-branch):
6302 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6303 (vc-cvs-dir-status-files):
6304 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6305 (vc-bzr-dir-status-files):
6306 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6307 * vc/vc-annotate.el: Use lexical-binding.
6308 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6309 (vc-sentinel-movepoint): Declare.
6310 (vc-annotate): Don't use `goto-line'.
6311 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6312 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6313 (vc-sentinel-movepoint): Declare.
6314 * vc/vc-svn.el: Use lexical-binding.
6315 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6316 * vc/vc-sccs.el:
6317 * vc/vc-rcs.el: Use lexical-binding.
6318
abae272c
SM
6319 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6320 `deleted'. Don't drop errors silently.
6321
52b1cc79
SM
6322 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6323
63191d9f
XF
63242013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6325
6326 * vc/vc.el (vc-ignore): Rewrite.
6327 (vc-default-ignore): New function.
6328 (vc-default-ignore-completion-table): Use find-ignore-file.
6329
6330 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6331 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6332 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6333 Remove. Most code moved to vc.el.
6334
9d3f707c
SM
63352013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6336
abae272c 6337 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6338 * net/tramp-smb.el (tramp-smb-get-file-entries):
6339 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6340 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6341
fde38d49
SM
6342 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6343 Update call to it.
6344 (eww-change-select): Remove unused var `properties'.
6345 (eww-make-unique-file-name): Remove unused var `base'.
6346
6347 * finder.el (finder-compile-keywords): Don't mess with windows.
6348
84032db7
SM
6349 * calculator.el (calculator-funcall): Fix typo in last change.
6350
724f5e41
SM
6351 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6352
14b511d4
SM
6353 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6354 <pkg>-autoloads.el file stop us.
6355
9d3f707c 6356 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6357 warnings, and factor out common code.
9d3f707c 6358
88527bc0
DG
63592013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6360
6361 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6362 two-character operators and whether the character preceding them
6363 changes their meaning (Bug#15208).
6364
96edb677
FEG
63652013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6366
6367 Format code sent to Python shell for robustness.
9d3f707c
SM
6368 * progmodes/python.el (python-shell-buffer-substring):
6369 New function.
96edb677
FEG
6370 (python-shell-send-region, python-shell-send-buffer): Use it.
6371
95beaef3
MA
63722013-09-02 Michael Albinus <michael.albinus@gmx.de>
6373
6374 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6375 * net/tramp.el (tramp-user-error): ... here.
6376 (tramp-find-method, tramp-check-proper-host)
6377 (tramp-dissect-file-name, tramp-debug-message)
6378 (tramp-handle-shell-command):
6379 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6380 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6381
6382 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6383
f167c27b
MR
63842013-09-02 Martin Rudalics <rudalics@gmx.at>
6385
6386 * avoid.el (mouse-avoidance-point-position)
6387 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6388 returns nil.
6389
cd16c5f1
FEG
63902013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6391
6392 * progmodes/python.el (python-shell-completion-get-completions):
6393 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6394 (python-nav-if-name-main): New command.
cd16c5f1 6395
e73c3a0d
GM
63962013-09-01 Glenn Morris <rgm@gnu.org>
6397
f8ccce03
GM
6398 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6399 Avoid leading space in $wins. Otherwise the sed command used by
6400 eg compile-main ends up containing "/*.el". (Bug#15170)
6401
e73c3a0d
GM
6402 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6403
415f808e
GM
64042013-08-30 Glenn Morris <rgm@gnu.org>
6405
6406 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6407 Fix is-this-a-directory logic. (Bug#15220)
6408
f069bba8
SM
64092013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6410
112798c1
SM
6411 * textmodes/css-mode.el: Use SMIE.
6412 (css-smie-grammar): New var.
6413 (css-smie--forward-token, css-smie--backward-token)
6414 (css-smie-rules): New functions.
6415 (css-mode): Use them.
6416 (css-navigation-syntax-table): Remove var.
6417 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6418 (css-indent-calculate, css-indent-line): Remove functions.
6419
6420 Misc changes to reduce use of `(lambda...); and other cleanups.
6421 * cus-edit.el: Use lexical-binding.
6422 (customize-push-and-save, customize-apropos)
6423 (custom-buffer-create-internal): Use closures.
6424 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6425 * progmodes/ada-xref.el: Use setq.
6426 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6427 * dframe.el: Use lexical-binding.
6428 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6429 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6430 * descr-text.el: Use lexical-binding.
6431 (describe-text-widget, describe-text-sexp, describe-property-list):
6432 Use closures.
6433 * comint.el (comint-history-isearch-push-state): Use a closure.
6434 * calculator.el: Use lexical-binding.
6435 (calculator-number-to-string): Make it work with lexical-binding.
6436 (calculator-funcall): Same and use cl-letf.
6437
2da4c3ab
SM
6438 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6439 (lisp--company-doc-string, lisp--company-location): New functions.
6440 (lisp-completion-at-point): Use them to improve Company support.
6441
f069bba8
SM
6442 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6443 params of lambda expressions.
6444 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6445 (ruby-smie--opening-pipe-p): New function.
6446 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6447 symbols and matched |...| for formal params.
6448 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6449 from being treated as hanging. Handle "rescue".
6450
6758b6a8
GM
64512013-08-29 Glenn Morris <rgm@gnu.org>
6452
6453 * progmodes/cc-engine.el (c-pull-open-brace):
6454 Move definition before use.
6455
e8dfd197
SM
64562013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6459 are immutable. Don't use `unsafe' any more.
6460 (cl--defsubst-expand): Don't substitute at the same time as keeping
6461 a residual unused let-binding. Don't use `unsafe' any more.
6462
cc585c96
GM
64632013-08-29 Glenn Morris <rgm@gnu.org>
6464
ba579ea6
GM
6465 * calendar/cal-china.el (calendar-chinese-year-cache):
6466 Recenter on 2015.
6467
8201a87e
GM
6468 * nxml/nxml-util.el (nxml-debug-clear-inside):
6469 Use cl-loop rather than loop.
6470
6ee877c7
GM
6471 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6472
cc585c96
GM
6473 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6474
27be8d39
GM
64752013-08-28 Glenn Morris <rgm@gnu.org>
6476
397440a1
GM
6477 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6478
2bb762d4
GM
6479 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6480
27be8d39
GM
6481 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6482
2d69b99e
SM
64832013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6484
f663baa7
SM
6485 * simple.el (repeat-complex-command--called-interactively-skip):
6486 New function.
6487 (repeat-complex-command): Use it (bug#14136).
6488
dd4f8b74
SM
6489 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6490 (c-define-abbrev-table): Add `doc' argument.
6491 (c-mode-abbrev-table, c++-mode-abbrev-table)
6492 (objc-mode-abbrev-table, java-mode-abbrev-table)
6493 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6494 (awk-mode-abbrev-table): Use it.
6495 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6496 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6497 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6498 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6499 Move initialization into the declaration; and remove any
6500 autoload cookie.
6501
b58969f7
SM
6502 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6503 and dynamic let binding.
6504
4021d6a6
SM
6505 * vc/smerge-mode.el: Remove redundant :group args.
6506
2d69b99e
SM
6507 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6508 to load-path.
6509
274919fd
JL
65102013-08-28 Juri Linkov <juri@jurta.org>
6511
6512 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6513 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6514 (isearch-other-meta-char): Handle an undefined shifted printing
6515 character by downshifting it. (Bug#15200)
6516
121f8c95
JL
65172013-08-28 Juri Linkov <juri@jurta.org>
6518
6519 * isearch.el (isearch-search): Change regexp error message for
6520 non-regexp searches. (Bug#15166)
6521
50b13cde
PE
65222013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6523
6524 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6525 for portability to hosts where /bin/sh has problems.
6526
95888bca
SM
65272013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6530
bbe558f1
JL
65312013-08-27 Juri Linkov <juri@jurta.org>
6532
6533 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6534 in the keyboard macro. (Bug#15126)
6535
26f98a7d
JL
65362013-08-27 Juri Linkov <juri@jurta.org>
6537
6538 * isearch.el (isearch-quote-char): Comment out converting unibyte
6539 to multibyte, thus syncing with its `quoted-insert' counterpart.
6540 (Bug#15166)
6541
7c97d35e
MR
65422013-08-27 Martin Rudalics <rudalics@gmx.at>
6543
6544 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6545 argument in call of get-largest-window (Bug#15185).
6546 Reported by Stephen Leake.
7c97d35e 6547
a0b5606e 65482013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6549
6550 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6551
9e89d835
SM
65522013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6553
6554 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6555 from a matcher-function unless there's no more matches (bug#15161).
6556
78fc2530
MA
65572013-08-26 Michael Albinus <michael.albinus@gmx.de>
6558
6559 * minibuffer.el: Revert change from 2013-08-20.
6560
6561 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6562 with text property `tramp-default', if appropriate.
6563 (tramp-check-proper-host): New defun.
6564 (tramp-dissect-file-name): Do not check hostname. Revert change
6565 of 2013-03-18.
6566 (tramp-backtrace): Make VEC-OR-PROC optional.
6567
6568 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6569 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6570 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6571 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6572 Apply `tramp-check-proper-host'.
78fc2530 6573
edca97cd
TH
65742013-08-26 Tassilo Horn <tsdh@gnu.org>
6575
6576 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6577 lambda expression in order to have `describe-variable' display it.
6578
df54bcbd
MA
65792013-08-26 Michael Albinus <michael.albinus@gmx.de>
6580
6581 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6582 BUF can be optional. (Bug#15186)
6583
eed99101
XF
65842013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6585
6586 * progmodes/flymake.el (flymake-get-real-file-name-function):
6587 Fix broken customization. (Bug#15184)
6588
b5eb9035
AM
65892013-08-25 Alan Mackenzie <acm@muc.de>
6590
8a51e842
AM
6591 Improve indentation of bracelists defined by macros (without "=").
6592
6593 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6594 expansion begins with "{", regard it as bracelist when it doesn't
6595 contain a ";".
6596
869455d4
AM
6597 Parse C++ inher-intro when there's a template split over 2 lines.
6598
6599 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6600 rigorously the search for "class" etc. followed by ":".
6601
6602 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6603 random languages a regexp which never matches rather than nil.
6604
b5eb9035
AM
6605 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6606
6607 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6608 (c-awk-regexp-one-line-possibly-open-char-list-re)
6609 (c-awk-one-line-possibly-open-regexp-re)
6610 (c-awk-one-line-non-syn-ws*-re): Remove.
6611 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6612 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6613 (c-awk-space*-unclosed-regexp-/-re): New constants.
6614 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6615 aren't regexp delimiters.
6616
6617 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6618 handling for a rare situation in AWK Mode involving unterminated
6619 strings/regexps.
6620
61611d54
GM
66212013-08-23 Glenn Morris <rgm@gnu.org>
6622
2d85dc34
GM
6623 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6624
cb8d2612
GM
6625 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6626
bb35f42f
GM
6627 * files.el (create-file-buffer): If the result would begin with
6628 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6629
b9808e77
SM
66302013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6631
e3a66363
SM
6632 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6633 text-properties (bug#15155).
6634
b9808e77
SM
6635 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6636 exist any more.
6637 (calc-keypad-redraw): Remove unused var `pad'.
6638 (calc-keypad-press): Remove unused var `menu'.
6639
7fd5f65e
MR
66402013-08-23 Martin Rudalics <rudalics@gmx.at>
6641
b9808e77
SM
6642 * window.el (display-buffer-pop-up-frame):
6643 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6644 use it as the new frame's buffer (Bug#15133).
6645
8352b530
SM
66462013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * calendar/timeclock.el: Minor cleanups.
6649 (timeclock-ask-before-exiting, timeclock-use-display-time):
6650 Use `symbol'.
6651 (timeclock-modeline-display): Define as alias before the
6652 actual definition.
6653 (timeclock-mode-line-display): Use define-minor-mode.
6654 (timeclock-day-list-template): Make it a function, add an argument.
6655 (timeclock-day-list-required, timeclock-day-list-length)
6656 (timeclock-day-list-debt, timeclock-day-list-span)
6657 (timeclock-day-list-break): Adjust calls accordingly.
6658
9f7b1925
SM
66592013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6662 Use read--expression so that completion works again.
6663
6e50e983
SS
66642013-08-21 Sam Steingold <sds@gnu.org>
6665
6666 Add rudimentary inferior shell interaction
6667 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6668 (sh-set-shell): Reset it.
9f7b1925
SM
6669 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6670 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6671
dbb0d350
SM
66722013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * align.el: Use lexical-binding.
6675 (align-region): Simplify accordingly.
6676
c88586a9
MA
66772013-08-20 Michael Albinus <michael.albinus@gmx.de>
6678
6679 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6680
6681 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6682 `non-essential' up.
6683
f95527c8
MA
66842013-08-17 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * net/tramp.el:
6687 * net/tramp-adb.el:
6688 * net/tramp-cmds.el:
6689 * net/tramp-ftp.el:
6690 * net/tramp-gvfs.el:
6691 * net/tramp-gw.el:
6692 * net/tramp-sh.el: Don't wrap external variable declarations by
6693 `eval-when-compile'.
6694
4b5fe4ee
LMI
66952013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6696
6697 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6698 now that Emacs supports ImageMagick animations.
6699
13c366c9
MA
67002013-08-16 Michael Albinus <michael.albinus@gmx.de>
6701
6702 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6703 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6704
3dfc5cd6
MR
67052013-08-16 Martin Rudalics <rudalics@gmx.at>
6706
6707 * window.el (mouse-autoselect-window-select): Do autoselect when
6708 mouse pointer is on margin.
6709
4bbb4381
WP
67102013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6711
6712 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6713
3a2ddc2d
GM
67142013-08-16 Glenn Morris <rgm@gnu.org>
6715
e8bedf5a
GM
6716 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6717 Handle "Remote Directory" response of some clients. (Bug#15058)
6718
58c4682f
GM
6719 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6720 Tweak warning. (Bug#14926)
6721
57953f49
GM
6722 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6723 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6724
3a2ddc2d
GM
6725 * image-mode.el (image-mode-map): Add menu items to reverse,
6726 increase, decrease, reset animation speed.
6727 (image--set-speed, image-increase-speed, image-decrease-speed)
6728 (image-reverse-speed, image-reset-speed): New functions.
6729 (image-mode-map): Add bindings for speed commands.
6730
6731 * image.el (image-animate-get-speed, image-animate-set-speed):
6732 New functions.
6733 (image-animate-timeout): Respect image :speed property.
6734
10fa0ed3
SM
67352013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6736
6737 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6738 previous line (bug#15101).
6739 (debugger-eval-expression, debugger-record-expression):
6740 Use read--expression (bug#15102).
6741
5d89d9d2
MA
67422013-08-15 Michael Albinus <michael.albinus@gmx.de>
6743
6744 Remove byte compiler warnings, visible when compiling with
6745 `byte-compile-force-lexical-warnings' set to t.
6746
6747 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6748 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6749 (tramp-handle-unhandled-file-name-directory)
6750 (tramp-handle-file-notify-add-watch, tramp-action-login)
6751 (tramp-action-succeed, tramp-action-permission-denied)
6752 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6753 arguments with "_".
6754
6755 * net/tramp-adb.el (tramp-adb-parse-device-names)
6756 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6757 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6758 (tramp-adb-handle-file-truename): Remove unused arguments.
6759
6760 * net/tramp-cache.el (tramp-flush-directory-property)
6761 (tramp-flush-connection-property, tramp-list-connections)
6762 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6763
10fa0ed3
SM
6764 * net/tramp-compat.el (tramp-compat-make-temp-file):
6765 Rename FILENAME to F.
5d89d9d2
MA
6766
6767 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6768 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6769 (tramp-zeroconf-parse-workstation-device-names)
6770 (tramp-zeroconf-parse-webdav-device-names)
6771 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6772
6773 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6774 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6775
6776 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6777 arguments.
6778 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6779 (tramp-sh-handle-insert-file-contents-literally)
6780 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6781 with "_".
6782 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6783 Remove unused variables.
6784
6785 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6786 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6787 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6788
6789 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6790 Make them a defconst.
6791 (tramp-uuencode-region): Remove unused variable.
6792
62f33bae
JB
67932013-08-14 Juanma Barranquero <lekktu@gmail.com>
6794
6795 * frameset.el (frameset--prop-setter): New function.
6796 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6797 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6798 parameter was already set in FILTERED. Doc fix.
6799 (frameset--record-minibuffer-relationships): Allow saving a
6800 minibufferless frame without its corresponding minibuffer frame.
6801 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6802 frame, if the frame id matches.
6803 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6804 frames before orphaned ones.
6805 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6806
c660a885
MR
68072013-08-14 Martin Rudalics <rudalics@gmx.at>
6808
6809 * window.el (window-make-atom): Don't overwrite parameter
6810 already present.
6811 (display-buffer-in-atom-window): Handle special case where we
6812 split an already atomic window.
6813 (window--major-non-side-window, display-buffer-in-side-window)
6814 (window--side-check): Ignore minibuffer window when walking
6815 window tree.
6816 (window-deletable-p): Return 'frame only if no other frame uses
6817 our minibuffer window.
6818 (record-window-buffer): Run buffer-list-update-hook.
6819 (split-window): Make sure window--check-frame won't destroy an
6820 existing atomic window in case the new window gets nested
6821 inside.
6822 (display-buffer-at-bottom): Ignore minibuffer window when
6823 walking window tree. Don't split a side window.
6824 (pop-to-buffer): Don't set-buffer here, the select-window call
6825 should do that.
6826 (mouse-autoselect-window-select): Autoselect only if we are in the
6827 text portion of the window.
6828
8259030d
LMI
68292013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6830
21c58ae2
LMI
6831 * net/shr.el (shr-parse-image-data): New function to grab both the
6832 data itself and the Content-Type.
6833 (shr-put-image): Use it.
6834
6835 * net/eww.el (eww-display-image): Ditto.
6836
8259030d
LMI
6837 * image.el (image-content-type-suffixes): New variable.
6838
ad756449
FEG
68392013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6840
6841 * progmodes/python.el (python-imenu--build-tree)
6842 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6843
f73f4ce6
XF
68442013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6845
6846 * simple.el (backward-word): Mention the optional argument.
6847
1f585e65
SM
68482013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * frameset.el (frameset--make): Rename constructor from make-frameset.
6851 (frameset-p, frameset-valid-p): Don't autoload.
6852 (frameset-valid-p): Use normal accessors.
6853
af1c6c84
GM
68542013-08-13 Glenn Morris <rgm@gnu.org>
6855
55e47f95
GM
6856 * progmodes/compile.el (compile-command): Tweak example in doc.
6857 * obsolete/scribe.el (scribe-mode):
6858 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6859
f0024d8c
GM
6860 * mail/feedmail.el (feedmail-confirm-outgoing)
6861 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6862
6863 * cus-start.el (truncate-partial-width-windows): Fix type.
6864
6865 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6866
af1c6c84
GM
6867 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6868
5514cc4c
SM
68692013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * emacs-lisp/timer.el (timer--time-setter): New function.
6872 (timer--time): Use it as gv-setter.
6873
6874 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6875 setter is not a symbol.
6876
7997a2f1
GJ
68772013-08-12 Grégoire Jadi <daimrod@gmail.com>
6878
6879 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6880 if sending fails. This makes debugging easier.
6881
01f1a9ab
JB
68822013-08-12 Juanma Barranquero <lekktu@gmail.com>
6883
6884 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6885 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6886 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6887
594a4307
EZ
68882013-08-12 Eli Zaretskii <eliz@gnu.org>
6889
6890 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6891
7a22490f 68922013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6893
6894 * format.el (format-annotate-function):
6895 Handle read-only text properties in the source. (Bug#14887)
6896
3e41a054
LMI
68972013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6898
5514cc4c
SM
6899 * net/eww.el (eww-display-html): Ignore coding system errors.
6900 One web site uses "utf-8lias" as the coding system.
3e41a054 6901
7ec326db
JB
69022013-08-11 Juanma Barranquero <lekktu@gmail.com>
6903
6904 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6905
5660113b
JB
69062013-08-10 Juanma Barranquero <lekktu@gmail.com>
6907
9a4ebc74
JB
6908 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6909 (tutorial--detailed-help): Remove unused local variables.
6910 (tutorial--save-tutorial-to): Use ignore-errors.
6911 (help-with-tutorial): Use looking-at-p.
6912
6913 * view.el (view-buffer-other-window, view-buffer-other-frame):
6914 Mark unused arguments.
6915
6916 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6917 (woman-select-symbol-fonts, woman, woman-find-file)
6918 (woman-insert-file-contents, woman-non-underline-faces):
6919 Use string-match-p.
6920 (woman1-unquote): Move declaration.
6921
6922 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6923 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6924 argument. Remove unused local variable.
6925 (xml-parse-elem-type): Use string-match-p.
6926 (xml-substitute-numeric-entities): Use ignore-errors.
6927
45fdb482
JB
6928 * calculator.el (calculator): Mark unused argument.
6929 (calculator-paste, calculator-quit, calculator-integer-p):
6930 Use ignore-errors.
6931 (calculator-string-to-number, calculator-decimal, calculator-exp)
6932 (calculator-op-or-exp): Use string-match-p.
6933
6934 * dired.el (dired-buffer-more-recently-used-p): Declare.
6935 (dired-insert-set-properties, dired-insert-old-subdirs):
6936 Use ignore-errors.
6937
6938 * dired-aux.el (dired-compress): Use ignore-errors.
6939 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6940 (dired-do-async-shell-command, dired-do-shell-command)
6941 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6942 (dired-insert-subdir-validate): Use string-match-p.
6943 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6944 (dired-add-entry): Use string-match-p, looking-at-p.
6945 (dired-insert-subdir-newpos): Remove unused local variable.
6946
6947 * filenotify.el (file-notify-callback): Remove unused local variable.
6948
6949 * filesets.el (filesets-error): Mark unused argument.
6950 (filesets-which-command-p, filesets-filter-dir-names)
6951 (filesets-directory-files, filesets-get-external-viewer)
6952 (filesets-ingroup-get-data): Use string-match-p.
6953
6954 * find-file.el (ff-other-file-name, ff-other-file-name)
6955 (ff-find-the-other-file, ff-cc-hh-converter):
6956 Remove unused local variables.
6957 (ff-get-file-name): Use string-match-p.
6958 (ff-all-dirs-under): Use ignore-errors.
6959
6960 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6961 (follow-select-if-visible): Remove unused local variable.
6962
6963 * forms.el (read-file-filter): Move declaration.
6964 (forms--make-format, forms--make-parser, forms-insert-record):
6965 Quote function with #'.
6966 (forms--update): Use string-match-p. Quote function with #'.
6967
6968 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6969 (help-make-xrefs): Use looking-at-p.
6970 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6971
6972 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6973 (ibuffer-confirm-operation-on): Use string-match-p.
6974
6975 * msb.el (msb-item-handler, msb-dired-item-handler):
6976 Mark unused arguments.
6977
6978 * ses.el (ses-decode-cell-symbol)
6979 (ses-kill-override): Remove unused local variable.
6980 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6981 (ses-load): Use ignore-errors, looking-at-p.
6982 (ses-jump-safe): Use ignore-errors.
6983 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6984
6985 * tabify.el (untabify, tabify): Mark unused arguments.
6986
6987 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6988 Mark unused argument.
6989 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6990 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6991
c880af52
JB
6992 * emacs-lisp/timer.el (timer--time): Define setter with
6993 gv-define-setter to avoid deprecation warning.
6994
5660113b 6995 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6996 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6997 (cmpl-statistics-block): Remove (body was commented out).
6998 All callers changed.
6999 (add-completions-from-buffer, load-completions-from-file):
7000 Remove unused variables.
7001
156aab80
JB
70022013-08-09 Juanma Barranquero <lekktu@gmail.com>
7003
5c5dee78
JB
7004 * filecache.el (file-cache-delete-file-list):
7005 Print message only when told so.
7006 (file-cache-files-matching): Use #' in mapconcat argument.
7007
156aab80
JB
7008 * ffap.el (ffap-url-at-point): Fix reference to variable
7009 thing-at-point-default-mail-uri-scheme.
7010
ad9dcd70
SM
70112013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7012
54bd972f
SM
7013 * subr.el (define-error): New function.
7014 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7015 error-file-not-found and define with define-error.
7016 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7017 and define with define-error.
7018 * userlock.el (file-locked, file-supersession):
7019 * simple.el (mark-inactive):
7020 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7021 * progmodes/ada-mode.el (ada-mode-errors):
7022 * play/life.el (life-extinct):
7023 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7024 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7025 * nxml/rng-util.el (rng-error):
7026 * nxml/rng-uri.el (rng-uri-error):
7027 * nxml/rng-match.el (rng-compile-error):
7028 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7029 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7030 * nxml/nxml-rap.el (nxml-scan-error):
7031 * nxml/nxml-outln.el (nxml-outline-error):
7032 * net/soap-client.el (soap-error):
7033 * net/gnutls.el (gnutls-error):
7034 * net/ange-ftp.el (ftp-error):
7035 * mpc.el (mpc-proc-error):
7036 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7037 (json-number-format, json-string-escape, json-string-format)
7038 (json-key-format, json-object-format):
7039 * jka-compr.el (compression-error):
7040 * international/quail.el (quail-error):
7041 * international/kkc.el (kkc-error):
7042 * emacs-lisp/ert.el (ert-test-failed):
7043 * calc/calc.el (calc-error, inexact-result, math-overflow)
7044 (math-underflow):
7045 * bookmark.el (bookmark-error-no-filename):
7046 * epg.el (epg-error): Define with define-error.
7047
0ea9e53a
SM
7048 * time.el (display-time-event-handler)
7049 (display-time-next-load-average): Don't call sit-for since it seems
7050 unnecessary (bug#15045).
7051
b0429158
SM
7052 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7053 Use #' instead of ' to quote functions.
7054 (checkdoc-output-mode): Use setq-local.
7055 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7056 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7057 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7058 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7059 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7060 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7061 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7062 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7063
ad9dcd70
SM
7064 * ido.el (ido-completion-help): Fix up compiler warning.
7065
77187e6f
JB
70662013-08-09 Juanma Barranquero <lekktu@gmail.com>
7067
7068 * frameset.el (frameset-p): Add autoload cookie.
7069 (frameset--jump-to-register): New function, based on code moved from
7070 register.el.
7071 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7072
7073 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7074 (frameset-restore, frameset-save, frameset-session-filter-alist):
7075 Remove declarations.
7076 (register-alist): Doc fix.
7077 (frameset-to-register): Move to frameset.el.
7078 (jump-to-register, describe-register-1): Remove frameset-specific code.
7079
9d3aa82c
JB
70802013-08-08 Juanma Barranquero <lekktu@gmail.com>
7081
7082 * allout-widgets.el (allout-widgets-pre-command-business)
7083 (allout-widgets-post-command-business)
7084 (allout-widgets-after-change-handler)
7085 (allout-decorate-item-and-context, allout-set-boundary-marker)
7086 (allout-body-modification-handler)
7087 (allout-graphics-modification-handler): Mark ignored arguments.
7088 (allout-widgets-post-command-business)
7089 (allout-widgets-exposure-change-processor)
7090 (allout-widgets-exposure-undo-processor)
7091 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7092 (allout-parse-item-at-point, allout-decorate-item-guides)
7093 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7094 * allout.el (epa-passphrase-callback-function): Declare.
7095 (allout-overlay-insert-in-front-handler)
7096 (allout-overlay-interior-modification-handler)
7097 (allout-isearch-end-handler, allout-chart-siblings)
7098 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7099 (allout-yank-processing, allout-process-exposed)
7100 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7101 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7102 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7103 (lisp-indent-defform): Mark ignored arguments.
7104 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7105 (calculate-lisp-indent): Remove unused variables.
7106 * international/characters.el (indian-2-column, arabic-2-column)
7107 (tibetan): Mark ignored arguments.
7108 (use-cjk-char-width-table): Mark ignored arguments.
7109 Remove unused variables.
7110 * international/fontset.el (build-default-fontset-data)
7111 (x-compose-font-name, create-fontset-from-fontset-spec):
7112 Mark ignored arguments.
7113 (fontset-plain-name): Remove unused variables.
7114 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7115 (keyboard-coding-system): Mark ignored arguments.
7116 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7117 * help.el (resize-temp-buffer-window):
7118 * window.el (display-buffer-in-major-side-window)
7119 (display-buffer-in-side-window, display-buffer-in-previous-window):
7120 Remove unused variables.
7121 * isearch.el (isearch-forward-symbol):
7122 * version.el (emacs-bzr-version-bzr):
7123 * international/mule-cmds.el (current-language-environment):
7124 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7125 (x-handle-display):
7126 * term/pc-win.el (x-list-fonts, x-display-planes)
7127 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7128 (x-server-version, x-display-screens, x-display-mm-height)
7129 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7130 (x-selection-owner-p, x-own-selection-internal)
7131 (x-disown-selection-internal, x-get-selection-internal)
7132 (msdos-initialize-window-system):
7133 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7134 * term/x-win.el (x-handle-no-bitmap-icon):
7135 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7136 (vc-default-find-file-hook, vc-default-extra-menu):
7137 Mark ignored arguments.
7138
0ca3f70e
SM
71392013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7140
7141 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7142 break-condition in the context of the debugged code (bug#12685).
7143
74c5d24c
CS
71442013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7145
7146 * comint.el:
7147 Do not use an overlay to highlight the last prompt. (Bug#14744)
7148 (comint-mode): Make comint-last-prompt buffer local.
7149 (comint-last-prompt): New variable.
7150 (comint-last-prompt-overlay): Remove. Superseded by
7151 comint-last-prompt.
0ca3f70e
SM
7152 (comint-snapshot-last-prompt, comint-output-filter):
7153 Use comint-last-prompt.
74c5d24c 7154
c03c02ee
JB
71552013-08-08 Juanma Barranquero <lekktu@gmail.com>
7156
a3738d20 7157 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7158 (frameset-save): Check validity of the resulting frameset.
7159
04263d23
XF
71602013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7161
7162 * ido.el (ido-record-command): Add doc string.
7163
76c5e5ab
JB
71642013-08-08 Juanma Barranquero <lekktu@gmail.com>
7165
7166 * frameset.el (frameset): Do not disable creation of the default
7167 frameset-p predicate. Doc fix.
7168 (frameset-valid-p): New function, copied from the old predicate-p.
7169 Add additional checks.
7170 (frameset-restore): Check with frameset-valid-p.
7171 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7172 (frameset-name, frameset-description, frameset-properties)
7173 (frameset-states): Add docstring.
f9dbf1cb
JB
7174 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7175 (frameset-filter-alist): Doc fixes.
76c5e5ab 7176
bd0c3c0b
JB
71772013-08-08 Juanma Barranquero <lekktu@gmail.com>
7178
7179 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7180
c735544c
SM
71812013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7184 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7185 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7186 (byte-compile-normal-call): Remove obsolescence check.
7187
2805a651
JB
71882013-08-08 Juanma Barranquero <lekktu@gmail.com>
7189
3677ffeb
JB
7190 * frameset.el (frameset-restore): Doc fix.
7191
2805a651
JB
7192 * register.el (frameset-frame-id, frameset-frame-with-id)
7193 (frameset-p, frameset-restore, frameset-save): Declare.
7194 (register-alist): Document framesets.
7195 (frameset-session-filter-alist): Declare.
7196 (frameset-to-register): New function.
7197 (jump-to-register): Implement jumping to framesets. Doc fix.
7198 (describe-register-1): Describe framesets.
7199
7200 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7201
a912c016
JB
72022013-08-07 Juanma Barranquero <lekktu@gmail.com>
7203
7204 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7205 Use lexical-binding.
7206
7207 * frameset.el (frameset): Use type vector, not list (incompatible
7208 change). Do not declare a new constructor, use the default one.
7209 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7210 `name' and `description', respectively, and add read-only slot
7211 `timestamp'. Doc fixes.
7212 (frameset-copy, frameset-persistent-filter-alist)
7213 (frameset-filter-alist, frameset-switch-to-gui-p)
7214 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7215 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7216 (frameset-filter-iconified, frameset-keep-original-display-p):
7217 Doc fixes.
7218 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7219 Rename from frameset-filter-(save|restore)-param. All callers changed.
7220 Doc fix.
7221 (frameset-p): Adapt to change to vector and be more thorough.
7222 Change arg name to OBJECT. Doc fix.
7223 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7224 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7225 All callers changed.
7226 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7227 All callers changed.
7228 (frameset--record-minibuffer-relationships): Rename from
7229 frameset--process-minibuffer-frames. All callers changed.
7230 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7231 Use new default constructor (again). Doc fix.
c295fc18 7232 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7233 All callers changed.
7234 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7235 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7236 Doc fix.
7237 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7238 PARAMETERS and WINDOW-STATE, respectively.
7239 (frameset-restore): Add new keyword argument PREDICATE.
7240 Reset frameset--target-display to nil. Doc fix.
7241
bb41480a
SM
72422013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7243
f001e98e
SM
7244 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7245 (bat-mode): Use it.
7246 (bat-mode-syntax-table): Mark \n as end-of-comment.
7247 (bat-font-lock-keywords): Remove comment rule.
7248
7679edb1
SM
7249 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7250 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7251
bb41480a
SM
7252 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7253 (byte-compile-callargs-warn): Use `push'.
7254 (byte-compile-arglist-warn): Ignore higher-order "calls".
7255 (byte-compile-file-form-autoload): Use `pcase'.
7256 (byte-compile-function-form): If quoting a symbol, check that it exists.
7257
cdc1ebb9
EZ
72582013-08-07 Eli Zaretskii <eliz@gnu.org>
7259
7260 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7261 and add a few popular commands found in batch files.
7262 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7263 (dos-mode): Doc fixes.
7264
312b1740
SM
72652013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7268 (dos-mode): Use setq-local. Add space after "rem".
7269 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7270 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7271
400a3178
AM
72722013-08-07 Arni Magnusson <arnima@hafro.is>
7273
7274 * progmodes/dos.el: New file.
7275 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7276 dos-mode.
7277
3b5c03d3
GM
72782013-08-06 Glenn Morris <rgm@gnu.org>
7279
7280 * calendar/calendar.el: Add new faces, and day-header-array.
7281 (calendar-weekday-header, calendar-weekend-header)
7282 (calendar-month-header): New faces.
7283 (calendar-day-header-construct): New function.
7284 (calendar-day-header-width): Also :set calendar-day-header-array.
7285 (calendar-american-month-header, calendar-european-month-header)
7286 (calendar-iso-month-header): Use calendar- faces.
7287 (calendar-generate-month):
7288 Use calendar-day-header-array for day headers; apply faces to them.
7289 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7290 (calendar-abbrev-construct): Add optional maxlen argument.
7291 (calendar-day-name-array): Doc fix.
7292 (calendar-day-name-array, calendar-abbrev-length)
7293 (calendar-day-abbrev-array):
7294 Also :set calendar-day-header-array, and maybe redraw.
7295 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7296 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7297 (calendar-day-name): Add option to use header array.
7298
ec6a2d7a
LMI
72992013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
7301 * net/shr.el (shr-render-td): Remove debugging.
7302 (shr-render-td): Make width computation consistent by defaulting
7303 all zero-width columns to 10 characters. This may not be optimal,
7304 but it's at least consistent.
2122cb6d
LMI
7305 (shr-make-table-1): Redo last change to fix the real problem in
7306 colspan handling.
ec6a2d7a 7307
ed4fd9c5
DA
73082013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7309
0ca3f70e
SM
7310 * files.el (cache-long-line-scans):
7311 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7312
64e22afe
JB
73132013-08-06 Juanma Barranquero <lekktu@gmail.com>
7314
024b38fc
JB
7315 * frameset.el (frameset, frameset-filter-alist)
7316 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7317 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7318 (frameset-compute-pos): Rename from frameset--compute-pos,
7319 and add docstring.
7320 (frameset-move-onscreen): Use frameset-compute-pos.
7321 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7322
64e22afe
JB
7323 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7324 Fix typos in docstrings.
7325
c8c2aca8
DA
73262013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7327
7328 * frame.el (get-other-frame): Tiny cleanup.
7329
1d237bba
JB
73302013-08-06 Juanma Barranquero <lekktu@gmail.com>
7331
8951efef
JB
7332 * vc/vc.el (vc-default-ignore-completion-table):
7333 Silence byte-compiler warning.
7334
307764cc 7335 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7336 slot, which can indeed be nil.
307764cc
JB
7337 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7338 Move entry for `left' from persistent to live filter alist.
7339 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7340 Doc fixes.
7341 (frameset-filter-params): When restoring a frame, copy items added to
7342 `filtered', to avoid unwittingly modifying the original parameters.
7343 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7344 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7345
1d237bba
JB
7346 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7347 to use looking-at-p instead of looking-at. (Bug#15028)
7348
dc6c0eda
SM
73492013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 Revert introduction of isearch-filter-predicates (bug#14714).
7352 Rely on add-function instead.
7353 * isearch.el (isearch-filter-predicates): Rename it back to
7354 isearch-filter-predicate.
7355 (isearch-message-prefix): Use advice-function-mapc and advice
7356 properties to get the isearch-message-prefix.
7357 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7358 instead of run-hook-with-args-until-failure.
7359 (isearch-filter-visible): Not obsolete any more.
7360 * loadup.el: Preload nadvice.
7361 * replace.el (perform-replace): Revert to funcall
7362 instead of run-hook-with-args-until-failure.
7363 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7364 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7365 dired-isearch-filenames-toggle; make it into a proper minor mode.
7366 Use add/remove-function.
7367 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7368 Call the minor-mode rather than add/remove-hook.
7369 (dired-isearch-filter-filenames):
7370 Remove isearch-message-prefix property.
7371 * info.el (Info--search-loop): New function, extracted from Info-search.
7372 Funcall isearch-filter-predicate instead of
7373 run-hook-with-args-until-failure isearch-filter-predicates.
7374 (Info-search): Use it.
7375 (Info-mode): Use isearch-filter-predicate instead of
7376 isearch-filter-predicates.
7377
290d5b58
DA
73782013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7379
7380 Do not call to `selected-window' where it is assumed by default.
7381 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7382 `window-hscroll', `window-width', `window-height', `window-buffer',
7383 `window-frame', `window-start', `window-point', `next-window'
7384 and `window-display-table'.
7385 * abbrev.el (abbrev--default-expand):
7386 * bs.el (bs--show-with-configuration):
7387 * buff-menu.el (Buffer-menu-mouse-select):
7388 * calc/calc.el (calc):
7389 * calendar/calendar.el (calendar-generate-window):
7390 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7391 (diary-make-entry):
7392 * comint.el (send-invisible, comint-dynamic-complete-filename)
7393 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7394 * completion.el (complete):
7395 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7396 * disp-table.el (describe-current-display-table):
7397 * doc-view.el (doc-view-insert-image):
7398 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7399 * ehelp.el (with-electric-help):
7400 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7401 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7402 * emacs-lisp/helper.el (Helper-help-scroller):
7403 * emulation/cua-base.el (cua--post-command-handler-1):
7404 * eshell/esh-mode.el (eshell-output-filter):
7405 * ffap.el (ffap-gnus-wrapper):
7406 * help-macro.el (make-help-screen):
7407 * hilit-chg.el (highlight-compare-buffers):
7408 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7409 * hl-line.el (global-hl-line-highlight):
7410 * icomplete.el (icomplete-simple-completing-p):
7411 * isearch.el (isearch-done):
7412 * jit-lock.el (jit-lock-stealth-fontify):
7413 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7414 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7415 * mpc.el (mpc-tagbrowser, mpc):
7416 * net/rcirc.el (rcirc-any-buffer):
7417 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7418 * play/landmark.el (landmark-max-width, landmark-max-height):
7419 * play/zone.el (zone):
7420 * progmodes/compile.el (compilation-goto-locus):
7421 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7422 * progmodes/etags.el (find-tag-other-window):
7423 * progmodes/fortran.el (fortran-column-ruler):
7424 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7425 * progmodes/verilog-mode.el (verilog-point-text):
7426 * reposition.el (reposition-window):
7427 * rot13.el (toggle-rot13-mode):
7428 * server.el (server-switch-buffer):
7429 * shell.el (shell-dynamic-complete-command)
7430 (shell-dynamic-complete-environment-variable):
7431 * simple.el (insert-buffer, set-selective-display)
7432 (delete-completion-window):
7433 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7434 (speedbar-recenter):
7435 * startup.el (fancy-splash-head):
7436 * textmodes/ispell.el (ispell-command-loop):
7437 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7438 * tutorial.el (help-with-tutorial):
7439 * vc/add-log.el (add-change-log-entry):
7440 * vc/compare-w.el (compare-windows):
7441 * vc/ediff-help.el (ediff-indent-help-message):
7442 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7443 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7444 (ediff-setup-control-frame):
7445 * vc/emerge.el (emerge-position-region):
7446 * vc/pcvs-util.el (cvs-bury-buffer):
7447 * window.el (walk-windows, mouse-autoselect-window-select):
7448 * winner.el (winner-set-conf, winner-undo): Related users changed.
7449
38276e01
JB
74502013-08-05 Juanma Barranquero <lekktu@gmail.com>
7451
7452 * frameset.el (frameset--set-id): Doc fix.
7453 (frameset-frame-id, frameset-frame-id-equal-p)
7454 (frameset-locate-frame-id): New functions.
7455 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7456 (frameset-restore): Use them.
7457
12b4c0ea
DA
74582013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7459
7460 Do not call to `selected-frame' where it is assumed by default.
7461 Affected functions are `raise-frame', `redraw-frame',
7462 `frame-first-window', `frame-terminal' and `delete-frame'.
7463 * calendar/appt.el (appt-disp-window):
7464 * epg.el (epg-wait-for-completion):
7465 * follow.el (follow-delete-other-windows-and-split)
7466 (follow-avoid-tail-recenter):
7467 * international/mule.el (set-terminal-coding-system):
7468 * mail/rmail.el (rmail-mail-return):
7469 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7470 * progmodes/f90.el (f90-add-imenu-menu):
7471 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7472 * server.el (server-switch-buffer):
7473 * simple.el (delete-completion-window):
7474 * talk.el (talk):
7475 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7476 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7477 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7478 * vc/ediff.el (ediff-documentation): Related users changed.
7479 * frame.el (selected-terminal): Remove the leftover.
7480
17f25e76
GM
74812013-08-05 Glenn Morris <rgm@gnu.org>
7482
7483 * calendar/calendar.el (calendar-generate-month):
7484 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7485 (calendar-generate-month, calendar-font-lock-keywords):
7486 Fix for calendar-day-header-width > length of any day name.
17f25e76 7487
063233c3
JB
74882013-08-05 Juanma Barranquero <lekktu@gmail.com>
7489
7490 * desktop.el (desktop-clear): Use new name of sort predicate.
7491
7492 * frameset.el (frameset): Add docstring. Move :version property to its
7493 own `version' slot.
7494 (frameset-copy): Rename from copy-frameset.
7495 (frameset-p): Check more thoroughly.
7496 (frameset-prop): Do not check for :version, which is no longer a prop.
7497 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7498 Use new :never value instead of t.
7499 (frameset-filter-alist): Expand and clarify docstring.
7500 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7501 (frameset-filter-minibuffer, frameset-filter-save-param)
7502 (frameset-filter-restore-param, frameset-filter-iconified):
7503 Add pointer to docstring of frameset-filter-alist.
7504 (frameset-filter-params): Rename filter values to be more meaningful:
7505 :never instead of t, and reverse the meanings of :save and :restore.
7506 (frameset--process-minibuffer-frames): Clarify error message.
7507 (frameset-save): Avoid unnecessary and confusing call to framep.
7508 Use new BOA constructor for framesets.
7509 (frameset--reuse-list): Doc fix.
7510 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7511 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7512 (frameset-minibufferless-first-p): Doc fix.
7513 Rename from frameset-sort-frames-for-deletion.
7514 (frameset-restore): Doc fixes. Use new function names.
7515 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7516
d5671a82
JB
75172013-08-04 Juanma Barranquero <lekktu@gmail.com>
7518
7519 * desktop.el (desktop-restore-forces-onscreen)
7520 (desktop-restore-reuses-frames): Document :keyword constant values.
7521 (desktop-filter-parameters-alist): Remove, now identical to
7522 frameset-filter-alist.
7523 (desktop--filter-tty*): Remove, moved to frameset.el.
7524 (desktop-save-frameset, desktop-restore-frameset):
7525 Do not pass :filters argument.
7526
7527 * frameset.el (frameset-live-filter-alist)
7528 (frameset-persistent-filter-alist): New variables.
7529 (frameset-filter-alist): Use them. Add autoload cookie.
7530 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7531 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7532 `frameset--id' (it's supposed to be internal to frameset.el).
7533 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7534 (frameset--initial-params): New function.
7535 (frameset--get-frame): Use it. Doc fix.
7536 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7537 Accept :all, not 'all.
7538 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7539 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7540 with fbound symbols. Fix frame id matching, and remove matching ids if
7541 the frame being restored is deleted. Obey :delete.
7542
671d5c16
SM
75432013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * subr.el (macrop): New function.
7546 (text-clone--maintaining): New var.
7547 (text-clone--maintain): Rename from text-clone-maintain. Use it
7548 instead of inhibit-modification-hooks.
7549
7550 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7551 a proxy, so as handle autoloads and redefinitions of the target.
7552 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7553
7554 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7555 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7556 (pcase--mutually-exclusive-p): New function.
7557 (pcase--split-consp): Use it.
7558 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7559 mutually exclusive with the current predicate.
7560
7561 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7562 (edebug-macrop): Remove. Use `macrop' instead.
7563 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7564 (ad-macro-p):
7565 * eshell/esh-cmd.el (eshell-macrop):
7566 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7567
1d44e9dc
SM
75682013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7571 (advice-mapc): New function, using it.
7572 (advice-function-member-p): New function.
7573 (advice--normalize): Store the cdr in advice--saved-rewrite since
7574 that's the part that will be changed.
7575 (advice--symbol-function): New function.
7576 (advice-remove): Handle removal before the function is defined.
7577 Adjust to new advice--saved-rewrite.
7578 (advice-member-p): Use advice-function-member-p and
7579 advice--symbol-function.
7580
5414a283
JB
75812013-08-04 Juanma Barranquero <lekktu@gmail.com>
7582
51d30f2c
JB
7583 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7584 (frameset-filter-minibuffer): Doc fix.
7585 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7586 (frameset--set-id, frameset--process-minibuffer-frames)
7587 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7588 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7589
5414a283
JB
7590 * desktop.el (desktop-clear): Only delete frames when called
7591 interactively and desktop-restore-frames is non-nil. Doc fix.
7592 (desktop-read): Set desktop-saved-frameset to nil.
7593
ab419665
XF
75942013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7595
7596 * vc/vc.el (vc-ignore): Rewrite.
7597 (vc-default-ignore-completion-table):
7598 (vc--read-lines):
7599 (vc--add-line, vc--remove-regexp): New functions.
7600
7601 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7602 (vc-svn-ignore-completion-table): New function.
7603
7604 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7605 (vc-hg-ignore-completion-table):
7606 (vc-hg-find-ignore-file): New functions.
7607
7608 * vc/vc-git.el (vc-git-ignore): Rewrite.
7609 (vc-git-ignore-completion-table):
7610 (vc-git-find-ignore-file): New functions.
7611
7612 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7613
7614 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7615 (vc-bzr-ignore-completion-table):
7616 (vc-bzr-find-ignore-file): New functions.
7617
2613dea2
JB
76182013-08-03 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * frameset.el (frameset-prop): New function and setter.
7621 (frameset-save): Do not modify frame list passed by the caller.
7622
9c959872
SM
76232013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7626
a104f656
SM
76272013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7628
70122acf
SM
7629 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7630 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7631
a104f656
SM
7632 * custom.el (custom-initialize-default, custom-initialize-set)
7633 (custom-initialize-reset, custom-initialize-changed): Affect the
7634 toplevel-default-value (bug#6275, bug#14586).
7635 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7636 for bug#6275.
7637
f078d570
JB
76382013-08-02 Juanma Barranquero <lekktu@gmail.com>
7639
185e3b5a
JB
7640 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7641 Add cl-def* expressions.
7642
f078d570
JB
7643 * frameset.el (frameset-filter-params): Fix order of arguments.
7644
9421876d
JB
76452013-08-02 Juanma Barranquero <lekktu@gmail.com>
7646
7647 Move code related to saving frames to frameset.el.
7648 * desktop.el: Require frameset.
7649 (desktop-restore-frames): Doc fix.
7650 (desktop-restore-reuses-frames): Rename from
7651 desktop-restoring-reuses-frames.
7652 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7653 (desktop-clear): Clear frames too.
7654 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7655 (desktop--filter-tty*, desktop-save, desktop-read):
7656 Use frameset functions.
7657 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7658 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7659 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7660 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7661 (desktop--process-minibuffer-frames, desktop-save-frames)
7662 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7663 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7664 (desktop--sort-states, desktop-restoring-frames-p)
7665 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7666 (desktop-restoring-frameset-p, desktop-restore-frameset)
7667 (desktop--check-dont-save, desktop-save-frameset): New functions.
7668 (desktop--app-id): New constant.
7669 (desktop-first-buffer, desktop-buffer-ok-count)
7670 (desktop-buffer-fail-count): Move before first use.
7671 * frameset.el: New file.
7672
76dc5996
SM
76732013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 * files.el: Use lexical-binding.
7676 (dir-locals-read-from-file): Remove unused `err' variable.
7677 (hack-dir-local-variables--warned-coding): New var.
7678 (hack-dir-local-variables): Use it to avoid repeated warnings.
7679 (make-backup-file-name--default-function): New function.
7680 (make-backup-file-name-function): Use it as default.
7681 (buffer-stale--default-function): New function.
7682 (buffer-stale-function): Use it as default.
7683 (revert-buffer-insert-file-contents--default-function): New function.
7684 (revert-buffer-insert-file-contents-function): Use it as default.
7685 (insert-directory): Avoid add-to-list.
7686
7687 * autorevert.el (auto-revert-handler): Simplify.
7688 Use buffer-stale--default-function.
7689
06d36e2b
TH
76902013-08-01 Tassilo Horn <tsdh@gnu.org>
7691
5f648ab4
TH
7692 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7693
06d36e2b
TH
7694 * whitespace.el (whitespace-ensure-local-variables): New function.
7695 (whitespace-cleanup-region): Call it.
7696 (whitespace-turn-on): Call it.
7697
a43dc424
MA
76982013-08-01 Michael Albinus <michael.albinus@gmx.de>
7699
7700 Complete file name handlers.
7701
7702 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7703 (tramp-handle-verify-visited-file-modtime)
7704 (tramp-handle-file-notify-rm-watch): New functions.
7705 (tramp-call-process): Do not bind `default-directory'.
7706
44e18199
JB
7707 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7708 Order alphabetically.
afe1e4c8
GM
7709 <access-file, add-name-to-file, dired-call-process>:
7710 <dired-compress-file, file-acl, file-notify-rm-watch>:
7711 <file-ownership-preserved-p, file-selinux-context>:
7712 <make-directory-internal, make-symbolic-link, set-file-acl>:
7713 <set-file-selinux-context, set-visited-file-modtime>:
7714 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7715 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7716
7717 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
7718 <file-notify-add-watch, file-notify-rm-watch>:
7719 <set-file-times, set-visited-file-modtime>:
7720 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7721 (with-tramp-gvfs-error-message)
7722 (tramp-gvfs-handle-set-visited-file-modtime)
7723 (tramp-gvfs-fuse-file-name): Remove.
7724 (tramp-gvfs-handle-file-notify-add-watch)
7725 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7726 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7727
44e18199
JB
7728 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7729 Order alphabetically.
afe1e4c8
GM
7730 <file-notify-rm-watch>: Use default Tramp handler.
7731 <executable-find>: Remove private handler.
a43dc424
MA
7732 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7733 `default-directory'.
7734 (tramp-sh-handle-executable-find)
7735 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7736 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7737 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7738 Do not use `format' in `tramp-message'.
7739
7740 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
7741 <file-notify-rm-watch, set-visited-file-modtime>:
7742 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7743 (tramp-smb-call-winexe): Do not bind `default-directory'.
7744
7188b515
XF
77452013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7746
7747 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7748
2412ee1a
DG
77492013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7750
7751 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7752 use it.
7753 (log-view-diff-changeset): Same.
7754 (log-view-diff-common): Call backend command `previous-revision'
7755 to find out the previous revision, in both cases. Swap the
7756 variables `to' and `fr', so that `fr' usually refers to the
7757 earlier revision (Bug#14989).
7758
5002a754
KRC
77592013-07-31 Kan-Ru Chen <kanru@kanru.info>
7760
7761 * ibuf-ext.el (ibuffer-filter-by-filename):
7762 Make it work with dired buffers too.
7763
44e18199 77642013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7765
7766 * emacs-lisp/re-builder.el (reb-color-display-p):
7767 * files.el (save-buffers-kill-terminal):
7768 * net/browse-url.el (browse-url):
7769 * server.el (server-save-buffers-kill-terminal):
7770 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7771 Prefer nil to selected-frame for the first arg of frame-parameter.
7772
aeca3fbb
XF
77732013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7774
7775 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7776
158bc55c
SB
77772013-07-30 Stephen Berman <stephen.berman@gmx.net>
7778
7779 * minibuffer.el (completion--twq-all): Try and preserve each
7780 completion's case choice (bug#14907).
7781
d50fceab
LMI
77822013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7783
ac38e731
LMI
7784 * net/network-stream.el (open-network-stream): Mention the new
7785 :nogreeting parameter.
7786 (network-stream-open-starttls): Use the :nogreeting parameter
7787 (bug#14938).
7788
1211de50
LMI
7789 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7790
997798bf
LMI
7791 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7792 more natural than popping.
7793
d50fceab 7794 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7795 (shr-urlify): Highlight under mouse.
d50fceab 7796
5c09de04
XF
77972013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7798
207d1d04
XF
7799 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7800
7801 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7802
5c09de04
XF
7803 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7804 buffer for output.
7805
3cd51eaa
XF
7806 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7807 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7808
44e18199 7809 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7810 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7811
7812 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7813
7814 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7815 buffer for output.
7816
35a89bdd
EZ
78172013-07-29 Eli Zaretskii <eliz@gnu.org>
7818
7819 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7820 initial frame is minibuffer-less. (Bug#14841)
7821
78822e94
MA
78222013-07-29 Michael Albinus <michael.albinus@gmx.de>
7823
7824 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7825 option.
7826
7827 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7828 (tramp-maybe-open-connection): Use it.
7829
9503c190
JB
78302013-07-28 Juanma Barranquero <lekktu@gmail.com>
7831
7832 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7833 minimal set of parameters passed when creating a frame, because
7834 the minibuffer status of a frame cannot be changed later.
7835
d5a845b4
SB
78362013-07-28 Stephen Berman <stephen.berman@gmx.net>
7837
7838 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7839 replace-regexp-in-string and inadvertent omissions in previous change.
7840 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7841 name of filtered items buffer.
d5a845b4 7842
ddeffb17
JB
78432013-07-28 Juanma Barranquero <lekktu@gmail.com>
7844
7845 * desktop.el: Optionally force offscreen frames back onscreen.
7846 (desktop-restoring-reuses-frames): New option.
7847 (desktop--compute-pos, desktop--move-onscreen): New functions.
7848 (desktop--make-frame): Use desktop--move-onscreen.
7849
f5950f7a
AM
78502013-07-27 Alan Mackenzie <acm@muc.de>
7851
7852 Fontify a Java generic method as a function.
7853 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7854 value to t.
7855
ae43b66a
SB
78562013-07-27 Stephen Berman <stephen.berman@gmx.net>
7857
7858 * calendar/todo-mode.el: Add command to rename todo files.
7859 (todo-rename-file): New command.
7860 (todo-key-bindings-t): Add key binding for it. Change the
7861 bindings of todo-filter-regexp-items(-multifile) to use `x'
7862 instead of `r', since the latter is better suited to the new
7863 renaming command.
7864
5ab78d3d
AM
78652013-07-27 Alan Mackenzie <acm@muc.de>
7866
7867 Make Java try-with-resources statement parse properly.
7868 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7869 (c-block-stmt-1-2-key): New language constants/variables.
7870 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7871 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7872 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7873 with c-block-stmt-1-2-key.
5ab78d3d 7874
d85c4d50
JB
78752013-07-27 Juanma Barranquero <lekktu@gmail.com>
7876
7877 * desktop.el (desktop--make-frame): Apply most frame parameters after
7878 creating the frame to force (partially or totally) offscreen frames to
7879 be restored as such.
7880
e4c467f9
XF
78812013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7882
7883 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7884 (Bug#14948)
e4c467f9 7885
7ced0d04
SM
78862013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7889 `base' arg of backtrace-frame.
7890
fec92060
EZ
78912013-07-26 Eli Zaretskii <eliz@gnu.org>
7892
7893 * simple.el (list-processes): Doc fix.
7894
d58d31fb
JB
78952013-07-26 Juanma Barranquero <lekktu@gmail.com>
7896
7897 * desktop.el (desktop--select-frame):
d85c4d50 7898 Try harder to reuse existing frames.
d58d31fb 7899
53ff3e77
SM
79002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7901
7902 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7903 (edebug-eval): Use backtrace-eval.
7904 (edebug--display, edebug--recursive-edit): Don't let-bind the
7905 edebug-outer-* vars that keep track of variables we locally let-bind.
7906 (edebug-outside-excursion): Don't restore outside values of locally
7907 let-bound vars.
7908 (edebug--display): Use user-error.
7909 (cl-lexical-debug, cl-debug-env): Remove.
7910
045f7a53
JB
79112013-07-26 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7914 are restored to be sure that they are visible before deleting any
7915 remaining ones.
7916
59070b32
MM
79172013-07-26 Matthias Meulien <orontee@gmail.com>
7918
742a3501
XF
7919 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7920 vc-print-root-log. (Bug#14948)
59070b32 7921
b1fb3596
RS
79222013-07-26 Richard Stallman <rms@gnu.org>
7923
7924 Add aliases for encrypting mail.
7925 * epa.el (epa-mail-aliases): New option.
7926 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7927 Bind inhibit-read-only so read-only text doesn't ruin everything.
7928 (epa-mail-default-recipients): New subroutine broken out.
7929 Handle epa-mail-aliases.
7930
56ea7291
SM
79312013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 Add support for lexical variables to the debugger's `e' command.
7934 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7935 vars, except for debugger-outer-match-data.
7936 (debugger-frame-number): Move check for "on a function call" from
7937 callers into it. Add `skip-base' argument.
7938 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7939 (debugger-env-macro): Only reset the state stored in non-variables,
7940 i.e. current-buffer and match-data.
7941 (debugger-eval-expression): Rewrite using backtrace-eval.
7942 * subr.el (internal--called-interactively-p--get-frame): Remove.
7943 (called-interactively-p):
7944 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7945 `base' arg of backtrace-frame instead.
7946
15ac32d5
GM
79472013-07-26 Glenn Morris <rgm@gnu.org>
7948
8358a09d
GM
7949 * align.el (align-regexp): Doc fix. (Bug#14857)
7950 (align-region): Explicit error if subexpression missing/does not match.
7951
15ac32d5
GM
7952 * simple.el (global-visual-line-mode):
7953 Do not duplicate the mode lighter. (Bug#14858)
7954
f47ad11b
MR
79552013-07-25 Martin Rudalics <rudalics@gmx.at>
7956
7957 * window.el (display-buffer): In display-buffer bind
7958 split-window-keep-point to t, bug#14829.
7959
02530987
JB
79602013-07-25 Juanma Barranquero <lekktu@gmail.com>
7961
7962 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7963 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7964 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7965 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7966 Change accordingly.
f63ebeb5
JB
7967 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7968 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7969
6ccb9cab 79702013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7971
6ccb9cab 7972 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7973
cb3a56d2
JB
79742013-07-25 Juanma Barranquero <lekktu@gmail.com>
7975
7976 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7977 parameter to modify-frame-parameters if the value has not changed;
7978 this is a workaround for bug#14949.
7979 (desktop--make-frame): On cl-delete-if call, check parameter name,
7980 not full parameter.
7981
7aa7fff0
XF
79822013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7983
7984 * vc/vc.el (vc-ignore): New function.
7985
7986 * vc/vc-svn.el (vc-svn-ignore): New function.
7987
7988 * vc/vc-hg.el (vc-hg-ignore): New function.
7989
7990 * vc/vc-git.el (vc-git-ignore): New function.
7991
7992 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7993 (vc-dir-ignore): New function.
7994
7995 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7996 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7997
7998 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7999
8000 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8001
889acc5c
JB
80022013-07-24 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8005 (desktop-restore-frames): Warn when deleting an existing frame failed.
8006
86c40970
GM
80072013-07-24 Glenn Morris <rgm@gnu.org>
8008
8009 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8010
d5d3c58a
MA
80112013-07-24 Michael Albinus <michael.albinus@gmx.de>
8012
8013 * filenotify.el (file-notify-supported-p):
8014 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8015 Remove functions.
8016
8017 * autorevert.el (auto-revert-use-notify):
8018 (auto-revert-notify-add-watch):
8019 * net/tramp.el (tramp-file-name-for-operation):
8020 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8021 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8022 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8023 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8024 Remove `file-notify-supported-p' entry.
8025
d100084b
GM
80262013-07-24 Glenn Morris <rgm@gnu.org>
8027
8028 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8029 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8030
ac93e56b
SM
80312013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8032
249eea30
SM
8033 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8034 checked with memq (bug#14935).
8035
ac93e56b
SM
8036 * files.el (revert-buffer-function): Use a non-nil default.
8037 (revert-buffer-preserve-modes): Declare var to
8038 provide access to the `preserve-modes' argument.
8039 (revert-buffer): Let-bind it.
8040 (revert-buffer--default): New function, extracted from revert-buffer.
8041
2cdeb903
SM
80422013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * lpr.el: Signal print errors more prominently.
8045 (print-region-function): Don't default to nil.
8046 (lpr-print-region): New function, extracted from print-region-1.
8047 Check lpr's return value and signal an error in case of problem.
8048 (print-region-1): Use it.
8049 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8050 versions instead.
8051 (ps-printer-name): Default to nil.
8052 (ps-printer-name-option): Default to lpr-printer-switch.
8053 (ps-print-region-function): Don't default to nil.
8054 (ps-postscript-code-directory): Simplify default.
8055 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8056 (ps-string-list, ps-eval-switch, ps-flatten-list)
8057 (ps-flatten-list-1): Remove.
8058 (ps-multibyte-buffer): Avoid setq.
8059 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8060 (print-region-function, ps-print-region-function): Don't set them here.
8061
73600831
XF
80622013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8063
0e55c076
XF
8064 * ido.el (ido-fractionp):
8065 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8066 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8067 (ido-max-directory-size, ido-max-dir-file-cache)
8068 (ido-decorations): Doc fix.
8069
73600831
XF
8070 * ansi-color.el: Fix old URL.
8071
3d012865
MM
80722013-07-23 Michael R. Mauger <michael@mauger.com>
8073
e903c210 8074 * progmodes/sql.el: Version 3.3
3d012865
MM
8075 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8076 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8077 (sql-interactive-remove-continuation-prompt): Rewrite, use
8078 functions above. Fix continuation prompt and complete output line
8079 handling.
8080 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8081 redirected output buffer.
8082 (sql-mode): Restore deleted code (Bug#13591).
8083
da77a2e2
JB
80842013-07-23 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8087
80ff0c71
MA
80882013-07-23 Michael Albinus <michael.albinus@gmx.de>
8089
8090 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8091
8092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8093 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8094 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8095
b61d71e4
JB
80962013-07-23 Juanma Barranquero <lekktu@gmail.com>
8097
8098 * desktop.el (desktop-clear): Simplify; remove useless checks
8099 against invalid buffer names.
8100 (desktop-list*): Use cl-list*.
8101 (desktop-buffer-info, desktop-create-buffer): Simplify.
8102
c3512092
LL
81032013-07-23 Leo Liu <sdl.web@gmail.com>
8104
8105 * bookmark.el (bookmark-make-record): Restore NAME as a default
8106 value. (Bug#14933)
8107
0ac26976
SM
81082013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8109
7d22ce18
SM
8110 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8111 extracted from autoload--insert-text.
8112 (autoload--insert-text): Remove.
8113 (autoload--print-cookie-text): New function, extracted from
8114 autoload--insert-cookie-text.
8115 (autoload--insert-cookie-text): Remove.
8116 (autoload-generate-file-autoloads): Adjust calls accordingly.
8117
9b2607e8
SM
8118 * winner.el (winner-hook-installed-p): Remove.
8119 (winner-mode): Simplify accordingly.
8120
c43a8618
SM
8121 * subr.el (add-to-list): Fix compiler-macro when `append' is
8122 not constant. Don't use `cl-member' for the base case.
8123
0ac26976
SM
8124 * progmodes/subword.el: Fix boundary case (bug#13758).
8125 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8126 own group.
8127 (subword-backward-regexp): Make it a constant.
8128 (subword-forward-internal): Don't treat a trailing capital as the
8129 beginning of a word.
8130
6874724a
AR
81312013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8132
8133 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8134 global value of tabulated-list-revert-hook (bug#14930).
8135
70f1b5e8
JB
81362013-07-22 Juanma Barranquero <lekktu@gmail.com>
8137
a1c80d9d
JB
8138 * desktop.el: Require 'cl-lib.
8139 (desktop-before-saving-frames-functions): New hook.
8140 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8141 for frames being saved. Rename from desktop--save-minibuffer-frames.
8142 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8143 Do not save frames with non-nil `desktop-dont-save' parameter.
8144 Filter out deleted frames.
a1c80d9d
JB
8145 (desktop--find-frame): Use cl-find-if.
8146 (desktop--select-frame): Use cl-(first|second|third) to access values
8147 of desktop-mini.
8148 (desktop--make-frame): Use cl-delete-if.
8149 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8150 (desktop-restore-frames): Use cl-(first|second|third) to access values
8151 of desktop-mini. Look for visible frame at the end, not while
8152 restoring frames.
8153
70f1b5e8
JB
8154 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8155 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8156 Use string-match-p, looking-at-p (bug#14927).
8157
728dc3cc
JB
81582013-07-21 Juanma Barranquero <lekktu@gmail.com>
8159
56bc453c
JB
8160 * desktop.el (desktop-saved-frame-states):
8161 Rename from desktop--saved-states; all users changed.
8162 (desktop-save-frames): Rename from desktop--save-frames.
8163 Do not save state to desktop file.
8164 (desktop-save): Save desktop-saved-frame-states to desktop file
8165 and reset to nil.
8166 (desktop-restoring-frames-p): New function.
8167 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8168 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8169 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8170
728dc3cc
JB
8171 * desktop.el: Correctly restore iconified frames.
8172 (desktop--filter-iconified-position): New function.
8173 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8174
862f1c9c
GM
81752013-07-20 Glenn Morris <rgm@gnu.org>
8176
c4074c9f
GM
8177 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8178 Let `message' do the formatting.
8179 (def-gdb-preempt-display-buffer): Add explicit format.
8180
d828e5f9
GM
8181 * image-dired.el (image-dired-track-original-file):
8182 Use with-current-buffer.
8183 (image-dired-track-thumbnail): Use with-current-buffer.
8184 Avoid changing point of wrong window.
8185
862f1c9c
GM
8186 * image-dired.el (image-dired-track-original-file):
8187 Avoid changing point of wrong window. (Bug#14909)
8188
f0398ec1 81892013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8190
8191 * progmodes/gdb-mi.el (gdb-done-or-error):
8192 Guard against "%" in gdb output. (Bug#14127)
8193
1451928f
AS
81942013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8195
763a086d
JB
8196 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8197 (Bug#14826)
f7a03897 8198
1451928f
AS
8199 * international/mule.el (coding-system-iso-2022-flags): Fix last
8200 change.
8201
99107004
KH
82022013-07-20 Kenichi Handa <handa@gnu.org>
8203
763a086d
JB
8204 * international/mule.el (coding-system-iso-2022-flags):
8205 Add `8-bit-level-4'. (Bug#8522)
99107004 8206
48494e06
LMI
82072013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208
8ba8eec5
LMI
8209 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8210 (bug#14815).
8211
dfbc66e3
LMI
8212 * net/eww.el (eww-process-text-input): Allow inputting when the
8213 point is at the start of the line, as the properties aren't
8214 front-sticky.
8215
48494e06
LMI
8216 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8217 degenerate widths.
8218
77c92cb9
RS
82192013-07-19 Richard Stallman <rms@gnu.org>
8220
aec7da77
RS
8221 * epa.el (epa-popup-info-window): Doc fix.
8222
77c92cb9
RS
8223 * subr.el (split-string): New arg TRIM.
8224
945c5bb1
JB
82252013-07-18 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8228 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8229
e06ec67f
MA
82302013-07-18 Michael Albinus <michael.albinus@gmx.de>
8231
c7064f05 8232 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8233 `file-notify-support'. Do not autoload. Adapt all uses.
8234 (file-notify-supported-p): New defun.
8235
c7064f05
JB
8236 * autorevert.el (auto-revert-use-notify):
8237 Use `file-notify-supported-p' instead of `file-notify-support'.
8238 Adapt docstring.
e06ec67f
MA
8239 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8240
8241 * net/tramp.el (tramp-file-name-for-operation):
8242 Add `file-notify-supported-p'.
8243
8244 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8245 New defun.
8246 (tramp-sh-file-name-handler-alist): Add it as handler for
8247 `file-notify-supported-p '.
8248
8249 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8250 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8251 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8252 Add `ignore' as handler for `file-notify-*' functions.
8253
5dc8a629
EZ
82542013-07-17 Eli Zaretskii <eliz@gnu.org>
8255
8256 * simple.el (line-move-partial, line-move): Don't start vscroll or
8257 scroll-up if the current line is not taller than the window.
8258 (Bug#14881)
8259
77aea2fb
DG
82602013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8261
8262 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8263 highlight question marks in the method names as strings.
ac72c08d
DG
8264 (ruby-block-beg-keywords): Inline.
8265 (ruby-font-lock-keyword-beg-re): Extract from
8266 `ruby-font-lock-keywords'.
77aea2fb 8267
18c26d81
JD
82682013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8269
8270 * frame.el (blink-cursor-blinks): New defcustom.
8271 (blink-cursor-blinks-done): New defvar.
8272 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8273 (blink-cursor-timer-function): Check if number of blinks has been
8274 done on X and NS.
8275 (blink-cursor-suspend, blink-cursor-check): New defuns.
8276
da48522e
GM
82772013-07-15 Glenn Morris <rgm@gnu.org>
8278
8279 * edmacro.el (edmacro-format-keys): Fix previous change.
8280
0463c1ef
PE
82812013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8282
8283 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8284 The hack didn't work outside English locales anyway.
8285
b43f6451
JB
82862013-07-15 Juanma Barranquero <lekktu@gmail.com>
8287
8288 * simple.el (define-alternatives): Rename from alternatives-define,
8289 per RMS' suggestion.
8290
b958c0ad
JB
82912013-07-14 Juanma Barranquero <lekktu@gmail.com>
8292
8293 * desktop.el (desktop-restore-frames): Change default to t.
8294 (desktop-restore-in-current-display): Now offer more options.
8295 (desktop-restoring-reuses-frames): New customization option.
8296 (desktop--saved-states): Doc fix.
8297 (desktop-filter-parameters-alist): New variable, renamed and expanded
8298 from desktop--excluded-frame-parameters.
8299 (desktop--target-display): New variable.
8300 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8301 (desktop--filter-tty*, desktop--filter-*-color)
8302 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8303 (desktop--filter-save-desktop-parm)
8304 (desktop-restore-in-original-display-p): New functions.
8305 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8306 (desktop--save-minibuffer-frames): New function, inspired by a similar
8307 function from Martin Rudalics.
8308 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8309 (desktop--restore-in-this-display-p): Remove.
8310 (desktop--find-frame): Rename from desktop--find-frame-in-display
8311 and add predicate argument.
8312 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8313 (desktop--reuse-list): New variable.
8314 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8315 New functions.
8316 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8317
f6dd8b36
MA
83182013-07-14 Michael Albinus <michael.albinus@gmx.de>
8319
8320 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8321
2ce3c565
DG
83222013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8323
763a086d
JB
8324 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8325 Highlight conversion methods on Kernel.
2ce3c565 8326
2cdb7698
AM
83272013-07-13 Alan Mackenzie <acm@muc.de>
8328
8329 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8330 and comment it out. This out-commenting enables certain C++
8331 declarations to be parsed correctly.
8332
1a67b811
EZ
83332013-07-13 Eli Zaretskii <eliz@gnu.org>
8334
1b796d6b
EZ
8335 * international/mule.el (define-coding-system): Doc fix.
8336
1a67b811
EZ
8337 * simple.el (default-font-height): Don't call font-info if the
8338 frame's default font didn't change since the frame was created.
8339 (Bug#14838)
8340
58fbe886
LL
83412013-07-13 Leo Liu <sdl.web@gmail.com>
8342
8343 * ido.el (ido-read-file-name): Guard against non-symbol value.
8344
1f0480d4
FEG
83452013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8346
8347 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8348 in nested defuns.
8349
97ead0e5
LL
83502013-07-13 Leo Liu <sdl.web@gmail.com>
8351
8352 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8353 ido-set-matches call. (Bug#6852)
8354
0880a952
DG
83552013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8356
8357 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8358 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8359 Ruby 2.0.
8360 (ruby-font-lock-keywords): Distinguish calls to functions with
8361 module-like names from module references. Highlight character
8362 literals.
8363
a7d8babb
SDJ
83642013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8365
8366 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8367 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8368
acfcc8c5
JB
83692013-07-12 Juanma Barranquero <lekktu@gmail.com>
8370
8371 * desktop.el (desktop--v2s): Remove unused local variable.
8372 (desktop-save-buffer): Make defvar-local; adjust docstring.
8373 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8374 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8375
051f2775
AS
83762013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8377
8378 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8379
f24e7572
GM
83802013-07-12 Eli Zaretskii <eliz@gnu.org>
8381
8382 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8383 (Bug#14842)
8384
539a920c
GM
83852013-07-12 Glenn Morris <rgm@gnu.org>
8386
8387 * doc-view.el: Require cl-lib at runtime too.
8388 (doc-view-remove-if): Remove.
8389 (doc-view-search-next-match, doc-view-search-previous-match):
8390 Use cl-remove-if.
8391
8392 * edmacro.el: Require cl-lib at runtime too.
8393 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8394 (edmacro-mismatch, edmacro-subseq): Remove.
8395
8396 * shadowfile.el: Require cl-lib.
8397 (shadow-remove-if): Remove.
8398 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8399 Use cl-remove-if.
8400
8401 * wid-edit.el: Require cl-lib.
8402 (widget-choose): Use cl-remove-if.
8403 (widget-remove-if): Remove.
8404
8405 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8406 (ebrowse-delete-if-not): Remove.
8407 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8408 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8409 Use cl-delete-if-not.
8410
1048af7c
JB
84112013-07-12 Juanma Barranquero <lekktu@gmail.com>
8412
8413 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8414 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8415
6c0674ee
LL
84162013-07-12 Leo Liu <sdl.web@gmail.com>
8417
8418 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8419
a19b3c2d
GM
84202013-07-11 Glenn Morris <rgm@gnu.org>
8421
4582a01c
GM
8422 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8423 (edebug-gensym-index, edebug-gensym):
8424 Remove reimplementation of cl-gensym.
8425 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8426
8427 * thumbs.el: Require cl-lib at run-time too.
8428 (thumbs-gensym-counter, thumbs-gensym):
8429 Remove reimplementation of cl-gensym.
8430 (thumbs-temp-file): Use cl-gensym.
8431
a19b3c2d
GM
8432 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8433 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8434 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8435 (ert--union, ert--gensym-counter, ert--gensym-counter)
8436 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8437 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8438 (ert-make-test-unbound, ert--expand-should-1)
8439 (ert--expand-should, ert--should-error-handle-error)
8440 (should-error, ert--explain-equal-rec)
8441 (ert--plist-difference-explanation, ert-select-tests)
8442 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8443 Use cl-lib functions rather than reimplementations.
8444
88f6a933
MA
84452013-07-11 Michael Albinus <michael.albinus@gmx.de>
8446
8447 * net/tramp.el (tramp-methods): Extend docstring.
8448 (tramp-connection-timeout): New defcustom.
8449 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8450 (with-tramp-progress-reporter): Simplify.
8451 (tramp-process-actions): Improve messages.
8452
8453 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8454 * net/tramp-sh.el (tramp-maybe-open-connection):
8455 Use `tramp-connection-timeout'.
afe1e4c8 8456 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
8457 (Bug#14808)
8458
a43d577e
LL
84592013-07-11 Leo Liu <sdl.web@gmail.com>
8460
8461 * ido.el (ido-read-file-name): Conform to the requirements of
8462 read-file-name. (Bug#11861)
8463 (ido-read-directory-name): Conform to the requirements of
8464 read-directory-name.
8465
d77974bf
JB
84662013-07-11 Juanma Barranquero <lekktu@gmail.com>
8467
8468 * subr.el (delay-warning): New function.
8469
35cb8a3e
EZ
84702013-07-10 Eli Zaretskii <eliz@gnu.org>
8471
8472 * simple.el (default-line-height): New function.
8473 (line-move-partial, line-move): Use it instead of computing the
8474 line height inline.
8475 (line-move-partial): Always compute ROWH. If the last line is
8476 partially-visible, but its text is completely visible, allow
8477 cursor to enter such a partially-visible line.
8478
525c5c77
MA
84792013-07-10 Michael Albinus <michael.albinus@gmx.de>
8480
8481 Improve error messages. (Bug#14808)
8482
8483 * net/tramp.el (tramp-current-connection): New defvar, moved from
8484 tramp-sh.el.
0ac26976 8485 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8486 needed anymore.
0ac26976
SM
8487 (tramp-error-with-buffer): Show message in minibuffer.
8488 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8489 (with-tramp-progress-reporter): Improve messages.
8490 (tramp-process-actions): Use progress reporter. Delete process in
8491 case of error. Improve messages.
8492
763a086d
JB
8493 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8494 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8495 (tramp-current-connection): Remove.
525c5c77
MA
8496 (tramp-maybe-open-connection): The car of
8497 `tramp-current-connection' are the first 3 slots of the vector.
8498
c7a4d368
TZ
84992013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8500
8501 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8502 inside continued strings.
8503
954b166e
PE
85042013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8505
8506 Timestamp fixes for undo (Bug#14824).
8507 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8508
56973319
LL
85092013-07-10 Leo Liu <sdl.web@gmail.com>
8510
8511 * files.el (require-final-newline): Allow safe local value.
8512 (Bug#14834)
8513
5550a72c
LL
85142013-07-09 Leo Liu <sdl.web@gmail.com>
8515
8516 * ido.el (ido-read-directory-name): Handle fallback.
8517 (ido-read-file-name): Update DIR to ido-current-directory.
8518 (Bug#1516)
c28b9050 8519 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8520
70c46b28
DG
85212013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8522
8523 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8524 "autoload". Remove "warn lower camel case" section, previously
8525 commented out. Highlight negation char. Do not highlight the
8526 target in singleton method definitions.
8527
0b64b838
SM
85282013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8529
7fd72e2c
SM
8530 * faces.el (tty-setup-hook): Declare the hook.
8531
0b64b838
SM
8532 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8533 and detect when a guard/pred depends on local vars (bug#14773).
8534 (pcase--u1): Adjust caller.
8535
ab49d60b
EZ
85362013-07-08 Eli Zaretskii <eliz@gnu.org>
8537
8538 * simple.el (line-move-partial, line-move): Account for
8539 line-spacing.
701d79aa
EZ
8540 (line-move-partial): Avoid setting vscroll when the last
8541 partially-visible line in window is of default height.
ab49d60b 8542
2d756ae0
LMI
85432013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8544
8545 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8546 been used a while.
8547
ed095bd7
JB
85482013-07-07 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * subr.el (read-quoted-char): Remove unused local variable `char'.
8551
f1e6674b
MK
85522013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8553
584ee3fc
GM
8554 * ediff.el (ediff-version): Version update.
8555 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8556 (ediff-merge-with-ancestor-command, ediff-directories-command)
8557 (ediff-directories3-command, ediff-merge-directories-command)
8558 (ediff-merge-directories-with-ancestor-command): New functions.
8559 All are command-line interfaces to ediff: to facilitate calling
8560 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8561
8562 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8563 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8564
584ee3fc
GM
8565 * viper.el (viper-version): Version update.
8566 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8567
584ee3fc
GM
85682013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8571 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8572 (viper-intercept-ESC-key): Simplify.
8573 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8574 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8575 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8576 (viper-setup-ESC-to-escape): New functions.
8577 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8578 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8579
9aff9b38
EZ
85802013-07-07 Eli Zaretskii <eliz@gnu.org>
8581
5165d44a
JB
8582 * simple.el (default-font-height, window-screen-lines):
8583 New functions.
9aff9b38
EZ
8584 (line-move, line-move-partial): Use them instead of
8585 frame-char-height and window-text-height. This makes scrolling
8586 text smoother when the buffer's default face uses a font that is
8587 different from the frame's default font.
8588
1afb1d07
JD
85892013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8590
8591 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8592 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8593
23de972a
EZ
85942013-07-06 Eli Zaretskii <eliz@gnu.org>
8595
8596 * simple.el (line-move-partial): Adjust the row returned by
8597 posn-at-point for the current window-vscroll. (Bug#14567)
8598
54a42486
MA
85992013-07-06 Michael Albinus <michael.albinus@gmx.de>
8600
8601 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8602 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8603 spaces.
8604
34ada5f4
MR
86052013-07-06 Martin Rudalics <rudalics@gmx.at>
8606
8607 * window.el (window-state-put-stale-windows): New variable.
8608 (window--state-put-2): Save list of windows without matching buffer.
8609 (window-state-put): Remove "bufferless" windows if possible.
8610
11e03d89
JB
86112013-07-06 Juanma Barranquero <lekktu@gmail.com>
8612
8613 * simple.el (alternatives-define): Remove leftover :group keyword.
8614 Tweak docstring.
8615
3504a4be
LL
86162013-07-06 Leo Liu <sdl.web@gmail.com>
8617
8618 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8619 (ido-enable-virtual-buffers): New variable.
8620 (ido-buffer-internal, ido-toggle-virtual-buffers)
8621 (ido-make-buffer-list): Use it.
8622 (ido-exhibit): Support turning on and off virtual buffers
8623 automatically.
8624
61e56e2c
JB
86252013-07-06 Juanma Barranquero <lekktu@gmail.com>
8626
8627 * simple.el (alternatives-define): New macro.
8628
321e1a9c
SM
86292013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * subr.el (read-quoted-char): Use read-key.
8632 (sit-for): Let read-event decode tty input (bug#14782).
8633
d610f6dd
SB
86342013-07-05 Stephen Berman <stephen.berman@gmx.net>
8635
8636 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8637 mode command and externally. Fix various related bugs.
8638 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8639 (todo-delete-file): New command.
8640 (todo-check-file): New function.
8641 (todo-show): Handle external deletion of the file we're trying to
8642 show (bug#14688). Replace called-interactively-p by an optional
8643 prefix argument to avoid problematic interaction with catch form
8644 when byte compiled (bug#14702).
8645 (todo-quit): Handle external deletion of the archive's todo file.
8646 Make sure the buffer that was visiting the archive file is still
8647 live before trying to bury it.
8648 (todo-category-completions): Handle external deletion of any
8649 category completion files.
8650 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8651 of todo files, in case of external deletion.
8652 (todo-add-file): Replace unnecessary setq by let-binding.
8653 (todo-find-archive): Check whether there are any archives.
8654 Replace unnecessary setq by let-binding.
8655 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8656 archive buffer whether or not the archive already exists.
8657 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8658 check if the archive is new; if it is, update list of archives.
8659 (todo-default-todo-file): Allow nil to be a valid value for when
8660 there are no todo files.
8661 (todo-reevaluate-default-file-defcustom): Use corrected definition
8662 of todo-default-todo-file.
8663 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8664 (todo-delete-category, todo-show-categories-table)
8665 (todo-category-number): Clarify comment.
8666 (todo-filter-items): Clarify documentation string.
8667 (todo-show-current-file, todo-display-as-todo-file)
8668 (todo-reset-and-enable-done-separator): Tweak documentation string.
8669 (todo-done-separator): Make separator length window-width, since
8670 bug#2749 is now fixed.
8671
ddbdfd6f
MA
86722013-07-05 Michael Albinus <michael.albinus@gmx.de>
8673
321e1a9c
SM
8674 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8675 Support both "gvfs-monitor-dir" and "inotifywait".
8676 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8677 `tramp-sh-file-notify-process-filter'.
8678 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8679 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8680
96eb829a
LL
86812013-07-05 Leo Liu <sdl.web@gmail.com>
8682
8683 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8684
cf13177e
YM
86852013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8686
8687 * frame.el (display-pixel-height, display-pixel-width)
8688 (display-mm-height, display-mm-width): Mention behavior on
8689 multi-monitor setups in docstrings.
8690 (w32-display-monitor-attributes-list): Declare function.
8691 (display-monitor-attributes-list): Use it.
8692
864c58ca
MA
86932013-07-04 Michael Albinus <michael.albinus@gmx.de>
8694
8695 * filenotify.el: New package.
8696
8697 * autorevert.el (top): Require filenotify.el.
8698 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8699 instead.
8700 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8701 (auto-revert-notify-handler): Use `file-notify-*' functions.
8702
8703 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8704
321e1a9c
SM
8705 * net/tramp.el (tramp-file-name-for-operation):
8706 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8707
8708 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8709 for `file-notify-add-watch' and `file-notify-rm-watch'.
8710 (tramp-process-sentinel): Improve trace.
8711 (tramp-sh-handle-file-notify-add-watch)
8712 (tramp-sh-file-notify-process-filter)
8713 (tramp-sh-handle-file-notify-rm-watch)
8714 (tramp-get-remote-inotifywait): New defuns.
8715
96673afe
JL
87162013-07-03 Juri Linkov <juri@jurta.org>
8717
8718 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8719 call of `occur-read-primary-args' to interactive spec.
8720
8721 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8722 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8723
924494f4
MM
87242013-07-03 Matthias Meulien <orontee@gmail.com>
8725
8726 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8727 `Buffer-menu-multi-occur'. Add it to the menu.
8728 (Buffer-menu-mode): Document it in docstring.
8729 (Buffer-menu-multi-occur): New command. (Bug#14673)
8730
56f75efc
DG
87312013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8732
8733 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8734 keywords and built-ins.
8735
9b057d61
GM
87362013-07-03 Glenn Morris <rgm@gnu.org>
8737
208dee4d
GM
8738 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8739
9b057d61
GM
8740 Make info-xref checks case-sensitive by default
8741 * info.el (Info-find-node, Info-find-in-tag-table)
8742 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8743 Add option for exact case matching of nodes.
8744 * info-xref.el (info-xref): New custom group.
8745 (info-xref-case-fold): New option.
8746 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8747
e01aa29c
LL
87482013-07-03 Leo Liu <sdl.web@gmail.com>
8749
8750 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8751
3086ca2e
DG
87522013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8753
8754 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8755 middle of block statement initially, lower the depth. Remove
8756 FIXME comment, not longer valid. Remove middle of block statement
8757 detection, no need to do that anymore since we've been using
8758 `ruby-parse-region' here.
8759
a3b49114
JD
87602013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8761
8762 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8763
08e5c823 87642013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8765
8766 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8767
2addf922
JB
87682013-07-01 Juanma Barranquero <lekktu@gmail.com>
8769
8770 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8771 (desktop-restore-in-current-display): New customization option.
8772 (desktop--excluded-frame-parameters): Add `font'.
8773 (desktop--save-frames): Rename from desktop--save-windows.
8774 (desktop--restore-in-this-display-p): New function.
8775 (desktop--make-full-frame): Remove unwanted width/height from
8776 full(width|height) frames.
8777 (desktop--restore-frames): Rename from desktop--restore-windows.
8778 Obey desktop-restore-current-display. Do not delete old frames or
8779 select a new frame unless we were able to restore at least one frame.
8780
ef099a94
MN
87812013-06-30 Michal Nazarewicz <mina86@mina86.com>
8782
8783 * files.el (find-file-noselect): Simplify conditional expression.
8784
a12bf61e 8785 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8786 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8787
8788 Add `remember-notes' function to store random notes across Emacs
8789 restarts.
3fcfc4ee
JB
8790 * textmodes/remember.el (remember-data-file): Add :set callback to
8791 affect notes buffer (if any).
ef099a94
MN
8792 (remember-notes): New command.
8793 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8794 New defcustoms for the `remember-notes' function.
8795 (remember-notes-save-and-bury-buffer): New command.
8796 (remember-notes-mode-map): New variable.
8797 (remember-mode): New minor mode.
8798 (remember-notes--kill-buffer-query): New function.
8799 * startup.el (initial-buffer-choice): Add notes to custom type.
8800
0865d506
EZ
88012013-06-30 Eli Zaretskii <eliz@gnu.org>
8802
0ba54312
EZ
8803 * bindings.el (right-char, left-char): Don't call sit-for, this is
8804 no longer needed. Use arithmetic comparison only for numerical
8805 arguments.
8806
ef099a94
MN
8807 * international/mule-cmds.el (select-safe-coding-system):
8808 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8809
2fae38e5
LMI
88102013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811
8812 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8813 progression on degenerate tables.
ef099a94 8814 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8815
a47cbd64
JB
88162013-06-30 Juanma Barranquero <lekktu@gmail.com>
8817
8818 Some fixes and improvements for desktop frame restoration.
8819 It is still experimental and disabled by default.
8820 * desktop.el (desktop--save-windows): Put the selected frame at
8821 the head of the list.
8822 (desktop--make-full-frame): New function.
8823 (desktop--restore-windows): Try to re-select the frame that was
8824 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8825 just show an error message and continue. Set up maximized frames
8826 so they have default non-maximized dimensions.
a47cbd64 8827
6dbafa30
DG
88282013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8829
ef099a94
MN
8830 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8831 Don't start heredoc inside a string or comment.
6dbafa30 8832
4c672a0f
EZ
88332013-06-29 Eli Zaretskii <eliz@gnu.org>
8834
8835 * bindings.el (visual-order-cursor-movement): New defcustom.
8836 (right-char, left-char): Provide visual-order cursor motion by
8837 calling move-point-visually. Update the doc strings.
8838
50960f36
KH
88392013-06-28 Kenichi Handa <handa@gnu.org>
8840
8841 * international/mule.el (define-coding-system): New coding system
8842 properties :inhibit-null-byte-detection,
8843 :inhibit-iso-escape-detection, and :prefer-utf-8.
8844 (set-buffer-file-coding-system): If :charset-list property of
8845 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8846 appropriate for setting.
8847
c1ea3abf
JB
8848 * international/mule-cmds.el (select-safe-coding-system):
8849 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8850 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8851
8852 * international/mule-conf.el (prefer-utf-8): New coding system.
8853 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8854 files.
8855
75dbaf9d
IK
88562013-06-28 Ivan Kanis <ivan@kanis.fr>
8857
eadb6068
IK
8858 * net/shr.el (shr-render-region): New function.
8859
75dbaf9d
IK
8860 * net/eww.el: Autoload `eww-browse-url'.
8861
9ea5cf9f
DG
88622013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8863
c1ea3abf
JB
8864 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8865 Adapt to `package-desc-version' being a list.
8866 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8867 archive element.
8868
39c0e36f
JB
88692013-06-27 Juanma Barranquero <lekktu@gmail.com>
8870
8871 New experimental feature to save&restore window and frame setup.
8872 * desktop.el (desktop-save-windows): New defcustom.
8873 (desktop--saved-states): New var.
8874 (desktop--excluded-frame-parameters): New defconst.
8875 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8876 (desktop--restore-windows, desktop--save-windows): New functions.
8877 (desktop-save): Call `desktop--save-windows'.
8878 (desktop-read): Call `desktop--restore-windows'.
8879
7f13406b
LMI
88802013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8881
ef099a94 8882 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8883
1e072639
SB
88842013-06-27 Stephen Berman <stephen.berman@gmx.net>
8885
8886 * info.el (Info-try-follow-nearest-node): Move search for footnote
8887 above search for node name to prevent missing a footnote (bug#14717).
8888
f3e2cbde
SB
88892013-06-27 Stephen Berman <stephen.berman@gmx.net>
8890
8891 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8892
99906aa0
LL
88932013-06-27 Leo Liu <sdl.web@gmail.com>
8894
8895 * net/eww.el (eww-read-bookmarks): Check file size.
8896
539f75f4
SM
88972013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8900 advice--pending if newdef is nil or an autoload (bug#13820).
8901 (advice-mapc): New function.
8902
843571cb
LMI
89032013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8904
8905 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8906 probably.
23a75d7f 8907 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8908 (eww-add-bookmark): New command.
8909 (eww-bookmark-mode): New mode and commands.
a285ce99 8910 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8911 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8912
f2136e1e
GM
89132013-06-26 Glenn Morris <rgm@gnu.org>
8914
eab35f39
GM
8915 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8916 (hfy-size): Handle ttys. (Bug#14668)
8917
f2136e1e
GM
8918 * info-xref.el: Update for Texinfo 5 change in *note format.
8919 (info-xref-node-re, info-xref-note-re): New constants.
8920 (info-xref-check-buffer): Use info-xref-note-re.
8921
a49ff80c
SM
89222013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8923
a343d218
SM
8924 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8925
a49ff80c
SM
8926 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8927 nil terminate the loop (bug#14718).
8928
8308f184
LMI
89292013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8930
8931 * net/eww.el: Rework history traversal. When going forward/back,
8932 put these actions into the history, too, so that they can be
8933 replayed.
26bf2b82 8934 (eww-render): Move the history reset to the correct buffer.
8308f184 8935
ec64c273
JL
89362013-06-25 Juri Linkov <juri@jurta.org>
8937
8938 * files-x.el (modify-dir-local-variable): Change the header comment
8939 in the file with directory local variables. (Bug#14692)
8940
e080a9d7
JL
8941 * files-x.el (read-file-local-variable-value): Add `default'.
8942 (Bug#14710)
8943
bfbc93a1
IK
89442013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8945
8946 * net/eww.el (eww-make-unique-file-name): Create a unique file
8947 name before saving to entering `y' accidentally asynchronously.
8948
89492013-06-25 Ivan Kanis <ivan@kanis.fr>
8950
8951 * net/eww.el (eww-download): New command and keystroke.
8952
16f74f10
LMI
89532013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8954
a49ff80c 8955 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8956
8957 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8958 be more consistent with Info and dired.
8959
8960 * net/eww.el (eww-mode-map): Ditto.
8961
12059709
SM
89622013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8965 packages from archives.
8966 (package-archive-contents): Change format; include obsolete packages.
8967 (package-desc): Use `dir' to mark builtin packages.
8968 (package--from-builtin): Set the `dir' field to `builtin'.
8969 (generated-autoload-file, version-control): Declare.
8970 (package-compute-transaction): Change first arg and return value to be
8971 lists of package-descs. Adjust to new package-archive-contents format.
8972 (package--add-to-archive-contents): Adjust to new
8973 package-archive-contents format.
8974 (package-download-transaction): Arg is now a list of package-descs.
8975 (package-install): If `pkg' is a package name, pass it as
8976 a requirement, so it is subject to the usual (e.g. disabled) checks.
8977 (describe-package): Accept package-desc as well.
8978 (describe-package-1): Describe a specific package-desc. Add links to
8979 other package-descs for the same package name.
8980 (package-menu-describe-package): Pass the actual package-desc.
8981 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8982 works correctly.
8983 (package-desc-status): New function.
8984 (package-menu--refresh): New function, extracted
8985 from package-menu--generate.
8986 (package-menu--generate): Use it.
8987 (package-delete): Update package-alist.
8988 (package-menu-execute): Don't call package-initialize.
8989
8990 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8991 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8992 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8993 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8994 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8995 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8996
8bbdea0f
MR
89972013-06-25 Martin Rudalics <rudalics@gmx.at>
8998
8999 * window.el (window--state-get-1): Workaround for bug#14527.
9000 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9001
e82b0991
LMI
90022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9003
9004 * net/eww.el (eww-back-url): Implement the history by stashing all
9005 the data into a list.
d3f0f918 9006 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9007
c763842b
SM
90082013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9011 for values and use read--expression for expressions (bug#14710).
9012 (read-file-local-variable): Avoid setq.
9013 (read-file-local-variable-mode): Use minor-mode-list.
9014
bceff189
RW
90152013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9016
864c58ca 9017 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9018 for DOI URLs.
9019
45f431c6
RW
90202013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9021
864c58ca 9022 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9023 Update imenu-support when dialect changes.
9024
f42d8237
LL
90252013-06-25 Leo Liu <sdl.web@gmail.com>
9026
9027 * ido.el (ido-read-internal): Allow forward slash on windows.
9028
be549ce6
LMI
90292013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9030
9031 * net/eww.el (eww): Start of strings is \\`, not ^.
9032
71d4c19d
IK
90332013-06-24 Ivan Kanis <ivan@kanis.fr>
9034
5196f88a
IK
9035 * net/shr.el (shr-browse-url): Fix interactive spec.
9036
71d4c19d
IK
9037 * net/eww.el (eww): Add a trailing slash to domain names.
9038
ae36ca55
JB
90392013-06-24 Juanma Barranquero <lekktu@gmail.com>
9040
9041 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9042
0ebd92a3
LMI
90432013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9044
bdaa086b
LMI
9045 * net/shr.el (shr-browse-url): Use an external browser if given a
9046 prefix.
9047
c763842b 9048 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9049
b89fc156
IK
90502013-06-24 Ivan Kanis <ivan@kanis.fr>
9051
9052 * net/eww.el (eww): Work more correctly for file: URLs.
9053 (eww-detect-charset): Allow quoted charsets.
9054 (eww-yank-page-url): New command and keystroke.
9055
18eb4bca
DU
90562013-06-24 Daiki Ueno <ueno@gnu.org>
9057
9058 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9059 file name of gpg executable.
9060 (epg-context-program): New function.
9061 (epg-context-home-directory): New function.
9062 (epg-context-set-program): New function.
9063 (epg-context-set-home-directory): New function.
9064 (epg--start): Use `epg-context-program' instead of
9065 'epg-gpg-program'.
9066 (epg--list-keys-1): Likewise.
9067
6c6268c8
LL
90682013-06-24 Leo Liu <sdl.web@gmail.com>
9069
9070 * ido.el (ido-read-internal): Fix bug#14620.
9071
5e400cb3
JB
90722013-06-23 Juanma Barranquero <lekktu@gmail.com>
9073
9074 * faces.el (face-documentation): Simplify.
9075 (read-face-attribute, tty-find-type, x-resolve-font-name):
9076 Use `string-match-p'.
9077 (list-faces-display): Use `string-match-p'. Simplify.
9078 (face-spec-recalc): Check face to avoid face alias loops.
9079 (read-color): Use `string-match-p' and non-capturing parenthesis.
9080
f3f9606c
LMI
90812013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9082
9083 * net/shr.el (shr-rescale-image): Use the new
9084 :max-width/:max-height functionality.
9085
a3ca09b9
IK
90862013-06-23 Ivan Kanis <ivan@kanis.fr>
9087
9088 * net/eww.el (eww-search-prefix): New variable.
9089 (eww): Use it.
f865b474
IK
9090 (eww-external-browser): New variable.
9091 (eww-mode-map): New keystroke.
9092 (eww-browse-with-external-browser): New command.
a3ca09b9 9093
e854cfc7
IK
9094 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9095
18bb9e21
JB
90962013-06-23 Juanma Barranquero <lekktu@gmail.com>
9097
9098 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9099 Don't skip aligning the next header field when padding is 0;
9100 otherwise, field width is not respected unless the title is as
9101 wide as the field.
9102
5b165ade
SM
91032013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * emacs-lisp/package.el (package-el-version): Remove.
9106 (package-process-define-package): Fix inf-loop.
9107 (package-install): Allow symbols as arguments again.
9108
12adebe9
DG
91092013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9110
9111 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9112 add some more keyword-like methods.
9113 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9114
388573ee
JB
91152013-06-22 Juanma Barranquero <lekktu@gmail.com>
9116
9117 * bs.el (bs-buffer-show-mark): Make defvar-local.
9118 (bs-mode): Use setq-local.
9119
9120 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9121 (emacs-lock--try-unlocking): Make defvar-local.
9122
4582a01c 91232013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9124
2663dd23
GM
9125 * play/cookie1.el (cookie-apropos): Minor simplification.
9126
3d94f3ad
GM
9127 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9128
f72e2fdb
DG
91292013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9130
9131 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9132 `regexp-opt', it breaks the build during dumping.
9133
73eab938
DG
91342013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9135
c763842b
SM
9136 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9137 Highlight keyword-like methods on Kernel and Module with
73eab938 9138 font-lock-builtin-face.
5cf8176d
DG
9139 (auto-mode-alist): Consolidate different entries into one regexp
9140 and add more *file-s.
73eab938 9141
d26255f6
SB
91422013-06-21 Stephen Berman <stephen.berman@gmx.net>
9143
9144 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9145
9146 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9147 (diary-entry): Use it in the action of this button type instead of
9148 diary-goto-entry.
9149
9150 * calendar/todo-mode.el: New version.
9151 (todo-add-category): Append new category to end of file and give
9152 it the highest number, instead of putting it at the beginning and
9153 giving it 0. Incorporate noninteractive functionality.
9154 (todo-forward-category): Adapt to 1-based category numbering.
9155 Allow skipping over archived categories.
9156 (todo-backward-category): Derive from todo-forward-category.
9157 (todo-backward-item, todo-forward-item): Make noninteractive and
9158 delegate interactive part to new commands. Make sensitive to done items.
9159 (todo-categories): Make value an alist of category names and
9160 vectors of item counts.
9161 (todo-category-beg): Make a defconst.
9162 (todo-category-number): Use 1 instead of 0 as initial value.
9163 (todo-category-select): Make sensitive to overlays, optional item
9164 highlighting and done items.
9165 (todo-delete-item): Make sensitive to overlays and marked and done items.
9166 (todo-edit-item): Make sensitive to overlays and editing of
9167 date/time header optional. Add format checks.
9168 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9169 no-op if point is not on an item. Advertise using todo-edit-quit.
9170 (todo-edit-mode): Make sensitive to new format, font-locking, and
9171 multiple todo files.
9172 (todo-insert-item, todo-insert-item-here): Derive from
9173 todo-basic-insert-item and extend functionality.
9174 (todo-item-end, todo-item-start): Make sensitive to done items.
9175 (todo-item-string): Don't return text properties. Restore point.
9176 (todo-jump-to-category): Make sensitive to multiple todo files and
9177 todo archives. Use extended category completion.
9178 (todo-lower-item, todo-raise-item): Rename to *-priority and
9179 derive from todo-set-item-priority.
9180 (todo-mode): Derive from special-mode. Make sensitive to new
9181 format, font-locking and multiple todo files. Make read-only.
9182 (todo-mode-map): Don't suppress digit keys, so they can supply
9183 prefix arguments. Add many new key bindings.
9184 (todo-prefix): Insert as an overlay instead of file text.
9185 Change semantics from diary date expression to purely visual mark.
9186 (todo-print): Rename to todo-print-buffer. Make buffer display
9187 features printable. Remove option to restrict number of items
9188 printed. Add option to print to file.
9189 (todo-print-function): Rename to todo-print-buffer-function.
9190 (todo-quit): Extend to handle exiting new todo modes.
9191 (todo-remove-item): Make sensitive to overlays.
9192 (todo-save): Extend to buffers of filtered items.
9193 (todo-show): Make sensitive to done items, multiple todo files and
9194 new todo modes. Offer to convert legacy todo file before creating
9195 first new todo file.
9196 (todo-show-priorities): Rename to todo-top-priorities.
9197 Change semantics of value 0.
9198 (todo-top-priorities): Rename to todo-filter-top-priorities,
9199 derive from todo-filter-items and extend functionality.
9200 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9201 and extend functionality to other types of filtered items.
9202 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9203 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9204 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9205 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9206 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9207 (todo-edit-mode-hook, todo-entry-prefix-function)
9208 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9209 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9210 (todo-initials, todo-insert-threshold, todo-item-string-start)
9211 (todo-line-string, todo-menu, todo-mode-hook)
9212 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9213 (todo-print-priorities, todo-remove-separator)
9214 (todo-save-top-priorities-too, todo-string-count-lines)
9215 (todo-string-multiline-p, todo-time-string-format)
9216 (todo-tmp-buffer-name): Remove.
9217 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9218 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9219 (todo-edit-category-diary-inclusion)
9220 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9221 (todo-edit-file, todo-edit-item-date-day)
9222 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9223 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9224 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9225 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9226 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9227 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9228 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9229 (todo-filter-top-priorities-multifile, todo-find-archive)
9230 (todo-find-filtered-items-file, todo-go-to-source-item)
9231 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9232 (todo-jump-to-archive-category, todo-lower-category)
9233 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9234 (todo-move-category, todo-move-item, todo-next-button)
9235 (todo-next-item, todo-padded-string, todo-powerset)
9236 (todo-previous-button, todo-previous-item)
9237 (todo-print-buffer-to-file, todo-raise-category)
9238 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9239 (todo-set-category-number, todo-set-item-priority)
9240 (todo-set-top-priorities-in-category)
9241 (todo-set-top-priorities-in-file, todo-show-categories-table)
9242 (todo-sort-categories-alphabetically-or-numerically)
9243 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9244 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9245 (todo-toggle-item-header, todo-toggle-item-highlighting)
9246 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9247 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9248 (todo-unarchive-items, todo-unmark-category): New commands.
9249 (todo-absolute-file-name, todo-add-to-buffer-list)
9250 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9251 (todo-basic-insert-item, todo-category-completions)
9252 (todo-category-number, todo-category-string-matcher-1)
9253 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9254 (todo-check-format, todo-clear-matches)
9255 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9256 (todo-current-category, todo-date-string-matcher)
9257 (todo-define-insertion-command, todo-diary-expired-matcher)
9258 (todo-diary-goto-entry, todo-diary-item-p)
9259 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9260 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9261 (todo-done-item-section-p, todo-done-separator)
9262 (todo-done-string-matcher, todo-files, todo-filter-items)
9263 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9264 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9265 (todo-insert-category-line, todo-insert-item-from-calendar)
9266 (todo-insert-sort-button, todo-insert-with-overlays)
9267 (todo-insertion-command-name, todo-insertion-key-bindings)
9268 (todo-label-to-key, todo-longest-category-name-length)
9269 (todo-make-categories-list, todo-mode-external-set)
9270 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9271 (todo-modes-set-3, todo-multiple-filter-files)
9272 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9273 (todo-read-category, todo-read-date, todo-read-dayname)
9274 (todo-read-file-name, todo-read-time)
9275 (todo-reevaluate-category-completions-files-defcustom)
9276 (todo-reevaluate-default-file-defcustom)
9277 (todo-reevaluate-filelist-defcustoms)
9278 (todo-reevaluate-filter-files-defcustom)
9279 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9280 (todo-reset-done-separator, todo-reset-done-separator-string)
9281 (todo-reset-done-string, todo-reset-global-current-todo-file)
9282 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9283 (todo-reset-prefix, todo-set-categories)
9284 (todo-set-date-from-calendar, todo-set-show-current-file)
9285 (todo-set-top-priorities, todo-short-file-name)
9286 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9287 (todo-total-item-counts, todo-update-buffer-list)
9288 (todo-update-categories-display, todo-update-categories-sexp)
9289 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9290 New functions.
9291 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9292 New major modes.
9293 (todo-categories, todo-display, todo-edit, todo-faces)
9294 (todo-filtered): New defgroups.
9295 (todo-archived-only, todo-button, todo-category-string, todo-date)
9296 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9297 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9298 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9299 (todo-add-item-if-new-category, todo-always-add-time-string)
9300 (todo-categories-align, todo-categories-archived-label)
9301 (todo-categories-category-label, todo-categories-diary-label)
9302 (todo-categories-done-label, todo-categories-number-separator)
9303 (todo-categories-todo-label, todo-categories-totals-label)
9304 (todo-category-completions-files, todo-completion-ignore-case)
9305 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9306 (todo-done-separator-string, todo-done-string)
9307 (todo-files-function, todo-filter-done-items, todo-filter-files)
9308 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9309 (todo-initial-category, todo-initial-file, todo-item-mark)
9310 (todo-legacy-date-time-regexp, todo-mode-line-function)
9311 (todo-nondiary-marker, todo-number-prefix)
9312 (todo-print-buffer-function, todo-show-current-file)
9313 (todo-show-done-only, todo-show-first, todo-show-with-done)
9314 (todo-skip-archived-categories, todo-top-priorities-overrides)
9315 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9316 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9317 New defcustoms.
9318 (todo-category-done, todo-date-pattern, todo-date-string-start)
9319 (todo-diary-items-buffer, todo-done-string-start)
9320 (todo-filtered-items-buffer, todo-item-start)
9321 (todo-month-abbrev-array, todo-month-name-array)
9322 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9323 (todo-top-priorities-buffer): New defconsts.
9324 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9325 (todo-categories-with-marks, todo-category-string-face)
9326 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9327 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9328 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9329 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9330 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9331 (todo-font-lock-keywords, todo-global-current-todo-file)
9332 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9333 (todo-insertion-commands-args)
9334 (todo-insertion-commands-args-genlist)
9335 (todo-insertion-commands-names, todo-insertion-map)
9336 (todo-key-bindings-t, todo-key-bindings-t+a)
9337 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9338 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9339 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9340 (todo-visited): New variables.
9341
cad5d1cb
GM
93422013-06-21 Glenn Morris <rgm@gnu.org>
9343
9344 * play/cookie1.el (cookie-apropos): Add optional display argument.
9345 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9346 (psychoanalyze-pinhead): Use cookie-doctor.
9347
9e277302
JB
93482013-06-21 Juanma Barranquero <lekktu@gmail.com>
9349
9350 * emacs-lisp/package.el (tar-get-file-descriptor)
9351 (tar--extract): Declare.
9352
c5b0993e
EW
93532013-06-21 Eduard Wiebe <usenet@pusto.de>
9354
9355 Extend flymake's warning predicate to be a function (bug#14217).
9356 * progmodes/flymake.el (flymake-warning-predicate): New.
9357 (flymake-parse-line): Use it.
9358 (flymake-warning-re): Make obsolete alias to
9359 `flymake-warning-predicate'.
9360
a7d2d465
SM
93612013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9364 (package-obsolete-list): Remove.
9365 (package-activate): Remove min-version argument. Add `force' argument.
9366 Adjust to new package-alist format.
9367 (package-mark-obsolete): Remove.
9368 (package-unpack): Force reload of the package's autoloads.
9369 (package-installed-p): Check builtins if the installed package is not
9370 recent enough.
9371 (package-initialize): Don't reset package-obsolete-list.
9372 Don't specify which package version to activate.
9373 (package-process-define-package, describe-package-1)
9374 (package-menu--generate): Adjust to new package-alist format.
9375
cedf5c9d
JB
93762013-06-21 Juanma Barranquero <lekktu@gmail.com>
9377
9378 * allout-widgets.el (allout-widgets-mode-off)
9379 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9380 (allout-widgets-post-command-business)
9381 (allout-widgets-after-copy-or-kill-function)
9382 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9383 (allout-decorate-item-and-context)
9384 (allout-graphics-modification-handler): Fix typos in docstrings.
9385 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9386
9387 * cmuscheme.el (scheme-start-file): Doc fix.
9388 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9389 (scheme-input-filter): Use `string-match-p'.
9390
9391 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9392
9393 * dired-x.el: Use Dired consistently in docstrings.
9394
9395 * dired.el: Use Dired consistently in docstrings.
9396 (dired-readin, dired-mode): Use `setq-local'.
9397 (dired-switches-alist): Make defvar-local.
9398 (dired-buffers-for-dir): Use `zerop'.
9399 (dired-safe-switches-p, dired-switches-escape-p)
9400 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9401 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9402 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9403 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9404 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9405 (dired-toggle-marks, dired-mark-files-containing-regexp)
9406 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9407 (dired-flag-auto-save-files, dired-flag-backup-files):
9408 Use `looking-at-p'.
9409 (dired-mark-files-regexp, dired-build-subdir-alist):
9410 Use `string-match-p', `looking-at-p'.
9411
9412 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9413 (direct-print-region-helper): Use `string-match-p'.
9414
aed838b5
LL
94152013-06-21 Leo Liu <sdl.web@gmail.com>
9416
cedf5c9d
JB
9417 * comint.el (comint-redirect-results-list-from-process):
9418 Fix infinite loop.
aed838b5 9419
d80a808f
LMI
94202013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9421
9422 * net/eww.el (eww-update-header-line-format): Quote % characters.
9423
e7a526e3
GM
94242013-06-21 Glenn Morris <rgm@gnu.org>
9425
9426 * play/cookie1.el (cookie): New custom group.
9427 (cookie-file): New option.
9428 (cookie-check-file): New function.
9429 (cookie): Make it interactive. Make start and end messages optional.
9430 Interactively, display the result. Default to cookie-file.
9431 (cookie-insert): Default to cookie-file.
9432 (cookie-snarf): Make start and end messages optional.
9433 Default to cookie-file. Use with-temp-buffer.
9434 (cookie-read): Rename from read-cookie.
9435 Make start and end messages optional. Default to cookie-file.
9436 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9437 Do not autoload it.
e7a526e3
GM
9438 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9439 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9440
62efb35e
LL
94412013-06-21 Leo Liu <sdl.web@gmail.com>
9442
9443 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9444
21e3f963
GM
94452013-06-21 Glenn Morris <rgm@gnu.org>
9446
9447 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9448
fd846ab4
SM
94492013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9450 Daniel Hackney <dan@haxney.org>
9451
9452 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9453 Consolidate the single-file vs tarball code.
9454 (package-desc-suffix): New function.
9455 (package-desc-full-name): Don't bother inlining it.
9456 (package-load-descriptor): Return the new package-desc.
9457 (package-mark-obsolete): Remove unused arg `package'.
9458 (package-unpack): Make it work for single files as well.
9459 Make it update package-alist.
9460 (package--make-autoloads-and-stuff): Rename from
9461 package--make-autoloads-and-compile. Don't compile any more.
9462 (package--compile): New function.
9463 (package-generate-description-file): New function, extracted from
9464 package-unpack-single.
9465 (package-unpack-single): Remove.
9466 (package--with-work-buffer): Add indentation and debugging info.
9467 (package-download-single): Remove.
9468 (package-install-from-archive): Rename from package-download-tar, make
9469 it take a pkg-desc, and make it work for single files as well.
9470 (package-download-transaction): Simplify.
9471 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9472 external tar program.
9473 (package-install-from-buffer): Remove `pkg-desc' argument.
9474 Use package-tar-file-info for tar-mode buffers.
9475 (package-install-file): Simplify accordingly.
9476 (package-archive-base): Change to take a pkg-desc.
9477 * tar-mode.el (tar--check-descriptor): New function, extracted from
9478 tar-get-descriptor.
9479 (tar-get-descriptor): Use it.
9480 (tar-get-file-descriptor): New function.
9481 (tar--extract): New function, extracted from tar-extract.
9482 (tar--extract): Use it.
9483 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9484 case the summary uses non-ascii. Adjust to new calling convention of
9485 package-tar-file-info.
9486
b7deae5e
LL
94872013-06-21 Leo Liu <sdl.web@gmail.com>
9488
fd846ab4
SM
9489 * comint.el (comint-redirect-results-list-from-process):
9490 Fix random delay. (Bug#14681)
b7deae5e 9491
7a65a0b2
JB
94922013-06-21 Juanma Barranquero <lekktu@gmail.com>
9493
9494 * profiler.el (profiler-format-number): Use log, not log10.
9495
1493c2af
JB
94962013-06-20 Juanma Barranquero <lekktu@gmail.com>
9497
9498 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9499
aff6371e
SM
95002013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9503 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9504 yet available.
9505 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9506 (AUTOGENEL): ... here.
9507 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9508 (cl--defsubst-expand): Use it.
9509
89561f72
PE
95102013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9511
9512 * subr.el (log10): Move here from C code, and declare as obsolete.
9513 All uses of (log10 X) replaced with (log X 10).
9514
47199123
JB
95152013-06-20 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9518 Declare with `defvar-local'.
9519 (tabulated-list-use-header-line, tabulated-list-entries)
9520 (tabulated-list-padding, tabulated-list-printer)
9521 (tabulated-list-sort-key): Declare with `defvar-local'.
9522 (tabulated-list-init-header, tabulated-list-print-fake-header):
9523 Use `setq-local'.
9524
4a172eab
MA
95252013-06-20 Michael Albinus <michael.albinus@gmx.de>
9526
47199123
JB
9527 * arc-mode.el (archive-mode): Add `archive-write-file' to
9528 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9529
5fc0acc0
JB
95302013-06-20 Juanma Barranquero <lekktu@gmail.com>
9531
d5b27848
JB
9532 * cus-edit.el (custom-commands): Fix typos.
9533 (custom-display): Fix tooltip text.
9534 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9535 Fix typos in docstrings.
9536 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9537 (custom-unlispify-menu-entry, custom-magic-value-create)
9538 (custom-add-see-also, custom-group-value-create): Use ?\s.
9539 (custom-guess-type, customize-apropos, editable-field)
9540 (custom-face-value-create): Use `string-match-p'.
9541 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9542
9543 * custom.el (custom-load-symbol): Use `string-match-p'.
9544
a5c581d8
JB
9545 * ansi-color.el: Convert to lexical binding.
9546 (ansi-colors): Fix URL.
9547 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9548 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9549 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9550
970ad972
G
95512013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9552
9553 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9554
9555 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9556
95572013-06-19 Tom Tromey <tromey@redhat.com>
9558
9559 * net/eww.el (eww-top-url): Remove.
9560 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9561 (eww-render): Set new variables. Don't set eww-top-url.
9562 (eww-handle-link): Handle "prev", "home", and "contents".
9563 Downcase the rel text.
9564 (eww-top-url): Choose best top URL.
9565
95662013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9567
9568 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9569 relying in widget.el. Using widget.el leads to too many
9570 user interface inconsistencies.
9571 (eww-self-insert): Implement entering commands in text fields.
9572 (eww-process-text-input): New function to make text input field editing
9573 work.
9574 (eww-submit): Rewrite to use the new-style form methods.
9575 (eww-select-display): Display the correct selected item.
9576 (eww-change-select): Implement changing the select value.
9577 (eww-toggle-checkbox): Implement radio/checkboxes.
9578 (eww-update-field): Fix compilation error.
9579 (eww-tag-textarea): Implement <textarea>.
9580
9581 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9582 we don't shadow mode-specific bindings.
9583
9584 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9585 nothing to push.
9586
9587 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9588
4582a01c 95892013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9590
9591 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9592
15b263dc
MA
95932013-06-19 Michael Albinus <michael.albinus@gmx.de>
9594
9595 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9596 not needed.
9597
9598 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9599
8f5297f7
LMI
96002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9601
9602 * net/browse-url.el (browse-url-browser-function):
9603 `eww-browse-url' has the right calling signature, `eww' does not.
9604
011c4552
GM
96052013-06-19 Glenn Morris <rgm@gnu.org>
9606
2285bd27
GM
9607 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9608 Only eval autoloaded macros.
9609 (byte-compile-autoload): Only give the macro warning for macros.
9610
1d653303
GM
9611 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9612 (ps-underlined-faces): Declare.
9613
bdd779ec
GM
9614 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9615 (speedbar-add-supported-extension): Declare.
9616
011c4552
GM
9617 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9618 Don't include a date stamp in the header of the generated file;
9619 it leads to needless differences between output files.
9620
e59dfb0e
MA
96212013-06-19 Michael Albinus <michael.albinus@gmx.de>
9622
c763842b
SM
9623 * net/secrets.el (secrets-struct-secret-content-type):
9624 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9625 Some servers do not offer introspection.
e59dfb0e 9626
102626e2
SM
96272013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * electric.el (electric-pair-mode): Improve interaction with
9630 electric-layout-mode.
9631 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9632 (electric-pair-syntax): Use text-mode-syntax-table in comments
9633 and strings.
9634 (electric-pair--insert): New function.
9635 (electric-pair-post-self-insert-function): Use it and
9636 electric--after-char-pos.
9637
ad528125
LL
96382013-06-19 Leo Liu <sdl.web@gmail.com>
9639
9640 * progmodes/octave.el (octave-help): Fix regexp.
9641
924d6997
G
96422013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9643
9644 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9645 (shr-table-horizontal-line): Allow nil as a value, and change the
9646 default.
9647 (shr-insert-table-ruler): Respect the nil value.
9648
96492013-06-18 Tom Tromey <tromey@barimba>
9650
9651 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9652 New defvars.
9653 (eww-open-file): New defun.
9654 (eww-render): Initialize new variables.
9655 (eww-display-html): Handle "link" and "a".
9656 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9657 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9658 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9659 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9660 New defuns.
924d6997 9661
d1bbba4f
DG
96622013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9663
9664 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9665 Distinguish ternary operator tokens from slash symbol and slash
9666 char literal.
9667
14dd22d2
JB
96682013-06-18 Juanma Barranquero <lekktu@gmail.com>
9669
9670 Convert symbol prettification into minor mode and global minor mode.
9671
9672 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9673 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9674 (prettify-symbols--keywords): Rename from
9675 `prog-prettify-symbols-alist' and make a local defvar.
9676 (prettify-symbols--compose-symbol): Rename from
9677 `prog--prettify-font-lock-compose-symbol'.
9678 (prettify-symbols--make-keywords): Rename from
9679 `prog-prettify-font-lock-symbols-keywords' and simplify.
9680 (prog-prettify-install): Remove.
9681 (prettify-symbols-mode): New minor mode, based on
9682 `prog-prettify-install'.
9683 (turn-on-prettify-symbols-mode): New function.
9684 (global-prettify-symbols-mode): New globalized minor mode.
9685
9686 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9687 * progmodes/cfengine.el (cfengine3-mode):
9688 * progmodes/perl-mode.el (perl-mode): Don't call
9689 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9690
292c880c
JL
96912013-06-18 Juri Linkov <juri@jurta.org>
9692
9693 * files-x.el (modify-file-local-variable-message): New function.
9694 (modify-file-local-variable)
9695 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9696 and call `modify-file-local-variable-message' when it's non-nil.
9697 (add-file-local-variable, delete-file-local-variable)
9698 (add-file-local-variable-prop-line)
9699 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9700 and use it. (Bug#9820)
9701
0950aa27
JL
97022013-06-18 Juri Linkov <juri@jurta.org>
9703
9704 * emulation/vi.el (vi-shell-op):
9705 * emulation/vip.el (vip-execute-com, ex-command):
9706 * emulation/viper-cmd.el (viper-exec-bang):
9707 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9708 the call of `shell-command-on-region'. (Bug#14637)
9709
9710 * simple.el (shell-command-on-region): Doc fix.
9711
8fbcca16
SM
97122013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9713
9714 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9715 (bug#14633).
9716
dd7426ea
GM
97172013-06-18 Glenn Morris <rgm@gnu.org>
9718
4ba54f7d
GM
9719 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9720
dd7426ea
GM
9721 * newcomment.el (comment-search-forward, comment-search-backward):
9722 Doc fix. (Bug#14376)
9723
58aa805b
JB
97242013-06-18 Juanma Barranquero <lekktu@gmail.com>
9725
9726 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9727 (buffer-face-mode-invoke): Doc fix.
9728
9a08a617
MM
97292013-06-18 Matthias Meulien <orontee@gmail.com>
9730
9731 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9732 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9733
f2f426ca
GM
97342013-06-18 Glenn Morris <rgm@gnu.org>
9735
9445f99b
GM
9736 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9737 Replace obsolete function generic-make-keywords with its expansion.
9738
e0df2d14
GM
9739 * progmodes/python.el (ffap-alist): Declare.
9740
f2f426ca
GM
9741 * textmodes/reftex.el (bibtex-mode-map): Declare.
9742
f7f9a720
SM
97432013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9746 (package-unpack, package-unpack-single): Return the pkg-dir.
9747 (package-download-transaction): Use it to update package-alist.
9748
57ff04e0
LMI
97492013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9750
9751 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9752 possible choice.
9753
c048c022
JL
97542013-06-17 Juri Linkov <juri@jurta.org>
9755
9756 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9757
b5bcaee5
DG
97582013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9759
a020afb9
JB
9760 * emacs-lisp/package.el (package-load-descriptor):
9761 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9762 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9763
551e07e5
JB
97642013-06-17 Juanma Barranquero <lekktu@gmail.com>
9765
9766 * startup.el (command-line): Expand package name returned by
9767 `package--description-file' (bug#14639).
9768
d363bffb
DG
97692013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9770
9771 * emacs-lisp/package.el (package-load-descriptor): Do not call
9772 `emacs-lisp-mode', just use its syntax table.
9773
f612933b
JB
97742013-06-17 Juanma Barranquero <lekktu@gmail.com>
9775
9776 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9777 `font-lock-extra-managed-props' if any prettifying keyword is added.
9778 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9779 (prog-mode): Use `setq-local'.
9780
db3b7db5
SM
97812013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9782
9783 * international/characters.el (standard-case-table): Set syntax of ?»
9784 and ?« to punctuation.
9785
f3d674df
JB
97862013-06-16 Juanma Barranquero <lekktu@gmail.com>
9787
9788 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9789 Save relevant match data before calling `syntax-ppss' (bug#14595).
9790
31489a32
JL
97912013-06-15 Juri Linkov <juri@jurta.org>
9792
9793 * files-x.el (modify-file-local-variable-prop-line): Add local
9794 variables to the end of the existing comment on the first line.
9795 Use `file-auto-mode-skip' to skip interpreter magic line,
9796 and also skip XML declaration.
9797
66bd25ab
SM
97982013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * startup.el (package--builtin-versions): New var.
9801 (package-subdirectory-regexp): Remove.
9802 (package--description-file): Hard code its value instead.
9803
9804 * emacs-lisp/package.el: Don't activate packages older than builtin.
9805 (package-obsolete-list): Rename from package-obsolete-alist, and make
9806 it into a simple list of package-desc.
9807 (package-strip-version): Remove.
9808 (package-built-in-p): Use package--builtin-versions.
9809 (package-mark-obsolete): Simplify.
9810 (package-process-define-package): Mark it obsolete if older than the
9811 builtin version.
9812 (package-handle-response): Use line-end-position.
9813 (package-read-archive-contents, package--download-one-archive):
9814 Simplify.
9815 (package--add-to-archive-contents): Skip if older than the builtin or
9816 installed version.
9817 (package-menu-describe-package): Fix last change.
9818 (package-list-unversioned): New var.
9819 (package-menu--generate): Use it.
9820
9821 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9822 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9823 (autoload-builtin-package-versions): New variable.
9824 (autoload-generate-file-autoloads): Use them.
9825 Remove the list of autoloaded functions/macros from the
9826 (autoload...) comments.
9827
9828 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9829
9583ec36
EZ
98302013-06-15 Eli Zaretskii <eliz@gnu.org>
9831
9832 * simple.el (line-move-partial): Don't jump to the next screen
9833 line as soon as it becomes visible. Instead, continue enlarging
9834 the vscroll until the portion of a tall screen line that's left on
9835 display is about the height of the frame's default font.
9836 (Bug#14567)
9837
f0100d8a
GM
98382013-06-15 Glenn Morris <rgm@gnu.org>
9839
b86a85ca
GM
9840 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9841 compilation-error-regexp-alist void, or local while let-bound.
9842
f0100d8a
GM
9843 * progmodes/make-mode.el (makefile-mode-syntax-table):
9844 Treat "=" as punctuation. (Bug#14614)
9845
05e7ce90
JB
98462013-06-15 Juanma Barranquero <lekktu@gmail.com>
9847
9848 * help-fns.el (describe-variable):
9849 Add extra line for permanent-local variables.
9850
12e5e86e
SH
98512013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9852
9853 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9854 Add export, import, library. (Bug#9164)
9855 (library): Set indent function.
9856
230dcbaf
GM
98572013-06-14 Glenn Morris <rgm@gnu.org>
9858
9859 * term/xterm.el (xterm--query):
9860 Stop after first matching handler. (Bug#14615)
9861
e36b2d20 98622013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9863
9864 Add support for dired in saveplace.
9865 * dired.el (dired-initial-position-hook): New variable.
9866 (dired-initial-position): Call hook to place cursor position.
9867 * saveplace.el (save-place-to-alist): Add dired position.
9868 (save-place-dired-hook): New function.
9869
0b31660d
SM
98702013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9871
bf1e6ae8
SM
9872 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9873 through a symbol rather than letrec.
9874
1b8dff23
SM
9875 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9876 (package-desc): Add `dir' field.
9877 (package-desc-full-name): New function.
9878 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9879 (package-maybe-load-descriptor): Remove.
9880 (package-load-all-descriptors): Just call package-load-descriptor.
9881 (package--disabled-p): New function.
9882 (package-desc-vers, package-desc-doc): Remove aliases.
9883 (package--dir): Remove function.
9884 (package-activate): Check if a package is disabled.
9885 (package-process-define-package): New function, extracted from
9886 define-package.
9887 (define-package): Turn into a place holder.
9888 (package-unpack-single, package-tar-file-info):
9889 Use package--description-file.
9890 (package-compute-transaction): Use package--disabled-p.
9891 (package-download-transaction): Don't call
9892 package-maybe-load-descriptor since they're all loaded anyway.
9893 (package-install): Change argument to be a pkg-desc.
9894 (package-delete): Use a single pkg-desc argument.
9895 (describe-package-1): Use package-desc-dir instead of package--dir.
9896 Use package-desc property instead of package-symbol.
9897 (package-install-button-action): Adjust accordingly.
9898 (package--push): Rewrite.
9899 (package-menu--print-info): Adjust accordingly. Change the ID format
9900 to be a pkg-desc.
9901 (package-menu-describe-package, package-menu-get-status)
9902 (package-menu--find-upgrades, package-menu-mark-upgrades)
9903 (package-menu-execute, package-menu--name-predicate):
9904 Adjust accordingly.
9905 * startup.el (package--description-file): New function.
9906 (command-line): Use it.
9907 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9908 Use package-desc-version.
9909
0b31660d
SM
9910 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9911 (byte-compile-preprocess): Use it.
9912 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9913 can't quite recognize.
9914 (byte-compile-add-to-list): Remove.
9915 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9916 (cconv-closure-convert): Add assertion.
9917
9918 * emacs-lisp/map-ynp.el: Use lexical-binding.
9919 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9920 Factor out some repeated code.
9921
de0503df
SM
99222013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * subr.el (with-eval-after-load): New macro.
9925 (eval-after-load): Allow form to be a function.
9926 take advantage of lexical-binding.
9927 (do-after-load-evaluation): Use dolist and adjust to new format.
9928 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9929
bc5c8c5a
JL
99302013-06-13 Juri Linkov <juri@jurta.org>
9931
9932 * replace.el (perform-replace): Display "symbol " and other search
9933 modes from `isearch-message-prefix' in the *Help* buffer.
9934
9935 * isearch.el (isearch-query-replace): Add " symbol" and other
9936 possible search modes from `isearch-message-prefix' to the prompt.
9937 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9938 when reading a regexp to collect.
9939
a22289f7
JL
99402013-06-13 Juri Linkov <juri@jurta.org>
9941
9942 * isearch.el (word-search-regexp): Match whitespace if the search
9943 string begins or ends in whitespace. The LAX arg is applied to
9944 both ends of the search string. Use `regexp-quote' and explicit
9945 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9946 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9947 boundaries are replaced with symbol boundaries, and characters
9948 between symbols match non-word non-symbol syntax. (Bug#14602)
9949
cb89acab
JL
99502013-06-13 Juri Linkov <juri@jurta.org>
9951
9952 * isearch.el (isearch-del-char): Don't exceed the length of
9953 `isearch-string' by the prefix arg. (Bug#14563)
9954
6e8cfc81
JL
99552013-06-13 Juri Linkov <juri@jurta.org>
9956
9957 * isearch.el (isearch-yank-word, isearch-yank-line)
9958 (isearch-char-by-name, isearch-quote-char)
9959 (isearch-printing-char, isearch-process-search-char):
9960 Add optional count prefix arg. (Bug#14563)
9961
9962 * international/isearch-x.el
9963 (isearch-process-search-multibyte-characters):
9964 Add optional count prefix arg.
9965
c23d55f4
VS
99662013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9969 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9970 lexical-binding.
9971
99722013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9973
9974 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9975
ba947bc4
GM
99762013-06-13 Glenn Morris <rgm@gnu.org>
9977
8baeb37a
GM
9978 * startup.el (tty-handle-args):
9979 Don't just discard "--" and anything after. (Bug#14608)
9980
ba947bc4
GM
9981 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9982
9abefce4
MA
99832013-06-13 Michael Albinus <michael.albinus@gmx.de>
9984
9985 Implement changes in Secret Service API. Make it backward compatible.
9986 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9987 (secrets-create-item): Use it. Prefix properties with interface.
9988
5755011f
MH
99892013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9990
9991 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9992 (term-emulate-terminal): Respect term-suppress-hard-newline.
9993
1261d2da
S
99942013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9995
9996 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9997 Only remove a `thumb-file' overlay. (Bug#14548)
9998
868490bb
GJ
99992013-06-12 Grégoire Jadi <daimrod@gmail.com>
10000
10001 * mail/reporter.el (reporter-submit-bug-report):
10002 Handle missing package-name. (Bug#14600)
10003
79d7167f
TH
100042013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10005
10006 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10007 (reftex-citation-prompt, reftex-default-bibliography)
10008 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10009 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10010 (reftex-bib-sort-author, reftex-bib-sort-year)
10011 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10012 (reftex-extract-bib-entries-from-thebibliography)
10013 (reftex-get-bibkey-default, reftex-get-bib-names)
10014 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10015 (reftex-format-bib-entry, reftex-parse-bibitem)
10016 (reftex-format-bibitem, reftex-do-citation)
10017 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10018 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10019 (reftex-insert-bib-matches, reftex-format-citation)
10020 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10021 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10022 existing comments into docstrings.
10023
5f9dbd7a
XF
100242013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10025
10026 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10027
94df41ab
AS
100282013-06-12 Andreas Schwab <schwab@suse.de>
10029
10030 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10031 for auto-save files.
10032
a7f3fecc
GM
100332013-06-12 Glenn Morris <rgm@gnu.org>
10034
001809f6
GM
10035 * ido.el (ido-delete-ignored-files): Remove.
10036 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10037 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10038
834b5ded
EL
100392013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10040
08c73ed2
EL
10041 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10042
834b5ded
EL
10043 * ido.el (ido-delete-ignored-files): New function,
10044 split from ido-make-file-list-1.
10045 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10046 (ido-make-file-list-1): Use ido-delete-ignored-files.
10047
daabf15a
LL
100482013-06-12 Leo Liu <sdl.web@gmail.com>
10049
10050 * progmodes/octave.el (inferior-octave-startup)
10051 (inferior-octave-completion-table)
10052 (inferior-octave-track-window-width-change)
10053 (octave-eldoc-function-signatures, octave-help)
10054 (octave-find-definition): Use single quoted strings.
10055 (inferior-octave-startup-args): Change default value.
10056 (inferior-octave-startup): Do not hard code "-i" and
10057 "--no-line-editing".
10058 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10059 (inferior-octave-directory-tracker): Use it.
10060 (octave-goto-function-definition): Robustify.
10061 (octave-help): Support highlighting operators in 'See also'.
10062 (octave-find-definition): Find subfunctions only in Octave mode.
10063
cf4e5178
SM
100642013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10065
10066 * help-fns.el (help-fns--compiler-macro): If the handler function is
10067 named, then put a link to it.
10068 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10069 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10070 (cl-typep): Use it.
10071 (cl-eval-when): Simplify debug spec.
10072 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10073 compiler-macro function instead of setting `compiler-macro-file'.
10074
99c81280 100752013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10076
10077 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10078 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10079
f56be016
SM
100802013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10081 Daniel Hackney <dan@haxney.org>
10082
10083 First part of Daniel Hackney's patch to package.el.
10084 * emacs-lisp/package.el: Use defstruct.
10085 (package-desc): New, main struct.
10086 (package--bi-desc, package--ac-desc): New structs, used to describe the
10087 format in external files.
10088 (package-desc-vers): Replace with package-desc-version accessor.
10089 (package-desc-doc): Replace with package-desc-summary accessor.
10090 (package-activate-1): Remove `package' arg since the pkg-vec now
10091 includes the name.
10092 (define-package): Use package-desc-from-define.
10093 (package-unpack-single): Change file-name arg to be a symbol.
10094 (package--add-to-archive-contents): Use package-desc-create and new
10095 accessor functions to package--ac-desc.
10096 (package-buffer-info, package-tar-file-info): Return a package-desc.
10097 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10098 arg to be a package-desc.
10099 (package-install-file): Adjust accordingly. Use \' to match EOS.
10100 (package--from-builtin): New function.
10101 (describe-package-1, package-menu--generate): Use it.
10102 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10103 (package-generate-autoloads): Idem and return the name of the file.
10104 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10105 Change pkg-info arg to be a package-desc.
10106 Use package-make-ac-desc.
10107 (package-upload-file): Use \' to match EOS.
10108 * finder.el (finder-compile-keywords): Use package-make-builtin.
10109
31119d63
SM
101102013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10111
931a2762
SM
10112 * vc/vc.el (vc-deduce-fileset): Change error message.
10113 (vc-read-backend): New function.
10114 (vc-next-action): Use it.
10115
5a3eb0c6
SM
10116 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10117
e3eb1bb7
SM
10118 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10119 (prolog-font-lock-keywords): Use regexp-opt instead.
10120 Don't manually highlight strings.
10121 (prolog-mode-variables): Simplify comment-start-skip.
10122 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10123
31119d63
SM
10124 * emacs-lisp/generic.el (generic--normalise-comments)
10125 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10126 (generic-mode-set-comments): Use them.
10127 (generic-bracket-support): Use setq-local.
10128 (generic-make-keywords-list): Declare obsolete.
10129
7de135d0
GM
101302013-06-11 Glenn Morris <rgm@gnu.org>
10131
10132 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10133 Prettify after setting font-lock-defaults. (Bug#14574)
10134
fa6bc6fd
JB
101352013-06-11 Juanma Barranquero <lekktu@gmail.com>
10136
10137 * replace.el (query-replace, occur-read-regexp-defaults-function)
10138 (replace-search):
10139 * subr.el (declare-function, number-sequence, local-set-key)
10140 (substitute-key-definition, locate-user-emacs-file)
10141 (with-silent-modifications, split-string, eval-after-load):
10142 Fix typos, remove unneeded backslashes and reflow some docstrings.
10143
cf1f9b9a
SM
101442013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10147 default for Elisp files.
10148
56602a4b
GM
101492013-06-11 Glenn Morris <rgm@gnu.org>
10150
10151 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10152 although define-derived-mode was doing this anyway. (Bug#14583)
10153
30ae0b2c
JB
101542013-06-10 Juanma Barranquero <lekktu@gmail.com>
10155
10156 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10157 Fix make-variable-buffer-local call to refer to the correct variable.
10158
fa472906
AG
101592013-06-10 Aidan Gauland <aidalgol@amuri.net>
10160
10161 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10162 (eshell-visual-subcommands, eshell-visual-options):
10163 Add summary line to docstrings. Add cross-references.
fa472906 10164
ff4871b9
GM
101652013-06-10 Glenn Morris <rgm@gnu.org>
10166
10167 * epa.el (epa-read-file-name): New function. (Bug#14510)
10168 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10169
04fcf1b0
AG
101702013-06-09 Aidan Gauland <aidalgol@amuri.net>
10171
10172 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10173 output redirection to be ignored with visual commands.
10174
88b00caa
AG
101752013-06-09 Aidan Gauland <aidalgol@amuri.net>
10176
10177 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10178 (eshell-term-initialize): Move long lambda to separate function
10179 eshell-visual-command-p.
e7b41c4c
JB
10180 * eshell/em-dirs.el (eshell-dirs-initialise):
10181 * eshell/em-script.el (eshell-script-initialize):
10182 Add missing #' to lambda.
88b00caa 10183
fda74125
LL
101842013-06-08 Leo Liu <sdl.web@gmail.com>
10185
10186 * progmodes/octave.el (octave-add-log-current-defun): New function.
10187 (octave-mode): Set add-log-current-defun-function.
10188 (octave-goto-function-definition): Do not move point if not found.
10189 (octave-find-definition): Enhance to try subfunctions first.
10190
467f3b33
GM
101912013-06-08 Glenn Morris <rgm@gnu.org>
10192
10193 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10194 (byte-compile-backward-char, byte-compile-backward-word):
10195 Improve previous change, to handle non-explicit nil.
10196
544badc3
SM
101972013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10200 (smie--opener/closer-at-point): New function.
10201 (smie--matching-block-data): Use it. Don't match from right after an
10202 opener or right before a closer. Obey smie-blink-matching-inners.
10203 Don't signal a mismatch for repeated inners like "switch..case..case".
10204
a175bf33
LL
102052013-06-07 Leo Liu <sdl.web@gmail.com>
10206
10207 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10208 to t. (Bug#14303)
ce8209d4
LL
10209 (octave-function-header-regexp): Fix. (Bug#14570)
10210 (octave-help-mode-finish-hook, octave-help-mode-finish):
10211 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10212
10213 * newcomment.el (comment-search-backward): Revert last change.
10214 (Bug#14434)
10215
10216 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10217
a822acff
EZ
102182013-06-07 Eli Zaretskii <eliz@gnu.org>
10219
10220 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10221 through xargs, to avoid failure due to MS-Windows limitations on
10222 command-line length.
10223
961166f5
GM
102242013-06-06 Glenn Morris <rgm@gnu.org>
10225
d0341459
GM
10226 * font-lock.el (lisp-font-lock-keywords-2):
10227 Treat user-error like error.
10228
961166f5
GM
10229 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10230 (byte-compile-backward-char, byte-compile-backward-word):
10231 Handle explicit nil arguments. (Bug#14565)
10232
80fa505f
AM
102332013-06-05 Alan Mackenzie <acm@muc.de>
10234
10235 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10236 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10237 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10238 (Bug#9706)
80fa505f 10239
fccdc796
SM
102402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * autorevert.el (auto-revert-notify-handler): Use memq.
10243 Hide assertion failure.
10244
10245 * skeleton.el: Use cl-lib.
10246 (skeleton-further-elements): Use defvar-local.
10247 (skeleton-insert): Use cl-progv.
10248
9bfff84b
TZ
102492013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10250
10251 * progmodes/prog-mode.el (prog-prettify-symbols)
10252 (prog-prettify-install): Update docstrings.
10253
55577e7c
SM
102542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * simple.el: Move all the prog-mode code to prog-mode.el.
10257 * progmodes/prog-mode.el: New file.
10258 * loadup.el: Add prog-mode.el.
10259
8fc57765
TZ
102602013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10261
10262 * simple.el (prog-prettify-symbols): Add version.
10263 (prog-prettify-install): Add convenience function to prettify symbols.
10264
10265 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10266 (perl--augmented-font-lock-keywords-1)
10267 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10268 variables and use it.
10269
10270 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10271 (cfengine3-mode): Remove unneeded variable and use it.
10272
10273 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10274 (lisp--augmented-font-lock-keywords-1)
10275 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10276 Remove unneeded variables and use it.
10277
650645d5 102782013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10279
10280 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10281 to point when opening the connection. (Bug#14380)
28f5da6d 10282
781b4af6
SM
102832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * subr.el (load-history-regexp, load-history-filename-element)
10286 (eval-after-load, after-load-functions, do-after-load-evaluation)
10287 (eval-next-after-load, display-delayed-warnings)
10288 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10289 definition of save-match-data.
10290 (overriding-local-map): Remove accidental obsolescence declaration.
10291
10292 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10293
3ca0d0b4
TZ
102942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10295
10296 Generalize symbol prettify support to prog-mode and implement it
10297 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10298 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10299 (prog--prettify-font-lock-compose-symbol)
10300 (prog-prettify-font-lock-symbols-keywords): New variables and
10301 functions to support symbol prettification.
10302 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10303 (lisp--augmented-font-lock-keywords-1)
10304 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10305 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10306 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10307 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10308 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10309 * progmodes/perl-mode.el (perl-prettify-symbols)
10310 (perl--font-lock-compose-symbol)
10311 (perl--font-lock-symbols-keywords): Move to prog-mode.
10312 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10313 (perl-font-lock-keywords-1)
10314 (perl-font-lock-keywords-2): Remove explicit prettify support.
10315 (perl--augmented-font-lock-keywords)
10316 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10317 (perl--augmented-font-lock-keywords-2, perl-mode):
10318 Implement prettify support.
3ca0d0b4 10319
976cb066
LL
103202013-06-05 Leo Liu <sdl.web@gmail.com>
10321
10322 Re-implement smie matching block highlight using
10323 show-paren-data-function. (Bug#14395)
10324 * emacs-lisp/smie.el (smie-matching-block-highlight)
10325 (smie--highlight-matching-block-overlay)
10326 (smie--highlight-matching-block-lastpos)
10327 (smie-highlight-matching-block)
10328 (smie-highlight-matching-block-mode): Remove.
10329 (smie--matching-block-data-cache): New variable.
10330 (smie--matching-block-data): New function.
10331 (smie-setup): Use smie--matching-block-data for
10332 show-paren-data-function.
10333
10334 * progmodes/octave.el (octave-mode-menu): Fix.
10335 (octave-find-definition): Skip garbage lines.
10336
208d0342
SM
103372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 Fix compilation error with simultaneous dynamic+lexical scoping.
10340 Add warning when a defvar appears after the first let-binding.
10341 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10342 (byte-compile-close-variables): Initialize it.
10343 (byte-compile--declare-var): New function.
10344 (byte-compile-file-form-defvar)
10345 (byte-compile-file-form-define-abbrev-table)
10346 (byte-compile-file-form-custom-declare-variable): Use it.
10347 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10348 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10349 (byte-compile-bind): Handle dynamic bindings that shadow
10350 lexical bindings.
10351 (byte-compile-unbind): Make arg non-optional.
10352 (byte-compile-let): Simplify.
10353 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10354 (cconv--analyse-function, cconv-analyse-form): Populate it.
10355 Protect byte-compile-bound-variables to limit the scope of defvars.
10356 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10357 Remove unneeded rule for `declare'.
10358
10359 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10360 so as to avoid depending on cl-adjoin at run-time.
10361 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10362
10363 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10364 (macroexp--warn-and-return): Use it.
10365
1ac2891e
GM
103662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10367
a12bf61e 10368 * subr.el: Convert to lexical binding.
1ac2891e
GM
10369 (overriding-local-map): Make obsolete.
10370 (add-to-list): Doc fix. Add compiler macro.
10371 (read-key): Swap values of local maps.
10372
2587b005
LL
103732013-06-05 Leo Liu <sdl.web@gmail.com>
10374
10375 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10376
f1da3c88
LL
103772013-06-04 Leo Liu <sdl.web@gmail.com>
10378
10379 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10380 (compilation-auto-jump): Suppress the "Mark set" message to give
10381 way to exit message.
10382
3caa391f
AM
103832013-06-04 Alan Mackenzie <acm@muc.de>
10384
10385 Remove faulty optimisation from indentation calculation.
10386 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10387 search limit based on 2000 characters back from indent-point.
10388
068922a2
TH
103892013-06-03 Tassilo Horn <tsdh@gnu.org>
10390
10391 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10392
1f8fdd53
SM
103932013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10394
bbcc4d97
SM
10395 * emacs-lisp/lisp.el: Use lexical-binding.
10396 (lisp--local-variables-1, lisp--local-variables): New functions.
10397 (lisp--local-variables-completion-table): New var.
208d0342 10398 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10399
1f8fdd53
SM
10400 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10401 eagerly (bug#14422).
10402
c9628c79
MA
104032013-06-03 Michael Albinus <michael.albinus@gmx.de>
10404
10405 * autorevert.el (auto-revert-notify-enabled)
10406 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10407 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10408 (auto-revert-notify-handler): Handle also gfilenotify.
10409
e7b41c4c 10410 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10411 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10412 Remove.
c9628c79 10413
e5e4a942
JL
104142013-06-03 Juri Linkov <juri@jurta.org>
10415
10416 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10417 `M-s h .'. (Bug#14427)
10418
10419 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10420 command `hi-lock-face-symbol-at-point'.
10421 (hi-lock-face-symbol-at-point): New command.
10422 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10423 (hi-lock-menu): Add `highlight-symbol-at-point'.
10424 (hi-lock-mode): Doc fix.
10425
10426 * isearch.el (isearch-forward-symbol-at-point): New command.
10427 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10428 (isearch-highlight-regexp): Add a regexp which matches
10429 words/symbols for word/symbol mode.
10430
10431 * subr.el (find-tag-default-bounds): New function with the body
10432 mostly moved from `find-tag-default'.
10433 (find-tag-default): Move most code to `find-tag-default-bounds',
10434 call it and apply `buffer-substring-no-properties' afterwards.
10435
26b3353a
TH
104362013-06-03 Tassilo Horn <tsdh@gnu.org>
10437
781b4af6
SM
10438 * eshell/em-term.el (eshell-term-initialize):
10439 Use `cl-intersection' rather than `intersection'.
26b3353a 10440
51b60f53
XF
104412013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10442
fe054b63 10443 * vc/log-view.el: Doc fix.
d3ffe17c 10444 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10445
a0eb10b3 104462013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10447
10448 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10449 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10450 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10451 (eieio-unbound, eieio-default-superclass)
10452 (eieio--define-field-accessors, method-static, method-before)
10453 (method-primary, method-after, method-num-lists)
10454 (method-generic-before, method-generic-primary)
10455 (method-generic-after, method-num-slots)
10456 (eieio-specialized-key-to-generic-key)
10457 (eieio--check-type, class-v, class-p)
10458 (eieio-class-name, define-obsolete-function-alias)
10459 (eieio-class-parents-fast, eieio-class-children-fast)
10460 (same-class-fast-p, class-constructor, generic-p)
10461 (generic-primary-only-p, generic-primary-only-one-p)
10462 (class-option-assoc, class-option, eieio-object-p)
10463 (class-abstract-p, class-method-invocation-order)
10464 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10465 (eieio-class-un-autoload, eieio-defclass)
10466 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10467 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10468 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10469 (eieio-defgeneric-reset-generic-form)
10470 (eieio-defgeneric-form-primary-only)
10471 (eieio-defgeneric-reset-generic-form-primary-only)
10472 (eieio-defgeneric-form-primary-only-one)
10473 (eieio-defgeneric-reset-generic-form-primary-only-one)
10474 (eieio-unbind-method-implementations)
10475 (eieio--defmethod, eieio--typep)
10476 (eieio-perform-slot-validation, eieio-validate-slot-value)
10477 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10478 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10479 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10480 (eieio-slot-name-index, eieio-class-slot-name-index)
10481 (eieio-set-defaults, eieio-initarg-to-attribute)
10482 (eieio-attribute-to-initarg, eieio-c3-candidate)
10483 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10484 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10485 (eieio-class-precedence-list, eieio-generic-call-methodname)
10486 (eieio-generic-call-arglst, eieio-generic-call-key)
10487 (eieio-generic-call-next-method-list)
10488 (eieio-pre-method-execution-functions, eieio-generic-call)
10489 (eieio-generic-call-primary-only, eieiomt-method-list)
10490 (eieiomt-optimizing-obarray, eieiomt-install)
10491 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10492 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10493 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10494 (defclass): Remove `eval-and-compile' from macro.
10495 (call-next-method, shared-initialize): Instead of using
10496 `scoped-class' variable, use new eieio--scoped-class, and
10497 eieio--with-scoped-class.
10498 (initialize-instance): Rename local variable 'scoped-class' to
10499 'this-class' to remove ambiguitity from old global.
10500
10501 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10502 eieio.el.
4f405069
JB
10503 (eieio--scoped-class-stack): New variable.
10504 (eieio--scoped-class): New fcn.
890f7890
DE
10505 (eieio--with-scoped-class): New scoping macro.
10506 (eieio-defclass): Use pushnew instead of add-to-list.
10507 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10508 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10509 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10510 `scoped-class' variable, use new eieio--scoped-class, and
10511 eieio--with-scoped-class.
10512
10513 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10514
d105b0e2
TH
105152013-06-02 Tassilo Horn <tsdh@gnu.org>
10516
10517 * eshell/esh-ext.el (eshell-external-command): Pass args to
10518 `eshell-find-interpreter'.
10519 (eshell-find-interpreter): Add new second parameter ARGS.
10520
10521 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10522 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10523
10524 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10525 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10526
10527 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10528 (eshell-visual-options): New defcustom.
10529 (eshell-escape-control-x): Adapt docstring.
10530 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10531 `eshell-visual-options' in addition to `eshell-visual-commands'.
10532 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10533
f46305c8 105342013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10535
10536 * progmodes/python.el (python-indent-block-enders): Add break,
10537 continue and raise keywords.
10538
d870df21
GM
105392013-06-01 Glenn Morris <rgm@gnu.org>
10540
9133b82e
GM
10541 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10542
02c992ec 10543 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10544 * progmodes/cc-cmds.el (delete-forward-p):
10545 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10546 * progmodes/cc-engine.el (buffer-syntactic-context):
10547 * progmodes/cc-fonts.el (face-property-instance):
10548 * progmodes/cc-mode.el (set-keymap-parents):
10549 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10550 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10551 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10552 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10553 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10554
31e7b090
GM
10555 * progmodes/cc-vars.el (other): Emacs has this widget since
10556 at least 21.1, so don't (re)define it.
10557
d870df21
GM
10558 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10559 Replace the obsolete alias pcomplete-arg-quote-list.
10560
c75c93c7
LL
105612013-06-01 Leo Liu <sdl.web@gmail.com>
10562
10563 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10564 punctuation syntax.
10565 (inferior-octave-minimal-columns)
10566 (inferior-octave-last-column-width): New variables.
10567 (inferior-octave-track-window-width-change): New function.
10568 (inferior-octave-mode): Adjust column width so that Octave output,
10569 for example from 'ls', can fit into the window nicely.
10570
973d1e12
DG
105712013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10572
10573 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10574 Highlight expansions inside regexp literals.
10575
0888c286
GM
105762013-05-31 Glenn Morris <rgm@gnu.org>
10577
e26aac1f
GM
10578 * obsolete/sym-comp.el (symbol-complete):
10579 Replace obsolete completion-annotate-function.
10580
0888c286
GM
10581 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10582
19bb8e62
DG
105832013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10584
781b4af6
SM
10585 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10586 New function, checks if point is inside a literal that allows
19bb8e62
DG
10587 expression expansion.
10588 (ruby-syntax-propertize-expansion): Use it.
10589 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10590 around the body.
10591
01dea85f
JL
105922013-05-30 Juri Linkov <juri@jurta.org>
10593
10594 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10595 to "\M-si".
10596 (isearch-invisible): New variable.
10597 (isearch-forward): Doc fix.
10598 (isearch-mode): Set `isearch-invisible'
10599 to the value of `search-invisible'.
10600 (isearch-toggle-case-fold): Doc fix.
10601 (isearch-toggle-invisible): New command.
10602 (isearch-query-replace): Let-bind `search-invisible'
10603 to the value of `isearch-invisible'.
10604 (isearch-search): Use `isearch-invisible' instead of
10605 `search-invisible'. Let-bind `search-invisible'
10606 to the value of `isearch-invisible'. (Bug#11378)
10607
ab1bdce5
JL
106082013-05-30 Juri Linkov <juri@jurta.org>
10609
10610 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10611 call when `query-flag' is nil and `search-invisible' is non-nil.
10612 (Bug#11746)
10613
d6d236e2
GM
106142013-05-30 Glenn Morris <rgm@gnu.org>
10615
8accd027
GM
10616 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10617
2a8bed1c
GM
10618 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10619 (cc-require): Suppress spurious "noruntime" warnings.
10620 (cc-require-when-compile): Use fboundp, for sake of compiler.
10621
d6d236e2
GM
10622 * progmodes/cc-mode.el: Move load of cc-vars before that of
10623 cc-langs (which in turn loads cc-vars), to quieten compiler.
10624
9190b35b
SM
106252013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10626
10627 * paren.el: Simplify the code.
10628 (show-paren-mode): Always start the timer.
10629 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10630 (show-paren--overlay, show-paren--overlay-1): Rename from
10631 show-paren-overlay and show-paren-overlay-1, and initialize to an
10632 overlay rather than to nil.
10633 (show-paren-function): Misc cleanup and simplifications.
10634
4f8d1cf6
SM
106352013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * paren.el (show-paren-data-function): New hook.
10638 (show-paren--default): New function, extracted from show-paren-function.
10639 (show-paren-function): Use show-paren-data-function.
10640
02d844b5
GM
106412013-05-30 Glenn Morris <rgm@gnu.org>
10642
d209d4a9
GM
10643 * ielm.el (ielm-map, ielm-complete-symbol):
10644 Use completion-at-point rather than obsolete functions.
10645 (inferior-emacs-lisp-mode): Doc fix.
10646 Set completion-at-point-functions, rather than
10647 comint-dynamic-complete-functions.
10648
2082faa6
GM
10649 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10650 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10651 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10652
dd8620de
GM
10653 * image.el (image-animated-p): Tweak definition.
10654
ceca95b1
GM
10655 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10656 (rlogin-process-connection-type): Tweak default. Add set-after.
10657 (rlogin-host): Doc fix.
10658 (rlogin): Tweak prompt.
10659 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10660
ee9f1acc
GM
10661 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10662 * progmodes/tcl.el (inferior-tcl-mode-map):
10663 Use completion-at-point rather than obsolete alias.
10664
45ce222e
GM
10665 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10666
02d844b5
GM
10667 * minibuffer.el (read-file-name-completion-ignore-case):
10668 Move before completion--in-region, for eager macro expansion.
10669
ac44d6c1
JL
106702013-05-29 Juri Linkov <juri@jurta.org>
10671
10672 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10673 for total count of matching lines. Add `global-matches' for total
10674 count of matches. Rename `matches' to `lines' for count of
10675 matching lines. Add `matches' for count of matches.
10676 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10677 to `prev-line' for line number of prev match endpt.
10678 Increment `matches' for every match. Print the number of
10679 matching lines in the header.
10680 (occur-context-lines): Rename `lines' to `curr-line'.
10681 Rename `prev-lines' to `prev-line'. (Bug#14017)
10682
3c9c9d38
JL
106832013-05-29 Juri Linkov <juri@jurta.org>
10684
10685 * replace.el (perform-replace): Add `skip-read-only-count',
10686 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10687 Increment them for corresponding conditions and report the number
10688 of skipped occurrences in the final message. (Bug#11746)
10689 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10690 (replace-string, replace-regexp): Doc fix.
10691
33e249a2
SM
106922013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10693
8e399682
SM
10694 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10695
33e249a2 10696 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10697 prog-mode-map (bug#14504).
33e249a2 10698
f236dd84
LL
106992013-05-29 Leo Liu <sdl.web@gmail.com>
10700
10701 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10702 (octave-help): Small simplification.
10703
10704 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10705 off the highlight first.
10706
3694d13f
GM
107072013-05-29 Glenn Morris <rgm@gnu.org>
10708
03983bdc
GM
10709 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10710 Handle idlwave-last-system-routine-info-cons-cell being nil.
10711
bc74a74a
GM
10712 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10713 (idlwave-write-paths): Simplify via with-temp-buffer.
10714
8b394200
GM
10715 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10716 * emulation/cua-rect.el: Also load cua-base at run time.
10717
3694d13f
GM
10718 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10719 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10720 (cperl-imenu-on-info): Require imenu.
10721
336d7284
AM
107222013-05-28 Alan Mackenzie <acm@muc.de>
10723
10724 Handle "capitalised keywords" correctly.
33e249a2 10725 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10726
cb29c582
AG
107272013-05-28 Aidan Gauland <aidalgol@amuri.net>
10728
781b4af6 10729 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10730
690e44b2
GM
107312013-05-28 Glenn Morris <rgm@gnu.org>
10732
e658d75c
GM
10733 * vc/vc-arch.el (vc-exec-after): Declare.
10734 (vc-switches): Autoload.
10735 * vc/vc-bzr.el: No need to require vc when compiling.
10736 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10737 (vc-resynch-buffer, vc-dir-refresh): Declare.
10738 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10739 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10740 (vc-resynch-buffer): Declare.
10741 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10742 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10743 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10744 (grep-read-regexp, grep-read-files, grep-expand-template)
10745 (vc-dir-refresh): Declare.
10746 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10747 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10748 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10749 * vc/vc-mtn.el (vc-exec-after): Declare.
10750 (vc-switches): Autoload.
10751 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10752 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10753 (vc-file-tree-walk): Declare.
712b9732
GM
10754 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10755 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10756 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10757 * vc/vc-svn.el (vc-exec-after): Declare.
10758 (vc-switches, vc-setup-buffer): Autoload.
10759 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10760 Autoload.
10761 (vc-resynch-buffer): Declare.
10762
98e87fb3
GM
10763 * obsolete/fast-lock.el (byte-compile-warnings):
10764 Don't warn about obsolete features in this obsolete file.
10765
f5379553
GM
10766 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10767 Move definition before use.
10768
7a20ef83
GM
10769 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10770 (dun-unix-verbs): Remove dun-zippy.
10771 (dun-zippy): Remove function.
10772
690e44b2
GM
10773 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10774
3a52ccf7
JL
107752013-05-27 Juri Linkov <juri@jurta.org>
10776
10777 * replace.el (replace-search): New function with code moved out
10778 from `perform-replace'.
10779 (replace-highlight, replace-dehighlight): Move function definitions
10780 up closer to `replace-search'. (Bug#11746)
10781
d289938a
JL
107822013-05-27 Juri Linkov <juri@jurta.org>
10783
10784 * replace.el (perform-replace): Ignore invisible matches.
10785 In addition to checking `query-replace-skip-read-only', also
10786 filter out matches by calling `run-hook-with-args-until-failure'
10787 on `isearch-filter-predicates', and also check `search-invisible'
10788 for t or call `isearch-range-invisible'.
10789 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10790
66fc57e3
JL
107912013-05-27 Juri Linkov <juri@jurta.org>
10792
10793 * isearch.el (isearch-filter-predicates): Rename from
10794 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10795 (isearch-message-prefix): Display text from the property
10796 `isearch-message-prefix' of the currently active filters.
10797 (isearch-search): Don't compare `isearch-filter-predicate' with
10798 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10799 on `isearch-filter-predicates'. Also check `search-invisible' for t
10800 or call `isearch-range-invisible'.
10801 (isearch-filter-visible): Make obsolete.
10802 (isearch-lazy-highlight-search):
10803 Call `run-hook-with-args-until-failure' on
10804 `isearch-filter-predicates' and use `isearch-range-invisible'.
10805
10806 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10807 `isearch-filter-predicates' instead of `funcall'ing
10808 `isearch-filter-predicate'.
10809 (Info-mode): Set `Info-isearch-filter' to
10810 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10811
10812 * dired-aux.el (dired-isearch-filter-predicate-orig):
10813 Remove variable.
10814 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10815 (dired-isearch-filenames-end): Add and remove
10816 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10817 instead of changing the value of `isearch-filter-predicate'.
10818 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10819 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10820 Put property `isearch-message-prefix' to "filename " on
10821 `dired-isearch-filter-filenames'.
10822
10823 * wdired.el (wdired-change-to-wdired-mode):
10824 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10825 locally instead of changing `isearch-filter-predicate'.
10826 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10827
f1a60a0f
DG
108282013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10829
10830 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10831 return the commit hash (Bug#14459). Also set the
10832 `vc-git-detached' property.
10833 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10834 (vc-git-mode-line-string): Use the same help-echo format whether
10835 in detached mode or not, because we know the actual revision now.
10836 When in detached mode, shorten the revision to 7 chars.
10837
7f17cc40
SM
108382013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * emacs-lisp/easy-mmode.el (define-minor-mode):
10841 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10842 mode hook and provide a docstring.
10843
25c8401c
AM
108442013-05-27 Alan Mackenzie <acm@muc.de>
10845
10846 Remove spurious syntax-table text properties inserted by C-y.
10847 * progmodes/cc-mode.el (c-after-change): Also clear hard
10848 syntax-table property with value nil.
10849
dde84790
MA
108502013-05-27 Michael Albinus <michael.albinus@gmx.de>
10851
10852 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10853 when reading the events; the buffer layout shall not be changed.
10854
837fd9af
LL
108552013-05-27 Leo Liu <sdl.web@gmail.com>
10856
10857 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10858 New variable.
10859 (inferior-octave-directory-tracker): Automatically re-sync
10860 default-directory.
10861 (octave-help): Improve handling of 'See also'.
10862
4fd996b3
SM
108632013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10864
416f1802
SM
10865 * doc-view.el: Minor naming convention tweaks.
10866 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10867
4fd996b3
SM
10868 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10869 even if there's no `display' property yet (bug#14435).
10870
a052ef3b
EZ
108712013-05-25 Eli Zaretskii <eliz@gnu.org>
10872
4fd996b3 10873 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10874
10875 * Makefile.in (custom-deps, finder-data, autoloads)
10876 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10877 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10878 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10879
c9023370
SM
108802013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10883 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10884 Don't burp at EOB.
c9023370 10885
24d699fa
LL
108862013-05-25 Leo Liu <sdl.web@gmail.com>
10887
10888 * comint.el (comint-previous-matching-input): Do not flood the
10889 *Messages* buffer with trivial messages.
10890
17e5c0cc
SM
108912013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10892
10893 * progmodes/flymake.el (flymake-nop): Don't return a string.
10894 (flymake-set-at): Fix typo.
10895
10896 * simple.el (read--expression): New function, extracted from
10897 eval-expression. Set completion-at-point-functions (bug#14465).
10898 (eval-expression, eval-minibuffer): Use it.
10899
5d028165
XF
109002013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10901
10902 * progmodes/flymake.el (flymake-save-buffer-in-file)
10903 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10904 (flymake-selected-frame, flymake-log, flymake-ins-after)
10905 (flymake-set-at, flymake-get-buildfile-from-cache)
10906 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10907 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10908 Refine the doc string.
10909 (flymake-get-file-name-mode-and-masks): Reformat.
10910 (flymake-get-real-file-name-function): Fix a minor bug.
10911
7a1d7ba7
JL
109122013-05-24 Juri Linkov <juri@jurta.org>
10913
10914 * progmodes/grep.el (grep-mode-font-lock-keywords):
10915 Support =linenumber= format used by git-grep for lines with
10916 function names. (Bug#13549)
10917
650cff3d
SM
109182013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10921 0 after a semi-colon; it works better for smie-auto-fill.
10922 (octave--indent-new-comment-line): New function.
10923 (octave-indent-new-comment-line): Use it (indirectly).
10924 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10925 modify comment-line-break-function.
10926
10927 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10928 (smie-setup): Use add-function to set it.
10929
9631677d
SS
109302013-05-24 Sam Steingold <sds@gnu.org>
10931
10932 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10933 argument (before the `interactive' argument).
10934
50105835
SM
109352013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * image-mode.el (image-mode-winprops): Add winprops to
10938 image-mode-winprops-alist before running
10939 image-mode-new-window-functions.
10940 * doc-view.el (doc-view-new-window-function): Don't delay
10941 doc-view-goto-page via timers (bug#14435).
10942
57b9823e
TH
109432013-05-24 Tassilo Horn <tsdh@gnu.org>
10944
10945 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10946 (doc-view-desktop-save-buffer): New function.
10947 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10948 (desktop-buffer-mode-handlers):
10949 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10950 handler.
10951 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10952 `desktop-save-buffer' function.
10953
91aafa16
MA
109542013-05-24 Michael Albinus <michael.albinus@gmx.de>
10955
10956 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10957 (tramp-gvfs-file-name-handler): Raise a user error when
10958 `tramp-gvfs-enabled' is nil.
10959 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10960 Do not raise a user error when loading package. (Bug#14447)
10961
ec076379
MA
10962 * net/xesam.el: Move to obsolete/.
10963
db785726
GM
109642013-05-24 Glenn Morris <rgm@gnu.org>
10965
af5c7606
GM
10966 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10967
e5d1916a
GM
10968 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10969
ded62b08
GM
10970 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10971 (Info-find-node, Man-getpage-in-background): Declare.
10972
9e614a3f
GM
10973 * mail/unrmail.el (unrmail):
10974 Replace obsolete detect-coding-with-priority.
10975
892f8ca3
GM
10976 * net/socks.el (socks-split-string): Use this rather than split-string.
10977 (socks-nslookup-host): Update for above change.
10978 (dynamic-choice, s5-dynamic-choice-match)
10979 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10980 Comment out unused code.
10981
3c291973
GM
10982 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10983 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10984 (gud-tooltip-echo-area): Make obsolete.
10985 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10986
43cc956b
GM
10987 * progmodes/js.el (js--optimize-arglist): Declare.
10988
dab49a3b
GM
10989 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10990
36b9d085
GM
10991 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10992 (ediff-window-C): Declare.
10993
e354ae76
GM
10994 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10995 Tweak requires to silence compiler.
10996
b8e57bf4
GM
10997 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10998 (he-search-string, he-tried-table, he-expand-list)
10999 (he-init-string, he-string-member, he-substitute-string)
11000 (he-reset-string): Declare.
11001
db785726
GM
11002 * obsolete/options.el (list-options): Use custom-variable-p,
11003 rather than obsolete alias.
11004
b3531901
SS
110052013-05-23 Sam Steingold <sds@gnu.org>
11006
11007 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11008 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11009 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11010
bdda4c66
SM
110112013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11012
11013 * emacs-lisp/smie.el (smie-indent-forward-token)
11014 (smie-indent-backward-token): Handle string tokens (bug#14381).
11015
c43d45f9
TH
110162013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11017
fe1eb856
RS
11018 * ielm.el (ielm-menu): New menu.
11019 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11020
fe1eb856
RS
110212013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11022
a12bf61e 11023 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11024 Fix deactivate action.
11025
a12bf61e 11026 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11027 Add cleveref macros.
074dd971 11028
a12bf61e 11029 * textmodes/reftex-parse.el
c43d45f9
TH
11030 (reftex-locate-bibliography-files): Accept options for
11031 bibliography commands.
a12bf61e 11032 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11033 Add addbibresource. Basic Biblatex support.
11034
7764286e
MA
110352013-05-23 Michael Albinus <michael.albinus@gmx.de>
11036
11037 * net/tramp-gvfs.el (top):
11038 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11039 when loading package. (Bug#14447)
11040
d361bc10
GM
110412013-05-23 Glenn Morris <rgm@gnu.org>
11042
8fa23984
GM
11043 * progmodes/js.el: No need to load comint when compiling.
11044 (ring-insert, comint-send-string, comint-send-input)
11045 (comint-last-input-end, ido-chop): Declare.
11046
a5c7df1a
GM
11047 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11048 * vc/ediff-mult.el: Adjust requires.
11049 (ediff-directories-internal, ediff-directory-revisions-internal)
11050 (ediff-patch-file-internal): Declare.
11051 * vc/ediff-ptch.el: Adjust requires.
11052 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11053 (ediff-find-file): Autoload.
11054 * vc/ediff-util.el: No need to load ediff when compiling.
11055 (ediff-regions-internal): Declare.
11056 * vc/ediff-wind.el: Adjust requires.
11057 (ediff-compute-toolbar-width): Define when compiling.
11058 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11059 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11060 (dired-get-filename, dired-get-marked-files)
11061 (ediff-last-dir-patch, ediff-patch-default-directory)
11062 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11063 (ediff-patch-buffer-internal): Declare.
11064
e2aec513
GM
11065 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11066 (ispell-process, ispell-buffer-local-words, lm-summary)
11067 (lm-section-start, lm-section-end): Declare.
11068 (checkdoc-ispell-init): Simplify.
11069
e68bbd7c
GM
11070 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11071 (he-string-member, he-reset-string, he-substitute-string): Declare.
11072
7efe0991
GM
11073 * eshell/em-ls.el: Adjust requires.
11074 (eshell-glob-regexp): Declare.
f87b1284
GM
11075 * eshell/em-tramp.el: Adjust requires.
11076 (eshell-parse-command): Autoload.
11077 * eshell/em-xtra.el: Adjust requires.
11078 (eshell-parse-command): Autoload.
11079 * eshell/esh-ext.el: Adjust requires.
11080 (eshell-parse-command, eshell-close-handles): Autoload.
11081 * eshell/esh-io.el: Adjust requires.
11082 (eshell-output-filter): Autoload.
11083 * eshell/esh-util.el: No need to load tramp when compiling.
11084 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11085 Declare.
11086 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11087 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11088 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11089 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11090 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11091 * eshell/esh-opt.el, eshell/esh-proc.el:
11092 * eshell/esh-var.el: Adjust requires.
11093 * eshell/eshell.el: Do not require esh-util twice.
11094 (eshell-add-input-to-history): Declare.
11095 (eshell-command): Check history module is active before using it.
11096
d361bc10
GM
11097 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11098
85d090a9
LL
110992013-05-22 Leo Liu <sdl.web@gmail.com>
11100
11101 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11102
5d0acd9d
MA
111032013-05-22 Michael Albinus <michael.albinus@gmx.de>
11104
11105 * autorevert.el (auto-revert-notify-add-watch)
11106 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11107 it indicates changes in file modification time.
11108
0cdffd7d
GM
111092013-05-22 Glenn Morris <rgm@gnu.org>
11110
ca5995ec
GM
11111 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11112 Always delete the autoloaded function from the noruntime and
11113 unresolved functions lists.
11114
6450907e
GM
11115 * allout.el: No need to load epa, epg, overlay when compiling.
11116 (epg-context-set-passphrase-callback, epg-list-keys)
11117 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11118 (epg-key-user-id-list): Declare.
11119
9c6906f6
GM
11120 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11121 (viper-set-parsing-style-toggling-macro)
11122 (viper-set-emacs-state-searchstyle-macros):
11123 Use called-interactively-p on Emacs.
11124 (viper-looking-back): Make it an obsolete alias. Update callers.
11125 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11126 Use looking-back rather than viper-looking-back.
11127 (viper-tmp-insert-at-eob, viper-enlarge-region)
11128 (viper-read-string-with-history, viper-register-to-point)
11129 (viper-append-to-register, viper-change-state-to-vi)
11130 (viper-backward-char-carefully, viper-forward-char-carefully)
11131 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11132 (viper-change-state-to-emacs): Declare.
11133 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11134 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11135 * emulation/viper-mous.el: Do not load viper-cmd.
11136 (viper-backward-char-carefully, viper-forward-char-carefully)
11137 (viper-forward-word, viper-adjust-window): Declare.
11138
5f70c169
GM
11139 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11140
b1b7f300
GM
11141 * progmodes/idlw-help.el (idlwave-help-fontify):
11142 Use called-interactively-p.
11143
f6ebbb46
GM
11144 * term/w32console.el (w32-get-console-codepage)
11145 (w32-get-console-output-codepage): Declare.
11146
0cdffd7d
GM
11147 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11148 Remove unnecessary declarations.
11149 (dframe-message): Doc fix.
11150
11151 * info.el (dframe-select-attached-frame, dframe-current-frame):
11152 Declare.
11153
11154 * speedbar.el (speedbar-message): Make it an obsolete alias.
11155 Update all callers.
11156 (speedbar-with-attached-buffer)
11157 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11158 (speedbar-with-writable): Use backquote.
11159 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11160 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11161 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11162 rather than speedbar- aliases.
11163 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11164 (speedbar-make-specialized-keymap, speedbar-insert-button)
11165 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11166 (speedbar-do-function-pointer): Declare.
11167 (rmail-speedbar-button, rmail-speedbar-find-file)
11168 (rmail-speedbar-move-message):
11169 Use dframe-with-attached-buffer rather than speedbar- alias.
11170 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11171 (dframe-message, speedbar-make-specialized-keymap)
11172 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11173 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11174 (speedbar-insert-button, dframe-select-attached-frame)
11175 (dframe-maybee-jump-to-attached-frame)
11176 (speedbar-change-initial-expansion-list)
11177 (speedbar-previously-used-expansion-list-name): Declare.
11178 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11179 Use dframe-message, dframe-with-attached-buffer rather than
11180 speedbar- aliases.
11181 (gud-sentinel): Silence compiler.
11182 * progmodes/vhdl-mode.el (speedbar-refresh)
11183 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11184 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11185 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11186 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11187 (speedbar-file-lists, speedbar-make-tag-line)
11188 (speedbar-line-directory, speedbar-goto-this-file)
11189 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11190 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11191 (speedbar-make-button, speedbar-reset-scanners)
11192 (speedbar-files-item-info, speedbar-line-text)
11193 (speedbar-find-file-in-frame, speedbar-set-timer)
11194 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11195 (speedbar-with-writable): Do not (re)define it.
11196 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11197 rather than speedbar- alias.
11198
ee44b62a
LL
111992013-05-21 Leo Liu <sdl.web@gmail.com>
11200
11201 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11202 menu items.
11203 (octave-mode): Tweak fill-nobreak-predicate.
11204 (inferior-octave-startup): Check process to avoid infinite loop.
11205 (inferior-octave): Pop to buffer first to show abornmal process
11206 exit information.
11207
640f050f
GM
112082013-05-21 Glenn Morris <rgm@gnu.org>
11209
79458038
GM
11210 * printing.el (pr-menu-bar): Define when compiling.
11211
9cc3e83f
LL
112122013-05-21 Leo Liu <sdl.web@gmail.com>
11213
11214 * progmodes/octave.el (octave-auto-fill): Remove.
11215 (octave-indent-new-comment-line): Improve.
11216 (octave-mode): Use auto fill mode through
4f405069 11217 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11218 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11219 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11220 (octave-help): Show parent directory.
11221
f440830d
GM
112222013-05-21 Glenn Morris <rgm@gnu.org>
11223
11224 * files.el (dired-unmark):
11225 * progmodes/gud.el (gdb-input): Update declarations.
11226
11227 * calculator.el (electric, ehelp): No need to load when compiling.
11228 (Electric-command-loop, electric-describe-mode): Declare.
11229
11230 * doc-view.el (doc-view-current-converter-processes): Move before use.
11231
11232 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11233 Move MODE-set-explicitly definition before use.
11234
11235 * international/mule-diag.el (mule-diag):
11236 Don't use obsolete window-system-version.
11237
11238 * mail/feedmail.el (smtpmail): No need to load when compiling.
11239 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11240
11241 * mail/mail-utils.el (rfc822): No need to load when compiling.
11242 (rfc822-addresses): Autoload it.
11243 (mail-strip-quoted-names): Trivial simplification.
11244
11245 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11246 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11247
11248 * net/snmp-mode.el (tempo): Don't duplicate requires.
11249
11250 * progmodes/prolog.el (info): No need to load when compiling.
11251 (comint): Require before shell requires it.
11252 (Info-goto-node): Autoload it.
11253 (Info-follow-nearest-node): Declare.
11254 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11255
11256 * textmodes/artist.el (picture-mode-exit): Declare.
11257
11258 * textmodes/reftex-parse.el (reftex-parse-from-file):
11259 Trivial rewrite so the compiler can parse it better.
11260
b4da2cbb
LL
112612013-05-20 Leo Liu <sdl.web@gmail.com>
11262
11263 * progmodes/octave.el (octave-help-mode-map)
11264 (octave-help-mode-finish-hook): New variables.
11265 (octave-help-mode, octave-help-mode-finish): New functions.
11266 (octave-help): Use octave-help-mode.
11267
33c0f65b
GM
112682013-05-20 Glenn Morris <rgm@gnu.org>
11269
11270 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11271
1a0a0a8a
DG
112722013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11273
11274 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11275 start at point, so that expansion starting right after opening
11276 slash in a regexp is recognized.
11277 (ruby-syntax-before-regexp-re): New defvar, extracted from
11278 ruby-syntax-propertize-function. Since the value of this regexp
11279 is looked up at runtime now, we should be able to turn
11280 `ruby-syntax-methods-before-regexp' into a defcustom later.
11281 (ruby-syntax-propertize-function): Split regexp matching into two
11282 parts, for opening and closing slashes. That allows us to skip
11283 over string interpolations and support multiline regexps.
11284 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11285 for them, which calls `ruby-syntax-propertize-expansion'.
11286 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11287 call to `ruby-syntax-propertize-function'.
11288 (ruby-syntax-propertize-expansion): Extracted from
11289 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11290 (ruby-syntax-propertize-percent-literal): Leave point right after
11291 the percent symbol, so that the expression expansion rule can
11292 propertize the contents.
462388b6
DG
11293 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11294 heredoc openers.
11295 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11296
c1a6c0a4
JL
112972013-05-18 Juri Linkov <juri@jurta.org>
11298
11299 * man.el (Man-default-man-entry): Remove `-' from the end
11300 of the default value. (Bug#14400)
11301
8051fccd
GM
113022013-05-18 Glenn Morris <rgm@gnu.org>
11303
11304 * comint.el (comint-password-prompt-regexp):
11305 Allow "password for XXX" where XXX contains colons (eg https://...).
11306
5e80b74f
LL
113072013-05-18 Leo Liu <sdl.web@gmail.com>
11308
11309 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11310 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11311 (octave-source-directories): Don't check process.
11312 (octave-source-directories, octave-find-definition): Doc fix.
11313
521a54c5
GM
113142013-05-18 Glenn Morris <rgm@gnu.org>
11315
86a94b05
GM
11316 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11317 Remove backspace/delete bindings. (Bug#14392)
11318
521a54c5
GM
11319 * cus-dep.el (custom-make-dependencies): Sort the output.
11320 (custom-versions-load-alist): Convert comment to doc.
11321
42caeb89
LL
113222013-05-17 Leo Liu <sdl.web@gmail.com>
11323
11324 * newcomment.el (comment-search-backward): Stricter in finding
11325 comment start. (Bug#14303)
11326
11327 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11328 (octave-comment-start-skip): Properly anchored.
11329
e219dd97
LL
113302013-05-17 Leo Liu <sdl.web@gmail.com>
11331
fe1eb856
RS
11332 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11333 Clean up when turned off. (Bug#14395)
e219dd97
LL
11334 (smie--highlight-matching-block-overlay): No longer buffer-local.
11335 (smie-highlight-matching-block): Adjust.
11336
dc5dcb4b
PE
113372013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11338
11339 Doc string fix for "nanoseconds" (Bug#14406).
11340 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11341 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11342
1db165f0
JB
113432013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11344
11345 * calc/calc-units.el (math-extract-units): Preserve powers
11346 of units.
11347
c7a8fcac
LL
113482013-05-17 Leo Liu <sdl.web@gmail.com>
11349
11350 * subr.el (delete-consecutive-dups): New function.
11351 * ido.el (ido-set-matches-1): Use it.
11352 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11353 * ido.el (ido-remove-consecutive-dups): Remove.
11354
f678b18a
SM
113552013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11358 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11359 regexp-opt's `words'.
11360
ebfe68e8
LL
113612013-05-16 Leo Liu <sdl.web@gmail.com>
11362
11363 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11364 (smie--highlight-matching-block-overlay)
11365 (smie--highlight-matching-block-lastpos)
11366 (smie--highlight-matching-block-timer): New variables.
11367 (smie-highlight-matching-block): New function.
11368 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11369 (smie-setup): Conditionally enable smie-blink-matching-open.
11370
bc8bc17d
WS
113712013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11372
11373 Sync with upstream verilog-mode r840.
11374 * progmodes/verilog-mode.el (verilog-mode-version)
11375 (verilog-mode-release-date): Update.
11376 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11377 (verilog-sig-tieoff): Fix string error on
11378 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11379 (verilog-read-decls): Fix parameters confusing
11380 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11381
df065a0b
EZ
113822013-05-16 Eli Zaretskii <eliz@gnu.org>
11383
11384 * subr.el (reveal-filename): New function.
11385
11386 * loadup.el: Compute Emacs executable versions on MS-Windows,
11387 where executables have the .exe extension. Add a hard link
11388 emacs-XX.YY.ZZ.exe on MS-Windows.
11389
11390 * Makefile.in (XARGS_LIMIT): New variable.
11391 (custom-deps, finder-data, autoloads)
11392 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11393 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11394 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11395 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11396
2d4bf34b
LL
113972013-05-16 Leo Liu <sdl.web@gmail.com>
11398
11399 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11400 (octave-mode-menu, octave-mode-map): Remove its uses.
11401
6b9c2d85
RZ
114022013-05-16 Reto Zimmermann <reto@gnu.org>
11403
11404 Sync with upstream vhdl mode v3.34.2.
11405 * progmodes/vhdl-mode.el: Use `push' throughout.
11406 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11407 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11408 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11409 (vhdl-actual-generic-name): New option to derive actual generic name.
11410 (vhdl-port-paste-signals): Replace formal by actual generics.
11411 (vhdl-beautify): New name for old group vhdl-align. Update users.
11412 (vhdl-beautify-options): New option.
11413 (vhdl-last-input-event): New compat alias. Use throughout.
11414 (vhdl-goto-line): Replace user level function `goto-line'.
11415 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11416 vhdl-fix-statement-buffer.
11417 (vhdl-create-mode-menu): Add some entries.
11418 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11419 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11420 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11421 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11422 to force statements on one line.
11423 (vhdl-remove-trailing-spaces-region):
11424 New, split from vhdl-remove-trailing-spaces.
11425 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11426 Respect vhdl-beautify-options.
11427 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11428 (vhdl-update-sensitivity-list): Not add with index if exists without.
11429 Not include array index with signal. Ignore keywords in comments.
11430 (vhdl-get-visible-signals): Regexp tweaks.
11431 (vhdl-template-component-inst): Handle empty library.
11432 (vhdl-template-type): Add template for 'enum' type.
11433 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11434 Use vhdl-replace-string.
11435 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11436 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11437 (vhdl-speedbar-initialize): Update for above name change.
11438 (vhdl-compose-wire-components): Fix in handling of constants.
11439 (vhdl-error-regexp-emacs-alist): New variable.
11440 (vhdl-error-regexp-add-emacs): New function;
11441 adds support for new compile.el (Emacs 22+)
11442 (vhdl-generate-makefile-1): Change target order for single lib. units.
11443 Allow use of absolute file names.
11444
9df4ec5e
LL
114452013-05-16 Leo Liu <sdl.web@gmail.com>
11446
11447 * simple.el (prog-indent-sexp): Indent enclosing defun.
11448
f5ba00a6
GM
114492013-05-15 Glenn Morris <rgm@gnu.org>
11450
ed8be7ff
GM
11451 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11452 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11453 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11454 (whitespace-highlight): Move to whitespace group.
11455
11456 * comint.el (comint-source):
11457 * pcmpl-linux.el (pcmpl-linux):
11458 * shell.el (shell-faces):
11459 * eshell/esh-opt.el (eshell-opt):
11460 * international/ccl.el (ccl): Remove empty custom groups.
11461
11462 * completion.el (dynamic-completion-mode):
11463 * jit-lock.el (jit-lock-debug-mode):
11464 * minibuffer.el (completion-in-region-mode):
11465 * type-break.el (type-break-mode-line-message-mode)
11466 (type-break-query-mode):
11467 * emulation/tpu-edt.el (tpu-edt-mode):
11468 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11469 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11470 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11471
11472 * term/xterm.el (xterm): Change parent group to terminals.
11473
11474 * master.el (master): Remove empty custom group.
11475 (master-mode): Remove unused :group argument.
11476 * textmodes/refill.el (refill): Remove empty custom group.
11477 (refill-mode): Remove unused :group argument.
11478
11479 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11480
82a7c41b
GM
11481 * cus-dep.el: Provide a feature.
11482 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11483 Don't mistakenly ignore files whose basenames match a basename
11484 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11485 Add a fallback method for getting :group.
f5ba00a6 11486
6d65486d
JL
114872013-05-15 Juri Linkov <juri@jurta.org>
11488
da547b32
JL
11489 * isearch.el (isearch-char-by-name): Rename from
11490 `isearch-insert-char-by-name'. Doc fix.
11491 (isearch-forward): Mention `isearch-char-by-name' in
11492 the docstring. (Bug#13348)
11493
6d65486d
JL
11494 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11495 `exit-minibuffer' instead of
11496 `isearch-nonincremental-exit-minibuffer'.
11497 (isearch-edit-string): Remove mention of
11498 `isearch-nonincremental-exit-minibuffer' from docstring.
11499 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11500 (isearch-forward-exit-minibuffer)
11501 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11502
c9990474
SM
115032013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11504
6e911150
SM
11505 * loadup.el: Just use unversioned DOC.
11506
c9990474
SM
11507 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11508 literals as extending to EOB.
11509 (nxml-last-fontify-end): Remove unused variable.
11510 (nxml-after-change1): Use with-silent-modifications.
11511 (nxml-extend-after-change-region): Simplify.
11512 (nxml-extend-after-change-region1): Remove function.
11513 (nxml-after-change1): Don't adjust for dependent regions.
11514 (nxml-fontify-matcher): Simplify.
11515 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11516 (xmltok-add-dependent): Remove function.
11517 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11518 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11519 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11520 unclosed <[[, <?, comment, and other literals as extending to EOB.
11521 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11522 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11523 Remove functions.
11524 (rng-do-some-validation-1): Don't mark dependent regions.
11525 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11526 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11527 (nxml-clear-dependent-regions): Remove functions.
11528 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11529 (nxml-ensure-scan-up-to-date):
11530 Don't clear&mark dependent regions.
11531
e3772e98
LL
115322013-05-15 Leo Liu <sdl.web@gmail.com>
11533
c9990474
SM
11534 * progmodes/octave.el (octave-goto-function-definition):
11535 Improve and fix callers.
e3772e98 11536
5ac2eb34
SM
115372013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11538
c46c57b0
SM
11539 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11540 the setter (bug#14387).
11541
5ac2eb34
SM
11542 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11543 surrounding group (bug#14402).
11544
180ed218
JL
115452013-05-14 Juri Linkov <juri@jurta.org>
11546
11547 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11548 (Bug#14390)
11549
0ac0fecb
GM
115502013-05-14 Glenn Morris <rgm@gnu.org>
11551
11552 * progmodes/f90.el (f90-imenu-generic-expression):
11553 Fix typo in 2013-05-08 change. (Bug#14402)
11554
2e78e6a7
JPG
115552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11556
5ac2eb34
SM
11557 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11558 Remove signals for which replies are never received.
2e78e6a7 11559
53267cca
JPG
115602013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11561
11562 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11563 (gdb-handler-alist, gdb-handler-number): Remove variables.
11564 (gdb-handler-list): New variable.
11565 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11566 (gdb-pending-handler-p, gdb-handle-reply)
11567 (gdb-remove-all-pending-triggers): New functions.
11568 (gdb-discard-unordered-replies): New defcustom.
11569 (gdb-handler): New defstruct.
11570 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11571 instead of gdb-pending-triggers. Update docstring.
11572 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11573 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11574 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11575 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11576 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11577 (gdb-frame-handler): Pending triggers are now automatically managed.
11578 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11579 Remove argument.
11580 (gdb-input): Automatically handles pending triggers. Update docstring.
11581 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11582 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11583 Update comments.
11584 (gdb-done-or-error): Now use gdb-handle-reply.
11585
d04ce803
JPG
115862013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11587
11588 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11589 gdb-debug-log.
11590
0114073a
GM
115912013-05-14 Glenn Morris <rgm@gnu.org>
11592
11593 * subr.el (user-emacs-directory-warning): New option.
11594 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11595
4d25fd7e
LL
115962013-05-14 Leo Liu <sdl.web@gmail.com>
11597
11598 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11599 during redisplay.
11600 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11601 (octave-font-lock-texinfo-comment): Fix invalid search bound
11602 error: wrong side of point.
4d25fd7e 11603
27c8b6eb
GM
116042013-05-14 Glenn Morris <rgm@gnu.org>
11605
61aaeb01
GM
11606 * progmodes/flymake.el (flymake-xml-program): New option.
11607 (flymake-xml-init): Use it.
11608
5bf90bc5
GM
11609 * term/xterm.el: Provide a feature.
11610
11611 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11612
f4c7dfd2
GM
116132013-05-13 Glenn Morris <rgm@gnu.org>
11614
11615 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11616 Add compat aliases as a hack workaround. (Bug#14384)
11617
2aeb3a1d
LL
116182013-05-13 Leo Liu <sdl.web@gmail.com>
11619
b0e069c2
LL
11620 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11621 ###, and %!.
f5a9432f
LL
11622 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11623 C-M-q.
b0e069c2
LL
11624 (octave-comment-start-skip): Include %!.
11625 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11626
30ea8374
LL
116272013-05-12 Leo Liu <sdl.web@gmail.com>
11628
11629 * progmodes/octave.el (inferior-octave-startup): Store the value
11630 of __octave_srcdir__ for octave-source-directories.
11631 (inferior-octave-check-process): New function refactored out of
11632 inferior-octave-send-list-and-digest.
11633 (octave-source-directories)
11634 (octave-find-definition-filename-function): New variables.
11635 (octave-source-directories)
11636 (octave-find-definition-default-filename): New functions.
11637 (octave-find-definition): Improve to find functions implemented in C++.
11638
472a3834
GM
116392013-05-12 Glenn Morris <rgm@gnu.org>
11640
11641 * calendar/diary-lib.el (diary-outlook-format-1):
11642 Don't include dayname in the output. (Bug#14349)
11643
3191b52f
GM
116442013-05-11 Glenn Morris <rgm@gnu.org>
11645
0060ac73
GM
11646 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11647
3191b52f
GM
11648 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11649 Treat cc-provide like provide.
11650
e065ba74
KR
116512013-05-11 Kevin Ryde <user42@zip.com.au>
11652
11653 * cus-dep.el (custom-make-dependencies):
11654 Use generated-autoload-load-name for the sake of files such
11655 such cedet/semantic/bovine/c.el, where the base file name
11656 is not in load-path. (Bug#5277)
11657
36f84c37
GM
116582013-05-11 Glenn Morris <rgm@gnu.org>
11659
11660 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11661 Provide features.
11662
c8730c3a
LL
116632013-05-11 Leo Liu <sdl.web@gmail.com>
11664
11665 * progmodes/octave.el (octave-indent-comment): Improve.
11666 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11667 (octave-eldoc-function-signatures, octave-eldoc-function):
11668 New functions.
c8730c3a
LL
11669 (octave-mode, inferior-octave-mode): Add eldoc support.
11670
212e29f2
RS
116712013-05-11 Richard Stallman <rms@gnu.org>
11672
11673 * epa.el (epa-decrypt-file): Take output file name as argument
11674 and read it using `interactive'.
11675
083fe0d7
LL
116762013-05-11 Leo Liu <sdl.web@gmail.com>
11677
11678 * progmodes/octave.el (octave-beginning-of-line)
11679 (octave-end-of-line): Check before using up-list because it jumps
11680 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11681 (octave-indent-comment): New function.
11682 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11683 (octave-begin-keywords, octave-end-keywords)
11684 (octave-reserved-words, octave-smie-bnf-table)
11685 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11686
8582e4c4
GM
116872013-05-11 Glenn Morris <rgm@gnu.org>
11688
f20def1f
GM
11689 * faces.el (internal-face-x-get-resource):
11690 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11691 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11692 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11693 Fix declarations.
f20def1f 11694
445f95e2
GM
11695 * calc/calc-menu.el: Make it loadable in isolation.
11696
11697 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11698 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11699 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11700 (eudc-bbdb-query-internal): Require 'bbdb.
11701
99fb2756
GM
11702 * lpr.el (lpr-headers-switches):
11703 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11704
11705 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11706
0da7ad96
GM
11707 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11708
8582e4c4
GM
11709 * term.el (term-set-escape-char): Make it idempotent.
11710
f71c50d0
LL
117112013-05-10 Leo Liu <sdl.web@gmail.com>
11712
5ac2eb34
SM
11713 * progmodes/octave.el (inferior-octave-completion-table):
11714 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11715 completion due to bug#11906.
11716 (octave-beginning-of-defun): Re-write to be more general.
11717
d5837773
GM
117182013-05-10 Glenn Morris <rgm@gnu.org>
11719
11720 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11721
027c0f75
SM
117222013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * comint.el (comint-redirect-send-command-to-process): Use :around
11725 rather than :override for comint-redirect-filter.
11726 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11727 Call it instead of comint-redirect-original-filter-function (which
11728 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11729
4465bfb4
JD
117302013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11731
11732 * frame.el (display-monitor-attributes-list): Add NS case.
11733 (ns-display-monitor-attributes-list): Declare.
11734
2d809ffa 117352013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11736
11737 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11738
e54eeb9b
GM
117392013-05-09 Glenn Morris <rgm@gnu.org>
11740
56cd351d
GM
11741 * international/fontset.el (vertical-centering-font-regexp):
11742 Set standard-value.
11743
d84b6108
GM
11744 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11745
a931698a
GM
11746 * bookmark.el (bookmark-search-delay):
11747 * cus-start.el (vertical-centering-font-regexp):
11748 * ps-mule.el (ps-mule-font-info-database-default):
11749 * ps-print.el (ps-default-fg, ps-default-bg):
11750 * type-break.el (type-break-good-break-interval):
11751 * whitespace.el (whitespace-indentation-regexp)
11752 (whitespace-space-after-tab-regexp):
11753 * emacs-lisp/testcover.el (testcover-1value-functions)
11754 (testcover-noreturn-functions, testcover-progn-functions)
11755 (testcover-prog1-functions):
11756 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11757 * eshell/em-glob.el (eshell-glob-translate-alist):
11758 * play/tetris.el (tetris-tty-colors):
11759 * progmodes/cpp.el (cpp-face-default-list):
11760 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11761 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11762 (idlwave-help-browser-generic-args):
11763 * progmodes/make-mode.el (makefile-special-targets-list):
11764 * progmodes/python.el (python-shell-virtualenv-path):
11765 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11766 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11767 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11768 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11769 * textmodes/reftex-vars.el (reftex-format-label-function):
11770 * textmodes/remember.el (remember-diary-file): Fix custom types.
11771
e54eeb9b
GM
11772 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11773 Add :version.
11774
455851dd
LL
117752013-05-09 Leo Liu <sdl.web@gmail.com>
11776
11777 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11778 Restore file completion. (Bug#14300)
455851dd
LL
11779 (inferior-octave-startup): Fix incorrect highlighting for the
11780 first prompt.
11781
a9e4425b
SM
117822013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * progmodes/ruby-mode.el: First cut at SMIE support.
11785 (ruby-use-smie): New var.
11786 (ruby-smie-grammar): New constant.
11787 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11788 (ruby-smie--forward-token, ruby-smie--backward-token)
11789 (ruby-smie-rules): New functions.
11790 (ruby-mode-variables): Setup SMIE if applicable.
11791
060ca408
EZ
117922013-05-08 Eli Zaretskii <eliz@gnu.org>
11793
11794 * simple.el (line-move-visual): Signal beginning/end of buffer
11795 only if vertical-motion moved less than it was requested. Avoids
11796 silly incorrect error messages when there are display strings with
11797 multiple newlines at EOL.
11798
1d5963cc
SM
117992013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11802 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11803 (prolog-char-quote-workaround):
11804 * progmodes/cperl-mode.el (cperl-under-as-char):
11805 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11806 Mark as obsolete.
11807 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11808 their declaration.
11809 (vhdl-mode-syntax-table-init): Remove.
11810
c9990474
SM
11811 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11812 last change.
1d5963cc
SM
11813
11814 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11815 syntax for "_".
11816 (ld-script-font-lock-keywords):
11817 Change regexps to use things like \_< and \_>.
11818
11819 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11820 Change all regexps to use things like \_< and \_>.
11821
11822 * progmodes/autoconf.el (autoconf-definition-regexp)
11823 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11824 Handle a _ with symbol syntax.
11825 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11826
c9990474
SM
11827 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11828 Consolidate declaration.
1d5963cc
SM
11829 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11830 the declaration.
11831 (ada-create-syntax-table): Remove.
11832 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11833 already has the right syntax nowadays.
11834 (ada-goto-next-word): Don't change the syntax of "_".
11835
11836 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11837 with-wrapper-hook.
11838
72d3cfca
SS
118392013-05-08 Sam Steingold <sds@gnu.org>
11840
11841 * thingatpt.el (thing-at-point): Accept optional second argument
11842 NO-PROPERTIES to strip the text properties from the return value.
11843 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11844 to `thing-at-point' instead of stripping the properties ourselves.
11845 Also, when `thing-at-point' fails to find a url, prepend "http://"
11846 to the filename at point on the assumption that the user is
11847 pointing at something like gnu.org/gnu.
11848
5cb15713
JB
118492013-05-08 Juanma Barranquero <lekktu@gmail.com>
11850
11851 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11852 * faces.el (crm-separator):
11853 Silence byte-compiler.
11854
11855 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11856 (tool-bar-map): Remove unneeded defvars.
11857
ea78b95b
LL
118582013-05-08 Leo Liu <sdl.web@gmail.com>
11859
11860 Re-work a fix for bug#10994 based on Le Wang's patch.
11861 * ido.el (ido-remove-consecutive-dups): New helper.
11862 (ido-completing-read): Use it.
11863 (ido-chop): Revert fix for bug#10994.
11864
dc7466df
AS
118652013-05-08 Adam Spiers <emacs@adamspiers.org>
11866
11867 * cus-edit.el (custom-save-variables):
11868 Pretty-print long values. (Bug#14187)
11869
9ecf672a
GM
118702013-05-08 Glenn Morris <rgm@gnu.org>
11871
11872 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11873 (m4-mode-syntax-table): Init in the defvar.
11874 (m4-mode-abbrev-table): Let define-derived-mode define it.
11875
3f555be8
TT
118762013-05-08 Tom Tromey <tromey@redhat.com>
11877
11878 * progmodes/m4-mode.el (m4-mode-syntax-table):
11879 Do not treat "_" as word constituent. (Bug#14167)
11880
7cc8ae06
GM
118812013-05-07 Glenn Morris <rgm@gnu.org>
11882
4f58bc06
GM
11883 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11884 Remove explicit eshell-isearch-cancel-map.
11885
7cc8ae06
GM
11886 * progmodes/f90.el (f90-smart-end-names): New option.
11887 (f90-smart-end): Doc fix.
11888 (f90-end-block-optional-name): New constant.
11889 (f90-block-match): Respect f90-smart-end-names.
11890
ceb57e59
SM
118912013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11894 about implicit semi-colons (bug#14218).
11895
4e3f9230
YM
118962013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11897
11898 * frame.el (display-monitor-attributes-list)
11899 (frame-monitor-attributes): New functions.
11900
203a5572
LL
119012013-05-06 Leo Liu <sdl.web@gmail.com>
11902
11903 * progmodes/octave.el (octave-syntax-propertize-function): Change
11904 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11905 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11906 (octave-completion-at-point): Rename from
203a5572
LL
11907 octave-completion-at-point-function.
11908 (inferior-octave-directory-tracker): Robustify.
11909 (octave-text-functions): Remove and fix its uses. No such things
11910 any more.
11911
ee6cff99
SM
119122013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * emacs-lisp/trace.el (trace--display-buffer): New function.
11915 (trace-make-advice): Use it.
11916
32985194
JL
119172013-05-06 Juri Linkov <juri@jurta.org>
11918
11919 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11920 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11921 Doc fix.
11922 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11923 in the help string. (Bug#12985)
11924
a1c700de
KD
119252013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11926
11927 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11928
c67c0839
SM
119292013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11930
323885fd
SM
11931 * progmodes/perl-mode.el: Add support for here documents.
11932 (perl-syntax-propertize-function): Match here-doc markers.
11933 (perl-syntax-propertize-special-constructs): Find their end.
11934 (perl-imenu-generic-expression): Use [:alnum:].
11935
c67c0839
SM
11936 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11937 (advice--add-function): Refresh the advice if already present
11938 (bug#14317).
11939
d491e7a8
IA
119402013-05-06 Ivan Andrus <darthandrus@gmail.com>
11941
11942 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11943
ddf9925e
GM
119442013-05-06 Glenn Morris <rgm@gnu.org>
11945
7cc3af27
GM
11946 * w32-fns.el (w32-charset-info-alist): Declare.
11947
16e343d6
GM
11948 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11949 of its defcustom properties.
11950 (eshell-cmpl-initialize): No need to load pcomplete.
11951
7d889a47
GM
11952 * generic-x.el: No need to require comint when compiling.
11953
ddf9925e
GM
11954 * net/eudc-export.el: Make it loadable without bbdb.
11955 (top-level): Use require rather than load-library.
11956 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11957 (eudc-batch-export-records-to-bbdb)
11958 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11959 Require bbdb.
11960
1e2c18df
SM
119612013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11964 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11965 some tweaks, instead.
11966
02502a5f
LL
119672013-05-05 Leo Liu <sdl.web@gmail.com>
11968
11969 * progmodes/octave.el (octave-font-lock-keywords)
11970 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11971 (inferior-octave-send-list-and-digest): Improve error message.
11972 (octave-mode, inferior-octave-mode): Use setq-local.
11973 (octave-help): Set info-lookup-mode.
11974
0dc04f42
RS
119752013-05-05 Richard Stallman <rms@gnu.org>
11976
6c54491c
RS
11977 * vc/compare-w.el (compare-windows-whitespace):
11978 Treat no-break space as whitespace.
11979
0dc04f42
RS
11980 * mail/rmailsum.el (rmail-summary-rmail-update):
11981 Detect empty summary and don't change selected message.
11982 (rmail-summary-goto-msg): Likewise.
11983
df8f35df
RS
11984 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11985 Doc fixes, rename args.
11986
5356e1a3
AM
119872013-05-05 Alan Mackenzie <acm@muc.de>
11988
11989 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11990
d44014cb
JL
119912013-05-05 Juri Linkov <juri@jurta.org>
11992
11993 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11994 to not add the length of the summary segment to the return value.
11995 (Bug#14125)
11996
c129b51f
LL
119972013-05-05 Leo Liu <sdl.web@gmail.com>
11998
11999 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12000 (inferior-octave-output-filter): Remove.
12001 (octave-send-region, inferior-octave-startup): Fix callers.
12002 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12003 (octave-binary-file-extensions): New user variable.
12004 (octave-find-definition): Confirm if opening binary files.
12005 (octave-help-file): Use octave-find-definition to get the binary
12006 confirmation.
12007 (octave-help): Adjust for octave-help-file change.
12008
aa7dab97
SM
120092013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12010
12011 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12012 Merge the two entries that handle function definitions.
12013 (pascal--syntax-propertize): New const.
12014 (pascal-mode): Use it. Use setq-local.
12015
fd3a9a6b
GM
120162013-05-04 Glenn Morris <rgm@gnu.org>
12017
12018 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12019 (diary-from-outlook): Respect diary-from-outlook-function.
12020
30c7e542
SM
120212013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12024 Move the declaration from C.
12025 (read-minibuffer, eval-minibuffer): Move from C.
12026 (completion-setup-function): Avoid minibuffer-completion-contents.
12027
b54f978b
LL
120282013-05-03 Leo Liu <sdl.web@gmail.com>
12029
12030 * progmodes/octave.el (octave-font-lock-keywords): Do not
12031 dehighlight 'end' in comments or strings.
30c7e542
SM
12032 (octave-completing-read, octave-goto-function-definition):
12033 New helpers.
d4d0f9b3
LL
12034 (octave-help-buffer): New user variable.
12035 (octave-help-file, octave-help-function): New button types.
12036 (octave-help): New command and bind it to C-h ;.
12037 (octave-find-definition): New command and bind it to M-.
d74a1581 12038 (user-error): Alias to error if not defined.
b54f978b 12039
27135018
LL
120402013-05-02 Leo Liu <sdl.web@gmail.com>
12041
12042 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12043 for \. (bug#14332)
12044 (octave-font-lock-keywords): Include [ and {.
12045
0d634d3a
LL
120462013-05-02 Leo Liu <sdl.web@gmail.com>
12047
12048 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12049 (inferior-octave): Remove calling comint-mode and return the buffer.
12050 (inferior-octave-startup): Cosmetic changes.
12051
b4c8295e
LL
120522013-05-02 Leo Liu <sdl.web@gmail.com>
12053
30c7e542
SM
12054 * progmodes/octave.el (octave-syntax-propertize-function):
12055 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12056
f12ad6ec
GM
120572013-05-02 Glenn Morris <rgm@gnu.org>
12058
12059 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12060 * desktop.el (vc-dir-mode): Just autoload it here.
12061
30cac1e0
AM
120622013-05-02 Alan Mackenzie <acm@muc.de>
12063
12064 Eliminate variable c-standard-font-lock-fontify-region-function.
12065 * progmodes/cc-mode.el
12066 (c-standard-font-lock-fontify-region-function): Remove.
12067 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12068
d8ef28b1
LL
120692013-05-01 Leo Liu <sdl.web@gmail.com>
12070
2640d52e 12071 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12072 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12073 variables were removed from Octave in 2007.
d8ef28b1
LL
12074 (inferior-octave-startup): Fix uses.
12075 (comint-line-beginning-position): Remove compatibility code for
12076 emacs 21.
12077
ac63ec89
JL
120782013-05-01 Juri Linkov <juri@jurta.org>
12079
12080 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12081
9e9be37c
JL
120822013-05-01 Juri Linkov <juri@jurta.org>
12083
12084 * comint.el (comint-previous-matching-input): Don't print message
12085 "History item: %d" when `isearch-mode' is active.
12086 (comint-history-isearch-message): Print message "History item: %d"
12087 when `comint-input-ring-index' is not empty and this function is
12088 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12089
9b92c13b
LL
120902013-05-01 Leo Liu <sdl.web@gmail.com>
12091
12092 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12093 definitions. Use completion-at-point to insert keywords.
12094 (octave-abbrev-start): Remove.
12095 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12096
b12d33d7
LL
120972013-04-30 Leo Liu <sdl.web@gmail.com>
12098
12099 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12100 change.
12101
3d1c39fa
AM
121022013-04-30 Alan Mackenzie <acm@muc.de>
12103
12104 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12105 * progmodes/cc-engine.el (c-back-over-member-initializers):
12106 new function.
3d1c39fa
AM
12107 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12108 (most) member init lists.
12109
5147fc17
RS
121102013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12111
12112 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12113 variable.
12114
5b78d7fc
LL
121152013-04-30 Leo Liu <sdl.web@gmail.com>
12116
12117 * progmodes/octave.el (octave-variables): Remove. No builtin
12118 variables any more. All converted to functions.
12119 (octave-font-lock-keywords, octave-completion-at-point-function):
12120 Fix uses.
12121 (octave-font-lock-texinfo-comment): New user variable.
12122 (octave-texinfo-font-lock-keywords): New variable for texinfo
12123 comment block.
12124 (octave-function-comment-block): New face.
12125 (octave-font-lock-texinfo-comment): New function.
12126 (octave-mode): Font lock texinfo comment block.
12127
38d8527b
LL
121282013-04-29 Leo Liu <sdl.web@gmail.com>
12129
12130 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12131 indexing expression.
12132 (octave-continuation-string): Do not use \.
12133 (inferior-octave-complete-impossible): Remove.
12134 (inferior-octave-completion-table)
12135 (inferior-octave-completion-at-point): Remove its uses.
12136 (inferior-octave-startup): completion_matches was introduced to
12137 Octave in 1996 so safe to assume it.
12138 (octave-function-file-comment): Improve to follow how Octave does it.
12139 (octave-update-function-file-comment): Tweak.
12140
2ec12cb0
LL
121412013-04-29 Leo Liu <sdl.web@gmail.com>
12142
12143 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12144 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12145 (octave-function-file-comment): Fix typo.
12146 (octave-sync-function-file-names): Use read-char-choice.
12147
6eaed048
JB
121482013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12149
12150 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12151 to t for the less important warnings.
12152
3ffa2d4f
DH
121532013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12154
12155 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12156
685c9501
GM
121572013-04-27 Glenn Morris <rgm@gnu.org>
12158
12159 * vc/log-view.el (log-view-current-entry):
12160 Treat "---" separator lines as part of the following rev. (Bug#14169)
12161
0208ede7
JL
121622013-04-27 Juri Linkov <juri@jurta.org>
12163
12164 * subr.el (read-number): Doc fix about using it by interactive
12165 code letter `n'. (Bug#14254)
12166
5db9dace
JL
121672013-04-27 Juri Linkov <juri@jurta.org>
12168
12169 * desktop.el (desktop-auto-save-timeout): New option.
12170 (desktop-file-checksum): New variable.
12171 (desktop-save): Add optional arg `auto-save' and don't auto-save
12172 if nothing changed.
12173 (desktop-auto-save-timer): New variable.
12174 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12175 (after-init-hook): Call `desktop-auto-save-set-timer'.
12176 Suggested by Reuben Thomas <rrt@sc3d.org> in
12177 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12178
b7260dd4
LL
121792013-04-27 Leo Liu <sdl.web@gmail.com>
12180
12181 * progmodes/octave.el (octave-function-file-p)
12182 (octave-skip-comment-forward, octave-function-file-comment)
12183 (octave-update-function-file-comment): New functions.
12184 (octave-mode-map): Bind C-c ; to
12185 octave-update-function-file-comment.
12186 (octave-mode-menu): Add octave-update-function-file-comment.
12187 (octave-mode, inferior-octave-mode): Fix doc-string.
12188 (octave-insert-defun): Conform to Octave's coding convention.
12189 (Bug#14285)
12190
12191 * files.el (basic-save-buffer): Don't let errors in
12192 before-save-hook prevent saving buffer.
12193
c46da669
RW
121942013-04-20 Roland Winkler <winkler@gnu.org>
12195
12196 * faces.el (read-face-name): Use completing-read if arg multiple
12197 is nil.
12198
a81ee1eb
IL
121992013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12200
12201 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12202 displayed, move point to after the totals line.
12203 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12204 for the details.
12205
4fac34ce
SM
122062013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12209 Add current dir to the load-path.
12210 (package-generate-autoloads): Don't rely on
12211 autoload-ensure-default-file.
12212
f6bfc063
RT
122132013-04-26 Reuben Thomas <rrt@sc3d.org>
12214
d40ab5cf
BG
12215 * textmodes/remember.el (remember-store-in-files): Document that
12216 the file name format is passed to `format-time-string'.
f6bfc063 12217
e55d3b04
LL
122182013-04-26 Leo Liu <sdl.web@gmail.com>
12219
12220 * progmodes/octave.el (octave-sync-function-file-names): New function.
12221 (octave-mode): Use it in before-save-hook.
12222
e53052d3
SM
122232013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12224
140ef50c
SM
12225 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12226 (bug#14274).
12227
e53052d3
SM
12228 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12229 \n and comment, even if it's not an implicit ; (bug#14218).
12230
af80458d 122312013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12232
12233 * subr.el (read-number): Once more use `read' rather than
12234 `string-to-number', to trap non-numeric input. (Bug#14254)
12235
af80458d 122362013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12237
12238 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12239 Use `syntax-multiline' text property consistently instead of
8a621d53 12240 `font-lock-multiline'. (Bug#14237)
70203c2e 12241
e6ea1f6c
GM
122422013-04-26 Glenn Morris <rgm@gnu.org>
12243
12244 * emacs-lisp/shadow.el (list-load-path-shadows):
12245 No longer necessary to check for duplicate simple.el, since
12246 2012-07-07 change to init_lread to not include installation lisp
12247 directories in load-path when running uninstalled. (Bug#14270)
12248
070ccca4
LL
122492013-04-26 Leo Liu <sdl.web@gmail.com>
12250
12251 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12252 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12253 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12254 octave-in-string-or-comment-p.
12255 (octave-in-comment-p, octave-in-string-p)
12256 (octave-in-string-or-comment-p): Replace defsubst with defun.
12257
9d1c5fb6
PE
122582013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12259
12260 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12261
c034abda
BG
122622013-04-25 Bastien Guerry <bzg@gnu.org>
12263
12264 * textmodes/remember.el (remember-data-directory)
12265 (remember-directory-file-name-format): Fix custom types.
12266
584ea277
LL
122672013-04-25 Leo Liu <sdl.web@gmail.com>
12268
e53052d3
SM
12269 * progmodes/octave.el (octave-completion-at-point-function):
12270 Make use of inferior octave process.
584ea277
LL
12271 (octave-initialize-completions): Remove.
12272 (inferior-octave-completion-table): New function.
12273 (inferior-octave-completion-at-point): Use it.
12274 (octave-completion-alist): Remove.
12275
1693b06a
SM
122762013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12277
12278 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12279 (opascal-mode-syntax-table): New var.
12280 (opascal-literal-kind, opascal-is-literal-end)
12281 (opascal-literal-token-at): Rewrite.
12282 (opascal--literal-start-re, opascal-font-lock-keywords)
12283 (opascal--syntax-propertize): New constants.
12284 (opascal-font-lock-defaults): Adjust.
12285 (opascal-mode): Use them. Set comment-<foo> variables as well.
12286 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12287 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12288 (delphi-other-face, opascal-other-face): Remove face variables.
12289 (opascal-save-state): Remove macro.
12290 (opascal-fontifying-progress-step): Remove constant.
12291 (opascal--ignore-changes): Remove var.
12292 (opascal-set-token-property, opascal-parse-next-literal)
12293 (opascal-is-stable-literal, opascal-complete-literal)
12294 (opascal-is-literal-start, opascal-face-of)
12295 (opascal-parse-region, opascal-parse-region-until-stable)
12296 (opascal-fontify-region, opascal-after-change)
12297 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12298 (opascal-debug-parse-region, opascal-debug-parse-window)
12299 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12300 (opascal-debug-fontify-buffer): Remove.
12301 (opascal-debug-mode-map): Adjust accordingly.
12302
be64c05d
LL
123032013-04-25 Leo Liu <sdl.web@gmail.com>
12304
12305 Merge octave-mod.el and octave-inf.el into octave.el with some
12306 cleanups.
12307 * progmodes/octave.el: New file renamed from octave-mod.el.
12308 * progmodes/octave-inf.el: Merged into octave.el.
12309 * progmodes/octave-mod.el: Renamed to octave.el.
12310
d79d37bd
TH
123112013-04-25 Tassilo Horn <tsdh@gnu.org>
12312
12313 * textmodes/reftex-vars.el
12314 (reftex-label-ignored-macros-and-environments): New defcustom.
12315
12316 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12317
ced3fc5d
SM
123182013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12321 (smie-indent-keyword): Improve the check to ensure that the next
12322 comment is really on the same line.
12323 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12324
12325 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12326 semi-colons if the line is not otherwise empty (bug#14218).
12327
1c141dad
GM
123282013-04-25 Glenn Morris <rgm@gnu.org>
12329
12330 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12331
5058062a
SM
123322013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12333
12334 * progmodes/opascal.el (opascal-set-token-property): Rename from
12335 opascal-set-text-properties and only set `token' (bug#14134).
12336 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12337 (opascal-literal-text-properties): Remove.
12338 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12339 Adjust callers.
12340
5db9dace 123412013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12342
12343 * textmodes/remember.el (remember-handler-functions): Add an
12344 option for a new handler `remember-store-in-files'.
12345 (remember-data-directory, remember-directory-file-name-format):
12346 New options.
12347 (remember-store-in-files): New function to store remember notes
12348 as separate files within a directory.
12349
4391916c
MH
123502013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12351
12352 * progmodes/compile.el (compilation-next-error-function):
12353 Pass "formats" to compilation-find-file (bug#11777).
12354
bb7cdf58
GM
123552013-04-24 Glenn Morris <rgm@gnu.org>
12356
3b8fe752 12357 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12358 * vc/vc-hg.el (vc-hg-print-log):
12359 * vc/vc-svn.el (vc-svn-print-log):
12360 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12361
bb7cdf58
GM
12362 * vc/vc-bzr.el (vc-bzr-print-log):
12363 * vc/vc-cvs.el (vc-cvs-print-log):
12364 * vc/vc-git.el (vc-git-print-log):
12365 * vc/vc-hg.el (vc-hg-print-log):
12366 * vc/vc-mtn.el (vc-mtn-print-log):
12367 * vc/vc-rcs.el (vc-rcs-print-log):
12368 * vc/vc-sccs.el (vc-sccs-print-log):
12369 * vc/vc-svn.el (vc-svn-print-log):
12370 * vc/vc.el (vc-print-log-internal): Doc fixes.
12371
b46a056e
GM
123722013-04-23 Glenn Morris <rgm@gnu.org>
12373
12374 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12375 Remove venerable code attempting to avoid substitute-command-keys.
12376
0aecf718
TH
123772013-04-23 Tassilo Horn <tsdh@gnu.org>
12378
4391916c
MH
12379 * textmodes/reftex-vars.el (reftex-label-regexps):
12380 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12381
117f94cf
SM
123822013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12383
4391916c 12384 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12385 Use lexical-binding.
12386 (jit-lock-force-redisplay): Use markers, check buffer's continued
12387 existence and beware narrowed buffers.
12388 (jit-lock-fontify-now): Adjust call accordingly.
12389
1d829c64
SM
123902013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12393 to avoid misleading the user.
12394
72d548a9
LL
123952013-04-22 Leo Liu <sdl.web@gmail.com>
12396
12397 * info-look.el: Prefer latex2e.info. (Bug#14240)
12398
d0853629
MA
123992013-04-22 Michael Albinus <michael.albinus@gmx.de>
12400
12401 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12402
12403 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12404 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12405 (tramp-set-completion-function, tramp-parse-putty):
12406 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12407 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12408 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12409 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12410 (tramp-call-local-coding-command): Use `tramp-call-process'
12411 instead of `tramp-compat-call-process'.
12412
12413 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12414 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12415 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12416 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12417 (tramp-maybe-send-script): Check for Perl binary.
12418 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12419
38cc0210
DU
124202013-04-22 Daiki Ueno <ueno@gnu.org>
12421
12422 * epg.el (epg-context-pinentry-mode): New function.
12423 (epg-context-set-pinentry-mode): New function.
12424 (epg--start): Pass --pinentry-mode option to gpg command.
12425
cc641ee1
XF
124262013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12427
02d844b5 12428 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12429 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12430 `completion-at-point'. (Bug#13774)
5d4e5c31 12431
cc641ee1
XF
12432 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12433 default key binding for `describe-distribution' has been moved to
12434 `C-h C-o'. (Bug#13970)
12435
1b42ee43
GM
124362013-04-21 Glenn Morris <rgm@gnu.org>
12437
12438 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12439 Add doc strings.
12440 (vc-print-log): Clarify interactive prompt.
12441
a6d63d97
GM
124422013-04-20 Glenn Morris <rgm@gnu.org>
12443
12444 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12445 No longer include timestamp etc information.
12446
d7f5c16f
RW
124472013-04-20 Roland Winkler <winkler@gnu.org>
12448
12449 * faces.el (read-face-name): Bug fix, return just one face if arg
12450 multiple is nil. (Bug#14209)
12451
bcd7a0a4
SM
124522013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12453
12454 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12455 (remove-function): Autoload.
12456
12457 * comint.el (comint-redirect-original-filter-function): Remove.
12458 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12459 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12460 (vc-cvs-annotate-command):
bcd7a0a4
SM
12461 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12462 * progmodes/prolog.el (prolog-consult-compile):
12463 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12464 Use add/remove-function instead.
12465 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12466 (gud-tooltip-process-output, gud-tooltip-tips):
12467 Use add/remove-function instead.
12468 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12469 (scheme-interaction-mode, exit-scheme-interaction-mode):
12470 Use add/remove-function instead.
12471
12472 * vc/vc-dispatcher.el: Use lexical-binding.
12473 (vc--process-sentinel): Rename from vc-process-sentinel.
12474 Change last arg to be the code to run. Don't use vc-previous-sentinel
12475 and vc-sentinel-commands any more.
12476 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12477 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12478
e36b2d20 124792013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12480
bcd7a0a4 12481 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12482 Handle function names with a single character. (Bug#14111)
4d3268ba 12483
781b4af6 124842013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12485
12486 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12487 for subroutines defined in an eval (bug#14182).
12488
7d688336
TV
124892013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12490
12491 * bookmark.el (bookmark-completing-read): Improve handling of empty
12492 string (bug#14176).
12493
31dcede0
SM
124942013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12497
adc31213
FEG
124982013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12499
12500 New faster Imenu implementation (bug#14058).
12501 * progmodes/python.el:
12502 (python-imenu-prev-index-position):
12503 (python-imenu-format-item-label-function)
12504 (python-imenu-format-parent-item-label-function)
12505 (python-imenu-format-parent-item-jump-label-function):
12506 New vars.
12507 (python-imenu-format-item-label)
12508 (python-imenu-format-parent-item-label)
12509 (python-imenu-format-parent-item-jump-label)
12510 (python-imenu--put-parent, python-imenu--build-tree)
12511 (python-imenu-create-index, python-imenu-create-flat-index)
12512 (python-util-popn): New functions.
12513 (python-mode): Set imenu-create-index-function to
12514 python-imenu-create-index.
12515
cdca8255
SM
125162013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * winner.el (winner-active-region): Use region-active-p, activate-mark
12519 and deactivate-mark (bug#14225).
12520
12521 * simple.el (deactivate-mark): Don't inline it.
12522
beb42340
MA
125232013-04-18 Michael Albinus <michael.albinus@gmx.de>
12524
12525 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12526
fc7f4d7e
TH
125272013-04-18 Tassilo Horn <tsdh@gnu.org>
12528
12529 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12530 file extensions from the archive-mode entry in order to prefer
12531 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12532
29f47822
LL
125332013-04-18 Leo Liu <sdl.web@gmail.com>
12534
12535 * bindings.el (help-event-list): Add ?\?.
12536
d36ed1c8
SM
125372013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12538
12539 * subr.el (with-wrapper-hook): Declare obsolete.
12540 * simple.el (filter-buffer-substring-function): New hook.
12541 (filter-buffer-substring): Use it.
12542 (filter-buffer-substring-functions): Mark obsolete.
12543 * minibuffer.el (completion-in-region-function): New hook.
12544 (completion-in-region): Use it.
12545 (completion-in-region-functions): Mark obsolete.
12546 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12547 * abbrev.el (abbrev-expand-function): New hook.
12548 (expand-abbrev): Use it.
12549 (abbrev-expand-functions): Mark obsolete.
12550 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12551 and :filter-return.
12552
04754d36
FEG
125532013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12554
12555 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12556 and do not care about match data.
12557
dd8791e9
SM
125582013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12559
12560 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12561 completion tables when completing error conditions and
12562 `declare' arguments.
12563 (lisp-complete-symbol, field-complete): Mark as obsolete.
12564 (check-parens): Unmatched parens are user errors.
12565 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12566
ffe54a13
AM
125672013-04-17 Michal Nazarewicz <mina86@mina86.com>
12568
dd8791e9
SM
12569 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12570 command changed buffer (ie. `flyspell-pre-buffer' is not current
12571 buffer), which prevents making decisions based on invalid value of
12572 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12573 cause an error when `flyspell-pre-point' was nil after switching
12574 buffers.
12575 (flyspell-post-command-hook): No longer needs to change buffers when
12576 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12577
ec7e39f2
AM
125782013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12579
12580 * textmodes/ispell.el (ispell-add-per-file-word-list):
12581 Fix `flyspell-correct-word-before-point' error when accepting
12582 words and `coment-padding' is an integer by using
12583 `comment-normalize-vars' (Bug #14214).
12584
083850a6
FEG
125852013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12586
12587 New defun movement commands.
12588 * progmodes/python.el (python-nav--syntactically)
12589 (python-nav--forward-defun, python-nav-backward-defun)
12590 (python-nav-forward-defun): New functions.
12591
619ed6e1
FEG
125922013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12593
12594 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12595 (python-syntax-context): Use named compiler-macro for backwards
12596 compatibility with Emacs 24.x.
12597
7a1beb6c
LL
125982013-04-17 Leo Liu <sdl.web@gmail.com>
12599
12600 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12601 octave-hide-process-buffer.
12602
2d3fa3e5
SM
126032013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12604
12605 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12606 (bug#14216).
12607
7ce5be54
JPG
126082013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12609
12610 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12611 Fix adjustment of offset when receiving incomplete responses from GDB
12612 (bug#14129).
12613
351edece
SM
126142013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12617 python-mode-abbrev-table.
12618 (python-skeleton-define): Adjust accordingly.
12619 (python-mode-abbrev-table): New table that inherits from it so that
12620 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12621
12622 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12623 (abbrev-symbol): Use it.
12624 (abbrev--before-point): Use it since we already handle inheritance.
12625
613f9481
LL
126262013-04-16 Leo Liu <sdl.web@gmail.com>
12627
12628 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12629 binding to info-lookup-symbol.
12630
51646b62
JB
126312013-04-16 Juanma Barranquero <lekktu@gmail.com>
12632
12633 * minibuffer.el (completion--twq-all):
12634 * term/ns-win.el (ns-initialize-window-system):
12635 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12636
efb3f01d
SM
126372013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12638
36c0a301
SM
12639 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12640 global bindings.
12641
efb3f01d
SM
12642 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12643
fb549d64
DG
126442013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12645
12646 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12647 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12648 to nil.
12649 (ruby-end-of-defun): Remove the unused arg, change the docstring
12650 to reflect that this function is only used as the value of
12651 `end-of-defun-function'.
12652 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12653 to reflect an earlier change that beginning/end-of-defun functions
12654 jump between methods in a class definition, as well as top-level
12655 functions.
12656
21e8fe2f
SM
126572013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12658
12659 * minibuffer.el (minibuffer-complete): Don't just scroll
12660 a *Completions* that's been iconified.
12661 (minibuffer-force-complete): Make sure repetitions do cycle when going
12662 through completion-in-region -> minibuffer-complete.
12663
20e527d0
AM
126642013-04-15 Alan Mackenzie <acm@muc.de>
12665
12666 Correct the placement of c-cpp-delimiters when there're #s not at
12667 col 0.
12668
12669 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12670 place a submatch around the #.
21e8fe2f
SM
12671 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12672 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12673 on the #, not BOL.
12674
dabefae5
SM
126752013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12678 (advice--member-p): New arg `name'.
12679 (advice--add-function, advice-member-p): Use it (bug#14202).
12680
85c9ab64
AM
126812013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12682
12683 Reformulate java imenu-generic-expression.
12684 The old expression contained ill formed regexps.
12685
12686 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12687 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12688 (cc-imenu-java-method-arg-regexp): New defconsts.
12689 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12690 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12691 handling of spaces in the regexp.
12692
0f821d99
AM
126932013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12694
12695 * textmodes/ispell.el (ispell-command-loop): Remove
12696 flyspell highlight of a word when ispell accepts it (bug #14178).
12697
eb922adf
MA
126982013-04-15 Michael Albinus <michael.albinus@gmx.de>
12699
12700 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12701 uses code from the previous `ange-ftp-run-real-handler'.
12702 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12703 only in case that function exist. This is needed for proper
12704 unloading of Tramp.
12705
4d9a0979
TH
127062013-04-15 Tassilo Horn <tsdh@gnu.org>
12707
12708 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12709
12710 * textmodes/reftex.el (reftex-compile-variables): Use it.
12711
a829b0dc
SM
127122013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12713
91e8293c
SM
12714 * files.el (normal-mode): Only use default major-mode if no other mode
12715 was specified.
12716
830aed4d
SM
12717 * emacs-lisp/trace.el (trace-values): New function.
12718
a829b0dc
SM
12719 * files.el: Allow : in local variables (bug#14089).
12720 (hack-local-variable-regexp): New var.
12721 (hack-local-variables-prop-line, hack-local-variables): Use it.
12722
7ae9f0fb
RW
127232013-04-13 Roland Winkler <winkler@gnu.org>
12724
12725 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12726 data before it gets modified by bibtex-beginning-of-entry.
12727
6646e848
RW
127282013-04-13 Roland Winkler <winkler@gnu.org>
12729
12730 * textmodes/bibtex.el (bibtex-url): Doc fix.
12731
127322013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12733
12734 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12735 does not visit a BibTeX file, exclude it from the list of buffers
12736 returned by bibtex-initialize.
12737
0aa3616e
SB
127382013-04-13 Stephen Berman <stephen.berman@gmx.net>
12739
12740 * window.el (split-window): Remove interactive form, since as a
12741 command this function is a special case of split-window-below.
12742 Correct doc string.
12743
011cddd6
RW
127442013-04-12 Roland Winkler <winkler@gnu.org>
12745
12746 * faces.el (read-face-name): Do not override value of arg default.
12747 Allow single faces and strings as default values. Remove those
12748 elements from return value that are not faces.
12749 (describe-face): Simplify.
12750 (face-at-point): New optional args thing and multiple so that this
12751 function can provide the same functionality previously provided by
12752 read-face-name.
12753 (make-face-bold, make-face-unbold, make-face-italic)
12754 (make-face-unitalic, make-face-bold-italic, invert-face)
12755 (modify-face, read-face-and-attribute): Use face-at-point.
12756
12757 * cus-edit.el (customize-face, customize-face-other-window)
12758 * cus-theme.el (custom-theme-add-face)
12759 * face-remap.el (buffer-face-set)
12760 * facemenu.el (facemenu-set-face): Use face-at-point.
12761
f24e0036
MA
127622013-04-12 Michael Albinus <michael.albinus@gmx.de>
12763
12764 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12765
da3cda2d
TH
127662013-04-10 Tassilo Horn <tsdh@gnu.org>
12767
12768 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12769 off leading { and trailing } from field values.
12770
15e54145
SM
127712013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12772
78ce603d
SM
12773 * emacs-lisp/timer.el (timer--check): New function.
12774 (timer--time, timer-set-function, timer-event-handler): Use it.
12775 (timer-set-idle-time): Simplify.
12776 (timer--activate): CSE.
12777 (timer-event-handler): Give more info in error message.
12778 (internal-timer-start-idle): New function, moved from C.
12779
15e54145
SM
12780 * mpc.el (mpc-proc): Add `restart' argument.
12781 (mpc-proc-cmd): Use it.
12782 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12783 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12784 less often.
12785
7144c627
MY
127862013-04-10 Masatake YAMATO <yamato@redhat.com>
12787
12788 * progmodes/sh-script.el: Implement `sh-mode' own
12789 `add-log-current-defun-function' (bug#14112).
12790 (sh-current-defun-name): New function.
12791 (sh-mode): Use the function.
12792
b39792eb
BG
127932013-04-09 Bastien Guerry <bzg@gnu.org>
12794
12795 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12796
8acdeb71
SM
127972013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12798
6fcdab68
SM
12799 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12800
8acdeb71
SM
12801 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12802 timer (bug#14156).
12803
e3e7b504
NF
128042013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12805
12806 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12807 declaration.
12808
201bb296
LL
128092013-04-07 Leo Liu <sdl.web@gmail.com>
12810
12811 * pcmpl-x.el: New file.
12812
ebb19708
DA
128132013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12814
12815 Do not set x-display-name until X connection is established.
12816 This is needed to prevent from weird situation described at
12817 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12818 * frame.el (make-frame): Set x-display-name after call to
12819 window system initialization function, not before.
12820 * term/x-win.el (x-initialize-window-system): Add optional
12821 display argument and use it.
12822 * term/w32-win.el (w32-initialize-window-system):
12823 * term/ns-win.el (ns-initialize-window-system):
12824 * term/pc-win.el (msdos-initialize-window-system):
12825 Add compatible optional display argument.
12826
33bb237a
EZ
128272013-04-06 Eli Zaretskii <eliz@gnu.org>
12828
12829 * files.el (normal-backup-enable-predicate): On MS-Windows and
12830 MS-DOS compare truenames of temporary-file-directory and of the
12831 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12832 don't fail comparison by compare-strings. Also, compare file
12833 names case-insensitively on MS-Windows and MS-DOS.
12834
134abf1f
SM
128352013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12836
12837 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12838 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12839
d695cb94
DG
128402013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12841
e3e7b504
NF
12842 * whitespace.el (whitespace-color-on, whitespace-color-off):
12843 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12844
f4ad7ea1 128452013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12846
12847 * ispell.el (ispell-set-spellchecker-params):
12848 Really set `ispell-args' for all equivs.
12849
632556e4
SM
128502013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * ido.el (ido-completions): Use extra elements of ido-decorations
12853 (bug#14143).
12854 (ido-decorations): Update docstring.
12855
2a417372
MA
128562013-04-05 Michael Albinus <michael.albinus@gmx.de>
12857
12858 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12859 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12860 nil during initialization, in order not to miss changes since the
12861 file was opened. (Bug#14140)
12862
fc164b0c
LL
128632013-04-05 Leo Liu <sdl.web@gmail.com>
12864
12865 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12866
0ccecc08
JB
128672013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12868
12869 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12870
51af1aa2
GM
128712013-04-04 Glenn Morris <rgm@gnu.org>
12872
12873 * electric.el (electric-pair-inhibit-predicate): Add :version.
12874
b208ebc6
SM
128752013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12876
12877 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12878 when a package is required several times (bug#14082).
12879
f3d3eaf0
RW
128802013-04-04 Roland Winkler <winkler@gnu.org>
12881
12882 * faces.el (read-face-name): Behave as promised by the docstring.
12883 Assume that arg default is a list of faces.
12884 (describe-face): Call read-face-name with list of default faces.
12885
2575da50
TV
128862013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12887
12888 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12889 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12890 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12891 the header.
12892 (bookmark-exit-hook-internal): Save even if list is empty.
12893
397703b4
YH
128942013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12895
12896 * emacs-lisp/package.el (package-pinned-packages): New var.
12897 (package--add-to-archive-contents): Obey it (bug#14118).
12898
691e26ae
AM
128992013-04-03 Alan Mackenzie <acm@muc.de>
12900
8a621d53
JB
12901 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12902 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12903
12904 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12905 parameter `not-in-delimiter'. Handle being inside comment opener.
12906 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12907 character in case we're typing a '*' after a '/'.
12908 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12909 instead by passing the parameter to c-state-pp-to-literal.
12910
12911 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12912 for elt. 7 of a parse state.
12913
4b725a70
PE
129142013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12915
12916 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12917 * international/latin1-disp.el, international/mule-util.el:
12918 * language/cyril-util.el, language/european.el, language/ind-util.el:
12919 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12920 * language/tibetan.el, language/viet-util.el:
12921 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12922
15c579f0
SM
129232013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12924
12925 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12926 (electric-pair-post-self-insert-function): Use it.
12927 (electric-pair-default-inhibit): New function, extracted from
12928 electric-pair-post-self-insert-function.
12929
a77e2924
RW
129302013-03-31 Roland Winkler <winkler@gnu.org>
12931
12932 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12933
2bd8a4a8
SM
129342013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12937
8d3655be 129382013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12939
12940 Un-indent after "pass" and "return" statements (Bug#13888)
12941 * progmodes/python.el (python-indent-block-enders): New var.
12942 (python-indent-calculate-indentation): Use it.
12943
8d3655be 129442013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12945
12946 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12947 defun. Defining it as defalias could introduce too eager
12948 byte-compiler optimization. (Bug#14030)
12949
8d3655be 129502013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12951
12952 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12953
0b1619da
LL
129542013-03-30 Leo Liu <sdl.web@gmail.com>
12955
12956 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12957 (kmacro-execute-from-register): Pass the keyboard macro to
12958 kmacro-call-macro or repeating won't work correctly.
12959
0b938190
TZ
129602013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12961
12962 * progmodes/subword.el: Back to using `forward-symbol'.
12963
12964 * subr.el (forward-whitespace, forward-symbol)
12965 (forward-same-syntax): Move from thingatpt.el.
12966
35710234
LL
129672013-03-29 Leo Liu <sdl.web@gmail.com>
12968
12969 * kmacro.el (kmacro-to-register): New command.
12970 (kmacro-execute-from-register): New function.
12971 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12972
efc0bb73
SM
129732013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * mpc.el: Use defvar-local and setq-local.
12976 (mpc--proc-connect): Connection failures are not bugs.
12977 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12978 (mpc-volume-map): Bind to the up-events.
12979
75a2f981
TZ
129802013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12981
12982 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12983 instead of `forward-symbol'.
12984
17c781d1
SM
129852013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12988 (edebug--recursive-edit): Use it.
12989 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12990 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12991
f67bfbcf
LL
129922013-03-28 Leo Liu <sdl.web@gmail.com>
12993
12994 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12995
b59f639d
EZ
129962013-03-27 Eli Zaretskii <eliz@gnu.org>
12997
12998 * facemenu.el (list-colors-callback): New defvar.
12999 (list-colors-redisplay): New function.
13000 (list-colors-display): Install list-colors-redisplay as the
13001 revert-buffer-function. (Bug#14063)
13002
f557c1b1
SM
130032013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13004
b1da2957
SM
13005 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13006 and suffixes don't overlap (bug#14061).
13007
f557c1b1
SM
13008 * case-table.el: Use lexical-binding.
13009 (case-table-get-table): New function.
13010 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13011
002668e1
TZ
130122013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13013
13014 * progmodes/subword.el: Add `superword-mode' to do word motion
13015 over symbol_words (parallels and leverages `subword-mode' which
13016 does word motion inside MixedCaseWords).
13017
73572c72
AG
130182013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13019
78b8f320 13020 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13021 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13022
69b2c07e
SM
130232013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13026 Change return value to be a sexp. Delay `get-buffer' to after
13027 restoring the desktop (bug#13951).
13028
08bb5ee2
LL
130292013-03-26 Leo Liu <sdl.web@gmail.com>
13030
13031 * register.el: Move semantic tag handling back to
13032 cedet/semantic/senator.el. (Bug#14052)
13033
8d4c974e
SM
130342013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13035
13036 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13037 into the prompt either (bug#13963).
13038
b234d92c
SM
130392013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13042 part of "(error-foo)".
13043
ddfa3cb4
JL
130442013-03-24 Juri Linkov <juri@jurta.org>
13045
13046 * replace.el (list-matching-lines-prefix-face): New defcustom.
13047 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13048 `occur-engine' if `face-differs-from-default-p' returns t.
13049 (occur-engine): Add `,' inside backquote construct to evaluate
13050 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13051 Pass `prefix-face' to the functions `occur-context-lines' and
13052 `occur-engine-add-prefix'.
13053 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13054 `prefix-face' and propertize the prefix with `prefix-face'.
13055 (Bug#14017)
13056
7b0e2f85
LL
130572013-03-24 Leo Liu <sdl.web@gmail.com>
13058
13059 * nxml/rng-valid.el (rng-validate-while-idle)
13060 (rng-validate-quick-while-idle): Guard against deleted buffer.
13061 (Bug#13999)
13062
13063 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13064 is the last entry in kill-buffer-hook.
13065
13066 * files.el (kill-buffer-hook): Doc fix.
13067
b3082f49
DG
130682013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13069
b234d92c
SM
13070 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13071 Make it safe-local.
bde73d27 13072
b3082f49
DG
13073 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13074
a320a2db
LL
130752013-03-23 Leo Liu <sdl.web@gmail.com>
13076
7e74b0fb
LL
13077 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13078 Remove.
13079
13080 * nxml/rng-valid.el (rng-validate-mode)
13081 (rng-after-change-function, rng-do-some-validation):
13082 * nxml/rng-maint.el (rng-validate-buffer):
13083 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13084 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13085 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13086 (nxml-extend-after-change-region): Use with-silent-modifications.
13087
a320a2db
LL
13088 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13089 timer-idle-list.
13090
13091 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13092 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13093 timer-idle-list. (Bug#13999)
13094
e38e6780
JL
130952013-03-23 Juri Linkov <juri@jurta.org>
13096
13097 * info.el (info-index-match): New face.
13098 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13099 main pattern and add text properties with the new face to matches
13100 in index entries relative to the beginning of the index entry.
13101 (Bug#14015)
13102
e8cc7880
DE
131032013-03-21 Eric Ludlam <zappo@gnu.org>
13104
39c87140 13105 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13106 Inhibit read only while inserting objects.
13107
9bb0d822
TZ
131082013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13109
13110 * progmodes/cfengine.el: Update docs to mention
13111 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13112 symbol motion. Remove "_" from the word syntax.
13113
aa703640
TZ
131142013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13115
13116 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13117 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13118
afff09d0
JL
131192013-03-20 Juri Linkov <juri@jurta.org>
13120
13121 * info.el (Info-next-reference-or-link)
13122 (Info-prev-reference-or-link): New functions.
13123 (Info-next-reference, Info-prev-reference): Use them.
13124 (Info-try-follow-nearest-node): Handle footnote navigation.
13125 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13126
9a1ff164
SM
131272013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13130 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13131
2667d15d
PE
131322013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13133
13134 Suppress unnecessary non-ASCII chatter during build process.
13135 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13136 (batch-skkdic-convert): Suppress most of the chatter.
13137 It's not needed so much now that machines are faster,
13138 and its non-ASCII component was confusing; see Dmitry Gutov in
13139 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13140
438b0579
LL
131412013-03-20 Leo Liu <sdl.web@gmail.com>
13142
13143 * ido.el (ido-chop): Fix bug#10994.
13144
c128ab07
DG
131452013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13146
13147 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13148 Remove vars.
9a1ff164
SM
13149 (whitespace-color-on, whitespace-color-off):
13150 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13151
0e6008c5
SM
131522013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13153
13154 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13155 remapping in mode-line.
13156 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13157
627b52b0
DG
131582013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13159
13160 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13161 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13162 (whitespace-font-lock-keywords): Change description.
13163 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13164 the constructed keywords instead.
13165 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13166
50c3a20b
LL
131672013-03-19 Leo Liu <sdl.web@gmail.com>
13168
13169 * progmodes/compile.el (compilation-display-error): New command.
13170 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13171 C-o. (Bug#13992)
13172
2aa2157b
PE
131732013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13174
13175 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13176
e477dbfa
JD
131772013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13178
13179 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13180
64ab82d1
MA
131812013-03-18 Michael Albinus <michael.albinus@gmx.de>
13182
13183 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13184
13185 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13186 * net/tramp-gvfs.el (top):
13187 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13188 (tramp-handle-shell-command): Use it.
13189 (tramp-dissect-file-name): Raise an error when hostname is a
13190 method name, and neither method nor user is specified.
13191
13192 * net/trampver.el: Update release number.
13193
33cef733
LL
131942013-03-18 Leo Liu <sdl.web@gmail.com>
13195
13196 Make sure eldoc can be turned off properly.
13197 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13198 eldoc-mode.
13199 (eldoc-display-message-p): Revert last change.
13200 (eldoc-display-message-no-interference-p)
13201 (eldoc-print-current-symbol-info): Tweak.
13202
2167b7b2
TH
132032013-03-18 Tassilo Horn <tsdh@gnu.org>
13204
13205 * doc-view.el (doc-view-new-window-function): Check the new window
13206 overlay's display property instead the char property of the
13207 buffer's first char. Use `with-selected-window' instead of
13208 `save-window-excursion' with `select-window'.
13209 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13210 display property instead the char property of the buffer's first char.
2167b7b2 13211
982efbcd
PE
132122013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13213
13214 Automate the build of ja-dic.el (Bug#13984).
13215 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13216 from the input, rather than assume that it's been done for us by the
13217 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13218 the current date into a ja-dic.el comment, as that complicates
13219 regression testing.
13220
2fcc7665
SM
132212013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13222
13223 * whitespace.el: Fix double evaluation.
13224 (whitespace-space, whitespace-hspace, whitespace-tab)
13225 (whitespace-newline, whitespace-trailing, whitespace-line)
13226 (whitespace-space-before-tab, whitespace-indentation)
13227 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13228 obsolete defvars.
13229 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13230 (whitespace-color-on): Use a single font-lock-add-keywords call.
13231 Fix double-evaluation of face variables.
13232
67c0a6e6
MA
132332013-03-17 Michael Albinus <michael.albinus@gmx.de>
13234
2fcc7665
SM
13235 * net/tramp-adb.el (tramp-adb-parse-device-names):
13236 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13237 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13238
69489f1d
LL
132392013-03-17 Leo Liu <sdl.web@gmail.com>
13240
13241 Extend eldoc to display info in the mode-line. (Bug#13978)
13242 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13243 (eldoc-mode-line-string): New variable.
13244 (eldoc-minibuffer-message): New function.
13245 (eldoc-message-function): New variable.
13246 (eldoc-message): Use it.
13247 (eldoc-display-message-p)
2fcc7665
SM
13248 (eldoc-display-message-no-interference-p):
13249 Support eldoc-post-insert-mode.
69489f1d
LL
13250
13251 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13252 (eval-expression): Run it.
13253
9c44569e
RW
132542013-03-17 Roland Winkler <winkler@gnu.org>
13255
13256 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13257 strings in the list of return values.
13258
327f1f6f
JB
132592013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13260
13261 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13262 radix before checking for HMS forms.
13263
67ed8fcd
LL
132642013-03-16 Leo Liu <sdl.web@gmail.com>
13265
13266 * progmodes/scheme.el: Add indentation and font-locking for λ.
13267 (Bug#13975)
13268
78be8b64 132692013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13270
13271 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13272 token before point (bug#13942).
13273
78be8b64 132742013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13275
95b43468 13276 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13277
98e775e6
EZ
132782013-03-16 Eli Zaretskii <eliz@gnu.org>
13279
13280 * startup.el (command-line-normalize-file-name): Fix handling of
13281 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13282 <xfq.free@gmail.com> in
13283 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13284
2edd6029
MA
132852013-03-15 Michael Albinus <michael.albinus@gmx.de>
13286
13287 Sync with Tramp 2.2.7.
13288
13289 * net/trampver.el: Update release number.
13290
d35f5864
TH
132912013-03-14 Tassilo Horn <tsdh@gnu.org>
13292
e903c210 13293 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13294 (doc-view-insert-image): Don't modify overlay associated to
13295 non-live windows, and implement horizontal centering of image in
13296 case it's smaller than the window.
13297 (doc-view-new-window-function): Force redisplay of new windows on
13298 doc-view buffers.
d35f5864 13299
1c4a85ed
KF
133002013-03-13 Karl Fogel <kfogel@red-bean.com>
13301
13302 * saveplace.el (save-place-alist-to-file): Don't sort
13303 `save-place-alist', just pretty-print it (bug#13882).
13304
85b66a21
MA
133052013-03-13 Michael Albinus <michael.albinus@gmx.de>
13306
a020afb9
JB
13307 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13308 Check whether `default-file-name-coding-system' is bound.
13309 It isn't in XEmacs.
85b66a21 13310
175600da
SM
133112013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13312
e7f7cb1a
SM
13313 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13314 backquotes for `obsolete' (bug#13929).
13315
175600da
SM
13316 * international/mule.el (find-auto-coding): Include file name in
13317 obsolescence warning (bug#13922).
13318
ca68a22e
TZ
133192013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13320
13321 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13322 for CFEngine 3-specific indentation.
13323 (cfengine3-indent-line): Use it. Fix up category regex.
13324 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13325
940e5099
SM
133262013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13327
13328 * type-break.el (type-break-file-name):
13329 * textmodes/remember.el (remember-data-file):
13330 * strokes.el (strokes-file):
13331 * shadowfile.el (shadow-initialize):
13332 * saveplace.el (save-place-file):
13333 * ps-bdf.el (bdf-cache-file):
13334 * progmodes/idlwave.el (idlwave-config-directory):
13335 * net/quickurl.el (quickurl-url-file):
13336 * international/kkc.el (kkc-init-file-name):
13337 * ido.el (ido-save-directory-list-file):
13338 * emulation/viper.el (viper-custom-file-name):
13339 * emulation/vip.el (vip-startup-file):
13340 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13341 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13342
cc725808
PE
133432013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13344
13345 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13346 * language/thai-word.el: Switch to UTF-8.
13347
a020afb9 13348See ChangeLog.16 for earlier changes.
e3d51b27
MR
13349
13350;; Local Variables:
13351;; coding: utf-8
e3d51b27
MR
13352;; End:
13353
ba318903 13354 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13355
13356 This file is part of GNU Emacs.
13357
13358 GNU Emacs is free software: you can redistribute it and/or modify
13359 it under the terms of the GNU General Public License as published by
13360 the Free Software Foundation, either version 3 of the License, or
13361 (at your option) any later version.
13362
13363 GNU Emacs is distributed in the hope that it will be useful,
13364 but WITHOUT ANY WARRANTY; without even the implied warranty of
13365 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13366 GNU General Public License for more details.
13367
13368 You should have received a copy of the GNU General Public License
13369 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.