lisp/saveplace.el (save-place): Remove redundant info in docstring.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
99e15133
JB
12014-02-21 Juanma Barranquero <lekktu@gmail.com>
2
3 * saveplace.el (save-place): Remove redundant info in docstring.
4 (save-place-forget-unreadable-files, toggle-save-place)
5 (save-place-forget-unreadable-files, save-place-dired-hook):
6 Fix typos and remove unneeded backslashes.
7
f5bee33b
MA
82014-02-20 Michael Albinus <michael.albinus@gmx.de>
9
10 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
11 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12
13 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
14 [insert-directory]: Use `tramp-handle-insert-directory.
15 (tramp-gvfs-handle-insert-directory): Remove function.
16
17 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18 Call `tramp-handle-insert-directory'.
19
ee0761ca
JB
202014-02-20 Juanma Barranquero <lekktu@gmail.com>
21
22 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
23 before the start of buffer/region (bug#16799).
24
4d49cc65
GM
252014-02-20 Glenn Morris <rgm@gnu.org>
26
27 * isearch.el (search-invisible): Doc fix.
28
eee0d650
TK
292014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
30
31 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
32 (bug#16657).
33
94e5e202
JB
342014-02-19 Juanma Barranquero <lekktu@gmail.com>
35
36 * frameset.el (frameset-restore): Delay removing an old frame's
37 duplicate id until the new frame has been correctly created.
38
50bfdd5d
MA
392014-02-19 Michael Albinus <michael.albinus@gmx.de>
40
41 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
42 (tramp-check-cached-permissions): Call `file-attributes' if the
43 cache is empty.
44
45 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
46 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
47
48 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
49 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
50 (tramp-gvfs-maybe-open-connection): Set always connection
51 properties, even if target is mounted already.
52
53 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
54 Set tramp-autoload cookie.
55 (tramp-get-remote-touch): New defun.
56 (tramp-sh-handle-set-file-times): Use it.
57 (tramp-sh-handle-directory-files-and-attributes):
58 Use `tramp-handle-directory-files-and-attributes' if neither stat
59 nor perl are available on the remote host.
60
61 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
62 "/". Write long listing only when "l" belongs to the switches.
63
64 * net/trampver.el: Update release number.
65
f097a3d2
JB
662014-02-19 Juanma Barranquero <lekktu@gmail.com>
67
68 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
69
8e009b78
MR
702014-02-19 Martin Rudalics <rudalics@gmx.at>
71
72 * window.el (window-state-put): Allow WINDOW to refer to an
73 internal window (Bug#16793).
74
95160c90
GM
752014-02-19 Glenn Morris <rgm@gnu.org>
76
77 * textmodes/remember.el: Move provide statement to end.
78 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
79 (remember-notes): Doc fixes.
80
b28df58c
SM
812014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * delsel.el (delete-char): Restore incorrectly erased property
84 (bug#16795).
85
7108e1c0
JB
862014-02-18 Juanma Barranquero <lekktu@gmail.com>
87
88 * frameset.el (frameset--restore-frame): When a frame is being reused
89 and its root window is not alive, delete all the frame's windows before
90 restoring the window state. This works around the issue in bug#16793.
91
c863b6ad
GM
922014-02-18 Glenn Morris <rgm@gnu.org>
93
a73fae1f
GM
94 * textmodes/remember.el (remember-data-directory)
95 (remember-directory-file-name-format, remember-store-in-files)
96 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
97 (remember-notes-save-and-bury-buffer)
98 (remember-notes--kill-buffer-query): Doc fixes.
99
c863b6ad
GM
100 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
101
29238d28
AM
1022014-02-17 Alan Mackenzie <acm@muc.de>
103
104 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 105 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 106 to electric-indent-{,local-}-mode.
b28df58c
SM
107 (c-basic-common-init): Set electric-indent-inhibit.
108 Initialise c-electric-flag from electric-indent-mode.
29238d28 109 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 110 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
111
112 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 113 hit, toggle electric-indent-local-mode.
29238d28 114
b28df58c
SM
115 * electric.el (electric-indent-mode-has-been-called):
116 New variable.
29238d28 117
c6463340
JB
1182014-02-17 Juanma Barranquero <lekktu@gmail.com>
119
120 * frameset.el (frameset-cfg-id): New function.
121 (frameset--reuse-frame, frameset-restore): Use it.
122 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
123
94912b88
SM
1242014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * ido.el (ido-file-internal): Remove unused var `d'.
127 Use \` for to match BoS. Fit within 80n columns.
128
26ea164c
DC
1292014-02-17 Daniel Colascione <dancol@dancol.org>
130
131 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
132 dbus-call-method check for completion using a busy-wait loop with
133 gradual backoff.
134
dd7691b7
MA
1352013-10-02 Michael Albinus <michael.albinus@gmx.de>
136
137 Sync with Tramp 2.2.9.
138
139 * net/trampver.el: Update release number.
140
17d1b51b
DG
1412014-02-16 Dmitry Gutov <dgutov@yandex.ru>
142
143 * ido.el (ido-file-internal): Don't add the name of an existing
144 directory twice. (Bug#16747)
145
5bcad689
GM
1462014-02-16 Glenn Morris <rgm@gnu.org>
147
148 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
149 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
150
1512014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
152
153 * progmodes/sql.el: Version 3.4
154 (sql-oracle-options): New default value ("-L").
94912b88 155 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7
MM
156 (sql-placeholders-filter): Correct placeholder pattern.
157 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
158 (sql-login-delay): New variable.
159 (sql-product-interactive): Use it.
160
285f1858
JB
1612014-02-15 Juanma Barranquero <lekktu@gmail.com>
162
163 * frameset.el (frameset--jump-to-register): Check that buffer is live
164 (bug#16749).
165
5d645ea4
GM
1662014-02-15 Glenn Morris <rgm@gnu.org>
167
168 * info.el (info-initialize): Revert 2014-01-10 change.
169
48c4f9b1
GM
1702014-02-14 Glenn Morris <rgm@gnu.org>
171
b8630261
GM
172 * replace.el (map-query-replace-regexp)
173 (read-regexp-defaults-function, read-regexp): Doc fixes.
174
b2bf2a25
GM
175 * dired.el (dired-read-regexp):
176 * faces.el (list-faces-display):
177 * misearch.el (multi-isearch-read-matching-buffers)
178 (multi-isearch-read-matching-files):
179 * play/cookie1.el (cookie-apropos):
180 * progmodes/grep.el (grep-read-regexp): Doc fixes.
181
48c4f9b1
GM
182 * textmodes/remember.el (remember): Use frameset-to-register
183 rather than frame-configuration-to-register.
184
2804e0bd
JB
1852014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
186
187 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
188 incorrect keybinding.
189
0b87142f
DC
1902014-02-13 Daniel Colascione <dancol@dancol.org>
191
192 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
193 when adding overlays so that line numbers from compiler match line
194 numbers we use.
195
47a73eb0
GM
1962014-02-13 Glenn Morris <rgm@gnu.org>
197
8abcfd51
GM
198 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
199
47a73eb0
GM
200 * jit-lock.el (jit-lock-mode): Doc fix.
201
c9b6b262
JB
2022014-02-13 Juanma Barranquero <lekktu@gmail.com>
203
204 * apropos.el (apropos-read-pattern): When the user passes an empty
205 string, give a more helpful error message than "Wrong type
206 argument: stringp, nil".
207
eb4c6947
SM
2082014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
211
0dab5068
GM
2122014-02-13 Glenn Morris <rgm@gnu.org>
213
214 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
215
59075dcf
SM
2162014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
219 shift-select commands.
220
5af9fbad
DG
2212014-02-12 Dmitry Gutov <dgutov@yandex.ru>
222
223 * progmodes/js.el (js-indent-line): Don't widen.
224 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
225
a215930c
GM
2262014-02-12 Glenn Morris <rgm@gnu.org>
227
a8cb4247
GM
228 * icomplete.el (icomplete): Add info-link to defgroup.
229 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
230 (icomplete-minibuffer-map, icomplete-mode)
231 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
232
a215930c
GM
233 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
234 (package-menu-filter): Rename from package-menu-filter-interactive.
235 Doc fix.
236
26c5ecd9
JB
2372014-02-11 Juanma Barranquero <lekktu@gmail.com>
238
239 * frameset.el (frameset--jump-to-register): Select the required
240 window and buffer before restoring position (bug#16696).
241
fcd58a02
LI
2422014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
243
244 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
245
bacb3380
GM
2462014-02-10 Glenn Morris <rgm@gnu.org>
247
248 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
249
881329dc
EZ
2502014-02-10 Eli Zaretskii <eliz@gnu.org>
251
02328db9
EZ
252 * w32-common-fns.el (x-get-selection): Doc fix.
253 * select.el (x-get-selection): Doc fix. (Bug#15109)
254
881329dc
EZ
255 * face-remap.el (face-remap-add-relative)
256 (face-remap-remove-relative, face-remap-reset-base)
257 (face-remap-set-base): Call force-mode-line-update to redisplay
258 the current buffer due to potential change in faces. (Bug#16709)
259
c7db4c06
MA
2602014-02-10 Michael Albinus <michael.albinus@gmx.de>
261
262 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
263 script more robustly.
264
6abe4589
LI
2652014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
266
7602b5c3
LI
267 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
268
e3692ee0
LI
269 * simple.el (choose-completion): Doc fix (bug#14160).
270
41015524
LI
271 * subr.el (event-start): Say what a nil EVENT value means.
272
87c79dcb
LI
273 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
274 (bug#14197).
275
3ab49e2c
LI
276 * progmodes/grep.el (find-program): Doc fix (bug#14289).
277
f3c60241
LI
278 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
279
3bd1d8a8
LI
280 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
281
6abe4589
LI
282 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
283 predicate function (bug#15455).
284
a11463de
DG
2852014-02-10 Dmitry Gutov <dgutov@yandex.ru>
286
287 * ielm.el (inferior-emacs-lisp-mode): Instead of
288 `comment-use-global-state', set `comment-use-syntax'.
289
2ab0ad85
GM
2902014-02-10 Glenn Morris <rgm@gnu.org>
291
292 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
293
411141fb
AM
2942014-02-09 Alan Mackenzie <acm@muc.de>
295
296 Fix c-invalidate-state-cache on narrowed buffers.
297 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
298 Widen when setting and clearing the CPP delimiter properties.
299
d6d5fdf8
LI
3002014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
301
92c70367
LI
302 * help.el (describe-bindings): Doc fix (bug#9888).
303
468ef484
LI
304 * files.el (save-buffer): Use ARG as the parameter name for
305 consistency (bug#10346).
7e34193f 306 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 307
fc2b1ffa 308 * cus-edit.el (customize-apropos): Fix error string.
382fd368 309 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 310 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 311
790aceec
LI
312 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
313
a54a7552 314 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 315 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 316
dd163123
LI
317 * font-lock.el (font-lock-value-in-major-mode): Clarify the
318 meaning of the parameter (bug#12282).
319
9e108fe6
LI
320 * files.el (find-file-noselect): Clarify prompt when changing
321 readedness (bug#13261).
5a836f58
LI
322 (locate-file): Suffixes aren't returned, so don't say that they
323 are (bug#12674).
2356b316 324 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 325
20dda930
LI
326 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
327 before we actually start to delete things (bug#16331).
328
d6d5fdf8
LI
329 * subr.el (event-start): Doc fix (bug#14228).
330 (event-end): Ditto.
331
2abd71e5
GM
3322014-02-09 Glenn Morris <rgm@gnu.org>
333
334 * emacs-lisp/warnings.el (lwarn):
335 Empower help-enable-auto-load. (Bug#15940)
336
c1b5900b
AS
3372014-02-08 Andreas Schwab <schwab@linux-m68k.org>
338
339 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
340 (Bug#16690)
341
429b93bd
MA
3422014-02-08 Michael Albinus <michael.albinus@gmx.de>
343
344 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
345 Insert output at end of buffer. (Bug#16120)
346
b772a699
LI
3472014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
348
18c6aa8c
LI
349 * simple.el (choose-completion-string-functions): Document new
350 calling convention (bug#14153).
54dd147a 351 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 352
dce8463b
LI
353 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
354
b772a699 355 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 356 (find-grep-dired): Doc fix (bug#14288).
b772a699 357
2423c8d5
JL
3582014-02-08 Juri Linkov <juri@jurta.org>
359
360 * isearch.el (isearch-quote-char): Check character validity
361 like in `quoted-insert' (bug#16677).
362
518f26c2
LI
3632014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
364
893cc908
LI
365 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
366
9165ffc0
LI
367 * isearch.el (isearch-hide-immediately): Doc clarification
368 (bug#14723).
369
6ef4f3ce
LI
370 * simple.el (line-move): Document utility function used many
371 places in the Emacs sources (bug#14843).
372
be58a238 373 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 374 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 375 (dired-up-directory): Doc fix (bug#14848).
be58a238 376
dd7aafbb
LI
377 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
378
15cb9968
LI
379 * files.el (file-relative-name): Doc fix (bug#15159).
380
9788effd
LI
381 * fringe.el (fringe-styles): Doc fix (bug#15239).
382
c96411bd
LI
383 * isearch.el (isearch-filter-predicate): Documentation typo fix
384 (bug#15474).
385
ea838c36
LI
386 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
387
0d8a4ae7
LI
388 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
389
f7a17bb3
LI
390 * replace.el (replace-match-maybe-edit): Doc clarification
391 (bug#15632).
392
1bde5c3b
LI
393 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
394
518f26c2
LI
395 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
396
dd8e49fd
GM
3972014-02-08 Glenn Morris <rgm@gnu.org>
398
399 * help-fns.el (describe-variable):
400 Check {file,dir}-local-variables-alist, and buffer-file-name,
401 in the correct buffer.
402
7e088b29
IL
4032014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
404
405 * help-fns.el (describe-variable): Fix the case where
406 a value is directory-local with no dir-locals file. (Bug#16635)
407
41a4a82f
GM
4082014-02-08 Glenn Morris <rgm@gnu.org>
409
410 * abbrev.el (edit-abbrevs-mode):
411 Derive from fundamental-mode. (Bug#16682)
412
e255a703
JB
4132014-02-07 Juanma Barranquero <lekktu@gmail.com>
414
415 * simple.el (quoted-insert): Check character validity (bug#16677).
416
c99cf5ee
JL
4172014-02-07 Juri Linkov <juri@jurta.org>
418
419 * desktop.el (desktop-read): Claim the lock when the owner is not
420 the current process. (Bug#16157)
421
7d7a68d8
JL
4222014-02-07 Juri Linkov <juri@jurta.org>
423
424 * desktop.el (desktop-buffers-not-to-save): Change default from nil
425 to "\\` ". (Bug#16651)
426
2b777cd9
JL
4272014-02-07 Juri Linkov <juri@jurta.org>
428
429 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
430 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
431 (desktop-auto-save-cancel-timer): New function with some code from
432 `desktop-auto-save-set-timer'.
433 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
434 Instead of setting `desktop-save-mode' to nil, call
435 `desktop-save-mode' with arg 0. (Bug#16630)
436
60eabbb9
GM
4372014-02-07 Glenn Morris <rgm@gnu.org>
438
99cf3859
GM
439 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
440 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
441 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
442
2b568bc9
GM
443 * obsolete/iswitchb.el: Move to obsolete/.
444 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
445 since obsolete/ is not scanned for autoloads.
446 * emacs-lisp/authors.el (authors-valid-file-names):
447 Add iswitchb.el.
448
60eabbb9
GM
449 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
450 Disable now non-functional find-file-hook.
451
629de968
MA
4522014-02-06 Michael Albinus <michael.albinus@gmx.de>
453
454 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
455 instead of ";" in order to avoid additional prompts. Let heredoc
456 scripts read from tty. (Bug#16582)
457 (tramp-send-command): No special handling of heredocs, it isn't
458 necessary anymore.
459
29127376
SM
4602014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
463 with a space (bug#16664). Limit the symbols considered to the ones
464 that are bound or fbound (bug#16646).
465
79b6e0a9
GM
4662014-02-06 Glenn Morris <rgm@gnu.org>
467
468 * epa.el (epa-mail-aliases): Doc fix.
469
a333e4d2
DG
4702014-02-06 Dmitry Gutov <dgutov@yandex.ru>
471
29127376
SM
472 * emacs-lisp/lisp.el (lisp-completion-at-point):
473 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
474 (bug#16604).
475
476 * minibuffer.el (completion-table-merge): New function.
477
9a83b32b
MA
4782014-02-05 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
481 (tramp-sh-handle-set-file-acl)
482 (tramp-sh-handle-start-file-process)
483 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
484 (tramp-find-executable, tramp-send-command): Use it.
485
451ea3e6
GM
4862014-02-05 Glenn Morris <rgm@gnu.org>
487
9a83b32b 488 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 489
dd27d13b
FEG
4902014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
491
492 * progmodes/python.el (python-shell-send-string):
493 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
494
08e41897
AL
4952014-02-04 Anders Lindgren <andlind@gmail.com>
496
497 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
498 the names (bug#16620).
499
764ec9e5
MR
5002014-02-03 Martin Rudalics <rudalics@gmx.at>
501
08e41897
AL
502 * faces.el (window-divider): New default value. Rewrite doc-string.
503 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 504
6da8227c
DG
5052014-02-03 Dmitry Gutov <dgutov@yandex.ru>
506
507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
508 `protected' and `public' can also be called without arguments.
509
6a6b8e40
GM
5102014-02-03 Glenn Morris <rgm@gnu.org>
511
7bcbca40
GM
512 * register.el (window-configuration-to-register)
513 (frame-configuration-to-register): Unadvertise unused argument.
514 * frameset.el (frameset-to-register): Remove unused argument.
515
719d965d 516 * frameset.el (frameset-to-register):
6a6b8e40
GM
517 * kmacro.el (kmacro-to-register):
518 * register.el (increment-register):
519 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
520 (calc-append-to-register, calc-prepend-to-register):
521 * play/gametree.el (gametree-layout-to-register)
522 (gametree-apply-register-layout):
523 * textmodes/picture.el (picture-clear-rectangle-to-register)
524 (picture-yank-rectangle-from-register):
525 * vc/emerge.el (emerge-combine-versions-register):
526 Use register-read-with-preview to read registers.
527
5dca7759
JT
5282014-02-03 João Távora <joaotavora@gmail.com>
529
530 * elec-pair.el (electric-pair-backward-delete-char): Don't error
531 when at beginning of (possibly narrowed) buffer.
532
709085b9
DC
5332014-02-02 Daniel Colascione <dancol@dancol.org>
534
c295fc18 535 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 536 Also try to display local help from just before point.
709085b9 537
99f7b0a6
AM
5382014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
539
540 c-parse-state. Don't "append-lower-brace-pair" in certain
541 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
542 recognised as a comment.
543
544 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
545 as well as normal comment starter.
546 (c-parse-state-get-strategy): Extra return possibility
547 'back-and-forward.
548 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
549 return value list to indicate replacement of a brace-pair cons
550 with its car.
551 (c-parse-state-1): With 'back-and-forward, only call
552 c-append-lower-brace-pair-to state-cache when cons-separated.
553
f0a10576
JD
5542014-02-02 Jan Djärv <jan.h.d@swipnet.se>
555
556 * term/ns-win.el (ns-suspend-error): New function.
557 (ns-initialize-window-system): Add ns-suspend-error to
558 suspend-hook (Bug#16612).
559
b8d552c2
DC
5602014-02-02 Daniel Colascione <dancol@dancol.org>
561
562 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
563
f2b7d123
DC
5642014-02-02 Daniel Colascione <dancol@dancol.org>
565
566 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
567
4472a196
GM
5682014-02-02 Glenn Morris <rgm@gnu.org>
569
570 * register.el (register-read-with-preview, point-to-register)
571 (window-configuration-to-register, frame-configuration-to-register)
572 (jump-to-register, number-to-register, view-register, insert-register)
573 (copy-to-register, append-to-register, prepend-to-register)
574 (copy-rectangle-to-register): Doc fixes.
575
70e5a261
SM
5762014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
577
578 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
579 * emacs-lisp/find-func.el (find-function-C-source): Idem.
580 * emacs-lisp/nadvice.el (advice--cd*r): New function.
581 * help-fns.el (describe-function-1): Use it.
582
7c324762
GM
5832014-02-02 Glenn Morris <rgm@gnu.org>
584
585 * register.el (register-preview-default): New function,
586 split from register-preview.
587 (register-preview-function): Rename from register-preview-functions,
588 make it not a hook.
589 (register-preview): Use register-preview-function.
590 (register-read-with-preview): Error on non-character event. (Bug#16595)
591
a09beb3d
DG
5922014-02-01 Dmitry Gutov <dgutov@yandex.ru>
593
594 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
595 `:' before binary operators (bug#16609). Don't check for `:'
596 before `[' and `(', or their syntax status. A percent literal
597 can't end with either.
68e004e0
DG
598 (ruby-font-lock-keywords): For built-ins that require arguments,
599 check that they're followed by something that looks like argument
600 (bug#16610).
a09beb3d 601
ed4d2875
LI
6022014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
603
604 * subr.el (butlast): Document what an omitted N means (bug#13437).
605 (nbutlast): Ditto.
606
dba6e3ec
LI
6072014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
608
609 * net/shr.el (shr-generic): Make into a defsubst to make the stack
610 depth shallower (bug#16587).
cc477daa
LI
611 (shr-tag-svg): Respect `shr-inhibit-images'.
612 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 613
e2a67bd0
DG
6142014-01-31 Dmitry Gutov <dgutov@yandex.ru>
615
616 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
617 (ruby-smie-grammar): Make "." right-associative. Make its priority
618 lower than the ternary and all binary operators.
619 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
620 parent, or the first "." parent at indentation.
621 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
622 (Bug#16593)
623
bd21bf41
JL
6242014-01-31 Juri Linkov <juri@jurta.org>
625
626 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
627 from `make-hash-table'.
628
629 * textmodes/ispell.el (ispell-init-process): Change message format
630 to be consistent with other messages.
631
b7e615b9
GM
6322014-01-31 Glenn Morris <rgm@gnu.org>
633
a69ecd19
GM
634 * delsel.el (delete-selection-mode): Doc fix.
635
9997d7e3
GM
636 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
637 (trace-function-background): Doc fixes.
638
fbb764b8
GM
639 * ido.el (ido-use-virtual-buffers): Doc fix.
640 Reset :version, since the default value has not changed.
641
da942af1
GM
642 * register.el (register-preview-delay, register-read-with-preview):
643 Doc fixes.
644
b7e615b9
GM
645 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
646 do not mess with mail-buffer position (fixes 2009-11-03 change).
647 * progmodes/cc-mode.el (c-submit-bug-report):
648 Check auto-fill-mode is bound. (Bug#16592)
649
0a25002d
DH
6502014-01-31 Darren Hoo <darren.hoo@gmail.com>
651
652 * startup.el (fancy-splash-image-file): New function,
653 split from fancy-splash-head.
654 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
655 so that we are both using the same image. (Bug#16574)
656
ad78f432
GM
6572014-01-30 Glenn Morris <rgm@gnu.org>
658
6bbc0c84
GM
659 * simple.el (eval-expression): Doc fix.
660
ad78f432
GM
661 * hexl.el (hexl-mode-hook):
662 * ielm.el (ielm-mode-hook):
663 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
664 (lisp-interaction-mode-hook):
665 * progmodes/cfengine.e (cfengine3-documentation-function):
666 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
667
7b2f049c
SM
6682014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
671 is a symbol (bug#16584).
672
0c633f13
GM
6732014-01-30 Glenn Morris <rgm@gnu.org>
674
675 * help.el (help-for-help-internal): Add "P" to text.
676
5e61c1ef
GM
6772014-01-29 Glenn Morris <rgm@gnu.org>
678
679 * simple.el (just-one-space, cycle-spacing): Doc fixes.
680
1dcb169c
MR
6812014-01-28 Martin Rudalics <rudalics@gmx.at>
682
683 * window.el (fit-frame-to-buffer): Fix calculations for margins and
684 height constraints.
685
a9128931
LL
6862014-01-28 Luke Lee <luke.yx.lee@gmail.com>
687
688 * progmodes/hideif.el: Extend to full CPP expression syntax.
689 (hif-token-alist): Add missing tokens.
690 (hif-token-regexp): Add support for float/octal/hex immediates.
691 (hif-string-literal-regexp): New const.
692 (hif-tokenize): Recognize strings and float/octal/hex immediates.
693 (hif-exprlist): New function.
694 (hif-parse-if-exp): Use it.
695 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
696 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
697 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
698 (hif-logxor, hif-comma): New functions.
699
a22359a7
GM
7002014-01-28 Glenn Morris <rgm@gnu.org>
701
793ffe81
GM
702 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
703
e3bd7eed
GM
704 * indent.el (tab-stop-list): Doc fix. Add :version.
705
a22359a7
GM
706 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
707 (cvs-append-to-ignore): Add compatibility alias.
708
52695556 7092014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 710
bac524e0
GM
711 * dired.el (dired-hide-details-mode): Don't autoload it,
712 since it cannot be used outside Dired buffers anyway.
713
52695556 714 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 715
52695556
GM
716 * dired.el (dired-hide-details-hide-symlink-targets)
717 (dired-hide-details-hide-information-lines)
718 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
719
720 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
721 * strokes.el (strokes-file): Doc fix. Bump :version.
722 (strokes-help): Doc fix.
723 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
724 * emulation/viper.el (viper): Doc fix for custom group.
725 (top-level): Remove oh-so-no-longer-relevant text about vip.
726 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
727
728 * ido.el (ido-save-directory-list-file):
729 * saveplace.el (save-place-file):
730 * calendar/timeclock.el (timeclock-file):
731 * net/quickurl.el (quickurl-url-file):
732 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
733 * progmodes/idlwave.el (idlwave-config-directory):
734 * textmodes/remember.el (remember-data-file):
735 Bump :version.
736
169d6004
GM
7372014-01-26 Glenn Morris <rgm@gnu.org>
738
de6a923b
GM
739 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
740 Doc fix. Make obsolete.
741 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
742
169d6004
GM
743 * sort.el (delete-duplicate-lines): Doc fix.
744
ed85dee6
RS
7452014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
746
747 * progmodes/ada-mode.el (ada):
748 * woman.el (woman): Link to info manual and Commentary section.
749
750 * progmodes/flymake.el (flymake):
751 * nxml/nxml-mode.el (nxml):
752 * net/eww.el (eww):
753 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
754 * htmlfontify.el (htmlfontify):
755 * ses.el (ses):
756 * epa.el (epa):
757 * ido.el (ido): Link to info manual.
758
e0c67e1d
LL
7592014-01-25 Leo Liu <sdl.web@gmail.com>
760
761 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
762
35408b1a
AS
7632014-01-25 Adam Sjøgren <asjo@koldfront.dk>
764
765 * net/shr.el (shr-tag-img): Prefer the title over the alt text
766 (bug#16537).
767
76c3fa95
JB
7682014-01-24 Juanma Barranquero <lekktu@gmail.com>
769
f77c7a99
JB
770 * net/eww.el (eww-download-callback):
771 Fix reference to eww-download-directory.
772
76c3fa95
JB
773 * emacs-lisp/bytecomp.el (byte-compile-file):
774 Remove unused local variable `file-name'.
775
1e548e40
GM
7762014-01-24 Glenn Morris <rgm@gnu.org>
777
03f3b318
GM
778 * woman.el (woman-default-faces, woman-monochrome-faces):
779 Fix obsolescence specification.
780
1e548e40
GM
781 * subr.el (with-demoted-errors): Doc fix.
782
d4f0427b
SM
7832014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
786 (cl--macroexp-fboundp): New function.
787 (cl--make-type-test): Use it.
788
1670e27f
GM
7892014-01-23 Glenn Morris <rgm@gnu.org>
790
791 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
792 * simple.el (eval-expression): Doc fixes.
793
80efa207
GM
7942014-01-22 Glenn Morris <rgm@gnu.org>
795
796 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
797
29afcbab
SM
7982014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * emacs-lisp/package.el: Write files silently.
801 (package-autoload-ensure-default-file, package--write-file-no-coding)
802 (package-generate-description-file, package--download-one-archive)
803 (package-install-from-archive): Tell `write-region' to stay quiet.
804 (package-menu-mode, package-menu--print-info): Omit the Archive column
805 if there's only one archive.
806 (package-all-keywords, package--has-keyword-p): Remove dead code.
807
2a5bce4f
GM
8082014-01-22 Glenn Morris <rgm@gnu.org>
809
edace89f
GM
810 * version.el (emacs-bzr-version-bzr): Fix typo.
811
2a5bce4f
GM
812 * version.el (emacs-repository-get-version):
813 Check either .bzr or .git, but not both.
814 Make the git case actually use the DIR argument, and return nil
815 rather than the empty string.
983664c0 816 Avoid error if .git exists but the git executable is not found.
2a5bce4f 817
6cb4da45
MR
8182014-01-22 Martin Rudalics <rudalics@gmx.at>
819
820 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
821 * window.el (window-total-size, window-size): New argument ROUND.
822 (window--min-delta-1, window-min-delta, window--max-delta-1):
823 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
824 columns a window can shrink (Bug#16430).
825 (fit-window-to-buffer): Simplify code.
826 * term.el (term-window-width): Call window-body-width again.
827
cc0f2ece
GM
8282014-01-22 Glenn Morris <rgm@gnu.org>
829
7b997b14
GM
830 * image.el (image-format-suffixes): Doc fix.
831
44e76f9d
GM
832 * international/quail.el (quail-define-package): Doc fix.
833
73c1c6d7
GM
834 * emacs-lisp/authors.el (authors-valid-file-names):
835 (authors-renamed-files-alist): Additions.
7bfc1caa 836
85a5f61f
GM
837 * vc/vc-git.el (vc-git-print-log): Remove --follow;
838 reverts 2014-01-09 change. (Bug#16422)
839
cc0f2ece
GM
840 * calc/calc-embed.el (thing-at-point-looking-at):
841 * emacs-lisp/map-ynp.el (x-popup-dialog):
842 * obsolete/lmenu.el (x-popup-dialog):
843 * emacs-lisp/package.el (url-recreate-url):
844 * mail/mailclient.el (clipboard-kill-ring-save):
845 * subr.el (x-popup-dialog): Update declaration.
846 * mail/rmail.el (rmail-mime-message-p):
847 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
848
00d2a6bb
DC
8492014-01-21 Daniel Colascione <dancol@dancol.org>
850
851 * progmodes/sh-script.el (sh--inside-noncommand-expression):
852 Correctly detect when we're inside an arithmetic expansion form
853 containing nested parenthesis.
c295fc18 854 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
855 to detect cases where we shouldn't expand "<<" to a heredoc
856 skeleton.
857
dd9d2e9d
SM
8582014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
861 (eldoc--message-command-p): New function.
862 (eldoc-display-message-p): Use it.
863 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
864 message is not automatically erased for us.
865 (eldoc-print-current-symbol-info): Erase previous message, if any.
866
e7d807ca
TH
8672014-01-21 Tassilo Horn <tsdh@gnu.org>
868
4ff0a0e5
TH
869 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
870 specify it's an interactive function.
871
dd9d2e9d
SM
872 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
873 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
874 citations with optional arguments.
875
87503791
LL
8762014-01-21 Leo Liu <sdl.web@gmail.com>
877
878 * simple.el (read--expression): Don't enable eldoc-mode.
879
6cc750ee
SM
8802014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * simple.el (move-beginning-of-line): Make sure we don't move forward
883 (bug#16497).
884
71f16bda
JL
8852014-01-20 Juri Linkov <juri@jurta.org>
886
887 * saveplace.el (toggle-save-place, save-place-to-alist)
888 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
889 'dired-mode) before checking for dired-directory. (Bug#16477)
890
3c5a4839
JL
8912014-01-20 Juri Linkov <juri@jurta.org>
892
893 * indent.el (indent-line-to): Use backward-to-indentation
894 instead of back-to-indentation. (Bug#16461)
895
f952002e
PE
8962014-01-20 Paul Eggert <eggert@cs.ucla.edu>
897
898 Revert some of the CANNOT_DUMP fix (Bug#16494).
899 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
900 but fixing this can wait until after the next release.
901 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
902
93675500
MA
9032014-01-19 Michael Albinus <michael.albinus@gmx.de>
904
905 * eshell/esh-mode.el (eshell-password-prompt-regexp):
906 Use `password-word-equivalents'.
907 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
908 to t. (Bug#5664, Bug#13124)
909
e3af763f
AM
9102014-01-19 Alan Mackenzie <acm@muc.de>
911
912 Bind open-paren-in-column-0-is-defun-start to nil at some entry
913 points.
914 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 915 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
916 * progmodes/cc-mode.el (c-before-change, c-after-change)
917 (c-font-lock-fontify-region): Bind it here.
918
4ff6d92d
MR
9192014-01-19 Martin Rudalics <rudalics@gmx.at>
920
921 * term.el (term-window-width): Call window-text-width instead of
922 window-width (Bug#16470).
923
9a685cf6
PE
9242014-01-18 Paul Eggert <eggert@cs.ucla.edu>
925
926 * simple.el (password-word-equivalents): Remove duplicates.
927 Sort, to make this easier next time.
928 Downcase. Omit ": " after "jelszó".
929
5aa78c2d
JD
9302014-01-18 Jan Djärv <jan.h.d@swipnet.se>
931
932 * term/common-win.el (saved-region-selection): Defvar it.
933 (x-select-text): Set saved-region-selection (Bug#16382).
934
cabb250c
GM
9352014-01-18 Glenn Morris <rgm@gnu.org>
936
937 * emacs-lisp/authors.el (authors-aliases)
938 (authors-renamed-files-alist): Add some entries.
939
a1340440
MA
9402014-01-17 Michael Albinus <michael.albinus@gmx.de>
941
93675500
MA
942 * net/tramp.el (tramp-password-prompt-regexp):
943 Use `password-word-equivalents' if available.
a1340440
MA
944 (tramp-action-password, tramp-process-one-action)
945 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
946
681ce5d2
CY
9472014-01-17 Chong Yidong <cyd@gnu.org>
948
949 * simple.el (password-word-equivalents): New defcustom.
950 * comint.el (comint-password-prompt-regexp): Use it. Bump version
951 to 24.4.
952 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
953 to t. (Bug#13124)
954
fb3d479c
DG
9552014-01-17 Dmitry Gutov <dgutov@yandex.ru>
956
957 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
958 (ruby-align-to-stmt-keywords): Change the default value.
959 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
960 choices.
961 (ruby-smie-rules): Instead of using a hardcoded list of alignable
962 keywords, check against the value of `ruby-alignable-keywords'
963 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
964
0d613483
GM
9652014-01-17 Glenn Morris <rgm@gnu.org>
966
fc23fe2d
GM
967 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
968
0d613483
GM
969 Make M-x authors return zero *Authors Errors* from current logs.
970 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
971 (authors-ignored-files): Add some entries, remove others.
972 (authors-ambiguous-files, authors-valid-file-names):
973 Add some entries.
974 (authors-renamed-files-alist): Add, remove, and adjust entries.
975 (authors-renamed-files-regexps): Add some entries.
976 Remove some very broad ones. Make some entries `lax'.
977 (authors-lax-changelogs): New constant.
978 (authors-disambiguate-file-name): Treat top-level specially.
979 (authors-lax-changelog-p): New function.
980 (authors-canonical-file-name): Check file as written against
981 authors-valid-file-names. Do not special-case etc/.
982 Handle `lax' logs and authors-renamed-files-regexps elements.
983
2dbf4ffd
DG
9842014-01-16 Dmitry Gutov <dgutov@yandex.ru>
985
986 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
987 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
988 callers.
2dbf4ffd 989
87b2a7f2
SM
9902014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
991
992 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
993 Assume we're already in the proper buffer.
994 Inspired by Anders Lindgren <andlind@gmail.com>.
995 (follow-post-command-hook): Call it from the right buffer.
996 (follow-comint-scroll-to-bottom): Adjust call.
997 (follow-all-followers): Use get-buffer-window-list.
998
93acfb0e
DC
9992014-01-15 Daniel Colascione <dancol@dancol.org>
1000
1001 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1002 `buffer-file-name' in interactive-form so that we don't leave
1003 pathless file names in `file-name-history'.
1004
ccc6b208
JL
10052014-01-15 Juri Linkov <juri@jurta.org>
1006
1007 * indent.el (indent-rigidly): Set deactivate-mark to nil
1008 in transient indentation mode. (Bug#16438)
1009
5c92e00d
DG
10102014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1011
1012 * emacs-lisp/package.el (package-desc-keywords): New function
1013 (Bug#16222).
1014 (describe-package-1, package-all-keywords)
1015 (package--has-keyword-p): Use it.
1016
dac69660
NR
10172014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1018
1019 * simple.el (define-alternatives): When creating the
1020 COMMAND-alternatives variable, assign COMMAND as its definition
1021 name so that `describe-variable' can relocate it.
1022
8b63edf8
ML
10232014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1024
1025 * font-lock.el (font-lock-keywords): Fix typo in docstring
1026 (bug#16307).
1027
c6a0b8eb
AM
10282014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1029
1030 * ispell.el (ispell-region): Reset `in-comment' for new line
1031 instead of wrongly reset `add-coment' (bug#13577).
1032
02bf443d
DU
10332014-01-14 Daiki Ueno <ueno@gnu.org>
1034
1035 * epa-file.el (epa-file-write-region): Encode the region according
1036 to `buffer-file-format'. Problem reported at:
1037 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1038
fd7fde15
SM
10392014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1042 so it applies in the right buffer (bug#16410).
1043
c176054f
DC
10442014-01-13 Daniel Colascione <dancol@dancol.org>
1045
1046 * textmodes/rst.el (rst-define-key): Provide deprecated
1047 keybindings through named functions instead of anonymous ones so
1048 that "??" doesn't appear in describe-mode output.
1049
e3f33e5d
BG
10502014-01-13 Bastien Guerry <bzg@gnu.org>
1051
1052 * simple.el (define-alternatives): Call the selected command
1053 interactively. When setting `COMMAND--implementation' for the
1054 first time, tell the user how to chose another implementation.
1055 Enhance the docstring.
1056
c055d654
SM
10572014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1060 (log-edit--match-first-line): New function.
1061 (log-edit-font-lock-keywords): Use it.
1062 (log-edit-mode): Make jit-lock-defer-multiline work.
1063
d791cc3b
BG
10642014-01-13 Bastien Guerry <bzg@gnu.org>
1065
1066 * rect.el (rectangle-mark-mode): When the region is not active,
1067 display a message saying that the mark as been set and that
1068 rectangle mode is in use.
1069 (rectangle--highlight-for-redisplay): Only put an overlay with a
1070 visible vertical bar when (display-graphic-p) is non-nil.
1071 This partially fixes Bug#16403.
1072
3c0c4562
JL
10732014-01-13 Juri Linkov <juri@jurta.org>
1074
1075 * info.el (Info-find-file): Go to DIR before displaying the error
1076 about a nonexistent file if no previous Info file is visited.
1077 Use `user-error' instead of `error' for "Info file %s does not exist".
1078 (Info-find-node-2): In case of a nonexistent node in unwind forms
1079 go to the Top node if there is no previous node to revert to.
1080 (Bug#16405)
1081
25a700d0
MR
10822014-01-13 Martin Rudalics <rudalics@gmx.at>
1083
1084 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1085 * window.el (fit-frame-to-buffer): Fix doc-string.
1086 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1087 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1088 when avoiding that frame goes partially off-screen.
1089 (fit-window-to-buffer): Respect window-min-height/-width
1090 (Bug#14096).
1091
6ae948d8
SM
10922014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1095 after an empty line.
1096
6137cb82
SM
10972014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * net/shr.el (shr-render-region): Autoload.
1100
e6344e17
XF
11012014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1102
1103 * net/eww.el (eww-download-directory): Rename from
1104 `eww-download-path' (Bug#16419).
1105
3b922c70
LL
11062014-01-12 Leo Liu <sdl.web@gmail.com>
1107
1108 * dired-x.el (dired-mode-map): Fix last change.
1109
1110 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1111
4fa51741
PE
11122014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1113
1114 Spelling fixes.
1115 * emacs-lisp/generic.el (generic--normalize-comments):
1116 Rename from generic--normalise-comments. All uses changed.
1117 * play/bubbles.el (bubbles--neighborhood-score):
1118 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1119 (bubbles--neighborhood-available)
1120 (bubbles--update-neighborhood-score):
1121 Rename from names with 'neighbourhood'. All uses changed.
1122
9b335362
LL
11232014-01-12 Leo Liu <sdl.web@gmail.com>
1124
1125 Re-implement the feature of showing eldoc info after editing.
1126 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1127 (eldoc-edit-message-commands): New function.
1128 (eldoc-print-after-edit): New variable.
1129 (eldoc-pre-command-refresh-echo-area): Emit message only by
1130 eldoc-message-commands.
1131 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1132 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1133 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1134 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1135
e2a095b1
GM
11362014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1137 Eric S. Raymond <esr@thyrsus.com>
9685190b 1138
841a6d0c 1139 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1140 function works correctly in either a Bazaar or Git repo.
0abf4134 1141
e2a095b1
GM
11422014-01-11 Eric S. Raymond <esr@thyrsus.com>
1143
6137cb82
SM
1144 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1145 Goes with removal of the joke manpages from /etc.
9685190b 1146
c295fc18 11472014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1148
6137cb82
SM
1149 * mail/rmail.el (rmail-get-coding-system):
1150 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1151
d2f16e93
GM
11522014-01-10 Glenn Morris <rgm@gnu.org>
1153
1154 * emacs-lisp/authors.el (authors-fixed-entries):
1155 Update for files that no longer exist.
1156
7e03bb32
ER
11572014-01-10 Eric S. Raymond <esr@thyrsus.com>
1158
1159 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1160 24.3 (Tested).
7e03bb32 1161
dd806710
BB
11622014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1163
1164 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1165 and Podfile.
1166
ed6ec139
EZ
11672014-01-10 Eli Zaretskii <eliz@gnu.org>
1168
1169 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1170
cc33cac9
CY
11712014-01-10 Chong Yidong <cyd@gnu.org>
1172
6137cb82 1173 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1174
d9d836b5
AL
11752014-01-10 Anders Lindgren <andlind@gmail.com>
1176
1177 * follow.el (follow-cache-command-list): Include right-char and
1178 left-char.
1179
06827ec8
PE
11802014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1181
1182 Spelling fixes.
1183 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1184 * woman.el (woman-mark-horizontal-position):
1185 Rename from woman-mark-horizonal-position. Use changed.
1186
458dbf5e
GM
11872014-01-10 Glenn Morris <rgm@gnu.org>
1188
dad6fae7
GM
1189 * info.el (info-initialize): If running uninstalled, ensure our
1190 own info files are always found first, even if INFOPATH is set.
1191
458dbf5e
GM
1192 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1193
05e0afce
DE
11942014-01-09 David Engster <deng@randomsample.de>
1195
1196 * emacs-lisp/eieio-custom.el:
1197 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1198 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1199 * emacs-lisp/eieio.el: Regenerate autoloads.
1200
f29778b3
ER
12012014-01-09 Eric S. Raymond <esr@thyrsus.com>
1202
1203 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1204 following renames. (Bug#8756)
f29778b3 1205
684d44ef
SM
12062014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1209 (bug#16382).
1210 (activate-mark): Add `no-tmm' argument.
1211 (set-mark, push-mark-command): Use it instead of running
1212 activate-mark-hook by hand.
1213
9475054f
ER
12142014-01-08 Eric S. Raymond <esr@thyrsus.com>
1215
1216 In preparation for the move to git, sanitize out some
1217 Bazaar-specific names.
1218
38942b9c
GM
1219 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1220
9475054f 1221 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1222 emacs-repository-version. Obsolete-variable alias made.
9475054f 1223 * loadup.el: Follow through on this name change.
a12bf61e 1224 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1225 assumption about the version control system in use.
1226
0f918d96 12272014-01-08 David Engster <deng@randomsample.de>
abb82152 1228
684d44ef
SM
1229 * help-fns.el (help-fns-describe-function-functions):
1230 New variable to call functions for augmenting help buffers.
abb82152
DE
1231 (describe-function-1): Remove explicit calls to
1232 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1233 `help-fns--obsolete'. Put them in above new variable instead, and
1234 call them through `run-hook-with-args'.
1235 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1236 `eieio-describe-class'. Not meant for interactive use anymore,
1237 but to augment existing help buffers. Remove optional second
684d44ef
SM
1238 argument. Create proper button for file location.
1239 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1240 possible.
1241 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1242 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1243 (describe-method, describe-generic, eieio-describe-method):
1244 Remove aliases.
0f918d96
DE
1245 (eieio-help-constructor, eieio-help-generic): Rename from
1246 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1247 Rewrite to use `insert' in the current buffer and use proper help
1248 buttons.
1249 (eieio-help-find-method-definition)
1250 (eieio-help-find-class-definition): Also accept symbols as
1251 arguments.
1252 (eieio-help-mode-augmentation-maybee): Remove.
1253 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1254 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1255 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1256
136b74c5
PE
12572014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1258
1259 Spelling fixes.
1260 * language/china-util.el (hz-ascii-designation):
1261 Rename from hz-ascii-designnation.
1262 (hz-ascii-designation): Rename from hz-ascii-designnation.
1263 All uses changed.
1264
ec6c7de2
SM
12652014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1268 package-alist.
1269
d6262c7c
BG
12702014-01-08 Bastien Guerry <bzg@gnu.org>
1271
4b9e6087
GM
1272 * emacs-lisp/package.el (package-delete):
1273 Correctly delete the package from package-alist.
d6262c7c 1274
0a3eec32
DU
12752014-01-08 Daiki Ueno <ueno@gnu.org>
1276
1277 * emacs-lisp/package.el (url-recreate-url): Declare.
1278 (url-http-target-url): Declare.
4b9e6087 1279 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1280 (package--check-signature): Don't re-signal errors from
1281 package--with-work-buffer. Suggested by Stefan Monnier.
1282
68f0bb97
BG
12832014-01-07 Bastien Guerry <bzg@gnu.org>
1284
1285 * minibuffer.el (completion--try-word-completion): When both a
1286 hyphen and a space are possible candidates for the character
1287 following a word, display both candidates. (Bug#15980)
1288
7e1899d7
MR
12892014-01-07 Martin Rudalics <rudalics@gmx.at>
1290
1291 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1292 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1293
0030ec15
GM
12942014-01-07 Glenn Morris <rgm@gnu.org>
1295
1296 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1297 (menu-bar-help-menu): Use view-external-packages instead.
1298
2b6b4f20
BG
12992014-01-07 Bastien Guerry <bzg@gnu.org>
1300
1301 * emacs-lisp/package.el (package-delete): Also delete the package
1302 name from `package-alist', not its description only.
1303
e9be0a13
GM
13042014-01-07 Glenn Morris <rgm@gnu.org>
1305
1306 * help.el (view-external-packages):
1307 * menu-bar.el (menu-bar-help-extra-packages):
1308 Visit efaq.info rather than etc/MORE.STUFF.
1309
e4f74da9
JL
13102014-01-07 Juri Linkov <juri@jurta.org>
1311
1312 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1313 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1314
1315 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1316 that shadows RET. (Bug#16342)
1317
de7ce2d1
CY
13182014-01-07 Chong Yidong <cyd@gnu.org>
1319
1320 * isearch.el (isearch-yank-char, isearch-yank-word)
1321 (isearch-yank-line): Doc fix.
1322
6bdd9204
SM
13232014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1326 * emacs-lisp/elint.el (elint-find-builtins):
1327 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1328 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1329 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1330 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1331 * apropos.el (apropos-safe-documentation):
1332 * subr.el (symbol-file): Remove redundant fboundp.
1333 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1334
daccca97
BG
13352014-01-06 Bastien Guerry <bzg@gnu.org>
1336
1337 * hl-line.el (global-hl-line-overlay): Make a local variable.
1338 (global-hl-line-overlays): New variable to store all overlays.
1339 (global-hl-line-mode): Don't delete overlays from the current
1340 buffer when `global-hl-line-sticky-flag' is non-nil.
1341 (global-hl-line-highlight): Add new overlays to
1342 `global-hl-line-overlays'.
1343 (global-hl-line-unhighlight-all): New function to delete all
1344 overlays when turning off `global-hl-line-mode'.
1345 This fixes Bug#16183.
1346
ec00f20f
SM
13472014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1348
1349 * subr.el (set-transient-map): Fix nested case and docstring.
1350
a0031f97
TH
13512014-01-06 Tassilo Horn <tsdh@gnu.org>
1352
1353 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1354 `Texinfo' entry.
1355
bf6a77f3
DC
13562014-01-06 Daniel Colascione <dancol@dancol.org>
1357
1358 Fix defun navigation in vc log view.
1359
1360 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1361 like `beginning-of-defun'.
c295fc18 1362 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1363 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1364 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1365 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1366 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1367
d5081c1e
PE
13682014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1369
1370 Spelling fixes.
1371 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1372 * emacs-lisp/debug.el (cancel-debug-on-entry):
1373 * epg.el (epg-error-to-string):
1374 * files.el (recover-file):
1375 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1376 * mail/emacsbug.el (report-emacs-bug-hook):
1377 * mail/sendmail.el (mail-recover):
1378 * ses.el (ses-yank-resize):
1379 * term/ns-win.el (ns-print-buffer):
1380 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1381 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1382 All uses changed.
1383 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1384
53f6b148
LL
13852014-01-06 Leo Liu <sdl.web@gmail.com>
1386
1387 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1388 to avoid shadowing global key. (Bug#16354)
53f6b148 1389
b82ace2f
DC
13902014-01-06 Daniel Colascione <dancol@dancol.org>
1391
1392 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1393 rst-mode.
1394
3669b636
MR
13952014-01-05 Martin Rudalics <rudalics@gmx.at>
1396
1397 * window.el (balance-windows): Add mising t to fix Bug#16351.
1398
1a29adc2
LMI
13992014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1400
1401 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1402 (bug#16285).
3d95a0f4
LMI
1403 (shr-insert): If we have a word that's longer than `shr-width',
1404 break after it anyway. Otherwise we'll do no breaking once we get
1405 such a long word.
1a29adc2 1406
f4018140
KN
14072014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1408
3fcfc4ee 1409 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1410 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1411 (eww-history-quit): Delete and use quit-window.
1412 (eww-history-kill): Delete, because it doesn't work well and
1413 not necessary.
1414 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1415
4e619754
PE
14162014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1417
73dbf960
PE
1418 Fix misspelling of 'chinese' in rx (Bug#16237).
1419 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1420 chinese-two-byte.
1421
4e619754
PE
1422 Change subword regexps back to vars (Bug#16296).
1423 * progmodes/subword.el (subword-forward-regexp)
1424 (subword-backward-regexp): Change these back to variables.
1425
e18b70fc
SM
14262014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1429 syntax-begin-function (bug#16247).
1430
0d53f628
CY
14312014-01-03 Chong Yidong <cyd@gnu.org>
1432
1433 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1434 (advice--docstring): Delete variable.
1435 (advice--make-1): Leave the docstring empty.
1436 (advice-add): Use function-documentation for advised docstring.
1437
1438 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1439 Ignore function-documentation property when getting documentation.
1440 (ad-activate-advised-definition): Use function-documentation
1441 generate the docstring.
1442 (ad-make-advised-definition): Don't call
1443 ad-make-advised-definition-docstring.
1444 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1445 Delete functions.
1446
1447 * progmodes/sql.el (sql-help): Use function-documentation instead
1448 of dynamic-docstring-function property. No need to autoload now.
1449 (sql--help-docstring): New variable.
1450 (sql--make-help-docstring): Use it.
1451
6f547583
SM
14522014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1453
6ef9aed8
SM
1454 * ielm.el (ielm-tab): Retarget.
1455 (ielm-map): Use ielm-tab for tab.
1456 (ielm-complete-filename): Use comint-filename-completion.
1457 (ielm-complete-symbol): Remove.
1458 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1459 remove ielm-tab from completion-at-point-functions (bug#16224).
1460
6f547583
SM
1461 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1462 Beware signals raised by predicates (bug#16201).
1463
a574edbe
RS
14642014-01-02 Richard Stallman <rms@gnu.org>
1465
e831604d
RS
1466 * dired-aux.el (dired-do-print): Handle printer-name.
1467
6f547583
SM
1468 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1469 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1470 (rmail-epa-decrypt): Turn off mime processing.
1471
3fcfc4ee 1472 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1473 Add parens in message-id.
1474
1475 * mail/rmail.el (rmail-get-coding-function): Variable.
1476 (rmail-get-coding-system): Use it.
1477
04311a16
KH
14782013-12-31 Eli Zaretskii <eliz@gnu.org>
1479
1480 * international/mule-conf.el: Unify the charset indian-is13194.
1481 (indian-is13194): Specify unify-map.
1482
c8d89778
LL
14832013-12-31 Leo Liu <sdl.web@gmail.com>
1484
1485 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1486
e63ace37
DC
14872013-12-30 Daniel Colascione <dancol@dancol.org>
1488
9e0bf19a
DC
1489 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1490 of printing a useless when we resume from sleep.
1491
e63ace37 1492 * progmodes/sh-script.el
c295fc18 1493 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
1494 in indentation code. (Bug#16233)
1495
e9d6c46a
JT
14962013-12-28 João Távora <joaotavora@gmail.com>
1497
6f547583
SM
1498 * elec-pair.el (electric-pair-post-self-insert-function):
1499 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1500
bf7bea5d
EZ
15012013-12-28 Eli Zaretskii <eliz@gnu.org>
1502
1503 * frame.el (window-system-for-display): Don't allow to create a
1504 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1505
8449dd1f
GM
15062013-12-28 Glenn Morris <rgm@gnu.org>
1507
9c5a5c77
GM
1508 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1509 Update callers.
1510
1511 * apropos.el (apropos-match-face):
1512 * calculator.el (calculator-displayer):
1513 * dabbrev.el (dabbrev-search-these-buffers-only):
1514 * face-remap.el (buffer-face-mode-face):
1515 * simple.el (yank-handled-properties):
1516 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1517 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1518 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1519 (hashcash-double-spend-database):
1520 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1521 (ruby-deep-indent-paren-style):
1522 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1523 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1524 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1525 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1526 Specify custom types.
1527
bb098075
GM
1528 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1529 * bookmark.el (bookmark-bmenu-use-header-line):
1530 * doc-view.el (doc-view-scale-internally):
1531 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1532 * register.el (register-preview-delay):
1533 * net/shr.el (shr-bullet):
1534 * progmodes/cfengine.el (cfengine-cf-promises)
1535 (cfengine-parameters-indent):
1536 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1537 * textmodes/reftex-vars.el (reftex-label-regexps):
1538 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1539
9c61f806
GM
1540 * net/tls.el (tls-certtool-program): Fix default value.
1541
1542 * desktop.el (desktop-restore-in-current-display):
1543 * newcomment.el (comment-empty-lines):
1544 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1545 (idlwave-pad-keyword):
1546 * progmodes/tcl.el (tcl-tab-always-indent):
1547 * textmodes/reftex-vars.el (reftex-index-default-tag):
1548 * elec-pair.el (electric-pair-skip-whitespace):
1549 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1550
8449dd1f
GM
1551 * emacs-lisp/authors.el (authors-ignored-files)
1552 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1553
fdadeb49
JC
15542013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1555
72140a0f
GM
1556 * shell.el (shell-dynamic-complete-command): Doc fix.
1557 (shell--command-completion-data): Shell completion now matches
1558 executable filenames from the current buffer's directory, on
da5ecfa9 1559 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1560
e572a7d8
LI
15612013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1562
1563 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1564
7514d3f8
SM
15652013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1566
a4151f3b
SM
1567 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1568 (bug#16251).
1569
7514d3f8
SM
1570 * electric.el: Move all electric-pair-* to elec-pair.el.
1571 * elec-pair.el: New file, split from electric.el.
1572
ac5758d1
LI
15732013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1574
1575 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1576 indentation level is larger than the width, because that will
1577 infloop.
1578 (shr-insert): Fill repeatedly long texts, so that Japanese is
1579 formatted correctly (bug#16263).
24a6b65e
LI
1580 (shr-find-fill-point): Off by one error in comparison with the
1581 indentation.
ac5758d1 1582
7514d3f8 15832013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1584
1585 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1586 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1587 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1588 if that keeps or improves their balance in buffers.
1589 (electric-pair-delete-adjacent-pairs): Delete the pair when
1590 backspacing over adjacent matched delimiters.
1591 (electric-pair-open-extra-newline): Open extra newline when
1592 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1593 (electric--sort-post-self-insertion-hook):
1594 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1595 minor-modes are activated.
1596 * simple.el (newline-and-indent): Call newline with interactive
1597 set to t.
1598 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1599 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1600 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1601 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1602 electric-pair-open-newline-between-pairs to nil.
1603
fbcc63a3
FEG
16042013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1605
1606 * progmodes/python.el: Use lexical-binding.
1607 (python-nav-beginning-of-defun): Stop searching ASAP.
1608
ed78d16c
XF
16092013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1610
1611 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1612 Fix interactive spec. Doc fix. (Bug#15754)
1613
38b2c142
KY
16142013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1615
1616 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1617 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1618 Fix edebug spec (bug#16184).
1619
3c856c14
LI
16202013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1621
83fa295c 1622 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1623 (shr-insert): Don't infloop if we can't find a good place to break
1624 the line (bug#16256).
3c856c14 1625
01379221
FEG
16262013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1627
1628 * progmodes/python.el:
1629 (python-nav--lisp-forward-sexp): New function.
1630 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1631 python-nav-lisp-forward-sexp-safe.
1632 (python-nav--forward-sexp): New argument SAFE allows switching
1633 forward sexp movement behavior for parens.
1634 (python-nav-forward-sexp): Throw errors on unterminated parens
1635 (Bug#16191).
1636 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1637 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1638 (python-shell-buffer-substring):
1639 Use `python-nav-forward-sexp-safe'.
01379221 1640
99e4926f
LI
16412013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1642
1643 * net/shr.el (shr-find-fill-point): Don't break lines before a
1644 quotation mark.
c6c20584
LI
1645 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1646 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1647 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1648
fec0e828
KN
16492013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1650
1651 * net/eww.el (eww-form-textarea): Use a different face for
1652 textareas than text input since they have different keymaps
1653 (bug#16142).
1654
89c868ad
FEG
16552013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1656
7514d3f8
SM
1657 * progmodes/python.el (python-nav-beginning-of-statement):
1658 Speed up (Bug#15295).
89c868ad 1659
eeef121a
LI
16602013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1661
1662 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1663 the window configuration.
1664
121ea65f
EZ
16652013-12-24 Eli Zaretskii <eliz@gnu.org>
1666
1667 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1668 we run on MS-Windows or MS-DOS.
1669
18cee9ec
MR
16702013-12-24 Martin Rudalics <rudalics@gmx.at>
1671
1672 * window.el (balance-windows-area): Call window-size instead of
1673 window-height and window-width. Bug#16241.
1674
58f2b9a5
LI
16752013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1676
1677 * net/eww.el (eww-bookmark-quit): Remove.
1678 (eww-bookmark-browse): Restore the window configuration when you
1679 choose a bookmark (bug#16144).
1680
d64b6308
DC
16812013-12-24 Daniel Colascione <dancol@dancol.org>
1682
1683 * icomplete.el: Remove redundant :group arguments to `defcustom'
1684 throughout.
1685 (icomplete-show-matches-on-no-input): New customizable variable.
1686 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1687 we have something to show.
7514d3f8 1688 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1689
0da54898
DC
16902013-12-23 Daniel Colascione <dancol@dancol.org>
1691
1692 * icomplete.el: Move `provide' to end of file.
1693
b90aa4f4
TZ
16942013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1695
1696 * net/gnutls.el (gnutls-verify-error): Add version tag.
1697
8cd22a08
CY
16982013-12-23 Chong Yidong <cyd@gnu.org>
1699
1700 * subr.el (set-transient-map): Rename from
1701 set-temporary-overlay-map. Doc fix.
1702
1703 * face-remap.el (text-scale-adjust):
1704 * indent.el (indent-rigidly):
1705 * kmacro.el (kmacro-call-macro):
1706 * minibuffer.el (minibuffer-force-complete):
1707 * repeat.el (repeat):
1708 * simple.el (universal-argument--mode):
1709 * calendar/todo-mode.el (todo-insert-item--next-param):
1710 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1711
7510b021
CY
1712 * indent.el (indent-rigidly): Use substitute-command-keys.
1713
72140a0f 17142013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1715
1716 * net/eww.el (eww-tag-select): Add text-property to jump to next
1717 select field.
e9dc713d 1718 (eww): Add non-supported ftp error.
56890ecd 1719
1f87a56c
DG
17202013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1721
1722 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1723 comments. Handle electric indent after typing `?' and `!'.
1724
dca38cf9
CY
17252013-12-22 Chong Yidong <cyd@gnu.org>
1726
1727 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1728 applicable to a frame, fall back on the defface spec.
1729 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1730
f2351498
DG
17312013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1732
1733 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1734 after `{'. We need it after block openers, and it doesn't seem
1735 to hurt after hash openers.
1736
6cddebc1
DG
17372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1738
1739 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1740 extracted from `ruby-smie-rules'.
1741 (ruby--electric-indent-chars): New variable.
1742 (ruby--electric-indent-p): New function.
1743 (ruby-mode): Use `electric-indent-functions' instead of
1744 `electric-indent-chars'.
1745
65a1da00
DG
17462013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1747
1748 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1749 docstring.
1750 (ruby-smie-rules): Indent plus one level after `=>'.
1751
b51ad4cf
RS
17522013-12-21 Richard Stallman <rms@gnu.org>
1753
1754 * simple.el (newline): Doc fix.
1755
72140a0f 17562013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1757
e9dc713d 1758 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1759 (eww-history-browse, eww-history-quit, eww-history-kill)
1760 (eww-history-mode-map, eww-history-mode): New command and
1761 functions to list browser histories.
e9dc713d
JB
1762 (eww-form-text): Support text form with disabled
1763 and readonly attributes.
1764 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1765
5e1901c1
RS
17662013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1767
1768 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1769 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1770 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1771 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1772 Use `user-error'.
1773 (eww-bookmark-mode-map): Add menu.
1774 (eww-render, eww-mode): Use `setq-local'.
1775 (eww-tool-bar-map): New variable.
1776 (eww-mode): Set `tool-bar-map'.
1777 (eww-view-source): Check for `html-mode' with `fboundp'.
1778
073d5cfd
LMI
17792013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1780
1781 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1782 elements with text inside. Also remove debugging.
1783
41cf3d11
JD
17842013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1785
1786 * cus-start.el (all): Add ns-use-srgb-colorspace.
1787
aac2b673
CY
17882013-12-21 Chong Yidong <cyd@gnu.org>
1789
1790 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1791 undefined. Thus, theme settings for undefined faces do not take
1792 effect until the faces are defined with defface, the same as with
1793 theme variables.
1794
1795 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1796 (face-spec-reset-face): Don't assign extra properties in temacs.
1797 (face-spec-recalc): Apply X resources too.
1798
bacb0e77
CY
17992013-12-21 Chong Yidong <cyd@gnu.org>
1800
1801 * faces.el (face-spec-set):
1802 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1803 * custom.el (defface): Doc fixes (Bug#16203).
1804
77221051
CY
1805 * indent.el (indent-rigidly-map): Add docstring, and move commands
1806 into named functions.
1807 (indent-rigidly-left, indent-rigidly-right)
1808 (indent-rigidly-left-to-tab-stop)
1809 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1810 indentation direction based on bidi direction, and accumulate
1811 sequential commands in a single undo boundary.
1812 (indent-rigidly--pop-undo): New utility function.
1813
e0eb0550
JB
18142013-12-20 Juanma Barranquero <lekktu@gmail.com>
1815
1816 * faces.el (read-face-name): Require crm.el when using crm-separator.
1817
3282bd2e
DC
18182013-12-20 Daniel Colascione <dancol@dancol.org>
1819
1820 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1821 so that we don't reflow comments into the shebang line.
1822
1d42e5b6
JL
18232013-12-20 Juri Linkov <juri@jurta.org>
1824
1825 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1826 a position when `dired-directory' is non-nil. Check integer
1827 positions with `integerp'.
1828 (toggle-save-place, save-places-to-alist): Add check for
1829 `dired-directory'.
1830 (save-place-find-file-hook): Check integer positions with
1831 `integerp'.
1832 (save-place-dired-hook): Use `dired-goto-file' when
1833 `dired-filename' is found in the assoc list. Check integer
1834 positions with `integerp'.
1835 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1836
1837 * dired.el (dired-initial-position-hook): Rename back from
1838 `dired-initial-point-hook'.
1839 (dired-initial-position): Rename `dired-initial-point-hook' to
1840 `dired-initial-position-hook'.
1841 (dired-file-name-at-point): Doc fix. (Bug#15329)
1842
24da7273
JL
18432013-12-20 Juri Linkov <juri@jurta.org>
1844
1845 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1846 (read-regexp-suggestions): New function.
1847 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1848 Use `read-regexp-suggestions'. Add non-empty default to history
1849 for empty input.
1850 (occur-read-regexp-defaults-function): Remove function.
1851 (occur-read-primary-args): Use `regexp-history-last' instead of
1852 `occur-read-regexp-defaults-function'.
1853
1854 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1855 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1856 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1857 `hi-lock-read-regexp-defaults-function'. Doc fix.
1858 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1859 with `find-tag-default-as-symbol-regexp'. Doc fix.
1860 (hi-lock-read-regexp-defaults): Remove function.
1861 (hi-lock-regexp-okay): Add check for null.
1862
1863 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1864 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1865
1866 * subr.el (find-tag-default-as-symbol-regexp): New function.
1867 (find-tag-default-as-regexp): Move symbol regexp formatting to
1868 `find-tag-default-as-symbol-regexp'.
1869
137f57c8
S
18702013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1871
1872 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1873 (Bug#14179)
1874
f3a66082
SB
18752013-12-20 Stephen Berman <stephen.berman@gmx.net>
1876
1877 * calendar/todo-mode.el: New implementation of item insertion
1878 commands and key bindings.
1879 (todo-key-prompt): New face.
1880 (todo-insert-item): New command.
1881 (todo-insert-item--parameters): New defconst, replacing defvar
1882 todo-insertion-commands-args-genlist.
1883 (todo-insert-item--param-key-alist): New defconst, replacing
1884 defvar todo-insertion-commands-arg-key-list.
1885 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1886 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1887 (todo-insert-item--next-param): New functions.
1888 (todo-insert-item--args, todo-insert-item--argleft)
1889 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1890 New variables.
1891 (todo-key-bindings-t): Change binding of "i" from
1892 todo-insertion-map to todo-insert-item.
1893 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1894 (todo-insertion-command-name, todo-insertion-commands-names)
1895 (todo-define-insertion-command, todo-insertion-commands)
1896 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1897
2f99433b
SB
18982013-12-20 Stephen Berman <stephen.berman@gmx.net>
1899
1900 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1901 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1902 eval-when-compile.
1903 (todo-move-category): Allow choosing a non-existing todo file to
1904 move the category to, and create that file.
1905 (todo-default-priority): New user option.
1906 (todo-set-item-priority): Use it.
1907 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1908 (desktop-restore-file-buffer): Declare.
1909 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1910 (todo-modes-set-2): Locally set desktop-save-buffer to
1911 todo-desktop-save-buffer.
1912 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1913 (auto-mode-alist): Add autoload cookie.
1914
131e4695
BB
19152013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1916
1917 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1918 helpers.el was a poor choice of name.
3cbfb935
BB
1919 (string-remove-prefix): New function.
1920 (string-remove-suffix): New function.
131e4695 1921
c44de18d
MR
19222013-12-20 Martin Rudalics <rudalics@gmx.at>
1923
1924 Fix assignment for new window total sizes.
1925 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1926 (window--pixel-to-total-1, window--pixel-to-total):
1927 Fix calculation of new total sizes.
c44de18d 1928
ca65efcc
VS
19292013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1930
1931 * comint.el (comint-output-filter): Fix rear-nonsticky property
1932 placement (Bug#16010).
1933
a9574eb7
CY
19342013-12-20 Chong Yidong <cyd@gnu.org>
1935
1936 * faces.el (read-color): Minor fix for completion function.
1937
b520f210
DG
19382013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1939
e0eb0550
JB
1940 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1941 New option. (Bug#16182)
b520f210
DG
1942 (ruby-smie--indent-to-stmt-p): Use it.
1943 (ruby-smie-rules): Revert the logic in the handling of `when'.
1944 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1945 (ruby-deep-arglist, ruby-deep-indent-paren)
1946 (ruby-deep-indent-paren-style): Update docstrings to note that the
1947 vars don't have any effect with SMIE.
1948
26b75b45
JB
19492013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1950
1951 * calc/calc.el (calc-enter, calc-pop): Use the variable
1952 `calc-context-sensitive-enter'.
1953
cf91cee7
LMI
19542013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1955
1956 * net/shr.el (shr-insert): Protect against infloops in degenerate
1957 tables.
1958
51d971b4
RS
19592013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1960
1961 * progmodes/octave.el (octave): Add link to manual and octave
1962 homepage.
1963 (octave-mode-menu): Link to octave-mode manual.
1964
8c2e462a
LL
19652013-12-20 Leo Liu <sdl.web@gmail.com>
1966
1967 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1968 insertion using skeleton-end-newline. (Bug#16138)
1969
501158bc
JL
19702013-12-20 Juri Linkov <juri@jurta.org>
1971
1972 * replace.el (occur-engine): Use `add-face-text-property'
1973 to add the face property to matches and titles. (Bug#14645)
1974
1975 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1976 the palette of other hi-lock colors.
1977 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1978
50ab1da6
JL
19792013-12-19 Juri Linkov <juri@jurta.org>
1980
1981 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1982 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1983 (minibuffer-history-symbol): Move variable declaration closer to
1984 its usage.
1985
1986 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1987 (Bug#14785)
1988
3d6e95e7
JL
19892013-12-19 Juri Linkov <juri@jurta.org>
1990
1991 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1992 New function.
1993 (log-edit-hook): Add it to :options. (Bug#16170)
1994
b41594fd
JL
19952013-12-19 Juri Linkov <juri@jurta.org>
1996
1997 * simple.el (eval-expression-print-format): Don't check for
1998 command names and the last command. Always display additional
1999 formats of the integer result in the echo area, and insert them
2000 to the current buffer only with a zero prefix arg.
2001 Display character when char-displayable-p is non-nil.
2002 (eval-expression): With a zero prefix arg, set `print-length' and
2003 `print-level' to nil, and insert the integer values from
2004 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2005
2006 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2007 `eval-last-sexp-arg-internal'. Doc fix.
2008 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2009 `eval-last-sexp-print-value'. Doc fix.
2010 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2011 Set `print-length' and `print-level' to nil when arg is zero.
2012 (eval-last-sexp): Doc fix.
2013 (eval-defun-2): Print the integer values from
2014 `eval-expression-print-format' at the end.
2015
2016 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2017 values from `eval-expression-print-format' at the end.
2018
2019 * ielm.el (ielm-eval-input): Print the integer
2020 values from `eval-expression-print-format' at the end.
2021
8f2be364
TZ
20222013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2023
2024 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2025 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2026
2230a6e3
SM
20272013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2030 (hl-line-highlight, global-hl-line-highlight): Use it.
2031 (hl-line-overlay): Use defvar-local.
2032
1269a680
JD
20332013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2034
2035 * term/ns-win.el: Require dnd.
2036 (global-map): Remove drag items.
2037 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2038 (ns-set-background-at-mouse):
2039 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2040 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2041 New functions.
1269a680 2042
049638ad
GM
20432013-12-19 Glenn Morris <rgm@gnu.org>
2044
2045 * emacs-lisp/ert.el (ert-select-tests):
2046 Fix string/symbol mixup. (Bug#16121)
2047
ce41edb4
DG
20482013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2049
2050 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2051 keywords to their parent.
2052
7e1549c9
DG
20532013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2054
2055 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2056 first arg to be a string (fixed dead code), or an operator symbol.
2057 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2058 operator symbols.
2059 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2060 did nothing. Don't respond to `(:after ".")', it will be called
2061 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2062 change anything. Only return indentation for binary operators
2063 when they are hanging. De-dent opening paren when its parent is
2064 `.', otherwise it looks bad when the dot is not at bol or eol
2065 (bug#16182).
2066
3ee4cd64
JL
20672013-12-19 Juri Linkov <juri@jurta.org>
2068
2069 * replace.el (query-replace-read-args): Split a non-negative arg
2070 and a negative arg into separate elements.
2071 (query-replace, query-replace-regexp, replace-string)
2072 (replace-regexp): Add arg `backward'. Doc fix.
2073 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2074 move point to the beginning of the match.
2075 (replace-search, replace-highlight): Use new arg `backward'
2076 to set the value of `isearch-forward'.
2077 (perform-replace): Add arg `backward' and use it to perform
2078 replacement backward. (Bug#14979)
2079
2080 * isearch.el (isearch-query-replace): Use a negative prefix arg
2081 to call `perform-replace' with a non-nil arg `backward'.
2082
0cda6b7b
JL
20832013-12-18 Juri Linkov <juri@jurta.org>
2084
2085 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2086 to the default list. Move `log-edit-show-files' to the end.
2087 Add more available functions to options.
2088 (log-edit): Move default specific settings to
2089 `log-edit-insert-message-template'. Don't move point.
2090 (log-edit-insert-message-template): New function.
2091 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2092 (Bug#16170)
2093
b216f0a6
JL
20942013-12-18 Juri Linkov <juri@jurta.org>
2095
2096 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2097 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2098
1d1c55dc
LL
20992013-12-18 Leo Liu <sdl.web@gmail.com>
2100
e9dc713d
JB
2101 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2102 (Bug#16186)
1d1c55dc 2103
64e4c76e
EZ
21042013-12-18 Eli Zaretskii <eliz@gnu.org>
2105
2106 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2107 formats for displaying file sizes when the -s switch is given.
2108 Instead, compute a separate format for displaying the size in
2109 blocks, which is displayed in addition to the "regular" size.
2110 When -h is given in addition to -s, produce size in blocks in
2111 human-readable form as well. (Bug#16179)
2112
b2984e39
TH
21132013-12-18 Tassilo Horn <tsdh@gnu.org>
2114
2230a6e3
SM
2115 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2116 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2117
50ff2e06
CY
21182013-12-18 Chong Yidong <cyd@gnu.org>
2119
0081bc84
CY
2120 * cus-edit.el (custom-magic-alist): Fix "themed" description
2121 (Bug#14348).
2122
a7ee9424
CY
2123 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2124 is non-nil, do not create a new entry in the symbol's theme-value
2125 or theme-face property; update theme-settings only (Bug#14664).
18874304 2126 (custom-available-themes): Doc fix.
a7ee9424 2127
8f942537
CY
2128 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2129 (Bug#15674).
2130
50ff2e06
CY
2131 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2132
83c60f60
KI
21332013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2134
2135 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2136 (Bug#13914).
2137
e0eb0550 21382013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2139
2140 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2141
1f41ee56
GM
21422013-12-18 Glenn Morris <rgm@gnu.org>
2143
2144 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2145 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2146
e82134b1
LW
21472013-12-18 Le Wang <l26wang@gmail.com>
2148
2230a6e3
SM
2149 * comint.el (comint-previous-matching-input-from-input):
2150 Retain point (Bug#13404).
e82134b1 2151
33f5d4c1
CY
21522013-12-18 Chong Yidong <cyd@gnu.org>
2153
2154 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2155
ccc9f6dc
GM
21562013-12-18 Glenn Morris <rgm@gnu.org>
2157
2158 * mail/emacsbug.el (report-emacs-bug):
2159 Only mention enable-multibyte-characters if non-standard.
2160
33dd8e95
JL
21612013-12-17 Juri Linkov <juri@jurta.org>
2162
2163 * arc-mode.el (archive-extract-by-file): Check if directory exists
2164 before deletion to not show irrelevant errors if it doesn't exist.
2165
7a409b30
JL
21662013-12-17 Juri Linkov <juri@jurta.org>
2167
2168 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2169 (Bug#14751)
2170
2171 * net/eww.el (browse-web): Add alias to `eww'.
2172 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2173 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2174
2175 * net/browse-url.el (browse-url-browser-function): Move `eww'
2176 closer to similar functions.
2177
2178 * startup.el (fancy-startup-screen, fancy-about-screen):
2179 Set browse-url-browser-function to eww-browse-url locally.
2180 (Bug#14751)
2181
2d6b6005
SM
21822013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * window.el (window--pixel-to-total): Remove unused `mini' var.
2185 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2186 (split-window): Remove unused `new' var.
2187 (window--display-buffer): Remove unused `frame' and `delta' vars.
2188 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2189 and display-width'.
2190
cf2b7efc
MR
21912013-12-17 Martin Rudalics <rudalics@gmx.at>
2192
2193 * dired.el (dired-mark-pop-up):
2194 * register.el (register-preview): Don't bind
2195 split-height-threshold here since it's now done in
2196 display-buffer-below-selected.
2197
ed3af8a7 21982013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2199
2200 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2201 xterm-rgb-convert-to-16bit.
2202 (rxvt-register-default-colors): Standardize with
2203 xterm-register-default-colors (Bug#14078).
2204
76da3455
DK
22052013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2206
2207 * simple.el (kill-region): Pass mark first, then point, so that
2208 kill-append works right (Bug#12819).
2209 (copy-region-as-kill, kill-ring-save): Likewise.
2210
2b84d763
LL
22112013-12-17 Leo Liu <sdl.web@gmail.com>
2212
2213 * net/rcirc.el (rcirc-add-face):
2214 * eshell/em-prompt.el (eshell-emit-prompt):
2215 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2216 (Bug#16167)
2217
e2f6a0bc
CY
22182013-12-17 Chong Yidong <cyd@gnu.org>
2219
2220 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2221 Suggested by Xue Fuqiao.
2222
35b249a6
DG
22232013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2224
2225 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2226
e9145444
SM
22272013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * net/shr.el (shr-insert-document): Remove unused var
2230 `shr-preliminary-table-render'.
2231 (shr-rescale-image): Remove unused arg `force'.
2232 (shr-put-image): Update calls accordingly.
2233 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2234
5556c0ce
DG
22352013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2236
2237 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2238 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2239 :close-all, to see which indentation method to use (Bug#16116).
2240 (smie-rules-function): Document the method :close-all.
2241
11bade0a
LMI
22422013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2243
1c4b1e61
LMI
2244 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2245
11bade0a
LMI
2246 * net/eww.el (eww-display-html): If we can't find the anchor we're
2247 looking for, then go to point-min.
2248
8fb8c4f3
PE
22492013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2250
2251 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2252 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2253 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2254 Expand dir too, in case it's relative.
2255
6c8e0ae6
JL
22562013-12-16 Juri Linkov <juri@jurta.org>
2257
2258 * desktop.el (desktop-auto-save-timeout): Change default to
2259 `auto-save-timeout'. Doc fix.
2260 (desktop-save): Skip the timestamp in desktop-saved-frameset
2261 when checking for auto-save changes.
2262 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2263 `desktop-auto-save' is called repeatedly by the idle timer.
2264 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2265 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2266 (Bug#15331)
2267
2178e858
JL
22682013-12-16 Juri Linkov <juri@jurta.org>
2269
2270 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2271 (Bug#16035)
2272 (isearch-pre-command-hook): Check `this-command' for symbolp.
2273
39cb42c6
SM
22742013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2277
5b9b750a
TZ
22782013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2279
2280 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2281 (cfengine3--current-function): Bring in the current-function
2282 functionality from `cfengine3--current-word'.
2283 (cfengine3-completion-function): Bring in the
2284 bounds-of-current-word functionality from
2285 `cfengine3--current-word'.
2286
d144ef06
MR
22872013-12-16 Martin Rudalics <rudalics@gmx.at>
2288
39cb42c6
SM
2289 * window.el (display-buffer-below-selected):
2290 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2291
a8bbe298
LL
22922013-12-16 Leo Liu <sdl.web@gmail.com>
2293
2294 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2295 Remove NOMSG arg and all uses changed.
2296
2013a2f9
SM
22972013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2300 (cua--deactivate-rectangle): Don't deactivate the mark.
2301 (cua-set-rectangle-mark): Don't set mark-active since
2302 cua--activate-rectangle already does it for us.
2303 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2304 non-rectangular region.
2305
2306 * emulation/cua-base.el (cua-repeat-replace-region):
2307 Use with-current-buffer.
2308
2309 * net/gnutls.el: Use cl-lib.
2310 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2311
5ae811dd
TZ
23122013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2313
2314 * emacs-lisp/package.el (package-built-in-p): Support both
2315 built-in and the package.el converted package descriptions.
2316 (package-show-package-list): Allow keywords.
2317 (package-keyword-button-action): Use it instead of
2318 `finder-list-matches'.
2319 (package-menu-filter-interactive): Interactive filtering (by
2320 keyword) function.
2321 (package-menu--generate): Support keywords and change keymappings
2322 and headers when they are given.
2323 (package--has-keyword-p): Helper function.
2324 (package-menu--refresh): Use it.
2325 (package--mapc): Helper function.
2326 (package-all-keywords): Use it.
2327 (package-menu-mode-map): Set up menu items and keybindings to
2328 provide a filtering UI.
2329
31b4827e
TZ
23302013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2331
2332 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2333 the behavior when a certificate fails validation. Defaults to
2334 old behavior: never abort, just warn.
2335 (gnutls-negotiate): Use it.
2336
f93cc74f
MR
23372013-12-14 Martin Rudalics <rudalics@gmx.at>
2338
2339 * window.el (display-buffer-below-selected): Never split window
2340 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2341
f77d7d17
TW
23422013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2343
2344 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2345 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2346
7514d3f8
SM
23472013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2348
aa2bddd7 2349 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2350 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2351
276bc333
DG
23522013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2353
2354 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2355 open-paren tokens when preceded by a open-paren, too.
2356 (ruby-smie-rules): Handle virtual indentation after open-paren
2357 tokens specially. If there is code between it and eol, return the
2358 column where is starts (Bug#16118).
2359
d43957f3
TZ
23602013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2361
a5c1ac0c 2362 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2363 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2364 (cfengine3--current-word): Fix parameters.
2365 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2366 (cfengine3-completion-function, cfengine3--current-function):
2367 Use `assq' for symbols.
d43957f3
TZ
2368 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2369
06a4f110
GM
23702013-12-13 Glenn Morris <rgm@gnu.org>
2371
2372 * loadup.el (load-path): Warn if site-load or site-init changes it.
2373 No more need to reset it when bootstrapping.
2374
978a5fda
TZ
23752013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2376
2377 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2378 locations for cf-promises.
2379 (cfengine-mode-syntax-functions-regex): New caching variable.
2380 (cfengine3-fallback-syntax): Fallback syntax for cases where
2381 cf-promises doesn't run.
2382 (cfengine3--current-word): Reimplement using
2383 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2384 (cfengine3-completion-function, cfengine3--current-function):
2385 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2386 (cfengine3-clear-syntax-cache): New function.
2387 (cfengine3-make-syntax-cache): Simplify and create
2388 `cfengine-mode-syntax-functions-regex' on demand.
2389 (cfengine3-format-function-docstring): Don't call
2390 `cfengine3-make-syntax-cache' explicitly.
2391
71e6691e
MR
23922013-12-13 Martin Rudalics <rudalics@gmx.at>
2393
2394 Fix windmove-find-other-window broken after pixelwise resizing
2395 (Bug#16017).
2396 * windmove.el (windmove-other-window-loc): Revert change from
2397 2013-12-04.
2398 (windmove-find-other-window): Call window-in-direction.
2399 * window.el (window-in-direction): New arguments SIGN, WRAP and
2400 MINI to emulate original windmove-find-other-window behavior.
2401
84c73ba0
DG
24022013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2403
2404 * simple.el (blink-matching--overlay): New variable.
2405 (blink-matching-open): Instead of moving point, highlight the
2406 matching paren with an overlay
2407 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2408
2409 * faces.el (paren-showing-faces, show-paren-match)
2410 (show-paren-mismatch): Move from paren.el.
2411
b9e20952
LL
24122013-12-13 Leo Liu <sdl.web@gmail.com>
2413
2414 * indent.el (indent-region): Disable progress reporter in
2415 minibuffer. (Bug#16108)
2416
2417 * bindings.el (visual-order-cursor-movement): Fix version.
2418
ce030451
FEG
24192013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2420
2421 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2422 Also match after beginning of line.
2423 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2424 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2425
4a9c6865
JL
24262013-12-13 Juri Linkov <juri@jurta.org>
2427
2428 * simple.el <Keypad support>: Remove key bindings duplicated
2429 with bindings.el. (Bug#14397)
2430
2bc170c3
JL
24312013-12-13 Juri Linkov <juri@jurta.org>
2432
2433 * comint.el (comint-mode-map): Replace `delete-char' with
2434 `delete-forward-char'. (Bug#16109)
2435
bc9222c9
FEG
24362013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2437
aa2bddd7 2438 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2439 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2440
cb3a1380
SM
24412013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2444 (advice--make): Pay attention to `depth'.
2445 (advice--make-1): Don't autoload commands eagerly.
2446 * emacs-lisp/elp.el (elp-instrument-function):
2447 * emacs-lisp/trace.el (trace-function-internal):
2448 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2449
2450 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2451
01633a17
EZ
24522013-12-12 Eli Zaretskii <eliz@gnu.org>
2453
2454 * term/w32-win.el (w32-handle-dropped-file):
2455 * startup.el (normal-top-level):
2456 * net/browse-url.el (browse-url-file-url):
2457 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2458 decode file names using 'utf-8' rather than
2459 file-name-coding-system.
2460
09faee72
FEG
24612013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2462
2463 * progmodes/python.el (python-indent-context)
2464 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2465 behavior for comment blocks. (Bug#15916)
09faee72 2466
f4f84024 24672013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2468
cb3a1380
SM
2469 * progmodes/python.el (python-indent-calculate-indentation):
2470 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2471 operators when they are just string constituents. (Bug#15812)
2472
d5ccb7be
JL
24732013-12-12 Juri Linkov <juri@jurta.org>
2474
2475 * uniquify.el (uniquify-buffer-name-style): Change default to
2476 `post-forward-angle-brackets'.
2477
2478 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2479 `uniquify'. Change default to `post-forward-angle-brackets'.
2480
7b3f5679
GM
24812013-12-11 Glenn Morris <rgm@gnu.org>
2482
2483 * emacs-lisp/package.el (finder-list-matches):
2484 Autoload rather than falsely declaring.
2485
f4fe8fdd
TZ
24862013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2487
2488 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2489 (eww-mode-map): Use them.
2490
3c29190f
MR
24912013-12-11 Martin Rudalics <rudalics@gmx.at>
2492
2493 * window.el (display-buffer-in-side-window): Fix doc-string
2494 (Bug#16115).
2495
0cd616a2
JB
24962013-12-11 Juanma Barranquero <lekktu@gmail.com>
2497
2498 * vc/vc-git.el: Silence byte-compiler warnings.
2499 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2500 (log-edit-set-header): Declare.
2501
3ef8e0d1
EZ
25022013-12-11 Eli Zaretskii <eliz@gnu.org>
2503
2504 * Makefile.in (custom-deps, finder-data): Run output file names
2505 through unmsys--file-name. (Bug#16099)
2506
afdadaf7
SM
25072013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2508
7ae3ae39 2509 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2510 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2511
5b4f37ab
SM
2512 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2513 instead of deleting the selection "by hand" (bug#16098).
2514 Rely on insert-for-yank to yank rectangles.
2515 (cua-highlight-region-shift-only): Mark obsolete.
2516 (cua-mode): Don't enable/disable transient-mark-mode,
2517 shift-select-mode (cua-mode works both with and without them), and
2518 pc-selection-mode (obsolete).
2519 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2520 (cua--deactivate-rectangle): Deactivate it.
2521
4b72c12b
SM
2522 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2523 (delete-selection-helper): Make sure yank starts at the top of the
2524 deleted region.
2525 (minibuffer-keyboard-quit): Use region-active-p.
2526
e82af72d
SM
2527 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2528
afdadaf7
SM
2529 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2530 to `delete' (bug#16109).
2531
ed4bc201
RS
25322013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2533
2534 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2535 info manual and show keybindings and set `:group' keyword.
2536
bb8097b9
JL
25372013-12-11 Juri Linkov <juri@jurta.org>
2538
2539 * delsel.el (delete-active-region): Let-bind `this-command'
2540 to prevent `kill-region' from changing its original value.
2541 (delete-selection-helper): Handle `overwrite-mode' for the type
2542 `kill' exactly the same way as for the type `t'.
2543 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2544 Support more commands. (Bug#13312)
2545
c1916ff5
JL
25462013-12-11 Juri Linkov <juri@jurta.org>
2547
2548 * bindings.el: Map kp keys to non-kp keys systematically
2549 with basic modifiers control, meta and shift. (Bug#14397)
2550
7514d3f8 25512013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2552
2553 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2554 "Close browser" menu items. Fix wrong function of "List
2555 bookmarks".
2556
4cc51eaf
JL
25572013-12-11 Juri Linkov <juri@jurta.org>
2558
2559 * misearch.el (multi-isearch-buffers): Set the value of
2560 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2561 arg of isearch-forward to t.
2562 (multi-isearch-buffers-regexp): Set the value of
2563 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2564 arg of isearch-forward-regexp to t.
2565 (multi-isearch-files): Set the value of
2566 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2567 arg of isearch-forward to t.
2568 (multi-isearch-files-regexp): Set the value of
c295fc18 2569 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
2570 arg of isearch-forward-regexp to t. (Bug#16035)
2571
2572 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2573 arg of isearch-forward to t.
2574 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2575 arg of isearch-forward-regexp to t.
2576 (dired-isearch-filter-filenames): Remove unnecessary check for
2577 `dired-isearch-filenames'.
2578
2579 * comint.el (comint-history-isearch-backward):
2580 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2581 (comint-history-isearch-backward-regexp):
2582 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2583
ceac12b7
EZ
25842013-12-10 Eli Zaretskii <eliz@gnu.org>
2585
2586 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2587 unmsys--file-name. (Bug#16099)
2588
5a565782
TZ
25892013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2590
cb3a1380
SM
2591 * emacs-lisp/package.el (package-keyword-button-action):
2592 Remove finder.el require dependency.
5a565782 2593
a81fc7ba
TZ
25942013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2595
2596 * emacs-lisp/package.el: Require finder.el.
2597 (describe-package-1): Add keyword buttons.
2598 (package-make-button): New convenience function.
2599 (package-keyword-button-action): Keyword button action using
e0eb0550 2600 `finder-list-matches'.
a81fc7ba 2601
6aaca951
EZ
26022013-12-09 Eli Zaretskii <eliz@gnu.org>
2603
2604 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2605 last commit.
2606
a1099a91
MA
26072013-12-09 Michael Albinus <michael.albinus@gmx.de>
2608
2609 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2610 symlinked files.
2611
8212d9c0
DG
26122013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2615 after the end of a percent literal.
2616
8f48d131
CD
26172013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2618
cb3a1380
SM
2619 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2620 Handle caret-delimited strings (Bug#16079).
8f48d131 2621
ff8c9764
DG
26222013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2623
cb3a1380
SM
2624 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2625 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2626 `ruby-parse-partial' (Bug#16078).
2627
d64643b4
LL
26282013-12-09 Leo Liu <sdl.web@gmail.com>
2629
2630 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2631
47e59c66
DG
26322013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2633
2634 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2635 (js-switch-indent-offset): New option.
2636 (js--proper-indentation): Use it. And handle the case when
2637 "default" is actually a key in an object literal.
2638 (js--same-line): New function.
2639 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2640 (js--indent-in-array-comp, js--array-comp-indentation):
2641 New functions.
47e59c66
DG
2642 (js--proper-indentation): Use them, to handle array comprehension
2643 continuations.
2644
974ebc9c
LL
26452013-12-08 Leo Liu <sdl.web@gmail.com>
2646
2647 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2648 (flymake-make-overlay): Remove arg MOUSE-FACE.
2649 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2650
27262e39
SM
26512013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2654 New function.
2655 (redisplay-highlight-region-function): Use it.
2656
2657 * emulation/cua-base.el (cua--explicit-region-start)
2658 (cua--last-region-shifted): Remove.
2659 (cua--deactivate): Use deactivate-mark.
2660 (cua--pre-command-handler-1): Don't handle shift-selection.
2661 (cua--post-command-handler-1): Don't change transient-mark-mode.
2662 (cua--select-keymaps): Use region-active-p rather than
2663 cua--explicit-region-start or cua--last-region-shifted.
2664 (cua-mode): Enable shift-select-mode.
2665
6407822c
LL
26662013-12-08 Leo Liu <sdl.web@gmail.com>
2667
27262e39
SM
2668 * progmodes/flymake.el (flymake-popup-current-error-menu):
2669 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2670 (flymake-posn-at-point-as-event, flymake-popup-menu)
2671 (flymake-make-emacs-menu): Remove. (Bug#16077)
2672
00a2b823
SM
26732013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2674
02033d49
SM
2675 * rect.el (rectangle-mark-mode): Activate mark even if
2676 transient-mark-mode is off (bug#16066).
2677 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2678 is > mark and at bolp.
2679
6f8dfccf
SM
2680 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2681 (region-extract-function): Use it.
2682 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2683 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2684 Delete functions.
2685 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2686 kill-ring-save, kill-region, delete-char, delete-forward-char.
2687 Ignore self-insert-iso.
2688
2689 * emulation/cua-gmrk.el (cua--init-global-mark):
2690 Ignore `self-insert-iso'.
2691
2692 * emulation/cua-base.el (cua--prefix-copy-handler)
2693 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2694 checking cua--rectangle.
2695 (cua-delete-region): Use region-extract-function.
2696 (cua-replace-region): Delete function.
2697 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2698 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2699 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2700 (cua--init-keymaps): Don't remap delete-selection commands.
2701 (cua-mode): Use delete-selection-mode instead of rolling our own
2702 (bug#16085).
2703
2704 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2705 Obey region-extract-function.
2706
00a2b823
SM
2707 Make registers and delete-selection-mode work on rectangles.
2708 * register.el (describe-register-1): Don't modify the register's value.
2709 (copy-to-register): Obey region-extract-function.
2710 * delsel.el (delete-active-region): Obey region-extract-function.
2711
a92fa5f1
LL
27122013-12-08 Leo Liu <sdl.web@gmail.com>
2713
2714 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2715 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2716 (flymake-compilation-prevents-syntax-check)
2717 (flymake-start-syntax-check-on-newline)
2718 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2719 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2720 (flymake-xml-program, flymake-master-file-dirs)
2721 (flymake-master-file-count-limit)
2722 (flymake-allowed-file-name-masks): Relocate.
2723 (flymake-makehash, flymake-float-time)
2724 (flymake-replace-regexp-in-string, flymake-split-string)
2725 (flymake-get-temp-dir): Remove.
2726 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2727 (flymake-current-row, flymake-selected-frame)
2728 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2729 related functions. (Bug#16077)
2730
73c8ceea
BB
27312013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2732
2733 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2734
faec28d9
TH
27352013-12-07 Tassilo Horn <tsdh@gnu.org>
2736
2737 * help-fns.el (describe-function-1): Use new advice-* functions
2738 rather than old ad-* functions. Fix function type description and
2739 source links for advised functions and subrs.
2740
e330b646
LMI
27412013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2742
00a2b823 2743 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2744
4803595d
MA
27452013-12-06 Michael Albinus <michael.albinus@gmx.de>
2746
2747 * progmodes/compile.el (compilation-start):
2748 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2749
2750 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2751 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2752
fa834a93
DG
27532013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2754
00a2b823
SM
2755 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2756 Touch up the last change.
fa834a93 2757
b2856a6f
LL
27582013-12-06 Leo Liu <sdl.web@gmail.com>
2759
2760 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2761 (inferior-octave-startup): Always use "octave> " for prompt.
2762 (octave-goto-function-definition)
2763 (octave-sync-function-file-names)
2764 (octave-find-definition-default-filename): Remove redundant backquotes.
2765
af67e79a
DG
27662013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2767
2768 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2769 syntax for `?'.
2770 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2771 where appropriate already.
2772 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2773 end of method names (Bug#15874).
2774
bf093209
JL
27752013-12-06 Juri Linkov <juri@jurta.org>
2776
2777 * isearch.el (isearch--saved-overriding-local-map):
2778 New internal variable.
2779 (isearch-mode): Set it to the initial value of
2780 `overriding-terminal-local-map'.
2781 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2782 with `isearch--saved-overriding-local-map'. (Bug#16035)
2783
16588fad
DG
27842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2785
00a2b823
SM
2786 * progmodes/octave.el (inferior-octave-completion-table):
2787 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2788 (Bug#11906). Update all references.
2789
2790 * minibuffer.el (completion-table-with-cache): New function.
2791
bf4906d7
CD
27922013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2793
2794 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2795
ff69c18f
TZ
27962013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2797
2798 * net/eww.el (eww-current-source): New variable to store page
2799 source.
2800 (eww-display-html, eww-mode, eww-save-history)
2801 (eww-restore-history): Use it.
2802 (eww-view-source): New command to view page source.
2803 Opportunistically uses `html-mode' to highlight the buffer.
2804 (eww-mode-map): Install it.
2805
b85eff45
MA
28062013-12-05 Michael Albinus <michael.albinus@gmx.de>
2807
2808 * net/dbus.el (dbus-unregister-service)
2809 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2810 Fix docstring.
2811 (dbus-unregister-service): Skip :serial entries in
2812 `dbus-registered-objects-table'.
2813 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2814
39eb0899
TZ
28152013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2816
2817 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2818 around keywords with extra `split-string' argument.
2819
456760a5
MR
28202013-12-04 Martin Rudalics <rudalics@gmx.at>
2821
2822 * windmove.el (windmove-other-window-loc): Handle navigation
2823 between windows (excluding the minibuffer window - Bug#16017).
2824
81961e4c
MA
28252013-12-04 Michael Albinus <michael.albinus@gmx.de>
2826
2827 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2828 in D-Bus type syntax.
2829 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2830 preserve unibyte strings. (Bug#16048)
2831
8497f938
SM
28322013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2835 Call force-mode-line-update is the proper buffer (bug#16042).
2836
dda61916
DG
28372013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2838
2839 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2840 `log-edit-remember-comment', make argument optional. Adjust all
2841 callers.
2842 (log-edit-mode): Add `log-edit-remember-comment' to
2843 `kill-buffer-hook' locally.
2844 (log-edit-kill-buffer): Don't remember comment explicitly since
2845 the buffer is killed anyway.
2846
c085e5b9
JL
28472013-12-04 Juri Linkov <juri@jurta.org>
2848
2849 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2850 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2851
e0eb0550 28522013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2853
2854 * notifications.el (notifications-close-notification): Call the
81961e4c 2855 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2856
39fa32d6
KY
28572013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2858
2859 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2860
9139632a
JL
28612013-12-03 Juri Linkov <juri@jurta.org>
2862
2863 * progmodes/compile.el (compilation-start): Rename window alist
2864 entry `no-display-ok' to `allow-no-window'.
2865
2866 * simple.el (shell-command): Add window alist entry
2867 `allow-no-window' to `display-buffer'.
2868 (async-shell-command): Doc fix.
2869
2870 * window.el (display-buffer-no-window): New action function.
2871 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2872
0f457a37
DG
28732013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2874
2875 * vc/log-edit.el (log-edit-set-header): Extract from
2876 `log-edit-toggle-header'.
2877 (log-edit-extract-headers): Separate the summary, when extracted
2878 from header, from the rest of the message with an empty line.
2879
2880 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2881 line, if present, to the Summary header.
2882
0962f376
SM
28832013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2886 in current-buffer (bug#16029).
2887
f345395c
HE
28882013-12-02 Helmut Eller <eller.helmut@gmail.com>
2889
2890 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2891 (debugger-mode-map): Bind it.
2892 (debugger--backtrace-base): New function.
2893 (debugger-eval-expression): Use it.
2894 (debugger-frame-number): Skip local vars when present.
2895 (debugger--locals-visible-p, debugger--insert-locals)
2896 (debugger--show-locals, debugger--hide-locals): New functions.
2897
a8a15d9d
MA
28982013-12-02 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2901 "LC_ALL".
2902 (tramp-get-remote-locale): New defun.
2903 (tramp-open-connection-setup-interactive-shell): Use it.
2904
0518b057
LL
29052013-12-02 Leo Liu <sdl.web@gmail.com>
2906
2907 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2908
2909 * progmodes/sh-script.el (sh-shell-process):
2910 * progmodes/octave.el (inferior-octave-process-live-p):
2911 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2912 (gdb-inferior-io-sentinel):
2913 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2914
3adc9c6d
DG
29152013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2916
2917 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2918 `save-selected-window' to `log-edit-hide-buf'. This makes
2919 `log-edit-show-files' idempotent.
2920 (log-edit-show-files): Mark the new window as dedicated.
2921
47e8b74e
DG
29222013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2923
2924 * vc/log-edit.el (log-edit-mode-map): Add binding for
2925 `log-edit-kill-biffer'.
2926 (log-edit-hide-buf): Add a FIXME comment.
2927 (log-edit-add-new-comment): New function, extracted from
2928 `log-edit-done'.
2929 (log-edit-done, log-edit-add-to-changelog): Use it.
2930 (log-edit-kill-buffer): New command.
2931
1f6e1bb0
LMI
29322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2933
2934 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2935 instead of killing the buffer.
2936
fb651d15
SM
29372013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2940
8feacce0
RS
29412013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2942
fb651d15 2943 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2944 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2945 (eww-form-checkbox, eww-toggle-checkbox):
2946 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2947
e0eb0550 2948 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2949 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2950 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2951 no :src tag was specified.
2952
fb651d15 2953 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2954 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2955 Use \\` to match beginning of string instead of ^.
2956 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2957 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2958
177948a5
RS
2959 * net/shr.el (shr-tag-video): Display content for video if no
2960 poster is available.
eb2dd24d 2961 (shr-tag-audio): Add support for <audio> tag.
177948a5 2962
e0eb0550 2963 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2964 (eww-process-text-input): Treat input types in
2965 `eww-text-input-types' as text.
2966
8feacce0
RS
2967 * net/shr.el (shr-tag-table): Fix comment typo.
2968
513562a1
LMI
29692013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2970
2971 * net/eww.el (eww-follow-link): New command to avoid reloading
2972 pages when we follow #target links (bug#15243).
de8a5633 2973 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2974
9dd99753
KN
29752013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2976
2977 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2978 forms.
2979
3e9876de
LMI
29802013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2981
2982 * net/eww.el (eww-restore-history): Update the window title after
2983 moving in the history.
ab6dea82 2984 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2985
52789f7f
DG
29862013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2987
2988 * vc/log-edit.el (log-edit-mode-map): Add binding for
2989 `log-edit-beginning-of-line'.
2990 (log-edit-setup-add-author): New user option.
2991 (log-edit-beginning-of-line): New command.
2992 (log-edit): Move major mode call above the contents setup so that
2993 the local variable values are already applied.
2994 (log-edit): Only insert "Author: " when
2995 `log-edit-setup-add-author' is non-nil.
2996 (log-edit): When SETUP is non-nil, position point after ": "
2997 instead of point-min.
2998
2e6710c3
GM
29992013-12-01 Glenn Morris <rgm@gnu.org>
3000
3001 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3002
fadec31f
EZ
30032013-11-30 Eli Zaretskii <eliz@gnu.org>
3004
3005 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3006 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3007 visible. (Bug#16014)
3008
10634b40 30092013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3010
3011 Support resizing frames and windows pixelwise.
3012 * cus-start.el (frame-resize-pixelwise)
3013 (window-resize-pixelwise): New entries.
3014 * emacs-lisp/debug.el (debug): Use window-total-height instead
3015 of window-total-size.
3016 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3017 * help.el (describe-bindings-internal): Call help-buffer
3018 (temp-buffer-max-width): New option.
3019 (resize-temp-buffer-window, help-window-setup)
3020 (with-help-window): Rewrite.
3021 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3022 dragging dividers.
3023 * window.el (frame-char-size, window-min-pixel-height)
3024 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3025 (window-min-pixel-width, window-safe-min-pixel-size)
3026 (window-combination-p, window-safe-min-size)
3027 (window-resizable-p, window--size-to-pixel)
3028 (window--pixel-to-size, window--resize-apply-p): New functions.
3029 (window-safe-min-height): Fix doc-string.
3030 (window-size, window-min-size, window--min-size-1)
3031 (window-sizable, window-sizable-p, window--min-delta-1)
3032 (window-min-delta, window--max-delta-1, window-max-delta)
3033 (window--resizable, window--resizable-p, window-resizable)
3034 (window-full-height-p, window-full-width-p, window-at-side-p)
3035 (window--in-direction-2, window-in-direction)
3036 (window--resize-reset-1, window--resize-mini-window)
3037 (window-resize, window-resize-no-error)
3038 (window--resize-child-windows-normal)
3039 (window--resize-child-windows, window--resize-siblings)
3040 (window--resize-this-window, window--resize-root-window)
3041 (window--resize-root-window-vertically)
3042 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3043 (maximize-window, minimize-window, delete-window)
3044 (quit-restore-window, window-split-min-size, split-window)
3045 (balance-windows-2, balance-windows)
3046 (balance-windows-area-adjust, balance-windows-area)
3047 (window--state-get-1, window-state-get, window--state-put-1)
3048 (window--state-put-2, window-state-put)
fb651d15
SM
3049 (display-buffer-record-window, window--display-buffer):
3050 Make functions handle pixelwise sizing of windows.
880e6158 3051 (display-buffer--action-function-custom-type)
fb651d15
SM
3052 (display-buffer-fallback-action):
3053 Add display-buffer-in-previous-window.
880e6158
MR
3054 (display-buffer-use-some-window): Resize window to height it had
3055 before.
3056 (fit-window-to-buffer-horizontally): New option.
3057 (fit-frame-to-buffer): Describe new values.
3058 (fit-frame-to-buffer-bottom-margin): Replace with
3059 fit-frame-to-buffer-margins.
3060 (window--sanitize-margin): New function.
3061 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3062 using window-text-pixel-size.
3063
f9b697dd
GM
30642013-11-30 Glenn Morris <rgm@gnu.org>
3065
3e2fb4db
GM
3066 * emacs-lisp/bytecomp.el (byte-compile-form):
3067 Make the `interactive-only' warning like the `obsolete' one.
3068 * comint.el (comint-run):
3069 * files.el (insert-file-literally, insert-file):
3070 * replace.el (replace-string, replace-regexp):
3071 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3072 (goto-line, insert-buffer, next-line, previous-line):
3073 Tweak `interactive-only' spec.
3074
f9b697dd
GM
3075 Stop keeping (most) generated cedet grammar files in the repository.
3076 * Makefile.in (semantic): New.
3077 (compile-main): Depend on semantic.
3078
da048127
SM
30792013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3080
7784b779
SM
3081 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3082 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3083
4e36a6a6
SM
3084 * uniquify.el (uniquify-buffer-name-style): Change default.
3085
3086 * loadup.el: Preload "uniquify".
3087
e0ba1308
SM
3088 * time.el (display-time-update): Update all mode lines (bug#15999).
3089
da048127
SM
3090 * electric.el (electric-indent-mode): Enable by default.
3091 * loadup.el: Preload "electric".
3092
015b3b3e
BB
30932013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3094
3095 * emacs-lisp/helpers.el (string-empty-p): New function.
3096 (string-blank-p): New function.
3097
7efb806d
AP
30982013-11-29 Andreas Politz <politza@hochschule-trier.de>
3099
3100 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3101 (Bug#14029).
3102
c8f0efc2
AP
31032013-11-29 Andreas Politz <politza@fh-trier.de>
3104 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3105 allow non-lambda lists as functions.
3106 (imenu--in-alist): Don't recurse into non-subalists.
3107 (imenu): Don't pass function itself as an argument (Bug#14029).
3108
bd15d9d1
SM
31092013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * progmodes/python.el (python-mode-map): Remove binding for ":".
3112 (python-indent-electric-colon): Remove command.
3113 (python-indent-post-self-insert-function): Integrate the previous code
3114 of python-indent-electric-colon. Make it conditional on
3115 electric-indent-mode.
3116 (python-mode): Add ?: to electric-indent-chars.
3117 Move python-indent-post-self-insert-function to the end of
3118 post-self-insert-hook.
3119
1b10adb6
SM
31202013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3121
655ab9a3
SM
3122 * doc-view.el (doc-view-goto-page): Update mode-line.
3123
1b10adb6
SM
3124 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3125
7e3bf78c
GM
31262013-11-27 Glenn Morris <rgm@gnu.org>
3127
3128 * international/charprop.el, international/uni-bidi.el:
3129 * international/uni-category.el, international/uni-combining.el:
3130 * international/uni-comment.el, international/uni-decimal.el:
3131 * international/uni-decomposition.el, international/uni-digit.el:
3132 * international/uni-lowercase.el, international/uni-mirrored.el:
3133 * international/uni-name.el, international/uni-numeric.el:
3134 * international/uni-old-name.el, international/uni-titlecase.el:
3135 * international/uni-uppercase.el:
3136 Remove generated files from VCS repository.
3137
fb6a5d68
EZ
31382013-11-27 Eli Zaretskii <eliz@gnu.org>
3139
3140 * filenotify.el (file-notify-add-watch): Don't special-case
3141 w32notify when computing the directory to watch.
3142
cb6c95a3
GM
31432013-11-27 Glenn Morris <rgm@gnu.org>
3144
20372d0c
GM
3145 Make bootstrap without generated uni-*.el files possible again.
3146 * loadup.el: Update command-line-args checking for unidata-gen.
3147 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3148 * composite.el, international/characters.el:
3149 Handle unicode tables being undefined.
3150
52d6635f 3151 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3152 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3153 (compile-main): Depend on leim rule.
3154 (leim): New rule.
3155 * loadup.el: Move leim-list.el to leim/ subdirectory.
3156 * startup.el (normal-top-level): No more leim directory.
3157 * international/ja-dic-cnv.el (skkdic-convert):
3158 Disable version-control and autoloads in output files.
3159 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3160 Disable version-control and autoloads in output files.
3161 * leim/quail: Move here from ../leim.
3162 * leim/quail/hangul.el (hangul-input-method-activate):
3163 Add autoload cookie.
3164 (generated-autoload-load-name): Set file-local value.
3165 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3166 (generated-autoload-load-name): Set file-local value.
3167
7514d3f8 31682013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3169
e0eb0550 3170 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3171 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3172 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3173
0e2c793f
EZ
31742013-11-26 Eli Zaretskii <eliz@gnu.org>
3175
3176 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3177 reading output from Diff on MS-Windows and MS-DOS.
3178
447bdcb8
BB
31792013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3180
3181 * emacs-lisp/helpers.el (string-reverse): New function.
3182
5fbf6856
MA
31832013-11-26 Michael Albinus <michael.albinus@gmx.de>
3184
3185 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3186 names on MS Windows, like "/[::1]:".
3187
3188 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3189 SWITCHES.
3190
624780f0
GM
31912013-11-26 Glenn Morris <rgm@gnu.org>
3192
0bf3f0fa
GM
3193 * progmodes/python.el (python-indent-guess-indent-offset):
3194 Avoid corner-case error. (Bug#15975)
3195
624780f0
GM
3196 Preload leim-list.el. (Bug#4789)
3197 * loadup.el: Load leim-list.el when found.
3198 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3199
4301875e 32002013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3201
3202 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3203
4301875e
BB
3204 * emacs-lisp/helpers.el (string-join): New function.
3205
1633a815 32062013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3207
3208 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3209 Mark as obsolete and replace it with a symbol property.
3210 (byte-compile-form): Use new 'interactive-only property.
3211 * comint.el, files.el, replace.el, simple.el:
3212 Apply new 'interactive-only properly.
3213
00139435
MR
32142013-11-25 Martin Rudalics <rudalics@gmx.at>
3215
3216 * window.el (display-buffer-at-bottom): Make sure that
3217 split-window-sensibly creates the new window on bottom
3218 (Bug#15961).
3219
5f5b128d
DK
32202013-11-23 David Kastrup <dak@gnu.org>
3221
3222 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3223 on the conflict markers when available.
3224 (smerge--get-marker): New function.
3225 (smerge-end-re, smerge-base-re): Add subgroup.
3226
623891e5
SM
32272013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * frame.el (handle-focus-in, handle-focus-out): Add missing
3230 interactive spec.
3231
05ca27d8
MA
32322013-11-25 Michael Albinus <michael.albinus@gmx.de>
3233
3234 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3235 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3236
511fa0d3
SM
32372013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3238
e82ad66c
SM
3239 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3240 (gomoku--last-pos): New var.
3241 (gomoku--intangible-chars): New const.
3242 (gomoku--intangible): New function.
3243 (gomoku-mode): Use it. Derive from special-mode.
3244 (gomoku-move-up): Adjust line count.
3245 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3246 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3247 Simplify accordingly.
3248
511fa0d3
SM
3249 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3250 Remove blink-cursor code.
3251 (blink-cursor-timer-function, blink-cursor-suspend):
3252 Don't special-case GUIs.
3253 (blink-cursor-mode): Use focus-in/out-hook.
3254
6f20dd03
DG
32552013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3256
3257 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3258 work when annotation is invisible (Bug#13886).
3259
431dec31 32602013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3261
3262 * json.el (json-alist-p): Only return non-nil if the alist has
3263 simple keys (Bug#13518).
3264
431dec31 32652013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3266
3267 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3268 when control-statement is the first statement in a buffer (Bug#15956).
3269
ee4f0261
DG
32702013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3271
3272 * imenu.el (imenu-generic-skip-comments-and-strings):
3273 New option (Bug#15560).
3274 (imenu--generic-function): Use it.
3275
c484f866
JS
32762013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3277
e9dc713d
JB
3278 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3279 (Bug#13898)
c484f866 3280
41ce6f70
BB
32812013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3282
b55aea38
BB
3283 * emacs-lisp/helpers.el: Add some string helpers.
3284 (string-trim-left): Removes leading whitespace.
3285 (string-trim-right): Removes trailing whitespace.
3286 (string-trim): Removes leading and trailing whitespace.
3287
41ce6f70
BB
3288 * subr.el (string-suffix-p): New function.
3289
3cfb6af3
GM
32902013-11-23 Glenn Morris <rgm@gnu.org>
3291
3292 * progmodes/python.el (python-shell-send-file):
3293 Add option to delete file when done. (Bug#15647)
3294 (python-shell-send-string, python-shell-send-region): Use it.
3295
c27924b7
IS
32962013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3297
e1b01c7f
IS
3298 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3299 to set buffer-read-only to t, never to nil. (Bug#15938)
3300
c27924b7
IS
3301 * textmodes/tex-mode.el (latex-noindent-environments):
3302 Add safe-local-variable property. (Bug#15936)
3303
17e0445b
GM
33042013-11-23 Glenn Morris <rgm@gnu.org>
3305
92f78ea3
GM
3306 * textmodes/enriched.el (enriched-mode): Doc fix.
3307 * emacs-lisp/authors.el (authors-renamed-files-alist):
3308 Add enriched.doc -> enriched.txt.
3309
17e0445b
GM
3310 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3311
965bb23a
LL
33122013-11-22 Leo Liu <sdl.web@gmail.com>
3313
3314 * progmodes/octave.el (inferior-octave-startup): Spit out error
3315 message.
3316
d19ffd64
BB
33172013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3318
3319 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3320 Improve docstring.
15ba2182
BB
3321 Add :version.
3322 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3323
7a7567d2
LL
33242013-11-22 Leo Liu <sdl.web@gmail.com>
3325
3326 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3327 (Bug#15076)
8c09f64b
LL
3328 (octave-help-mode): Adapt to change to help-mode-finish to use
3329 derived-mode-p on 2013-09-17.
3330 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3331 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3332
724bc265
LL
33332013-11-22 Leo Liu <sdl.web@gmail.com>
3334
3335 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3336 (inferior-octave-startup, inferior-octave-check-process)
3337 (inferior-octave-track-window-width-change)
3338 (octave-completion-at-point, octave-eldoc-function): Use it.
3339 (octave-kill-process): Provide confirmation. (Bug#10564)
3340
38637cca
LL
33412013-11-21 Leo Liu <sdl.web@gmail.com>
3342
511fa0d3
SM
3343 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3344 Fix obsolete variable comment-use-global-state.
38637cca 3345
06e752b4
RS
33462013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3347
511fa0d3
SM
3348 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3349 Add `octave-source-file'.
06e752b4
RS
3350 (octave-source-file): New function. (Bug#15935)
3351
7514d3f8 33522013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3353
3354 * net/eww.el (eww-local-regex): New variable.
3355 (eww): Use it to detect localhost and similar.
3356
b6ffa04a
LL
33572013-11-21 Leo Liu <sdl.web@gmail.com>
3358
3359 Add completion for command `ag'.
2021a200
LL
3360 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3361 (pcomplete/ag): New function.
e9dc713d 3362 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3363
d1a6bccc
SM
33642013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3367 (bug#14646).
3368 (make-obsolete): Remove interactive spec.
3369
2df10228
GM
33702013-11-21 Glenn Morris <rgm@gnu.org>
3371
3372 * startup.el (command-line-1): Use path-separator with -L.
3373
86fd16b6
TZ
33742013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3375
3376 * emacs-lisp/package.el (describe-package-1): Add package archive
3377 to shown fields.
3378
0449d6cd 33792013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3380
3381 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3382 Change default to "# encoding: %s" to differentiate it from the
3383 default Ruby encoding comment template.
3384
dc7e8c17 33852013-11-20 era eriksson <era+emacsbugs@iki.fi>
3386
3387 * ses.el (ses-mode): Doc fix. (Bug#14748)
3388
f0cfa5fe
LL
33892013-11-20 Leo Liu <sdl.web@gmail.com>
3390
3391 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3392
826dc7b6
DN
33932013-11-19 Dan Nicolaescu <dann@gnu.org>
3394
3395 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3396 when rebase or bisect are in progress.
3397
a6e3a5d5
XF
33982013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3399
3400 * filenotify.el (file-notify-add-watch): Doc fix.
3401
f130cb76
LL
34022013-11-19 Leo Liu <sdl.web@gmail.com>
3403
e0855d7d
LL
3404 * obsolete/rcompile.el: Mark obsolete.
3405
f130cb76 3406 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3407 (compilation-goto-locus, compilation-find-file):
3408 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3409 (Bug#13594)
3410
3411 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3412 new parameter no-display-ok. Return either a window or nil
3413 but never a non-window value.
f130cb76 3414
1f35d401
SM
34152013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3416
25158c76
SM
3417 * electric.el (electric-indent-mode-map): Remove.
3418 (electric-indent-mode): Change the global-map instead (bug#15915).
3419
3420 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3421 Use add-function.
1f35d401 3422
9bc67baa
SM
34232013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3424
986545b5
SM
3425 * emacs-lisp/nadvice.el (remove-function): Align with
3426 add-function's behavior.
3427
9bc67baa
SM
3428 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3429 (gdb--string-regexp): New constant.
3430 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3431 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3432 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3433 submatch 1.
3434 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3435 Adjust use accordingly.
3436 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3437
56cd894e
AS
34382013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3439
3440 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3441 interpolation curlies (Bug#15914).
3442
014690de
JB
34432013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3444
3445 * calc/calc.el (calc-context-sensitive-enter): New variable.
3446 (calc-enter): Use `calc-context-sensitive-enter'.
3447
7e26a6c3
TZ
34482013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3449
3450 * progmodes/cfengine.el: Version bump.
3451 (cfengine-cf-promises): New defcustom to locate cf-promises.
3452 (cfengine3-vartypes): Add new "data" type.
3453 (cfengine3--current-word): New function to get current name-like
3454 word or its bounds.
3455 (cfengine3--current-function): New function to look up a CFEngine
3456 function's definition.
3457 (cfengine3-format-function-docstring): New function.
3458 (cfengine3-make-syntax-cache): New function.
3459 (cfengine3-documentation-function): New function: ElDoc glue.
3460 (cfengine3-completion-function): New function: completion glue.
3461 (cfengine3-mode): Set `compile-command',
3462 `eldoc-documentation-function', and add to
3463 `completion-at-point-functions'.
3464
355204dd
MA
34652013-11-16 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3468 `tramp-current-connection'.
3469
43cebc23
DG
34702013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3471
3472 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3473 nil/self/true/false with "end of symbol".
3474
a3fed6ff
BB
34752013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3476
3477 * subr.el (version-regexp-alist): Fix a typo.
3478
e675b3e4
MA
34792013-11-15 Michael Albinus <michael.albinus@gmx.de>
3480
3481 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3482 "en_US.utf8" and "LC_CTYPE" to "".
3483 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3484 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3485
a1f03e89
LL
34862013-11-15 Leo Liu <sdl.web@gmail.com>
3487
3488 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3489
5d9d9451
SM
34902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3491
58362662
CS
3492 * progmodes/gud.el (ctl-x-map):
3493 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3494 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3495
6c1bf086
BB
34962013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3497
0d5363c4
BB
3498 * subr.el (version-regexp-alist):
3499 Recognize hg, svn and darcs versions as snapshot versions.
3500
4e9fc48c
BB
3501 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3502 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3503 (ruby--encoding-comment-required-p): Extract from
3504 `ruby-mode-set-encoding'.
3505 (ruby-mode-set-encoding): Add the ability to always insert an
3506 utf-8 encoding comment. Fix and simplify coding comment update
3507 logic.
6c1bf086 3508
2f7e72f8
MA
35092013-11-14 Michael Albinus <michael.albinus@gmx.de>
3510
3511 * net/tramp-gvfs.el (top): Run init code only when
3512 `tramp-gvfs-enabled' is not nil.
3513 (tramp-gvfs-enabled): Check also :system bus.
3514
0f137a73
SM
35152013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 Sync with upstream verilog-mode revision 78e66ba.
3518 * progmodes/verilog-mode.el (verilog-end-of-defun)
3519 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3520 (verilog-get-end-of-defun): Remove unused argument.
3521 (verilog-comment-depth): Remove unused local `e'.
3522 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3523 Don't pass arg to verilog-get-end-of-defun.
3524
1c276bdd
GM
35252013-11-14 Glenn Morris <rgm@gnu.org>
3526
3527 * obsolete/assoc.el (aget): Prefix dynamic variable.
3528
3529 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3530
ff6ec81d
SM
35312013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * widget.el, hfy-cmap.el: Remove bogus package version number.
3534
75f777b6
GM
35352013-11-13 Glenn Morris <rgm@gnu.org>
3536
1d43dba1
GM
3537 * replace.el (replace-eval-replacement):
3538 Try to give more helpful error message. (Bug#15836)
3539
ff4b7bd5
GM
3540 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3541 (archive-7z-update): Avoid custom type mismatches.
3542
75f777b6
GM
3543 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3544
11151a06
MA
35452013-11-13 Michael Albinus <michael.albinus@gmx.de>
3546
e675b3e4 3547 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3548 address can be empty.
3549
3550 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3551 Accept nil SWITCHES.
3552 (tramp-gvfs-handle-write-region): Implement APPEND.
3553
7b08f97e
DG
35542013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3555
3556 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3557 binary "|" operator and closing block args delimiter.
3558 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3559 (ruby-smie--implicit-semi-p): Not after "|" operator.
3560 (ruby-smie--closing-pipe-p): New function.
3561 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3562 (ruby-smie-rules): Indent after "|".
3563
f201cf3a
GM
35642013-11-12 Glenn Morris <rgm@gnu.org>
3565
3566 * ps-print.el (ps-face-attribute-list):
3567 Handle anonymous faces. (Bug#15827)
3568
e6f759f9
MR
35692013-11-12 Martin Rudalics <rudalics@gmx.at>
3570
3571 * window.el (display-buffer-other-frame): Fix doc-string.
3572 (Bug#15868)
3573
ecda65d4
SM
35742013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3577
7ce8fcc3
MA
35782013-11-11 Michael Albinus <michael.albinus@gmx.de>
3579
3580 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3581 (tramp-sh-handle-file-local-copy): Don't write a message when
3582 saving temporary files.
3583
3584 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3585 both directories are remote.
3586 (tramp-smb-handle-directory-files): Do not return double entries.
3587 Do not expand full file names.
3588 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3589 (tramp-smb-handle-write-region): Implement APPEND.
3590 (tramp-smb-get-stat-capability): Fix a stupid bug.
3591
7818df11
SM
35922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3595
608c2085
NT
35962013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3597
3598 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3599 throwing error over malformed let/let* (bug#15814).
3600
122a7e46
SM
36012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * iswitchb.el (iswitchb-mode): Mark obsolete.
3604
766284d9
GM
36052013-11-11 Glenn Morris <rgm@gnu.org>
3606
3607 * international/uni-bidi.el, international/uni-category.el:
3608 * international/uni-name.el, international/uni-numeric.el:
3609 Regenerate for Unicode 6.3.0.
3610
7072a4e9
MA
36112013-11-10 Michael Albinus <michael.albinus@gmx.de>
3612
3613 * net/tramp.el (tramp-methods):
3614 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3615 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3616
c9df215b
AS
36172013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3618
608c2085
NT
3619 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3620 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3621
fa47d796
DG
36222013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3623
3624 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3625 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3626 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3627 (ispell-complete-word): Call `ispell-lookup-words' with the value
3628 independent of `ispell-look-p'.
3629
1629a329
DG
36302013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3631
3632 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3633 Not after "||".
3634 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3635 their parent.
3636
ad16897c
SM
36372013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3640 (ruby-font-lock-keywords): Use backquote.
3641
ffa2df72
DG
36422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3643
3644 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3645 (ruby-smie--backward-token): Only consider full-string matches.
3646
5b97b4c0
JD
36472013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3648
3649 * faces.el (describe-face): Add distant-foreground.
3650
71731c03
BB
36512013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3652
4e9fc48c
BB
3653 * progmodes/ruby-mode.el: Improve encoding comment handling.
3654 (ruby-encoding-magic-comment-style): New option.
3655 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3656 (ruby--insert-coding-comment, ruby--detect-encoding):
3657 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3658 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3659 to control the style of the auto-inserted encoding comment.
71731c03 3660
da3b328d
DG
36612013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3662
ad16897c
SM
3663 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3664 Use `smie-backward-sexp' with token argument.
da3b328d 3665
1606c2d3
MA
36662013-11-08 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3669 Remove instrumentation code.
3670
b0f4c320
GM
36712013-11-08 Glenn Morris <rgm@gnu.org>
3672
3673 * progmodes/autoconf.el (autoconf-mode):
3674 Tweak comment-start-skip. (Bug#15822)
3675
43668fb1
SM
36762013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3677
3678 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3679 at bobp (bug#15826).
3680 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3681
daddb3fd
DH
36822013-11-08 Darren Hoo <darren.hoo@gmail.com>
3683
3684 * man.el (Man-start-calling): New macro, extracted from
3685 Man-getpage-in-background.
3686 (Man-getpage-in-background): Use it.
3687 (Man-update-manpage): New command.
3688 (Man-mode-map): Bind it.
3689
1f923923
DG
36902013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3691
3692 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3693 of "and", "or", "&&" and "||".
3694 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3695 argument. Prohibit opening curly brace because it could only be a
3696 block opener in that position.
daddb3fd
DH
3697 (ruby-smie--forward-token, ruby-smie--backward-token):
3698 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3699 arguments.
3700 (ruby-smie--indent-to-stmt): New function, seeks the end of
3701 previous statement or beginning of buffer.
3702 (ruby-smie-rules): Use it.
3703 (ruby-smie-rules): Check if there's a ":" before a curly block
3704 opener candidate; if there is, it's a hash.
3705
3220d527
SM
37062013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3709 (cl--block-wrapper): Fix last accidental change.
3710
1eb1f9e0
MA
37112013-11-07 Michael Albinus <michael.albinus@gmx.de>
3712
3713 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3714 Instrument, in order to hunt failure on hydra.
3715
e6e4db3c
NT
37162013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3717
3718 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3719 malformed bindings form (bug#15814).
3720
b420ccfc
DG
37212013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3722
3723 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3724 "." compared to " @ ". This incidentally fixes some indentation
3725 examples with "do".
e6e4db3c 3726 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3727 (ruby-smie-grammar): New tokens: "and" and "or".
3728 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3729 Exclude "and" and "or". Remove "do" in order to work around token
3730 priorities.
3731 (ruby-smie-rules): Add all infix tokens. Handle the case of
3732 beginning-of-buffer.
b420ccfc 3733
6b4ac03e
GM
37342013-11-06 Glenn Morris <rgm@gnu.org>
3735
3736 * Makefile.in (setwins_almost, setwins_for_subdirs):
3737 Avoid accidental matches.
3738
5ca114d1
SM
37392013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * menu-bar.el (popup-menu): Use key-binding.
3742
f72552bd
EZ
37432013-11-06 Eli Zaretskii <eliz@gnu.org>
3744
3745 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3746 menus, support also the menus produced by minor modes.
3747 (Bug#15817)
3748
5d5c701e
LL
37492013-11-06 Leo Liu <sdl.web@gmail.com>
3750
3751 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3752 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3753
0a8b75e2
GM
37542013-11-06 Glenn Morris <rgm@gnu.org>
3755
3756 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3757 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3758 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3759
a35287ea
SM
37602013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3761
feca4e2d
SM
3762 * electric.el (electric-indent-just-newline): New command.
3763 (electric-indent-mode-map): New keymap.
3764 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3765 Re-add :group which weren't redundant.
3766
a35287ea
SM
3767 * electric.el (electric-indent-local-mode): New minor mode.
3768 (electric-indent-functions-without-reindent): New var.
3769 (electric-indent-post-self-insert-function): Use it.
3770 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3771
375761b2
EZ
37722013-11-05 Eli Zaretskii <eliz@gnu.org>
3773
9a6ad735
EZ
3774 * international/quail.el (quail-help): Be more explicit about the
3775 meaning of the labels shown on the keys. (Bug#15800)
3776
375761b2
EZ
3777 * startup.el (normal-top-level): Load the subdirs.el files before
3778 setting the locale environment. (Bug#15805)
3779
520a6e4a
SM
37802013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3781
0acfafef
SM
3782 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3783 via arguments so as to get the right ones (bug#15418).
3784
520a6e4a
SM
3785 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3786
15826261
MA
37872013-11-05 Michael Albinus <michael.albinus@gmx.de>
3788
3789 Fix problems found while writing a test suite.
3790
3791 * net/tramp-compat.el (tramp-compat-load): New defun.
3792 * net/tramp.el (tramp-handle-load): Use it.
3793
3794 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3795 "(numberp ok-if-already-exists)" correctly.
3796
d35f31a4
XF
37972013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3798
3799 * international/characters.el (glyphless-char-display-control):
3800 Add usage note.
3801
ae93bc74
BB
38022013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3803
520a6e4a
SM
3804 * progmodes/python.el (python-mode):
3805 * progmodes/scheme.el (scheme-mode):
3806 * progmodes/prolog.el (prolog-mode):
3807 * progmodes/ruby-mode.el (ruby-mode):
3808 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3809 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3810
0ade65b5
SM
38112013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3812
a0d5f7a4
SM
3813 * rect.el (rectangle--highlight-for-redisplay):
3814 * emacs-lisp/smie.el (smie--next-indent-change):
3815 Use buffer-chars-modified-tick.
3816
c93f3f5c
SM
3817 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3818
0ade65b5
SM
3819 * electric.el (electric-indent-post-self-insert-function):
3820 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3821
ef9dd188
HE
38222013-11-04 Helmut Eller <eller.helmut@gmail.com>
3823
3824 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3825
306e7308
NT
38262013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3827
3828 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3829 (bug#15786).
3830
e5afbcac
SM
38312013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3832
1d01ad41
SM
3833 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3834
e5afbcac
SM
3835 * progmodes/python.el: Fix up last change.
3836 (python-shell--save-temp-file): New function.
3837 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3838 `string' comes from the current buffer.
3839 (python-shell-send-string-no-output): Remove `msg' arg.
3840 (python--use-fake-loc): New var.
3841 (python-shell-buffer-substring): Obey it. Try to compensate for the
3842 extra coding line added by python-shell--save-temp-file.
3843 (python-shell-send-region): Use python-shell--save-temp-file and
3844 python-shell-send-file directly. Add `nomain' argument.
3845 (python-shell-send-buffer): Use python-shell-send-region.
3846 (python-electric-pair-string-delimiter): New function.
3847 (python-mode): Use it.
3848
d0065ff1
EZ
38492013-11-04 Eli Zaretskii <eliz@gnu.org>
3850
3851 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3852 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3853 environment and decoding all of the default-directory's to here
3854 from command-line.
3855 (command-line): Decode also argv[0].
3856
3857 * loadup.el: Error out if default-directory is a multibyte string
3858 when we are dumping.
3859
3860 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3861
7397c587
TZ
38622013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3863
3864 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3865 (package-menu--print-info, package-menu--archive-predicate):
3866 Add Archive column to package list.
7397c587 3867
b27cc9fc
MA
38682013-11-04 Michael Albinus <michael.albinus@gmx.de>
3869
3870 Fix problems found while writing a test suite.
3871
3872 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3873 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3874 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3875 to nil when running original file name handler. Otherwise,
3876 there are problems with constructs like "$$FOO".
3877
3878 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3879 for `localname'.
3880
d8c4f18a
BB
38812013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3882
7b530552
BB
3883 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3884
3885 * subr.el (version<, version<=, version=):
3886 Update docstrings with information for snapshot versions.
3887
d8c4f18a
BB
3888 * helpers.el: New library for misc helper functions.
3889 (hash-table-keys): New function returning a list of hash keys.
3890 (hash-table-values): New function returning a list of hash values.
3891
dca01b09
DG
38922013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3893
3894 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3895 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3896
0a749fa0
MN
38972013-11-04 Michal Nazarewicz <mina86@mina86.com>
3898
3899 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3900 checking whether point is after a 1-letter word.
3901
39022013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3903
3904 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3905 Don't infloop when expanding region over `multiline' syntax-type that
3906 begins a line (bug#15778).
3907
4aca7145
SM
39082013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3911 Make it into a proper minor mode.
3912 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3913 (rectangle-mark-mode-map): New keymap.
3914 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3915
a0833f62
GM
39162013-11-04 Glenn Morris <rgm@gnu.org>
3917
3918 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3919
e61845c1
SM
39202013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3923 (ruby-smie-rules): Use smie-rule-parent instead.
3924
3925 * emacs-lisp/smie.el (smie-rule-parent): Always call
3926 smie-indent-virtual rather than only for hanging tokens.
3927 (smie--next-indent-change): New helper command.
3928
62942f89
GM
39292013-11-03 Glenn Morris <rgm@gnu.org>
3930
3931 * Makefile.in (abs_srcdir): Remove.
3932 (emacs): Unset EMACSLOADPATH.
3933
b0b9e592
GM
39342013-11-02 Glenn Morris <rgm@gnu.org>
3935
18ba6a33 3936 * Makefile.in (EMACS): Use a relative filename.
8061810d 3937 (abs_top_builddir): Remove.
18ba6a33
GM
3938 (custom-deps, finder-data, autoloads): Use --chdir.
3939
6a8b929e
GM
3940 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3941
c617f3d0
GM
3942 Use relative filenames in TAGS files.
3943 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3944 (lisptagsfiles4, TAGS): Use relative file names.
3945 (TAGS-LISP): Remove.
3946 (maintainer-clean): No more TAGS-LISP file.
3947
b0b9e592
GM
3948 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3949 (lisptagsfiles4): Use absolute filenames again.
3950 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3951 Remove all *loaddefs files, not just the first. Remove esh-groups.
3952 (maintainer-clean): Delete TAGS, TAGS-LISP.
3953
d1c0ea6a
BB
39542013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3955
e61845c1
SM
3956 * emacs-lisp/package.el (package-version-join):
3957 Recognize snapshot versions.
d1c0ea6a 3958
684d71c6
BB
39592013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3960
3961 * subr.el (version-regexp-alist): Add support for snapshot versions.
3962
3d42b968
DG
39632013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3964
e61845c1
SM
3965 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3966 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3967 skip over our direct parent if it's an assignment token..
3968 (ruby-smie-rules): Use it.
3969
7ffd3721
DG
39702013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3971
8449dd1f 3972 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3973 unconditionally. Remove now unnecessary forward declarations.
3974 Remove XEmacs-specific setup.
3975 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3976 (ruby-font-lock-syntactic-keywords)
3977 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3978 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3979 (ruby-here-doc-end-syntax): Remove.
3980 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3981 defined as function.
3982
a3996a2e
BB
39832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3984
3985 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3986
6f9260e8
BB
39872013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3988
3989 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3990 table and abbrev table, `define-derived-mode' does that for us
3991 anyway.
3992
6014de84
GM
39932013-11-01 Glenn Morris <rgm@gnu.org>
3994
3995 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3996 files is atomic for some time, so no parallel compilation issues).
3997
3c334c14
JD
39982013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3999
4000 * faces.el (face-x-resources): Add :distant-foreground.
4001 (region): Use :distant-foreground for gtk and ns.
4002
9bc236c8
TH
40032013-11-01 Tassilo Horn <tsdh@gnu.org>
4004
5246583b 4005 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4006 BibTeX.
4007 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4008 (reftex-locate-bibliography-files): Us it.
4009
d14c81ee
CB
40102013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4011
0e7690de
CB
4012 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4013 allow comments in pbm files.
4014
d14c81ee
CB
4015 * term/w32-win.el (dynamic-library-alist): Support newer versions
4016 of libjpeg starting with v7: look only for the DLL from the
4017 version against which Emacs was built.
ac1bf374 4018 Support versions of libpng beyond 1.4.x.
019c8218 4019 Support libtiff v4.x.
d14c81ee 4020
983d0df5
BB
40212013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4022
4023 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4024 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4025 Add property :safe.
4026 (ruby-deep-arglist): Add property :type.
4027
47f58d85
GM
40282013-10-31 Glenn Morris <rgm@gnu.org>
4029
4030 * Makefile.in (custom-deps, finder-data): No need to setq the target
4031 variables, we are in the right directory and the defaults work fine.
4032
4f85b479
GM
40332013-10-30 Glenn Morris <rgm@gnu.org>
4034
ca7dd4cd
GM
4035 * Makefile.in (autoloads): Do not use abs_lisp.
4036
4f85b479
GM
4037 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4038 `newline' does not respect `standard-output', so use `princ'.
4039
cf59e41c
AA
40402013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4041
4042 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4043 * buff-menu.el (Buffer-menu--unmark): New function.
4044 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4045
74cf04fb
GM
40462013-10-30 Glenn Morris <rgm@gnu.org>
4047
b040b60e
GM
4048 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4049
f53d3815
GM
4050 * emacs-lisp/package.el (lm-homepage): Declare.
4051
5413d873
GM
4052 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4053 Fix doc typos.
4054
cecedb36
GM
4055 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4056
74cf04fb
GM
4057 * Makefile.in (finder-data, autoloads, update-subdirs)
4058 (compile-main, compile-clean, compile-always, bootstrap-clean):
4059 Check return value of cd.
4060 (compile-calc): Remove.
4061
195ee2f0
SM
40622013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4063
ae4002ce
SM
4064 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4065
4066 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4067 (byte-compile-and-folded): New function.
4068 (=, <, >, <=, >=): Use it.
4069
4070 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4071 (path-separator, null-device, buffer-file-coding-system)
4072 (lpr-headers-switches): Check system-type before modifying them.
4073 (find-buffer-file-type-coding-system): Mark obsolete.
4074 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4075 find-file-not-found-set-buffer-file-coding-system.
4076 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4077 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4078 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4079 (w32-direct-print-region-helper, w32-direct-print-region-function)
4080 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4081 * startup.el (normal-top-level-add-subdirs-to-load-path):
4082 * ps-print.el (ps-print-region-function):
4083 * lpr.el (print-region-function): Use new name.
4084
53b39e89
SM
4085 * subr.el (custom-declare-variable-early): Remove function.
4086 (custom-declare-variable-list): Remove var.
4087 (error, user-error): Remove `while' loop.
4088 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4089 (user-emacs-directory-warning, locate-user-emacs-file):
4090 Move to files.el.
4091 * simple.el (read-quoted-char-radix, read-quoted-char):
4092 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4093 Move from subr.el.
4094 * custom.el (custom-declare-variable-list): Don't process
4095 custom-declare-variable-list.
4096
195ee2f0
SM
4097 * progmodes/python.el (python-shell-get-buffer): New function.
4098 (python-shell-get-process): Use it.
4099 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4100 Python which encoding was used. Don't split-string since we only care
4101 about the first line. Return the temp-file, if applicable.
4102 (python-shell-send-region): Tell compile.el how to turn locations in
4103 the temp-file into locations in the source buffer.
4104
7e3561ee
SM
41052013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4c9797cb
SM
4107 * subr.el (undefined): Add missing behavior from the C code for
4108 unbound keys.
4109
3472b6c6
SM
4110 * rect.el: Use lexical-binding. Add new rectangular region support.
4111 (rectangle-mark): New command.
4112 (rectangle--region): New var.
4113 (deactivate-mark-hook): Reset rectangle--region.
4114 (rectangle--extract-region, rectangle--insert-for-yank)
4115 (rectangle--highlight-for-redisplay)
4116 (rectangle--unhighlight-for-redisplay): New functions.
4117 (region-extract-function, redisplay-unhighlight-region-function)
4118 (redisplay-highlight-region-function): Use them to handle
4119 rectangular region.
4120 * simple.el (region-extract-function): New var.
4121 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4122 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4123 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4124 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4125 (redisplay-unhighlight-region-function)
4126 (redisplay-highlight-region-function): New vars.
4127 (redisplay--update-region-highlight): New function.
4128 (pre-redisplay-function): Use it.
4129 (exchange-point-and-mark): Don't deactivate the mark before
4130 reactivate-it anyway.
4131 * comint.el (comint-kill-region): Remove yank-handler argument.
4132 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4133 (delete-char): Remove property, since it's now part of their
4134 default behavior.
4135 (self-insert-iso): Remove property since this command doesn't exist.
4136
7e3561ee
SM
4137 * emacs-lisp/package.el (package--download-one-archive)
4138 (describe-package-1): Don't query the user about final newline.
4139
b9bef71f
DC
41402013-10-29 Daniel Colascione <dancol@dancol.org>
4141
4142 * net/tramp.el (tramp-methods): Document new functionality.
4143 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4144 tramp-hostname-checker if method provides one instead of scanning
4145 argument list for "%h" to decide hostname acceptability.
4146
4efc33f0
MA
41472013-10-28 Michael Albinus <michael.albinus@gmx.de>
4148
4149 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4150 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4151 Handle COPY-CONTENTS. (Bug#15737)
4152
ed42a877
DU
41532013-10-28 Daiki Ueno <ueno@gnu.org>
4154
4155 * epa-file.el
7e3561ee
SM
4156 (epa-file-cache-passphrase-for-symmetric-encryption):
4157 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4158
18c9f8a2
XF
41592013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4160
7a4bc7be
XF
4161 * image.el (defimage):
4162 (image-load-path): Doc fixes.
18c9f8a2 4163
b1e8e010
AM
41642013-10-27 Alan Mackenzie <acm@muc.de>
4165
4166 Indent statements in macros following "##" correctly.
7e3561ee
SM
4167 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4168 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4169
73d40d1e 41702013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4171
4172 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4173
c8c605ac
DG
41742013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4175
4176 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4177 after `=' is probably a new expression.
4178
ca7e59d4
RS
41792013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4180
4181 * man.el (man-imenu-title): New option.
4182 (Man-mode-map): Add menu. (Bug#15722)
4183 (Man-mode): Add imenu to menu.
4184
bae91342
DG
41852013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4186
4187 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4188 specific in what the first arg can be: a non-keyword word,
4189 string/regexp/percent literal opener, opening paren, or unary
4190 operator followed directly by word.
4191
eb89dc14
SM
41922013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4195 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4196 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4197 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4198 Remove vars, they do not apply any more.
4199 (prolog-mode-abbrev-table): Remove redundant declaration.
4200 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4201 (prolog-use-smie): Remove.
4202 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4203 supported by prolog-electric-if-then-else-flag.
4204 (prolog-mode-variables, prolog-menu): Use setq-local.
4205 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4206 Remove binding to `Backspace' since this key doesn't exist anyway.
4207 Remove bindings for electric self-inserting keys.
4208 (prog-mode): Assume it's defined.
4209 (prolog-post-self-insert): New function.
4210 (prolog-mode): Use it.
4211 (prolog-indent-line, prolog-indent-level)
4212 (prolog-find-indent-of-matching-paren)
4213 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4214 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4215 (prolog-goto-next-paren, prolog-in-string-or-comment)
4216 (prolog-tokenize, prolog-inside-mline-comment)
4217 (prolog-find-start-of-mline-comment): Remove functions.
4218 (prolog-find-unmatched-paren, prolog-clause-end)
4219 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4220 (prolog-electric--if-then-else): Rename from
4221 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4222 (prolog-tokenize-searchkey): Remove const.
4223 (prolog-clause-info): Use forward-sexp.
4224 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4225 (prolog-electric-if-then-else): Remove commands.
4226 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4227 for use in post-self-insert-hook.
4228 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4229 for use in post-self-insert-hook.
4230 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4231 for use in post-self-insert-hook.
4232 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4233 adapt it for use in post-self-insert-hook.
4234
3dab0a83
MA
42352013-10-25 Michael Albinus <michael.albinus@gmx.de>
4236
4237 * emacs-lisp/ert.el (ert-run-tests-interactively):
4238 Use `completing-read'. (Bug#9756)
4239
fbfd0e1d
EZ
42402013-10-25 Eli Zaretskii <eliz@gnu.org>
4241
4242 * simple.el (line-move): Call line-move-1 instead of
4243 line-move-visual when the current window hscroll is zero, but
4244 temporary-goal-column indicates we will need to hscroll as result
4245 of the movement. (Bug#15712)
4246
963ce636
DG
42472013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4248
4249 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4250 capitalization. Use :visible instead of :active.
4251 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4252 commands that are used with SMIE.
4253 (ruby-do-end-to-brace): Insert space after `{'.
4254
a0be396a
JA
42552013-10-25 John Anthony <john@jo.hnanthony.com>
4256
f73754c9
JA
4257 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4258
4259 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4260
f5bf77df
GM
42612013-10-25 Glenn Morris <rgm@gnu.org>
4262
4263 * vc/vc.el (vc-print-log): Don't use a working revision unless
4264 one was explicitly specified. (Bug#15322)
4265
37241f62
SM
42662013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4267
4268 * subr.el (add-to-list): Preserve return value in compiler-macro
4269 (bug#15692).
4270
6408a65d
RS
42712013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4272
4273 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4274 result. Ask user to retry using '-all' flag. (Bug#15701)
4275
71e3276b
SM
42762013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * emacs-lisp/smie.el: New smie-config system.
4279 (smie-config): New defcustom.
4280 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4281 (smie-config-guess, smie-config-save): New commands.
4282 (smie-config--mode-local, smie-config--buffer-local)
4283 (smie-config--trace, smie-config--modefuns): New vars.
4284 (smie-config--advice, smie-config--mode-hook)
4285 (smie-config--setter, smie-config-local, smie-config--get-trace)
4286 (smie-config--guess-value, smie-config--guess): New functions.
4287 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4288 text properties. Treat "string fence" syntax like string syntax.
4289
4290 * progmodes/sh-script.el (sh-use-smie): Change default.
4291 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4292 (sh-var-value): Simplify by CSE.
4293 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4294 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4295 is used.
4296 (sh-guess-basic-offset): Use cl-incf.
4297 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4298
60db713e
HE
42992013-10-24 Helmut Eller <eller.helmut@gmail.com>
4300
4301 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4302 (bug#15699).
4303
8b251df6
GM
43042013-10-24 Glenn Morris <rgm@gnu.org>
4305
4306 * Makefile.in (abs_top_srcdir): Remove.
4307 (update-subdirs): Use relative path to update-subdirs.
4308
6be0e22b
EZ
43092013-10-24 Eli Zaretskii <eliz@gnu.org>
4310
4311 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4312 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4313 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4314 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4315
50b5b857
MA
43162013-10-24 Michael Albinus <michael.albinus@gmx.de>
4317
4318 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4319 (ert-test-skipped): New error.
4320 (ert-skip, ert-stats-skipped): New defuns.
4321 (ert--skip-unless): New macro.
4322 (ert-test-skipped): New struct.
4323 (ert--run-test-debugger, ert-test-result-type-p)
4324 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4325 (ert--stats-set-test-and-result, ert-char-for-test-result)
4326 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4327 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4328 Handle skipped tests. (Bug#9803)
50b5b857 4329
6f317c2f
GM
43302013-10-24 Glenn Morris <rgm@gnu.org>
4331
e43817c1
GM
4332 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4333
6f317c2f
GM
4334 * Makefile.in (abs_top_srcdir): New, set by configure.
4335 (update-subdirs): Correct build-aux location.
4336
369bbf71
DG
43372013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4338
8297b2cf
DG
4339 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4340 value, whether we could auto-deduce `backend', or not.
4341
369bbf71
DG
4342 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4343 with parameters" example. Simplify the "is it block or is it
4344 hash" check, but also make it more thorough.
4345
d5f1282f
MF
43462013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4347
4348 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4349
bc4aaa31
SM
43502013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4351
03d44565
SM
4352 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4353 { if it is hanging.
4354
bc4aaa31
SM
4355 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4356 :before ";".
4357
f493ff19
JB
43582013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4359
4360 * progmodes/compile.el (compilation-directory-matcher)
4361 (compilation-page-delimiter):
4362 Support GNU Make-4.0 directory quoting. (Bug#15678)
4363
c744a3b9
LL
43642013-10-23 Leo Liu <sdl.web@gmail.com>
4365
4366 * ido.el (ido-tidy): Handle read-only text.
4367
b8e3b0a9
GM
43682013-10-23 Glenn Morris <rgm@gnu.org>
4369
4370 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4371 (emacs, compile, compile-always):
4372 Quote entities that might contain whitespace.
4373 (custom-deps, finder-data, autoloads): Use abs_lisp.
4374 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4375 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4376 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4377
ee4282cd
DG
43782013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4379
bc4aaa31
SM
4380 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4381 Use `following-char'.
7790a270 4382
ee4282cd 43832013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4384
4385 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4386 * progmodes/ruby-mode.el (ruby-smie-rules):
4387 Remove corresponding workaround. Fix indentation rule of ";" so it
4388 also applies when ";" is the parent.
4389
d40a46d7
XF
43902013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4391
4392 * frame.el (display-screens, display-pixel-height)
4393 (display-pixel-width, display-mm-width, display-backing-store)
4394 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4395 (display-visual-class, display-monitor-attributes-list):
4396 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4397
a0f143c9
MG
43982013-10-22 Michael Gauland <mikelygee@amuri.net>
4399
4400 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4401 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4402
18cacc39
DG
44032013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4404
4405 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4406 TODO. Add "." after " @ ".
4407 (ruby-smie--at-dot-call): New function. Checks if point at method
4408 call with explicit target.
4409 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4410 to the method name tokens when it precedes them.
4411 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4412 (ruby-smie-rules): Add rule for indentation before and after "."
4413 token.
4414
df74c4be
SM
44152013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4416
c6dab55f
SM
4417 * textmodes/remember.el (remember-diary-extract-entries):
4418 Avoid add-to-list.
4419
df74c4be
SM
4420 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4421 an instruction.
4422
8c1ae481
DG
44232013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4424
e9dc713d
JB
4425 * progmodes/ruby-mode.el (ruby-smie-grammar):
4426 Add (almost) all infix operators.
cfef16c0
DG
4427 (ruby-smie--implicit-semi-p): Add new operator chars.
4428
8c1ae481
DG
4429 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4430 `smie-down-list'.
4431 (ruby-smie--args-separator-p): Check that there's no newline
4432 between method call and its arguments.
4433
87756ca9
AM
44342013-10-20 Alan Mackenzie <acm@muc.de>
4435
4436 Allow comma separated lists after Java "implements".
4437
df74c4be
SM
4438 * progmodes/cc-engine.el (c-backward-over-enum-header):
4439 Parse commas.
87756ca9
AM
4440 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4441 from a "disallowed" list in enum fontification.
4442
c25f8957
JB
44432013-10-20 Johan Bockgård <bojohan@gnu.org>
4444
df74c4be 4445 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4446
c25f8957
JB
4447 * progmodes/verilog-mode.el (verilog-mode): Don't set
4448 comment-indent-function globally.
4449
aca5fcdc
JD
44502013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4451
5f161884
JD
4452 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4453 Move Info menu item creation to ns-win.el.
4454
4455 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4456 in menu bar.
4457
a6c4680a 4458 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4459
4460 * term/ns-win.el (ns-initialize-window-system): ... to here.
4461
914b7f98
SM
44622013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * simple.el (newline): Only run post-self-insert-hook when
4465 called interactively.
4466
846ffe77
JB
44672013-10-19 Johan Bockgård <bojohan@gnu.org>
4468
4469 * icomplete.el (icomplete-with-completion-tables): Add :version.
4470
033f22dd
AM
44712013-10-19 Alan Mackenzie <acm@muc.de>
4472
4473 Fix fontification bugs with constructors and const.
4474
4475 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4476 CASE 2) Remove the check for the absence of a suffix construct
4477 after a function declaration with only types (no identifiers) in
4478 the parentheses. Also, accept a function declaration with just a
4479 type inside the parentheses, if this type can be positively
4480 recognised as such, or if a prefix keyword like "explicit" nails
4481 down the construct as a declaration.
4482
58ce0cfc
EZ
44832013-10-19 Eli Zaretskii <eliz@gnu.org>
4484
4485 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4486 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4487 the problem whereby selecting a menu item that leads to a
4488 minibuffer prompt moves the cursor out of the minibuffer window,
4489 making it hard to type at the prompt. Suggested by Stefan Monnier
4490 <monnier@iro.umontreal.ca>.
4491
50e28e7d
JD
44922013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4493
4494 * menu-bar.el: Don't make Services menu.
4495
7deed4bf
RS
44962013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4497
4498 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4499 (ffap-alist): Use ffap-c++-mode for c++-mode.
4500 (ffap-c++-path): New variable.
4501 (ffap-c++-mode): New function.
4502
7bcb455b
JVJ
45032013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4504
4505 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4506
f0ff1cd5
MA
45072013-10-18 Michael Albinus <michael.albinus@gmx.de>
4508
4509 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4510 introduced on 2013-09-08, which results in an infinite loop
4511 requesting a password.
4512
d64da4b7
GM
45132013-10-18 Glenn Morris <rgm@gnu.org>
4514
4515 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4516
ea89ff08
WS
45172013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4518
4519 Sync with upstream verilog-mode revision 1a6ecec7.
4520 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4521 (verilog-mode-release-date): Remove.
4522 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4523 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4524 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4525 (verilog-auto-tieoff-ignore-regexp)
4526 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4527 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4528 (verilog-signals-with, verilog-dir-cache-preserving)
4529 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4530 Doc fixes.
4531 (verilog-case-fold): New option, to control case folding in
4532 regexp searches, bug597.
4533 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4534 (verilog-string-match-fold, verilog-in-paren-count)
4535 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4536 (verilog-at-close-struct-p): New functions.
4537 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4538 (verilog-forward-sexp, verilog-set-auto-endcomments):
4539 (verilog-leap-to-case-head): Handle "unique0" case.
4540 (verilog-in-constraint-re): New constant.
4541 (verilog-keywords, verilog-type-font-keywords):
4542 Add some SystemVerilog 1800-2012 keywords.
4543 (verilog-label-be): Remove unimplemented argument, bug669.
4544 (verilog-batch-execute-func): When batch expanding clear
4545 create-lockfiles to prevent spurious user locks when a file ends
4546 up not changing.
4547 (verilog-calculate-indent, verilog-calc-1)
4548 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4549 (verilog-do-indent): Fix indentation of nested constraints
4550 and structures.
4551 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4552 (verilog-auto-inst-param): Use verilog-string-match-fold.
4553 (verilog-read-inst-module-matcher):
4554 Fix AUTOINST on gate primitives with #1.
4555 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4556 Reads all user-defined typed variables.
4557 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4558 (verilog-signals-matching-regexp)
4559 (verilog-signals-not-matching-regexp, verilog-auto):
4560 Respect verilog-case-fold.
4561 (verilog-diff-report): Fix line count.
4562 (verilog-auto-assign-modport): Remove unused local `modi'.
4563 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4564 better handle multidimensional arrays.
4565 Fix packed array ports misadding bit index in AUTOINST, bug637.
4566 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4567 to not double-declare existing outputs and inputs, respectively.
4568 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4569 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4570 (verilog-sk-uvm-component): New skeleton.
4571 (verilog-submit-bug-report): Add verilog-case-fold,
4572 remove verilog-mode-release-date.
4573
ef566920
BR
45742013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4575
a12bf61e 4576 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4577 as before.
4578
29df8a0b
RT
45792013-10-18 Reuben Thomas <rrt@sc3d.org>
4580
e0eb0550 4581 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4582 remember buffers (bug#13566).
4583
04a19a79
DC
45842013-10-18 Daniel Colascione <dancol@dancol.org>
4585
4586 When evaluating forms in ielm, direct standard output to ielm
4587 buffer. Add new ielm-return-for-effect command. Remove trailing
4588 whitespace throughout.
4589
4590 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4591 (ielm-return-for-effect): New command.
4592 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4593 (ielm-eval-input): Accept optional `for-effect' parameter.
4594 Bind `standard-output' to stream we create using
04a19a79
DC
4595 `ielm-standard-output-impl'. Suppress printing result when
4596 `for-effect'.
4597 (ielm-standard-output-impl): New function.
4598 (inferior-emacs-lisp-mode): Explain new features in documentation.
4599
4c1f03ef
MA
46002013-10-17 Michael Albinus <michael.albinus@gmx.de>
4601
4602 Code cleanup.
4603
4604 * net/tramp.el (tramp-debug-message): Do not check for connection
4605 buffer.
4606 (tramp-message): Use "vector" connection property.
4607
4608 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4609 (tramp-equal-remote, tramp-eshell-directory-change)
4610 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4611 (tramp-adb-handle-rename-file)
4612 * net/tramp-cmds.el (tramp-list-remote-buffers)
4613 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4614 * net/tramp-compat.el (tramp-compat-process-running-p)
4615 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4616 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4617 (tramp-gvfs-handle-rename-file)
4618 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4619 (tramp-set-file-uid-gid)
4620 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4621 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4622 of `file-remote-p'.
4623
4624 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4625 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4626 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4627 (tramp-gw-open-network-stream): Suppress unrelated traces.
4628
4629 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4630 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4631 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4632 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4633 connection property.
4634
4635 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4636 persistency file.
4c1f03ef
MA
4637
4638 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4639 Refactor common code. Improve debug message.
4640 (tramp-maybe-open-connection)
4641 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4642 connection buffer too early.
4643
4644 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4645 from `tramp-smb-actions-with-acl'.
4646 (tramp-smb-actions-set-acl): New defconst.
4647 (tramp-smb-handle-copy-directory)
4648 (tramp-smb-action-get-acl): New defun, renamed from
4649 `tramp-smb-action-with-acl'.
4650 (tramp-smb-action-set-acl): New defun.
4651 (tramp-smb-handle-set-file-acl): Rewrite.
4652
642eb8b6
GM
46532013-10-17 Glenn Morris <rgm@gnu.org>
4654
4655 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4656
85527ff3
SM
46572013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4658
921c1d62
SM
4659 * skeleton.el (skeleton-newline): Remove.
4660 (skeleton-internal-1): Use (insert "\n") instead.
4661
e333fb10
SM
4662 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4663 let-bindings.
4664
85527ff3
SM
4665 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4666 forward-sexp-function while we redo its job (bug#15613).
4667
c8722a97
JB
46682013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4669
4670 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4671 represented by lists.
4672
7a550bbb
GM
46732013-10-16 Glenn Morris <rgm@gnu.org>
4674
4675 * tmm.el (tmm--history): New dynamic variable.
4676 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4677
f19da8ad
MA
46782013-10-16 Michael Albinus <michael.albinus@gmx.de>
4679
4680 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4681 (tramp-smb-errors): Add error messages.
4682 (tramp-smb-actions-with-acl): New defconst.
4683 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4684 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4685 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4686 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4687 (tramp-smb-get-stat-capability): Fix tests.
4688
a24b9961
DK
46892013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4690
4691 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4692 (bug#15580).
4693
62ad85e6
GM
46942013-10-16 Glenn Morris <rgm@gnu.org>
4695
0283d6b0
GM
4696 * ansi-color.el (ansi-color-drop-regexp):
4697 Add 1J, 1K, 2K. (Bug#15617)
4698
012e2f9f
GM
4699 * files.el (hack-local-variables--warned-lexical): New.
4700 (hack-local-variables):
4701 Warn about misplaced lexical-binding. (Bug#15616)
4702
62ad85e6
GM
4703 * net/eww.el (eww-render): Always set eww-current-url,
4704 and update header line. (Bug#15622)
4705 (eww-display-html): ... Rather than just doing it here.
4706
6456c0ea
EZ
47072013-10-15 Eli Zaretskii <eliz@gnu.org>
4708
4709 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4710 menu navigations commands.
4711
c2de5588
DK
47122013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4713
4714 * progmodes/subword.el (subword-capitalize): Be careful when
4715 the search for [[:alpha:]] fails (bug#15580).
4716
ccd4a783
EZ
47172013-10-14 Eli Zaretskii <eliz@gnu.org>
4718
4719 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4720 to commands that scroll the menu.
4721
1eda1d8d
DG
47222013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4723
c2de5588
DK
4724 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4725 Handle methods ending with `?' and `!'.
1eda1d8d 4726
e70181b8
AM
47272013-10-14 Akinori MUSHA <knu@iDaemons.org>
4728
4729 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4730 `japanese-cp932' to `cp932' to fix the problem where saving a
4731 source file written in Shift_JIS twice would end up having
4732 `coding: japanese-cp932' which Ruby could not recognize.
4733 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4734 in `ruby-encoding-map'.
4735 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4736 doesn't need to be explicitly declared in magic comment.
4737 (ruby-encoding-map): Add type declaration for better customize UI.
4738
9148ee92
GM
47392013-10-13 Glenn Morris <rgm@gnu.org>
4740
a5d38e34
GM
4741 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4742 Occur buffers are read-only. http://bugs.debian.org/720775
4743
9148ee92
GM
4744 * emacs-lisp/authors.el (authors-fixed-entries):
4745 Comment out old alpha stuff.
4746
a9ba094b
DG
47472013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4748
4749 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4750 to `after-save-hook' instead of `before-save-hook'.
4751 (ruby-mode-set-encoding): Use the value of coding system used to
4752 write the file. Call `basic-save-buffer-1' after modifying the
4753 buffer.
4754
7a068717
AM
47552013-10-13 Alan Mackenzie <acm@muc.de>
4756
4757 Fix indentation/fontification of Java enum with
4758 "implements"/generic.
4759
c2de5588
DK
4760 * progmodes/cc-engine.el (c-backward-over-enum-header):
4761 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4762 (c-inside-bracelist-p): Uses new function above.
4763 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4764 function above.
4765 (c-font-lock-enum-tail): Uses new function above.
4766
85b64f02
KH
47672013-10-13 Kenichi Handa <handa@gnu.org>
4768
4769 * international/mule-cmds.el (select-safe-coding-system): Remove a
4770 superfluous condition in chekcing whether a coding system is safe
4771 or not.
4772
fc7f501b
OK
47732013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4774
4775 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4776
fdcb2049
AP
47772013-10-13 Andreas Politz <politza@hochschule-trier.de>
4778
4779 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4780
8c106d17
GM
47812013-10-13 Glenn Morris <rgm@gnu.org>
4782
feab892d
GM
4783 * menu-bar.el (menu-bar-update-buffers):
4784 Unify Buffers menu prompt string. (Bug#15576)
4785
b22d0686
GM
4786 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4787
8c106d17
GM
4788 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4789 Add some entries.
4790 (authors-fixed-entries): Use accented form of name.
4791
1b12c797
SM
47922013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4793
650fa7bf 4794 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4795 method calls (bug#15594).
650fa7bf
SM
4796 (ruby-smie--args-separator-p): New function.
4797 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4798 recognize paren-free method calls.
4799
1b12c797
SM
4800 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4801 internals of universal-argument.
4802
029619c8
EZ
48032013-10-11 Eli Zaretskii <eliz@gnu.org>
4804
4805 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4806 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4807 dropped menu on second mouse click on the menu bar.
029619c8 4808
dd070019
SM
48092013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4812 (explicit-shell-file-name): Declare.
4813 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4814 (sh-completion-at-point-function): New function.
4815 (sh-mode): Use it.
4816 (sh-smie--keyword-p): Remove unused argument.
4817 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4818 vars.
4819 (sh-set-shell): Always setup SMIE, even if we use the
4820 old indentation code.
4821
0922b826
DG
48222013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4823
b68e2926
DG
4824 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4825 cases of ? and =.
4826 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4827 predicate would return nil are almost non-existent.
4828 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4829
0922b826
DG
4830 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4831 cache also after commands that modify the buffer but don't move
4832 point.
4833
ee041f2d
SM
48342013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * env.el (substitute-env-in-file-name): New function.
4837 (substitute-env-vars): Extend the meaning of the optional arg.
4838
a5dab159
EZ
48392013-10-10 Eli Zaretskii <eliz@gnu.org>
4840
4841 * term/w32-win.el (dynamic-library-alist): Define separate lists
4842 of GIF DLLs for versions before and after 5.0.0 of giflib.
4843 (Bug#15531)
4844
0449d6cd 48452013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4846
4847 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4848 not locked, use last revision and current source as
4849 defaults. (Bug#15569)
4850
2f6e161e
MY
48512013-10-10 Masatake YAMATO <yamato@redhat.com>
4852
4853 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4854 menu-bar is hidden.
4855
6c8413fc
MR
48562013-10-10 Martin Rudalics <rudalics@gmx.at>
4857
4858 * window.el (pop-to-buffer-same-window): Fix doc-string.
4859 (Bug#15492)
4860
20832de0
SM
48612013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4864
c6e8ae77
AC
48652013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4866
4867 * calendar/icalendar.el (icalendar-import-file):
4868 Fix interactive spec. (Bug#15482)
4869
9db13baf
GM
48702013-10-10 Glenn Morris <rgm@gnu.org>
4871
9271e90e
GM
4872 * desktop.el (desktop-save): Default to saving in .emacs.d,
4873 since PWD is no longer in desktop-path by default. (Bug#15319)
4874
9db13baf
GM
4875 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4876 now that text mode has a menu with the same entry.
4877 (menu-bar-text-mode-auto-fill): Remove now unused func.
4878 * textmodes/text-mode.el (text-mode-map):
4879 Use auto-fill help text from menu-bar.el.
4880
a0be396a 48812013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4882
4883 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4884
2edcd3c7
JL
48852013-10-09 Juri Linkov <juri@jurta.org>
4886
4887 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4888 instead of this-command-keys. Add universal-argument-more and
4889 universal-argument-minus to the list of prefix commands. (Bug#15568)
4890
574411d0
GM
48912013-10-09 Glenn Morris <rgm@gnu.org>
4892
14afa541
GM
4893 * vc/vc-svn.el (vc-svn-create-repo):
4894 Expand paths in file://... url. (Bug#15446)
4895
574411d0
GM
4896 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4897 Add some entries.
4898 (authors): Remove unused local variables.
4899
79804536
SM
49002013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * profiler.el: Create a more coherent calltree from partial backtraces.
4903 (profiler-format): Hide the tail with `invisible' so that C-s can still
4904 find the hidden elements.
4905 (profiler-calltree-depth): Don't recurse so enthusiastically.
4906 (profiler-function-equal): New hash-table-test.
4907 (profiler-calltree-build-unified): New function.
4908 (profiler-calltree-build): Use it.
4909 (profiler-report-make-name-part): Indent the calltree less.
4910 (profiler-report-mode): Add visibility specs for profiler-format.
4911 (profiler-report-expand-entry, profiler-report-toggle-entry):
4912 Expand the whole subtree when provided with a prefix arg.
4913
238150c8
DG
49142013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4915
4916 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4917 iuwu-mod token.
4918 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4919 hanging iuwu-mod token.
4920 (ruby-smie--forward-token): Do not include a dot after a token in
4921 that token.
4922 (ruby-smie--backward-token): Likewise.
4923
b0949cc4
JL
49242013-10-08 Juri Linkov <juri@jurta.org>
4925
4926 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4927 to isearch-other-control-char.
4928 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4929 and isearch-post-command-hook to post-command-hook.
4930 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4931 and isearch-post-command-hook from post-command-hook.
4932 (isearch-unread-key-sequence)
4933 (isearch-reread-key-sequence-naturally)
4934 (isearch-lookup-scroll-key, isearch-other-control-char)
4935 (isearch-other-meta-char): Remove functions.
4936 (isearch-pre-command-hook, isearch-post-command-hook):
4937 New functions based on isearch-other-meta-char rewritten
4938 relying on the new behavior of overriding-terminal-local-map
4939 that does not replace the local keymaps any more. (Bug#15200)
4940
4ed77415
EZ
49412013-10-08 Eli Zaretskii <eliz@gnu.org>
4942
4943 Support menus on text-mode terminals.
4944 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4945 functionality.
4946
4947 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4948
c2de5588
DK
4949 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4950 Move here from mouse.el.
4ed77415
EZ
4951 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4952 and arrow keys.
4953 (tty-menu-navigation-map): New map for TTY menu navigation.
4954
4955 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4956
4957 * frame.el (display-mouse-p): Report text-mode mouse as available
4958 on w32.
4959 (display-popup-menus-p): Report availability if mouse is
4960 available; don't condition on window-system.
4961
4962 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4963 (tty-menu-selected-face): New faces.
4964
b7d5bd82
TL
49652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4966
06286513
SM
4967 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4968 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4969 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4970 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4971 New constants.
4972 (lisp-mode-variables): New `elisp' argument.
4973 (emacs-lisp-mode): Use it.
4974 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4975 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4976
b7d5bd82
TL
4977 * indent.el: Use lexical-binding.
4978 (indent-region): Add progress reporter.
4979 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4980 last step.
4981 (indent--next-tab-stop): New function to implement this behavior.
4982 (tab-to-tab-stop, move-to-tab-stop): Use it.
4983
49842013-10-08 Teemu Likonen <tlikonen@iki.fi>
4985
4986 * indent.el (indent-rigidly--current-indentation): New function.
4987 (indent-rigidly-map): New var.
4988 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4989
5ea75d23
BG
49902013-10-08 Bastien Guerry <bzg@gnu.org>
4991
f2726fa2 4992 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4993
cc5da1ec
SM
49942013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4995
8ffa1a0b
SM
4996 * progmodes/perl-mode.el: Use lexical-binding.
4997 Remove redundant :group args.
4998 (perl-nochange): Change default to be closer to other major modes's
4999 standard behavior.
5000 (perl-indent-line): Don't consider text on current line as a
5001 valid beginning of function from which to indent.
5002
f2223371
SM
5003 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5004 with more than one argument (bug#15538).
5005
44256060
SM
5006 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5007
cc5da1ec
SM
5008 * vc/pcvs.el: Use lexical-binding.
5009 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5010 environment of `eval'.
5011 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5012 than a list of expressions. Adjust callers.
5013 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5014
0ea1599d
DG
50152013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5016
5017 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5018 case of the dot in a chained method call being on the following line.
0ea1599d 5019
da3e5ebb
SM
50202013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5021
2abb4e65
SM
5022 * electric.el (electric-indent-inhibit): New var.
5023 (electric-indent-post-self-insert-function): Use it.
5024 * progmodes/python.el (python-mode): Set it.
5025
d2e0e795
SM
5026 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5027 open braces.
5028
5029 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5030
bdc6b4c8
SM
5031 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5032 (css-mode): Use electric-indent-chars.
5033
da3e5ebb
SM
5034 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5035 (font-lock-beg, font-lock-end): Move before first use.
5036 (nxml-mode): Use syntax-propertize-function.
5037 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5038 (nxml-extend-after-change-region): Remove.
5039 * nxml/xmltok.el: Use lexical-binding.
5040 (xmltok-save): Use `declare'.
5041 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5042 * nxml/nxml-util.el: Use lexical-binding.
5043 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5044 Use `declare'.
5045 * nxml/nxml-ns.el: Use lexical-binding.
5046 (nxml-ns-save): Use `declare'.
5047 (nxml-ns-prefixes-for): Avoid add-to-list.
5048 * nxml/rng-match.el: Use lexical-binding.
5049 (rng--ipattern): Use cl-defstruct.
5050 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5051 (rng-cons-group-after, rng-subst-group-after)
5052 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5053 Use closures instead of `(lambda...).
5054
f8f91d5d
MA
50552013-10-07 Michael Albinus <michael.albinus@gmx.de>
5056
5057 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5058 of BEG and END.
5059
da3e5ebb
SM
5060 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5061 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5062 (tramp-gvfs-handle-insert-file-contents): Remove function.
5063
da3e5ebb
SM
5064 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5065 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5066
5067 * net/trampver.el: Update release number.
5068
7ccae3b1
SM
50692013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5070
55ca2c0d
SM
5071 * progmodes/compile.el (compilation-parse-errors):
5072 Use compilation--put-prop.
5073 (compilation--ensure-parse): Check compilation-multiline.
5074
731fc3ae
SM
5075 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5076
da3e5ebb
SM
5077 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5078 lexical-binding.
a5833280 5079
2e7ba2c2
SM
5080 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5081
7ccae3b1
SM
5082 * progmodes/ruby-mode.el: Fix recently added tests.
5083 (ruby-smie-grammar): Add - and +.
5084 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5085 (ruby-smie--backward-id): New functions.
5086 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5087 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5088 any more.
5089
85698d63
LL
50902013-10-07 Leo Liu <sdl.web@gmail.com>
5091
5092 * register.el (register-preview-delay)
5093 (register-preview-functions): New variables.
5094 (register-read-with-preview, register-preview)
5095 (register-describe-oneline): New functions.
5096 (point-to-register, window-configuration-to-register)
5097 (frame-configuration-to-register, jump-to-register)
5098 (number-to-register, view-register, insert-register)
5099 (copy-to-register, append-to-register, prepend-to-register)
5100 (copy-rectangle-to-register): Use register-read-with-preview to
5101 read register. (Bug#15525)
5102
3986af6c
DS
51032013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5104
5105 * net/network-stream.el (network-stream-open-starttls): Don't add
5106 --insecure if it's already present, because that gnutls-cli
5107 rejects getting that parameter twice.
5108
5cd9cda9
DG
51092013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5110
5111 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5112 keyword, too.
5113
da9ea6d9
DG
51142013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5115
5116 * newcomment.el (comment-use-global-state): Change default value
5117 to t, mark obsolete (Bug#15251).
5118 (comment-beginning): In addition to `comment-to-syntax', check the
5119 value of `comment-use-global-state'.
5120
34d1a133
SM
51212013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5122
5123 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5124 (ruby-comment-column): Follow the global default, by default.
5125 (ruby-smie-grammar): Add assignment syntax.
5126 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5127 open-paren, a comma, or a \.
5128 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5129 and line continuations.
5130 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5131 followed by implicit semi-colons. Add rule for string concatenation
5132 and for indentation at BOB.
5133 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5134
5135 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5136 calling next-sexp, since next-token may have skipped chars which
5137 next-sexp doesn't know should be skipped!
5138
6f6ab820
LL
51392013-10-05 Leo Liu <sdl.web@gmail.com>
5140
34d1a133
SM
5141 * progmodes/octave.el (octave-send-region):
5142 Call compilation-forget-errors.
6f6ab820 5143
34ca0f4c
XF
51442013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5145
5146 * vc/vc-svn.el (vc-svn-find-admin-dir):
5147 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5148 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5149 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5150 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5151
a27c1b72
SM
51522013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5155
258ab3bc
SM
51562013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * subr.el (read-passwd): Hide chars even when called within a context
5159 where after-change-functions is disabled (bug#15501).
5160 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5161 until we removed ourself from overriding-terminal-local-map.
5162
939fb29c
LL
51632013-10-04 Leo Liu <sdl.web@gmail.com>
5164
258ab3bc
SM
5165 * progmodes/octave.el (inferior-octave-mode):
5166 Call compilation-forget-errors.
939fb29c 5167
63bd7f35
XF
51682013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5169
5170 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5171
9e6229fa
MA
51722013-10-04 Michael Albinus <michael.albinus@gmx.de>
5173
5174 * net/secrets.el (secrets-create-collection): Add optional
5175 argument ALIAS. Use proper Label keyword. Append ALIAS as
5176 dbus-call-method argument. (Bug#15516)
5177
1dab32a3
LL
51782013-10-04 Leo Liu <sdl.web@gmail.com>
5179
5180 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5181 (inferior-octave-compilation-font-lock-keywords): New variables.
5182 (compilation-error-regexp-alist)
5183 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5184 (inferior-octave-mode): Use compilation-shell-minor-mode.
5185
6cad7ba3
JS
51862013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5187
5188 * minibuffer.el (completion--replace): Be careful that `end' might be
5189 a marker.
5190
acbadd00
DU
51912013-10-03 Daiki Ueno <ueno@gnu.org>
5192
5193 Add support for package signature checking.
5194 * emacs-lisp/package.el (url-http-file-exists-p)
5195 (epg-make-context, epg-context-set-home-directory)
5196 (epg-verify-string, epg-context-result-for)
5197 (epg-signature-status, epg-signature-to-string)
5198 (epg-check-configuration, epg-configuration)
5199 (epg-import-keys-from-file): Declare.
5200 (package-check-signature): New user option.
5201 (package-unsigned-archives): New user option.
5202 (package-desc): Add `signed' field.
5203 (package-load-descriptor): Set `signed' field if .signed file exists.
5204 (package--archive-file-exists-p): New function.
5205 (package--check-signature): New function.
5206 (package-install-from-archive): Check package signature.
5207 (package--download-one-archive): Check archive signature.
5208 (package-delete): Remove .signed file.
5209 (package-import-keyring): New command.
5210 (package-refresh-contents): Import default keyring.
5211 (package-desc-status): Add "unsigned" status.
5212 (describe-package-1, package-menu--print-info)
5213 (package-menu-mark-delete, package-menu--find-upgrades)
5214 (package-menu--status-predicate): Support "unsigned" status.
5215
adf2aa61
SM
52162013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5219 the new compilation scheme using the new byte-codes.
5220
5221 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5222 (byte-pophandler): New byte codes.
5223 (byte-goto-ops): Adjust accordingly.
5224 (byte-compile--use-old-handlers): New var.
5225 (byte-compile-catch): Use new byte codes depending on
5226 byte-compile--use-old-handlers.
5227 (byte-compile-condition-case--old): Rename from
5228 byte-compile-condition-case.
5229 (byte-compile-condition-case--new): New function.
5230 (byte-compile-condition-case): New function that dispatches depending
5231 on byte-compile--use-old-handlers.
5232 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5233 when we can.
5234
5235 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5236 Optimize under `condition-case' and `catch' if
5237 byte-compile--use-old-handlers is nil.
5238 (disassemble-offset): Handle new bytecodes.
5239
328a8179
SM
52402013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * subr.el (error): Use `declare'.
5243 (decode-char, encode-char): Use advertised-calling-convention instead
5244 of the docstring to discourage use of the `restriction' arg.
5245
15a1e936
DU
52462013-10-03 Daiki Ueno <ueno@gnu.org>
5247
5248 * epg.el (epg-verify-file): Add a comment saying that it does not
5249 notify verification error as a return value nor a signal.
5250 (epg-verify-string): Ditto.
5251
376f862a
KR
52522013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5253
5254 * progmodes/compile.el (compilation-start): Try globbing the arg to
5255 `cd' (bug#15417).
5256
a2f93a5f
MA
52572013-10-02 Michael Albinus <michael.albinus@gmx.de>
5258
5259 Sync with Tramp 2.2.8.
5260
5261 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5262 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5263 * net/trampver.el: Update release number.
5264
0daa0804
JD
52652013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5266
5267 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5268 and default-process-coding-system for darwin only.
5269
abd1ae34
SM
52702013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5273
be4e325d
MH
52742013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5275
5276 * vc/vc-git.el (vc-git-grep): Disable pager.
5277
e9155c4a
DG
52782013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5279
494e898b
DG
5280 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5281 Use :url instead of :homepage, as per
5282 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5283
e9155c4a
DG
5284 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5285 non-nil, use `syntax-ppss' (Bug#15251).
5286
481a8e0f
RS
52872013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5288
be4e325d
MH
5289 * progmodes/octave.el (inferior-octave-startup-file):
5290 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5291
056453c6
DG
52922013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5293
be4e325d
MH
5294 * emacs-lisp/package.el (package-desc-from-define):
5295 Accept additional arguments as plist, convert them to an alist and store
5296 them in the `extras' slot.
056453c6
DG
5297 (package-generate-description-file): Convert extras alist back to
5298 plist and append to the `define-package' form arguments.
5299 (package--alist-to-plist): New function.
5300 (package--ac-desc): Add `extras' slot.
5301 (package--add-to-archive-contents): Check if the archive-contents
5302 vector is long enough, and if it is, pass its `extras' slot value
5303 to `package-desc-create'.
5304 (package-buffer-info): Call `lm-homepage', pass the returned value
5305 to `package-desc-from-define'.
5306 (describe-package-1): Render the homepage button (Bug#13291).
5307
be4e325d
MH
5308 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5309 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5310
832966e5
JD
53112013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5312
5313 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5314 and default-process-coding-system to utf-8-unix (Bug#15402).
5315
6cfe977d
XF
53162013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5317
5318 * subr.el (looking-back): Do not recommend using looking-back.
5319
38de11bd
AM
53202013-09-28 Alan Mackenzie <acm@muc.de>
5321
5322 Fix indentation/fontification of Java enum with "implements".
5323
5324 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5325 regexp which matches "implements", etc., in Java.
5326 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5327 specifier clauses coming after "enum".
5328 * progmodes/cc-fonts.el (c-font-lock-declarations)
5329 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5330 after "enum".
5331
1610938f
JD
53322013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5333
5334 * faces.el (region): Change ns_selection_color to
5335 ns_selection_fg_color, add ns_selection_bg_color.
5336
e090f499
LL
53372013-09-28 Leo Liu <sdl.web@gmail.com>
5338
4d2e94d1
LL
5339 * progmodes/octave.el (inferior-octave-completion-table)
5340 (inferior-octave-completion-at-point): Minor tweaks.
5341
e090f499
LL
5342 * textmodes/ispell.el (ispell-lookup-words): Rename from
5343 lookup-words. (Bug#15460)
5344 (lookup-words): Obsolete.
5345 (ispell-complete-word, ispell-command-loop): All uses changed.
5346
7e138a62
RS
53472013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5348
a12bf61e 5349 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5350 (octave-mode-menu): Add octave-send-buffer.
5351 (octave-send-buffer): New function.
5352
5af5ed08
RS
53532013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5354
a12bf61e 5355 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5356 octave-lookfor.
5357 (octave-mode-menu): Add octave-lookfor.
5358 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5359 octave-lookfor.
5360 (octave-lookfor): New function.
5361
3b7b2692
SM
53622013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * emacs-lisp/cl-macs.el:
5365 (cl--loop-destr-temps): Remove.
5366 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5367 its convention.
5368 (cl--loop-set-iterator-function): New function.
5369 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5370 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5371 Bind `it' with `let' instead of substituting it with `cl-subst'.
5372 (cl--unused-var-p): New function.
5373 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5374 Eliminate some unused variable warnings (bug#15326).
5375
529fb53f
TH
53762013-09-27 Tassilo Horn <tsdh@gnu.org>
5377
5378 * doc-view.el (doc-view-scale-reset): Rename from
5379 `doc-view-reset-zoom-level'.
5380 (doc-view-scale-adjust): New command.
5381 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5382 `doc-view-scale-adjust'.
5383
0550c95a
TH
53842013-09-26 Tassilo Horn <tsdh@gnu.org>
5385
5386 * doc-view.el (doc-view-reset-zoom-level): New command.
5387 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5388 zoom commands (bug#15466).
5389
6950f152
KH
53902013-09-26 Kenichi Handa <handa@gnu.org>
5391
5392 * international/quail.el (quail-help): Make it not a command.
5393
39587580
LL
53942013-09-26 Leo Liu <sdl.web@gmail.com>
5395
5396 * minibuffer.el (completion-all-sorted-completions): Make args
5397 optional as they are.
5398
00578659
DC
53992013-09-25 Daniel Colascione <dancol@dancol.org>
5400
5401 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5402 specs are and that they're not evaluated.
5403
0c173878
SS
54042013-09-24 Sam Steingold <sds@gnu.org>
5405
5406 * midnight.el (clean-buffer-list-kill-regexps)
5407 (clean-buffer-list-kill-buffer-names): Update for the new Man
5408 buffer naming which includes the object name.
5409
84998447
SM
54102013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5413 (eshell-parse-command, eshell-parse-pipeline): Use it since
5414 eshell-separate-commands requires a dynamic scoped var.
5415 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5416
33215353
LL
54172013-09-23 Leo Liu <sdl.web@gmail.com>
5418
5419 * autoinsert.el (auto-insert-alist): Make the value of
5420 lexical-binding match its file setting.
5421
57b16162
JB
54222013-09-23 Juanma Barranquero <lekktu@gmail.com>
5423
c8af4e67
JB
5424 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5425
57b16162
JB
5426 * autoarg.el (autoarg-kp-digit-argument):
5427 * electric.el (Electric-command-loop):
5428 * kmacro.el (kmacro-step-edit-insert):
5429 Do not set universal-argument-num-events.
5430
7186ba60
LL
54312013-09-22 Leo Liu <sdl.web@gmail.com>
5432
5433 * files.el (interpreter-mode-alist): Add octave.
5434
ece15004
AM
54352013-09-21 Alan Mackenzie <acm@muc.de>
5436
5437 C++: fontify identifier in declaration following "public:" correctly.
5438 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5439 to match "public", etc.
5440 (c-decl-prefix-re): Add ":" into the C++ value.
5441 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5442 bit. Add a check for a ":" preceded by "public", etc.
5443
75d83e22
EZ
54442013-09-21 Eli Zaretskii <eliz@gnu.org>
5445
5446 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5447 recognized by GDB 7.5 and later.
5448
d052d3bd
XF
54492013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5450
5451 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5452
31dca772
R
54532013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5454
5455 * subr.el (internal--call-interactively): New const.
5456 (called-interactively-p): Use it (bug#3984).
5457
98ccf24e
XF
54582013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5459
5460 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5461 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5462 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5463
c39cc7d1
SM
54642013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5465
5466 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5467 (eshell-ls-orig-insert-directory): Remove.
5468 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5469 (eshell-ls-use-in-dired): Use advice-add/remove.
5470 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5471 Add `orig-fun' arg for use in :around advice.
5472 Make it check (redundantly) eshell-ls-use-in-dired.
5473
9a0289a2
GM
54742013-09-19 Glenn Morris <rgm@gnu.org>
5475
a2c501b8
GM
5476 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5477
c440407a
GM
5478 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5479
9a0289a2
GM
5480 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5481
85e05915
MA
54822013-09-19 Michael Albinus <michael.albinus@gmx.de>
5483
5484 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5485 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5486 (tramp-get-remote-python): New defuns.
5487 (tramp-get-remote-uid-with-perl)
5488 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5489 contributed by yary <not.com@gmail.com> (tiny change).
5490 (tramp-get-remote-uid-with-python)
5491 (tramp-get-remote-gid-with-python): New defuns. Python code
5492 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5493 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5494
ce503312
GM
54952013-09-19 Glenn Morris <rgm@gnu.org>
5496
f7544773
GM
5497 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5498
72fd2877
GM
5499 * eshell/em-unix.el (eshell-remove-entries):
5500 Rename argument to avoid name-clash with global `top-level'.
5501
336b5a56
GM
5502 * eshell/esh-proc.el (eshell-kill-process-function):
5503 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5504 (eshell-reset-after-proc): Remove unused arg `proc'.
5505
57a3a53d
GM
5506 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5507 (directory-files-and-attributes): Mark unused arg.
5508
3261d4af
GM
5509 * eshell/em-unix.el (eshell-remove-entries):
5510 Remove unused arg `path'. Update callers.
5511
8e51b5d0
GM
5512 * eshell/em-hist.el (eshell-hist-parse-arguments):
5513 Remove unused arg `silent'. Update callers.
5514
ce503312
GM
5515 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5516 Fix (f)boundp mix-up.
5517
5518 * eshell/em-smart.el (eshell-smart-scroll-window)
5519 (eshell-disable-after-change):
336b5a56 5520 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5521
ee3ce8a7
AM
55222013-09-18 Alan Mackenzie <acm@muc.de>
5523
5524 Fix fontification of type when followed by "const".
5525 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5526 "known" types from fontification.
5527
ec9177ba
GM
55282013-09-18 Glenn Morris <rgm@gnu.org>
5529
7bb3e768
GM
5530 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5531 (chart-face-list): Drop Emacsen without display-color-p.
5532
5148da15
GM
5533 * net/eww.el (libxml-parse-html-region): Declare.
5534 (eww-display-html): Explicit error if no libxml2 support.
5535
2f68e157
GM
5536 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5537
9019d095
GM
5538 * image.el (image-type-from-buffer, image-multi-frame-p):
5539 Remove --without-x warning/error.
67645389 5540
5f30349b 5541 * mouse.el (mouse-yank-primary):
45069b2e 5542 * term.el (term-mouse-paste):
5f30349b
GM
5543 Reorder to silence --without-x compilation.
5544
cd8edbbe
GM
5545 * mpc.el (doc-view-mode): Silence --without-x compilation.
5546
8a78544e
GM
5547 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5548 Silence --without-x compilation.
5549
12679bfd
GM
5550 * progmodes/gud.el (gud-find-file, gud-mode):
5551 Silence --without-x compilation.
5552 (tooltip-mode): Declare.
30810a05 5553
f0047cb9
GM
5554 * wdired.el (dired-backup-overwrite): Remove declaration.
5555 (wdired-mode-map): Add doc string.
5556
e740f9d2
GM
5557 * custom.el (x-get-resource): Declare.
5558
92d77c89
GM
5559 * eshell/em-glob.el (ange-cache):
5560 * eshell/em-unix.el (ange-cache): Declare.
5561
76e69577
GM
5562 * faces.el (x-display-list, x-open-connection, x-get-resource):
5563 Declare.
7e58af4b
GM
5564
5565 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5566 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5567 Declare.
76e69577 5568
4bd4c0af 5569 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5570
ffb82dbd
GM
5571 * net/gnutls.el (gnutls-log-level): Declare.
5572
986ed135
GM
5573 * net/shr.el (image-size, image-animate): Declare.
5574
e740f9d2
GM
5575 * simple.el (font-info): Declare.
5576
d2f3e9f8
GM
5577 * subr.el (x-popup-dialog): Declare.
5578
047a1a4c
GM
5579 * term/common-win.el (x-select-enable-primary)
5580 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5581 Declare.
5582
f4a1d572
GM
5583 * term/ns-win.el (x-handle-args): Declare.
5584
e843de77
GM
5585 * term/x-win.el (x-select-enable-clipboard): Declare.
5586
5fa89513
GM
5587 * term/w32-win.el (create-default-fontset): Declare.
5588
38702b5b
GM
5589 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5590 Declare.
5591
e740f9d2
GM
5592 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5593 (fit-frame-to-buffer): Explicit error if --without-x.
5594 (mouse-autoselect-window-select): Silence compiler.
5595
49a053fc
GM
5596 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5597
5598 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5599 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5600 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5601 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5602 Remove unused local variables.
5603
5604 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5605
ec9177ba
GM
5606 * textmodes/two-column.el: Make 2C-split work for --without-x.
5607 (scroll-bar-columns): Autoload.
5608 (top-level): Require fringe when compiling.
5609
9f25cb77
LL
56102013-09-18 Leo Liu <sdl.web@gmail.com>
5611
5612 * subr.el (add-hook): Robustify to handle closure as well.
5613
2b42da98
GM
56142013-09-17 Glenn Morris <rgm@gnu.org>
5615
5616 * simple.el (messages-buffer-mode-map): Unbind "g".
5617
e8b66a6a
SM
56182013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5619
9c0ad4f7
SM
5620 * help-mode.el (help-mode-finish): Use derived-mode-p.
5621 Remove obsolete highlighting.
5622
7a806dfb
SM
5623 * play/life.el (life-mode): Use define-derived-mode. Derive from
5624 special-mode.
5625 (life): Let-bind inhibit-read-only.
5626 (life-setup): Avoid `setq'. Use `life-mode'.
5627
96dbf5a8
SM
5628 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5629 which should not be needed any more.
5630 (package-menu-refresh, package-menu-describe-package): Use user-error.
5631
e8b66a6a
SM
5632 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5633 (eshell-post-rewrite-command-hook): Make obsolete.
5634 (eshell-parse-command): Simplify.
5635 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5636 (eshell--cmd): Declare.
5637 (eshell-parse-pipeline): Remove unused var `final-p'.
5638 Pass a dynvar to eshell-post-rewrite-command-hook.
5639 Implement the new eshell-post-rewrite-command-function.
5640 (eshell-invoke-directly): Remove unused arg `input'.
5641 * eshell/esh-io.el (eshell-io-initialize):
5642 Use eshell-post-rewrite-command-function (bug#15399).
5643 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5644 adjust to new calling convention.
5645 (eshell-create-handles): Rename args to avoid clashing with dynvar
5646 `standard-output'.
5647
90582f05
GM
56482013-09-17 Glenn Morris <rgm@gnu.org>
5649
5650 * simple.el (messages-buffer-mode): New major mode.
5651 (messages-buffer): New function.
5652 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5653 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5654 (ert-run-test): Use `messages-buffer' function.
90582f05 5655 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5656 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5657 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5658
39eb0cb5 56592013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5660
5661 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5662
1d42e5b6 5663 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5664
70568a90
SM
56652013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5666
504a0381
SM
5667 * icomplete.el (icomplete-in-buffer): New var.
5668 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5669 vars and replace them with functions.
5670 (icomplete-minibuffer-setup): Adjust accordingly.
5671 (icomplete--completion-table, icomplete--completion-predicate)
5672 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5673 New functions.
5674 (icomplete-forward-completions, icomplete-backward-completions)
5675 (icomplete-simple-completing-p, icomplete-exhibit)
5676 (icomplete-completions): Use them.
5677 (icomplete--in-region-buffer): New var.
5678 (icomplete--in-region-setup): New function.
5679 (icomplete-mode): Use it.
5680
70568a90
SM
5681 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5682 (bug#15379).
5683 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5684 return args and options.
5685 (eshell-eval-using-options): Use the new return value of
5686 eshell--do-opts to set the options's vars in their scope.
5687 (eshell--set-option): Rename from eshell-set-option.
5688 Add arg `opt-vals'.
5689 (eshell--process-option): Rename from eshell-process-option.
5690 Add arg `opt-vals'.
5691 (eshell--process-args): Use an `opt-vals' alist to store the options's
5692 values during their processing and return them additionally to the
5693 remaining args.
5694
578c21bc
DG
56952013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5696
5697 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5698 continuation character an operator, as far as indentation is
5699 concerned (Bug#15369).
5700
c089653d
MR
57012013-09-15 Martin Rudalics <rudalics@gmx.at>
5702
5703 * window.el (window--state-put-2): Don't process buffer state
5704 when buffer doesn't exist any more (Bug#15382).
5705
1e53bb4b
GM
57062013-09-15 Glenn Morris <rgm@gnu.org>
5707
30753242
GM
5708 * eshell/em-unix.el (eshell/rm):
5709 Make -f ignore missing files. (Bug#15373)
5710
1e53bb4b
GM
5711 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5712 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5713 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5714
0d8863b3
GM
57152013-09-14 Glenn Morris <rgm@gnu.org>
5716
5717 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5718
d3fc6549
GM
57192013-09-13 Glenn Morris <rgm@gnu.org>
5720
5721 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5722 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5723
fcd42c11
DA
57242013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5725
5726 * frame.el (x-focus-frame): Mark as declared in frame.c.
5727
7830899f
SM
57282013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * ls-lisp.el: Use advice-add.
5731 (original-insert-directory): Remove.
5732 (ls-lisp--insert-directory): Rename from insert-directory; add
5733 `orig-fun' argument.
5734 (insert-directory): Advise.
5735
84387cd2
EZ
57362013-09-13 Eli Zaretskii <eliz@gnu.org>
5737
5738 * term.el (term-emulate-terminal): Decode the command string
5739 before passing it to term-command-hook. (Bug#15337)
5740
35ffc6ba
GM
57412013-09-13 Glenn Morris <rgm@gnu.org>
5742
5c3f9bcc
GM
5743 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5744
2ada368a
GM
5745 * eshell/esh-ext.el (eshell-search-path): Declare.
5746
fcef2e13
GM
5747 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5748 Otherwise an error occurs if eshell-dirs module not loaded.
5749
35ffc6ba
GM
5750 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5751
35c3d36e
MA
57522013-09-13 Michael Albinus <michael.albinus@gmx.de>
5753
5754 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5755 `tramp-check-proper-host'. Check for a valid method name.
5756
5757 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5758 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5759 * net/tramp-sh.el (tramp-maybe-open-connection):
5760 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5761
5762 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5763 also for hash values.
5764
ae5e4c48
SM
57652013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5766
379add74
SM
5767 * term/ns-win.el (parameters): Don't declare as dynamic.
5768 (before-make-frame-hook): Don't add ineffective function.
5769
ae5e4c48
SM
5770 * eshell/*.el: Use lexical-binding (bug#15231).
5771
b5623270
KH
57722013-09-12 Kenichi Handa <handa@gnu.org>
5773
ae5e4c48 5774 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5775
30213927
GM
57762013-09-12 Glenn Morris <rgm@gnu.org>
5777
be94d713 5778 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5779 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5780
44915370
GM
5781 * subr.el (do-after-load-evaluation): Also give compiler warnings
5782 when obsolete files are used (except by obsolete files).
5783
a6ae021f
GM
5784 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5785 in the status output, assume `filename' is the first. (Bug#15322)
5786
40e64f0c
GM
5787 * vc/vc.el (vc-deduce-fileset): Doc fix.
5788
16d9f896
GM
5789 * calc/calc-help.el (Info-goto-node):
5790 * progmodes/cperl-mode.el (Info-find-node):
5791 * vc/ediff.el (Info-goto-node): Update declarations.
5792
dea01c6e
GM
5793 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5794
759880bf 5795 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5796 (vc-bzr-pull): Require vc-dispatcher.
5797 * vc/vc-git.el (vc-compilation-mode): Declare.
5798 (vc-git-pull): Require vc-dispatcher.
5799
08d66420
GM
5800 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5801
30b626e9
GM
5802 * progmodes/octave.el (help-button-action): Declare.
5803
8c05cb10
GM
5804 * shell.el (shell-directory-tracker): Output error as a message
5805 rather than just returning it as a string.
5806 (shell-process-pushd): Remove useless use of message.
5807
30213927
GM
5808 * dframe.el (dframe-timer-fn):
5809 * files.el (dir-locals-read-from-file):
5810 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5811 (mpc-format):
5812 * reveal.el (reveal-post-command):
5813 * saveplace.el (load-save-place-alist-from-file):
5814 * shell.el (shell-resync-dirs):
5815 * w32-common-fns.el (x-get-selection-value):
5816 * emacs-lisp/copyright.el (copyright-find-copyright):
5817 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5818 * emulation/tpu-edt.el (tpu-copy-keyfile):
5819 * play/bubbles.el (bubbles--mark-neighbourhood):
5820 * progmodes/executable.el
5821 (executable-make-buffer-file-executable-if-script-p):
5822 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5823
d3b049e6
SM
58242013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5825
170266d0
SM
5826 Cleanup Eshell to rely less on dynamic scoping.
5827 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5828 last-value, and ext-command here. Bind `args' closer to `body'.
5829 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5830 (eshell--args): Declare new dynamic var.
5831 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5832 last-value, and ext-command. Pass `args' to `body'.
5833 (eshell-process-args): Bind eshell--args.
5834 (eshell-set-option): Use eshell--args.
5835 * eshell/eshell.el (eshell): Use derived-mode-p.
5836 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5837 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5838 (eshell-glob-function): Declare.
5839 * eshell/esh-util.el: Require cl-lib.
5840 (eshell-read-hosts-file): Avoid add-to-list.
5841 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5842 `err'.
5843 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5844 Declare.
5845 (eshell/diff): Remove unused var `err'.
5846 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5847 `killflag'.
5848 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5849 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5850 first use.
5851 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5852 Move declaration before first use.
5853 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5854 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5855 rely on cl-return.
5856
56834f3b
GM
58572013-09-12 Glenn Morris <rgm@gnu.org>
5858
5859 * term/ns-win.el (global-map): Remove binding for ispell-next,
5860 deleted 1999-05-29. (Bug#15357)
5861
5c91a2b8
GM
58622013-09-11 Glenn Morris <rgm@gnu.org>
5863
da712f22
GM
5864 * echistory.el (electric-command-history): Remove call to deleted func.
5865
512e4cdc
GM
5866 * play/landmark.el (landmark-mode): Fix typos.
5867
d3506ca5
GM
5868 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5869 Check cvs-sort-ignore-file is bound.
5870
5c91a2b8
GM
5871 * savehist.el: No need for cl when compiling on Emacs.
5872
feeff482
SM
58732013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5874
656bd483
SM
5875 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5876 (bug#15338).
d3b049e6
SM
5877 (eshell-self-insert-command, eshell-send-invisible):
5878 Remove unused argument.
656bd483
SM
5879 (eshell-handle-control-codes): Remove unused var `orig'.
5880 Avoid delete-backward-char.
5881
feeff482
SM
5882 * files.el (set-auto-mode): Simplify a bit further.
5883
2a08047a
GM
58842013-09-11 Glenn Morris <rgm@gnu.org>
5885
5886 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5887 (set-auto-mode): Don't regexp-quote elements.
5888 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5889 * progmodes/cc-mode.el (interpreter-mode-alist):
5890 * progmodes/ruby-mode.el (interpreter-mode-alist):
5891 Revert previous change.
5892
34675540
SM
58932013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5894
1b3b87df
SM
5895 * play/snake.el (snake-mode):
5896 * play/mpuz.el (mpuz-mode):
5897 * play/landmark.el (lm-mode):
5898 * play/blackbox.el (blackbox-mode):
5899 * play/5x5.el (5x5-mode):
5900 * obsolete/options.el (Edit-options-mode):
5901 * net/quickurl.el (quickurl-list-mode):
5902 * net/newst-treeview.el (newsticker-treeview-mode):
5903 * mail/rmailsum.el (rmail-summary-mode):
5904 * mail/mspools.el (mspools-mode):
5905 * locate.el (locate-mode):
5906 * ibuffer.el (ibuffer-mode):
5907 * emulation/ws-mode.el (wordstar-mode):
5908 * emacs-lisp/debug.el (debugger-mode):
5909 * array.el (array-mode):
5910 * net/eudc.el (eudc-mode): Use define-derived-mode.
5911 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5912 Move initialization into declaration.
5913 (mairix-searches-mode): Use define-derived-mode.
5914 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5915 (eudc-edit-hotlist): Use dolist.
5916 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5917 (Man-mode): Use define-derived-mode.
5918 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5919 (Info-edit-mode): Use define-derived-mode.
5920 (Info-cease-edit): Use Info-mode.
5921 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5922 into declaration.
5923 (eshell-mode): Use define-derived-mode.
5924 * chistory.el (command-history-mode-map): Rename from
5925 command-history-map.
5926 (command-history-mode): Use define-derived-mode.
da712f22 5927 (Command-history-setup): Remove function.
1b3b87df
SM
5928 * calc/calc.el (calc-trail-mode-map): New var.
5929 (calc-trail-mode): Use define-derived-mode.
5930 (calc-trail-buffer): Set calc-main-buffer manually.
5931 * bookmark.el (bookmark-insert-annotation): New function.
5932 (bookmark-edit-annotation): Use it.
5933 (bookmark-edit-annotation-mode): Make it a proper major mode.
5934 (bookmark-send-edited-annotation): Use derived-mode-p.
5935 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5936 closer to its ideal place. Use \' to match EOS.
5937
34675540
SM
5938 * profiler.el (profiler-calltree-find): Use function-equal.
5939
6a5c15d9
GM
59402013-09-10 Glenn Morris <rgm@gnu.org>
5941
1af4c220
GM
5942 * files.el (interpreter-mode-alist): Convert to regexps.
5943 (set-auto-mode): Adapt for this. (Bug#15306)
5944 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5945 Comment out unused variable.
5946 * progmodes/cc-mode.el (interpreter-mode-alist):
5947 * progmodes/python.el (interpreter-mode-alist):
5948 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5949 * progmodes/sh-script.el (sh-set-shell):
5950 No longer use interpreter-mode-alist to get list of shells.
5951
6a5c15d9
GM
5952 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5953
8c27f5ff
SM
59542013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5955
02ef6c1a 5956 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5957 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5958 Bind switch-frame explicitly. Replace universal-argument-minus with
5959 a conditional binding.
5960 (universal-argument-num-events, saved-overriding-map): Remove.
5961 (restore-overriding-map): Remove.
5962 (universal-argument--mode): Rename from save&set-overriding-map,
5963 and rewrite.
5964 (universal-argument, universal-argument-more, negative-argument)
5965 (digit-argument): Adjust accordingly.
5966 (universal-argument-minus): Remove.
5967 (universal-argument-other-key): Remove.
5968
8c27f5ff
SM
5969 * subr.el (with-demoted-errors): Add `format' argument.
5970
6480194c
MA
59712013-09-10 Michael Albinus <michael.albinus@gmx.de>
5972
5973 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5974 `tramp-cleanup-connection'.
5975
5976 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5977 parameters KEEP-DEBUG and KEEP-PASSWORD.
5978
5979 * net/tramp.el (tramp-file-name-handler):
5980 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5981 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5982 (tramp-maybe-open-connection):
8c27f5ff
SM
5983 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5984 Use `tramp-cleanup-connection'.
6480194c 5985
8c27f5ff
SM
5986 * net/tramp-sh.el (tramp-maybe-open-connection):
5987 Catch 'uname-changed inside the progress reporter.
6480194c 5988
e5e916d8
GM
59892013-09-10 Glenn Morris <rgm@gnu.org>
5990
9a2c9b47
GM
5991 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5992
e5e916d8
GM
5993 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5994 returns "alternate access method" in mode (eg "-rw-r--r--.").
5995
144e38fe
GM
59962013-09-08 Glenn Morris <rgm@gnu.org>
5997
5998 * saveplace.el (load-save-place-alist-from-file):
5999 Demote errors. (Bug#15305)
6000
af9ff9e8
MA
60012013-09-08 Michael Albinus <michael.albinus@gmx.de>
6002
6003 Improve compatibility with older Emacsen, and XEmacs.
6004
6005 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6006 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6007 (with-tramp-progress-reporter): Do not let-bind `result'.
6008 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6009 (tramp-handle-make-auto-save-file-name): New function, moved from
6010 tramp-sh.el.
6011
6012 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6013 for `make-auto-save-file-name'.
8c27f5ff
SM
6014 (tramp-adb--gnu-switches-to-ash):
6015 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6016
6017 * net/tramp-cache.el (tramp-cache-print): Call
6018 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6019
6020 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6021 bound. It isn't for XEmacs.
6022
8c27f5ff
SM
6023 * net/tramp-compat.el (tramp-compat-copy-file):
6024 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6025 (tramp-compat-replace-regexp-in-string): New defun.
6026
6027 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6028 for `make-auto-save-file-name'.
6029 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6030 `copy-file'.
6031 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6032 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6033 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6034
8c27f5ff
SM
6035 * net/tramp-gw.el (tramp-gw-open-network-stream):
6036 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6037
8c27f5ff
SM
6038 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6039 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6040 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6041 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6042 (tramp-sh-file-inotifywait-process-filter):
6043 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6044 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6045
6046 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6047 for `make-auto-save-file-name'.
8c27f5ff
SM
6048 (tramp-smb-handle-copy-directory):
6049 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6050 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6051 (tramp-smb-handle-copy-file): Improve error message.
6052 (tramp-smb-handle-rename-file): Rename directly only in case
6053 `newname' does not exist yet. This is a restriction of smbclient.
6054 (tramp-smb-maybe-open-connection): Rerun the function only when
6055 `auth-sources' is non-nil.
6056
0ca754d0
KH
60572013-09-08 Kenichi Handa <handa@gnu.org>
6058
e0eb0550 6059 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6060 more characters.
6061
e8dd0787
AM
60622013-09-07 Alan Mackenzie <acm@muc.de>
6063
6064 Correctly fontify Java class constructors.
6065 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6066 in Java Mode.
6067 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6068 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6069 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6070 "typeless" declaration there.
6071
f2f248e7
RW
60722013-09-07 Roland Winkler <winkler@gnu.org>
6073
6074 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6075 field subtitle for entry type book.
6076
67982e2b
SM
60772013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * minibuffer.el: Make minibuffer-complete call completion-in-region
6080 rather than other way around.
6081 (completion--some, completion-pcm--find-all-completions):
6082 Don't delay signals when debugging.
6083 (minibuffer-completion-contents): Beware fields within the
6084 minibuffer contents.
6085 (completion-all-sorted-completions): Use defvar-local.
6086 (completion--do-completion, completion--cache-all-sorted-completions)
6087 (completion-all-sorted-completions, minibuffer-force-complete):
6088 Add args `beg' and `end'.
6089 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6090 (minibuffer-complete): Use completion-in-region.
6091 (completion-complete-and-exit): New fun, extracted from
6092 minibuffer-complete-and-exit.
6093 (minibuffer-complete-and-exit): Use it.
6094 (completion--complete-and-exit): Rename from
6095 minibuffer--complete-and-exit.
6096 (completion-in-region--single-word): New function, extracted from
6097 minibuffer-complete-word.
6098 (minibuffer-complete-word): Use it.
6099 (display-completion-list): Make `common-substring' argument obsolete.
6100 (completion--in-region): Call completion--in-region-1 instead of
6101 minibuffer-complete.
6102 (completion-help-at-point): Pass boundaries to
6103 minibuffer-completion-help as args rather than via an overlay.
6104 (completion-pcm--string->pattern): Use `any-delim'.
6105 (completion-pcm--optimize-pattern): New function.
6106 (completion-pcm--pattern->regex): Handle `any-delim'.
6107 * icomplete.el (icomplete-forward-completions)
6108 (icomplete-backward-completions, icomplete-completions):
6109 Adjust calls to completion-all-sorted-completions and
6110 completion--cache-all-sorted-completions.
6111 (icomplete-with-completion-tables): Default to t.
6112 * emacs-lisp/crm.el (crm--current-element): Rename from
6113 crm--select-current-element. Don't put an overlay but return the
6114 boundaries instead.
6115 (crm--completion-command): Take two new args to bind to the boundaries.
6116 (crm-completion-help): Adjust accordingly.
6117 (crm-complete): Use completion-in-region.
6118 (crm-complete-word): Use completion-in-region--single-word.
6119 (crm-complete-and-exit): Use completion-complete-and-exit.
6120
e17d94a5
SM
61212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6124 than dynamically.
6125
96727100
JL
61262013-09-06 Juri Linkov <juri@jurta.org>
6127
6128 * info.el (Info-display-images-node): When image file doesn't exist
6129 display text version of the image if it's provided in the Info file.
6130 Otherwise, display the location of missing image from SRC attribute.
6131 Add help-echo text property from ALT attribute. (Bug#15279)
6132
86cf7329
SM
61332013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6136 (edit-abbrevs-mode): Use define-derived-mode.
6137
6138 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6139 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6140 that it's defined.
6141 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6142 Use define-derived-mode.
6143
6144 * epg.el (epg-start-encrypt): Minor CSE simplification.
6145
816244a2
WX
61462013-09-06 William Xu <william.xwl@gmail.com>
6147
6148 * arc-mode.el: Add support for 7za (bug#15264).
6149 (archive-7z-program): New var.
6150 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6151 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6152 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6153
1486fa31
MA
61542013-09-06 Michael Albinus <michael.albinus@gmx.de>
6155
6156 Remove URL syntax.
6157
6158 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6159 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6160 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6161 (tramp-postfix-host-format, tramp-file-name-regexp)
6162 (tramp-completion-file-name-regexp)
6163 (tramp-completion-dissect-file-name)
6164 (tramp-handle-substitute-in-file-name): Remove 'url case.
6165 (tramp-file-name-regexp-url)
6166 (tramp-completion-file-name-regexp-url): Remove constants.
6167
39785324
GM
61682013-09-06 Glenn Morris <rgm@gnu.org>
6169
6170 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6171
1f896cb7
DG
61722013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6173
6174 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6175 keywords" below "here-doc beginnings" (Bug#15270).
6176
c0458e0b
SM
61772013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * subr.el (pop): Use `car-safe'.
6180 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6181 to detect unused `pop' return value.
6182
6183 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6184 var `block-regexp'.
6185 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6186 (python-fill-string): Remove unused var `marker'.
6187 (python-skeleton-add-menu-items): Remove unused var `items'.
6188
6189 * international/mule-cmds.el: Require CL.
6190 (find-coding-systems-for-charsets): Avoid add-to-list.
6191 (sanitize-coding-system-list): New function, extracted from
6192 select-safe-coding-system-interactively.
6193 (select-safe-coding-system-interactively): Use it.
6194 (read-input-method-name): Accept symbols for `default'.
6195
6196 * emacs-lisp/advice.el (defadvice): Add indent rule.
6197
6c42fc3e
DH
61982013-09-05 Daniel Hackney <dan@haxney.org>
6199
6200 * dired-x.el:
6201 * net/ange-ftp.el:
6202 * net/browse-url.el:
6203 * net/dbus.el:
6204 * net/eudc.el:
6205 * net/eudcb-ldap.el:
6206 * net/eww.el:
6207 * net/imap.el:
6208 * printing.el:
6209 * vc/ediff-diff.el:
6210 * vc/ediff-init.el:
6211 * vc/ediff-merg.el:
6212 * vc/ediff-mult.el:
6213 * vc/ediff-util.el:
6214 * vc/ediff-wind.el:
6215 * vc/ediff.el:
6216 * vc/emerge.el:
6217 * vc/pcvs.el:
6218 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6219 byte compiler. Remove some unused let-bound variables.
6220
4c528aab
SM
62212013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6224 a "ref-cell", since it gets better optimized (bug#14883).
6225
bd15c390
GM
62262013-09-05 Glenn Morris <rgm@gnu.org>
6227
6228 * progmodes/cc-awk.el (c-forward-sws): Declare.
6229
1c3ac2e5
GM
62302013-09-04 Glenn Morris <rgm@gnu.org>
6231
6232 * generic-x.el [rul-generic-mode]: Require cc-mode.
6233 (c++-mode-syntax-table): Declare.
6234 (rul-generic-mode-syntax-table): Init in the defvar.
6235
52b1cc79
SM
62362013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6237
c828af56
SM
6238 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6239 (vc-do-command, vc-set-async-update):
6240 * vc/vc-mtn.el (vc-mtn-dir-status):
6241 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6242 (vc-hg-pull, vc-hg-merge-branch):
6243 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6244 (vc-git-merge-branch):
6245 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6246 (vc-cvs-dir-status-files):
6247 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6248 (vc-bzr-dir-status-files):
6249 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6250 * vc/vc-annotate.el: Use lexical-binding.
6251 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6252 (vc-sentinel-movepoint): Declare.
6253 (vc-annotate): Don't use `goto-line'.
6254 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6255 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6256 (vc-sentinel-movepoint): Declare.
6257 * vc/vc-svn.el: Use lexical-binding.
6258 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6259 * vc/vc-sccs.el:
6260 * vc/vc-rcs.el: Use lexical-binding.
6261
abae272c
SM
6262 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6263 `deleted'. Don't drop errors silently.
6264
52b1cc79
SM
6265 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6266
63191d9f
XF
62672013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6268
6269 * vc/vc.el (vc-ignore): Rewrite.
6270 (vc-default-ignore): New function.
6271 (vc-default-ignore-completion-table): Use find-ignore-file.
6272
6273 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6274 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6275 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6276 Remove. Most code moved to vc.el.
6277
9d3f707c
SM
62782013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6279
abae272c 6280 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6281 * net/tramp-smb.el (tramp-smb-get-file-entries):
6282 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6283 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6284
fde38d49
SM
6285 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6286 Update call to it.
6287 (eww-change-select): Remove unused var `properties'.
6288 (eww-make-unique-file-name): Remove unused var `base'.
6289
6290 * finder.el (finder-compile-keywords): Don't mess with windows.
6291
84032db7
SM
6292 * calculator.el (calculator-funcall): Fix typo in last change.
6293
724f5e41
SM
6294 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6295
14b511d4
SM
6296 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6297 <pkg>-autoloads.el file stop us.
6298
9d3f707c 6299 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6300 warnings, and factor out common code.
9d3f707c 6301
88527bc0
DG
63022013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6303
6304 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6305 two-character operators and whether the character preceding them
6306 changes their meaning (Bug#15208).
6307
96edb677
FEG
63082013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6309
6310 Format code sent to Python shell for robustness.
9d3f707c
SM
6311 * progmodes/python.el (python-shell-buffer-substring):
6312 New function.
96edb677
FEG
6313 (python-shell-send-region, python-shell-send-buffer): Use it.
6314
95beaef3
MA
63152013-09-02 Michael Albinus <michael.albinus@gmx.de>
6316
6317 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6318 * net/tramp.el (tramp-user-error): ... here.
6319 (tramp-find-method, tramp-check-proper-host)
6320 (tramp-dissect-file-name, tramp-debug-message)
6321 (tramp-handle-shell-command):
6322 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6323 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6324
6325 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6326
f167c27b
MR
63272013-09-02 Martin Rudalics <rudalics@gmx.at>
6328
6329 * avoid.el (mouse-avoidance-point-position)
6330 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6331 returns nil.
6332
cd16c5f1
FEG
63332013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6334
6335 * progmodes/python.el (python-shell-completion-get-completions):
6336 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6337 (python-nav-if-name-main): New command.
cd16c5f1 6338
e73c3a0d
GM
63392013-09-01 Glenn Morris <rgm@gnu.org>
6340
f8ccce03
GM
6341 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6342 Avoid leading space in $wins. Otherwise the sed command used by
6343 eg compile-main ends up containing "/*.el". (Bug#15170)
6344
e73c3a0d
GM
6345 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6346
415f808e
GM
63472013-08-30 Glenn Morris <rgm@gnu.org>
6348
6349 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6350 Fix is-this-a-directory logic. (Bug#15220)
6351
f069bba8
SM
63522013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6353
112798c1
SM
6354 * textmodes/css-mode.el: Use SMIE.
6355 (css-smie-grammar): New var.
6356 (css-smie--forward-token, css-smie--backward-token)
6357 (css-smie-rules): New functions.
6358 (css-mode): Use them.
6359 (css-navigation-syntax-table): Remove var.
6360 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6361 (css-indent-calculate, css-indent-line): Remove functions.
6362
6363 Misc changes to reduce use of `(lambda...); and other cleanups.
6364 * cus-edit.el: Use lexical-binding.
6365 (customize-push-and-save, customize-apropos)
6366 (custom-buffer-create-internal): Use closures.
6367 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6368 * progmodes/ada-xref.el: Use setq.
6369 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6370 * dframe.el: Use lexical-binding.
6371 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6372 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6373 * descr-text.el: Use lexical-binding.
6374 (describe-text-widget, describe-text-sexp, describe-property-list):
6375 Use closures.
6376 * comint.el (comint-history-isearch-push-state): Use a closure.
6377 * calculator.el: Use lexical-binding.
6378 (calculator-number-to-string): Make it work with lexical-binding.
6379 (calculator-funcall): Same and use cl-letf.
6380
2da4c3ab
SM
6381 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6382 (lisp--company-doc-string, lisp--company-location): New functions.
6383 (lisp-completion-at-point): Use them to improve Company support.
6384
f069bba8
SM
6385 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6386 params of lambda expressions.
6387 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6388 (ruby-smie--opening-pipe-p): New function.
6389 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6390 symbols and matched |...| for formal params.
6391 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6392 from being treated as hanging. Handle "rescue".
6393
6758b6a8
GM
63942013-08-29 Glenn Morris <rgm@gnu.org>
6395
6396 * progmodes/cc-engine.el (c-pull-open-brace):
6397 Move definition before use.
6398
e8dfd197
SM
63992013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6402 are immutable. Don't use `unsafe' any more.
6403 (cl--defsubst-expand): Don't substitute at the same time as keeping
6404 a residual unused let-binding. Don't use `unsafe' any more.
6405
cc585c96
GM
64062013-08-29 Glenn Morris <rgm@gnu.org>
6407
ba579ea6
GM
6408 * calendar/cal-china.el (calendar-chinese-year-cache):
6409 Recenter on 2015.
6410
8201a87e
GM
6411 * nxml/nxml-util.el (nxml-debug-clear-inside):
6412 Use cl-loop rather than loop.
6413
6ee877c7
GM
6414 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6415
cc585c96
GM
6416 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6417
27be8d39
GM
64182013-08-28 Glenn Morris <rgm@gnu.org>
6419
397440a1
GM
6420 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6421
2bb762d4
GM
6422 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6423
27be8d39
GM
6424 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6425
2d69b99e
SM
64262013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6427
f663baa7
SM
6428 * simple.el (repeat-complex-command--called-interactively-skip):
6429 New function.
6430 (repeat-complex-command): Use it (bug#14136).
6431
dd4f8b74
SM
6432 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6433 (c-define-abbrev-table): Add `doc' argument.
6434 (c-mode-abbrev-table, c++-mode-abbrev-table)
6435 (objc-mode-abbrev-table, java-mode-abbrev-table)
6436 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6437 (awk-mode-abbrev-table): Use it.
6438 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6439 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6440 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6441 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6442 Move initialization into the declaration; and remove any
6443 autoload cookie.
6444
b58969f7
SM
6445 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6446 and dynamic let binding.
6447
4021d6a6
SM
6448 * vc/smerge-mode.el: Remove redundant :group args.
6449
2d69b99e
SM
6450 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6451 to load-path.
6452
274919fd
JL
64532013-08-28 Juri Linkov <juri@jurta.org>
6454
6455 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6456 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6457 (isearch-other-meta-char): Handle an undefined shifted printing
6458 character by downshifting it. (Bug#15200)
6459
121f8c95
JL
64602013-08-28 Juri Linkov <juri@jurta.org>
6461
6462 * isearch.el (isearch-search): Change regexp error message for
6463 non-regexp searches. (Bug#15166)
6464
50b13cde
PE
64652013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6466
6467 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6468 for portability to hosts where /bin/sh has problems.
6469
95888bca
SM
64702013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6473
bbe558f1
JL
64742013-08-27 Juri Linkov <juri@jurta.org>
6475
6476 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6477 in the keyboard macro. (Bug#15126)
6478
26f98a7d
JL
64792013-08-27 Juri Linkov <juri@jurta.org>
6480
6481 * isearch.el (isearch-quote-char): Comment out converting unibyte
6482 to multibyte, thus syncing with its `quoted-insert' counterpart.
6483 (Bug#15166)
6484
7c97d35e
MR
64852013-08-27 Martin Rudalics <rudalics@gmx.at>
6486
6487 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6488 argument in call of get-largest-window (Bug#15185).
6489 Reported by Stephen Leake.
7c97d35e 6490
a0b5606e 64912013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6492
6493 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6494
9e89d835
SM
64952013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6498 from a matcher-function unless there's no more matches (bug#15161).
6499
78fc2530
MA
65002013-08-26 Michael Albinus <michael.albinus@gmx.de>
6501
6502 * minibuffer.el: Revert change from 2013-08-20.
6503
6504 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6505 with text property `tramp-default', if appropriate.
6506 (tramp-check-proper-host): New defun.
6507 (tramp-dissect-file-name): Do not check hostname. Revert change
6508 of 2013-03-18.
6509 (tramp-backtrace): Make VEC-OR-PROC optional.
6510
6511 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6513 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6514 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6515 Apply `tramp-check-proper-host'.
78fc2530 6516
edca97cd
TH
65172013-08-26 Tassilo Horn <tsdh@gnu.org>
6518
6519 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6520 lambda expression in order to have `describe-variable' display it.
6521
df54bcbd
MA
65222013-08-26 Michael Albinus <michael.albinus@gmx.de>
6523
6524 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6525 BUF can be optional. (Bug#15186)
6526
eed99101
XF
65272013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6528
6529 * progmodes/flymake.el (flymake-get-real-file-name-function):
6530 Fix broken customization. (Bug#15184)
6531
b5eb9035
AM
65322013-08-25 Alan Mackenzie <acm@muc.de>
6533
8a51e842
AM
6534 Improve indentation of bracelists defined by macros (without "=").
6535
6536 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6537 expansion begins with "{", regard it as bracelist when it doesn't
6538 contain a ";".
6539
869455d4
AM
6540 Parse C++ inher-intro when there's a template split over 2 lines.
6541
6542 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6543 rigorously the search for "class" etc. followed by ":".
6544
6545 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6546 random languages a regexp which never matches rather than nil.
6547
b5eb9035
AM
6548 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6549
6550 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6551 (c-awk-regexp-one-line-possibly-open-char-list-re)
6552 (c-awk-one-line-possibly-open-regexp-re)
6553 (c-awk-one-line-non-syn-ws*-re): Remove.
6554 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6555 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6556 (c-awk-space*-unclosed-regexp-/-re): New constants.
6557 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6558 aren't regexp delimiters.
6559
6560 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6561 handling for a rare situation in AWK Mode involving unterminated
6562 strings/regexps.
6563
61611d54
GM
65642013-08-23 Glenn Morris <rgm@gnu.org>
6565
2d85dc34
GM
6566 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6567
cb8d2612
GM
6568 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6569
bb35f42f
GM
6570 * files.el (create-file-buffer): If the result would begin with
6571 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6572
b9808e77
SM
65732013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6574
e3a66363
SM
6575 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6576 text-properties (bug#15155).
6577
b9808e77
SM
6578 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6579 exist any more.
6580 (calc-keypad-redraw): Remove unused var `pad'.
6581 (calc-keypad-press): Remove unused var `menu'.
6582
7fd5f65e
MR
65832013-08-23 Martin Rudalics <rudalics@gmx.at>
6584
b9808e77
SM
6585 * window.el (display-buffer-pop-up-frame):
6586 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6587 use it as the new frame's buffer (Bug#15133).
6588
8352b530
SM
65892013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6590
6591 * calendar/timeclock.el: Minor cleanups.
6592 (timeclock-ask-before-exiting, timeclock-use-display-time):
6593 Use `symbol'.
6594 (timeclock-modeline-display): Define as alias before the
6595 actual definition.
6596 (timeclock-mode-line-display): Use define-minor-mode.
6597 (timeclock-day-list-template): Make it a function, add an argument.
6598 (timeclock-day-list-required, timeclock-day-list-length)
6599 (timeclock-day-list-debt, timeclock-day-list-span)
6600 (timeclock-day-list-break): Adjust calls accordingly.
6601
9f7b1925
SM
66022013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6605 Use read--expression so that completion works again.
6606
6e50e983
SS
66072013-08-21 Sam Steingold <sds@gnu.org>
6608
6609 Add rudimentary inferior shell interaction
6610 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6611 (sh-set-shell): Reset it.
9f7b1925
SM
6612 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6613 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6614
dbb0d350
SM
66152013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * align.el: Use lexical-binding.
6618 (align-region): Simplify accordingly.
6619
c88586a9
MA
66202013-08-20 Michael Albinus <michael.albinus@gmx.de>
6621
6622 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6623
6624 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6625 `non-essential' up.
6626
f95527c8
MA
66272013-08-17 Michael Albinus <michael.albinus@gmx.de>
6628
6629 * net/tramp.el:
6630 * net/tramp-adb.el:
6631 * net/tramp-cmds.el:
6632 * net/tramp-ftp.el:
6633 * net/tramp-gvfs.el:
6634 * net/tramp-gw.el:
6635 * net/tramp-sh.el: Don't wrap external variable declarations by
6636 `eval-when-compile'.
6637
4b5fe4ee
LMI
66382013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6639
6640 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6641 now that Emacs supports ImageMagick animations.
6642
13c366c9
MA
66432013-08-16 Michael Albinus <michael.albinus@gmx.de>
6644
6645 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6646 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6647
3dfc5cd6
MR
66482013-08-16 Martin Rudalics <rudalics@gmx.at>
6649
6650 * window.el (mouse-autoselect-window-select): Do autoselect when
6651 mouse pointer is on margin.
6652
4bbb4381
WP
66532013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6654
6655 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6656
3a2ddc2d
GM
66572013-08-16 Glenn Morris <rgm@gnu.org>
6658
e8bedf5a
GM
6659 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6660 Handle "Remote Directory" response of some clients. (Bug#15058)
6661
58c4682f
GM
6662 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6663 Tweak warning. (Bug#14926)
6664
57953f49
GM
6665 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6666 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6667
3a2ddc2d
GM
6668 * image-mode.el (image-mode-map): Add menu items to reverse,
6669 increase, decrease, reset animation speed.
6670 (image--set-speed, image-increase-speed, image-decrease-speed)
6671 (image-reverse-speed, image-reset-speed): New functions.
6672 (image-mode-map): Add bindings for speed commands.
6673
6674 * image.el (image-animate-get-speed, image-animate-set-speed):
6675 New functions.
6676 (image-animate-timeout): Respect image :speed property.
6677
10fa0ed3
SM
66782013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6681 previous line (bug#15101).
6682 (debugger-eval-expression, debugger-record-expression):
6683 Use read--expression (bug#15102).
6684
5d89d9d2
MA
66852013-08-15 Michael Albinus <michael.albinus@gmx.de>
6686
6687 Remove byte compiler warnings, visible when compiling with
6688 `byte-compile-force-lexical-warnings' set to t.
6689
6690 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6691 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6692 (tramp-handle-unhandled-file-name-directory)
6693 (tramp-handle-file-notify-add-watch, tramp-action-login)
6694 (tramp-action-succeed, tramp-action-permission-denied)
6695 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6696 arguments with "_".
6697
6698 * net/tramp-adb.el (tramp-adb-parse-device-names)
6699 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6700 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6701 (tramp-adb-handle-file-truename): Remove unused arguments.
6702
6703 * net/tramp-cache.el (tramp-flush-directory-property)
6704 (tramp-flush-connection-property, tramp-list-connections)
6705 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6706
10fa0ed3
SM
6707 * net/tramp-compat.el (tramp-compat-make-temp-file):
6708 Rename FILENAME to F.
5d89d9d2
MA
6709
6710 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6711 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6712 (tramp-zeroconf-parse-workstation-device-names)
6713 (tramp-zeroconf-parse-webdav-device-names)
6714 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6715
6716 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6717 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6718
6719 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6720 arguments.
6721 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6722 (tramp-sh-handle-insert-file-contents-literally)
6723 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6724 with "_".
6725 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6726 Remove unused variables.
6727
6728 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6729 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6730 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6731
6732 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6733 Make them a defconst.
6734 (tramp-uuencode-region): Remove unused variable.
6735
62f33bae
JB
67362013-08-14 Juanma Barranquero <lekktu@gmail.com>
6737
6738 * frameset.el (frameset--prop-setter): New function.
6739 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6740 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6741 parameter was already set in FILTERED. Doc fix.
6742 (frameset--record-minibuffer-relationships): Allow saving a
6743 minibufferless frame without its corresponding minibuffer frame.
6744 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6745 frame, if the frame id matches.
6746 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6747 frames before orphaned ones.
6748 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6749
c660a885
MR
67502013-08-14 Martin Rudalics <rudalics@gmx.at>
6751
6752 * window.el (window-make-atom): Don't overwrite parameter
6753 already present.
6754 (display-buffer-in-atom-window): Handle special case where we
6755 split an already atomic window.
6756 (window--major-non-side-window, display-buffer-in-side-window)
6757 (window--side-check): Ignore minibuffer window when walking
6758 window tree.
6759 (window-deletable-p): Return 'frame only if no other frame uses
6760 our minibuffer window.
6761 (record-window-buffer): Run buffer-list-update-hook.
6762 (split-window): Make sure window--check-frame won't destroy an
6763 existing atomic window in case the new window gets nested
6764 inside.
6765 (display-buffer-at-bottom): Ignore minibuffer window when
6766 walking window tree. Don't split a side window.
6767 (pop-to-buffer): Don't set-buffer here, the select-window call
6768 should do that.
6769 (mouse-autoselect-window-select): Autoselect only if we are in the
6770 text portion of the window.
6771
8259030d
LMI
67722013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6773
21c58ae2
LMI
6774 * net/shr.el (shr-parse-image-data): New function to grab both the
6775 data itself and the Content-Type.
6776 (shr-put-image): Use it.
6777
6778 * net/eww.el (eww-display-image): Ditto.
6779
8259030d
LMI
6780 * image.el (image-content-type-suffixes): New variable.
6781
ad756449
FEG
67822013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6783
6784 * progmodes/python.el (python-imenu--build-tree)
6785 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6786
f73f4ce6
XF
67872013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6788
6789 * simple.el (backward-word): Mention the optional argument.
6790
1f585e65
SM
67912013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * frameset.el (frameset--make): Rename constructor from make-frameset.
6794 (frameset-p, frameset-valid-p): Don't autoload.
6795 (frameset-valid-p): Use normal accessors.
6796
af1c6c84
GM
67972013-08-13 Glenn Morris <rgm@gnu.org>
6798
55e47f95
GM
6799 * progmodes/compile.el (compile-command): Tweak example in doc.
6800 * obsolete/scribe.el (scribe-mode):
6801 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6802
f0024d8c
GM
6803 * mail/feedmail.el (feedmail-confirm-outgoing)
6804 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6805
6806 * cus-start.el (truncate-partial-width-windows): Fix type.
6807
6808 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6809
af1c6c84
GM
6810 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6811
5514cc4c
SM
68122013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * emacs-lisp/timer.el (timer--time-setter): New function.
6815 (timer--time): Use it as gv-setter.
6816
6817 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6818 setter is not a symbol.
6819
7997a2f1
GJ
68202013-08-12 Grégoire Jadi <daimrod@gmail.com>
6821
6822 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6823 if sending fails. This makes debugging easier.
6824
01f1a9ab
JB
68252013-08-12 Juanma Barranquero <lekktu@gmail.com>
6826
6827 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6828 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6829 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6830
594a4307
EZ
68312013-08-12 Eli Zaretskii <eliz@gnu.org>
6832
6833 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6834
7a22490f 68352013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6836
6837 * format.el (format-annotate-function):
6838 Handle read-only text properties in the source. (Bug#14887)
6839
3e41a054
LMI
68402013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6841
5514cc4c
SM
6842 * net/eww.el (eww-display-html): Ignore coding system errors.
6843 One web site uses "utf-8lias" as the coding system.
3e41a054 6844
7ec326db
JB
68452013-08-11 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6848
5660113b
JB
68492013-08-10 Juanma Barranquero <lekktu@gmail.com>
6850
9a4ebc74
JB
6851 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6852 (tutorial--detailed-help): Remove unused local variables.
6853 (tutorial--save-tutorial-to): Use ignore-errors.
6854 (help-with-tutorial): Use looking-at-p.
6855
6856 * view.el (view-buffer-other-window, view-buffer-other-frame):
6857 Mark unused arguments.
6858
6859 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6860 (woman-select-symbol-fonts, woman, woman-find-file)
6861 (woman-insert-file-contents, woman-non-underline-faces):
6862 Use string-match-p.
6863 (woman1-unquote): Move declaration.
6864
6865 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6866 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6867 argument. Remove unused local variable.
6868 (xml-parse-elem-type): Use string-match-p.
6869 (xml-substitute-numeric-entities): Use ignore-errors.
6870
45fdb482
JB
6871 * calculator.el (calculator): Mark unused argument.
6872 (calculator-paste, calculator-quit, calculator-integer-p):
6873 Use ignore-errors.
6874 (calculator-string-to-number, calculator-decimal, calculator-exp)
6875 (calculator-op-or-exp): Use string-match-p.
6876
6877 * dired.el (dired-buffer-more-recently-used-p): Declare.
6878 (dired-insert-set-properties, dired-insert-old-subdirs):
6879 Use ignore-errors.
6880
6881 * dired-aux.el (dired-compress): Use ignore-errors.
6882 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6883 (dired-do-async-shell-command, dired-do-shell-command)
6884 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6885 (dired-insert-subdir-validate): Use string-match-p.
6886 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6887 (dired-add-entry): Use string-match-p, looking-at-p.
6888 (dired-insert-subdir-newpos): Remove unused local variable.
6889
6890 * filenotify.el (file-notify-callback): Remove unused local variable.
6891
6892 * filesets.el (filesets-error): Mark unused argument.
6893 (filesets-which-command-p, filesets-filter-dir-names)
6894 (filesets-directory-files, filesets-get-external-viewer)
6895 (filesets-ingroup-get-data): Use string-match-p.
6896
6897 * find-file.el (ff-other-file-name, ff-other-file-name)
6898 (ff-find-the-other-file, ff-cc-hh-converter):
6899 Remove unused local variables.
6900 (ff-get-file-name): Use string-match-p.
6901 (ff-all-dirs-under): Use ignore-errors.
6902
6903 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6904 (follow-select-if-visible): Remove unused local variable.
6905
6906 * forms.el (read-file-filter): Move declaration.
6907 (forms--make-format, forms--make-parser, forms-insert-record):
6908 Quote function with #'.
6909 (forms--update): Use string-match-p. Quote function with #'.
6910
6911 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6912 (help-make-xrefs): Use looking-at-p.
6913 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6914
6915 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6916 (ibuffer-confirm-operation-on): Use string-match-p.
6917
6918 * msb.el (msb-item-handler, msb-dired-item-handler):
6919 Mark unused arguments.
6920
6921 * ses.el (ses-decode-cell-symbol)
6922 (ses-kill-override): Remove unused local variable.
6923 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6924 (ses-load): Use ignore-errors, looking-at-p.
6925 (ses-jump-safe): Use ignore-errors.
6926 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6927
6928 * tabify.el (untabify, tabify): Mark unused arguments.
6929
6930 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6931 Mark unused argument.
6932 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6933 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6934
c880af52
JB
6935 * emacs-lisp/timer.el (timer--time): Define setter with
6936 gv-define-setter to avoid deprecation warning.
6937
5660113b 6938 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6939 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6940 (cmpl-statistics-block): Remove (body was commented out).
6941 All callers changed.
6942 (add-completions-from-buffer, load-completions-from-file):
6943 Remove unused variables.
6944
156aab80
JB
69452013-08-09 Juanma Barranquero <lekktu@gmail.com>
6946
5c5dee78
JB
6947 * filecache.el (file-cache-delete-file-list):
6948 Print message only when told so.
6949 (file-cache-files-matching): Use #' in mapconcat argument.
6950
156aab80
JB
6951 * ffap.el (ffap-url-at-point): Fix reference to variable
6952 thing-at-point-default-mail-uri-scheme.
6953
ad9dcd70
SM
69542013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6955
54bd972f
SM
6956 * subr.el (define-error): New function.
6957 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6958 error-file-not-found and define with define-error.
6959 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6960 and define with define-error.
6961 * userlock.el (file-locked, file-supersession):
6962 * simple.el (mark-inactive):
6963 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6964 * progmodes/ada-mode.el (ada-mode-errors):
6965 * play/life.el (life-extinct):
6966 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6967 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6968 * nxml/rng-util.el (rng-error):
6969 * nxml/rng-uri.el (rng-uri-error):
6970 * nxml/rng-match.el (rng-compile-error):
6971 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6972 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6973 * nxml/nxml-rap.el (nxml-scan-error):
6974 * nxml/nxml-outln.el (nxml-outline-error):
6975 * net/soap-client.el (soap-error):
6976 * net/gnutls.el (gnutls-error):
6977 * net/ange-ftp.el (ftp-error):
6978 * mpc.el (mpc-proc-error):
6979 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6980 (json-number-format, json-string-escape, json-string-format)
6981 (json-key-format, json-object-format):
6982 * jka-compr.el (compression-error):
6983 * international/quail.el (quail-error):
6984 * international/kkc.el (kkc-error):
6985 * emacs-lisp/ert.el (ert-test-failed):
6986 * calc/calc.el (calc-error, inexact-result, math-overflow)
6987 (math-underflow):
6988 * bookmark.el (bookmark-error-no-filename):
6989 * epg.el (epg-error): Define with define-error.
6990
0ea9e53a
SM
6991 * time.el (display-time-event-handler)
6992 (display-time-next-load-average): Don't call sit-for since it seems
6993 unnecessary (bug#15045).
6994
b0429158
SM
6995 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6996 Use #' instead of ' to quote functions.
6997 (checkdoc-output-mode): Use setq-local.
6998 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6999 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7000 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7001 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7002 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7003 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7004 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7005 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7006
ad9dcd70
SM
7007 * ido.el (ido-completion-help): Fix up compiler warning.
7008
77187e6f
JB
70092013-08-09 Juanma Barranquero <lekktu@gmail.com>
7010
7011 * frameset.el (frameset-p): Add autoload cookie.
7012 (frameset--jump-to-register): New function, based on code moved from
7013 register.el.
7014 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7015
7016 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7017 (frameset-restore, frameset-save, frameset-session-filter-alist):
7018 Remove declarations.
7019 (register-alist): Doc fix.
7020 (frameset-to-register): Move to frameset.el.
7021 (jump-to-register, describe-register-1): Remove frameset-specific code.
7022
9d3aa82c
JB
70232013-08-08 Juanma Barranquero <lekktu@gmail.com>
7024
7025 * allout-widgets.el (allout-widgets-pre-command-business)
7026 (allout-widgets-post-command-business)
7027 (allout-widgets-after-change-handler)
7028 (allout-decorate-item-and-context, allout-set-boundary-marker)
7029 (allout-body-modification-handler)
7030 (allout-graphics-modification-handler): Mark ignored arguments.
7031 (allout-widgets-post-command-business)
7032 (allout-widgets-exposure-change-processor)
7033 (allout-widgets-exposure-undo-processor)
7034 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7035 (allout-parse-item-at-point, allout-decorate-item-guides)
7036 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7037 * allout.el (epa-passphrase-callback-function): Declare.
7038 (allout-overlay-insert-in-front-handler)
7039 (allout-overlay-interior-modification-handler)
7040 (allout-isearch-end-handler, allout-chart-siblings)
7041 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7042 (allout-yank-processing, allout-process-exposed)
7043 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7044 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7045 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7046 (lisp-indent-defform): Mark ignored arguments.
7047 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7048 (calculate-lisp-indent): Remove unused variables.
7049 * international/characters.el (indian-2-column, arabic-2-column)
7050 (tibetan): Mark ignored arguments.
7051 (use-cjk-char-width-table): Mark ignored arguments.
7052 Remove unused variables.
7053 * international/fontset.el (build-default-fontset-data)
7054 (x-compose-font-name, create-fontset-from-fontset-spec):
7055 Mark ignored arguments.
7056 (fontset-plain-name): Remove unused variables.
7057 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7058 (keyboard-coding-system): Mark ignored arguments.
7059 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7060 * help.el (resize-temp-buffer-window):
7061 * window.el (display-buffer-in-major-side-window)
7062 (display-buffer-in-side-window, display-buffer-in-previous-window):
7063 Remove unused variables.
7064 * isearch.el (isearch-forward-symbol):
7065 * version.el (emacs-bzr-version-bzr):
7066 * international/mule-cmds.el (current-language-environment):
7067 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7068 (x-handle-display):
7069 * term/pc-win.el (x-list-fonts, x-display-planes)
7070 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7071 (x-server-version, x-display-screens, x-display-mm-height)
7072 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7073 (x-selection-owner-p, x-own-selection-internal)
7074 (x-disown-selection-internal, x-get-selection-internal)
7075 (msdos-initialize-window-system):
7076 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7077 * term/x-win.el (x-handle-no-bitmap-icon):
7078 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7079 (vc-default-find-file-hook, vc-default-extra-menu):
7080 Mark ignored arguments.
7081
0ca3f70e
SM
70822013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7085 break-condition in the context of the debugged code (bug#12685).
7086
74c5d24c
CS
70872013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7088
7089 * comint.el:
7090 Do not use an overlay to highlight the last prompt. (Bug#14744)
7091 (comint-mode): Make comint-last-prompt buffer local.
7092 (comint-last-prompt): New variable.
7093 (comint-last-prompt-overlay): Remove. Superseded by
7094 comint-last-prompt.
0ca3f70e
SM
7095 (comint-snapshot-last-prompt, comint-output-filter):
7096 Use comint-last-prompt.
74c5d24c 7097
c03c02ee
JB
70982013-08-08 Juanma Barranquero <lekktu@gmail.com>
7099
a3738d20 7100 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7101 (frameset-save): Check validity of the resulting frameset.
7102
04263d23
XF
71032013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7104
7105 * ido.el (ido-record-command): Add doc string.
7106
76c5e5ab
JB
71072013-08-08 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * frameset.el (frameset): Do not disable creation of the default
7110 frameset-p predicate. Doc fix.
7111 (frameset-valid-p): New function, copied from the old predicate-p.
7112 Add additional checks.
7113 (frameset-restore): Check with frameset-valid-p.
7114 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7115 (frameset-name, frameset-description, frameset-properties)
7116 (frameset-states): Add docstring.
f9dbf1cb
JB
7117 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7118 (frameset-filter-alist): Doc fixes.
76c5e5ab 7119
bd0c3c0b
JB
71202013-08-08 Juanma Barranquero <lekktu@gmail.com>
7121
7122 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7123
c735544c
SM
71242013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7127 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7128 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7129 (byte-compile-normal-call): Remove obsolescence check.
7130
2805a651
JB
71312013-08-08 Juanma Barranquero <lekktu@gmail.com>
7132
3677ffeb
JB
7133 * frameset.el (frameset-restore): Doc fix.
7134
2805a651
JB
7135 * register.el (frameset-frame-id, frameset-frame-with-id)
7136 (frameset-p, frameset-restore, frameset-save): Declare.
7137 (register-alist): Document framesets.
7138 (frameset-session-filter-alist): Declare.
7139 (frameset-to-register): New function.
7140 (jump-to-register): Implement jumping to framesets. Doc fix.
7141 (describe-register-1): Describe framesets.
7142
7143 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7144
a912c016
JB
71452013-08-07 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7148 Use lexical-binding.
7149
7150 * frameset.el (frameset): Use type vector, not list (incompatible
7151 change). Do not declare a new constructor, use the default one.
7152 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7153 `name' and `description', respectively, and add read-only slot
7154 `timestamp'. Doc fixes.
7155 (frameset-copy, frameset-persistent-filter-alist)
7156 (frameset-filter-alist, frameset-switch-to-gui-p)
7157 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7158 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7159 (frameset-filter-iconified, frameset-keep-original-display-p):
7160 Doc fixes.
7161 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7162 Rename from frameset-filter-(save|restore)-param. All callers changed.
7163 Doc fix.
7164 (frameset-p): Adapt to change to vector and be more thorough.
7165 Change arg name to OBJECT. Doc fix.
7166 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7167 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7168 All callers changed.
7169 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7170 All callers changed.
7171 (frameset--record-minibuffer-relationships): Rename from
7172 frameset--process-minibuffer-frames. All callers changed.
7173 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7174 Use new default constructor (again). Doc fix.
c295fc18 7175 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7176 All callers changed.
7177 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7178 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7179 Doc fix.
7180 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7181 PARAMETERS and WINDOW-STATE, respectively.
7182 (frameset-restore): Add new keyword argument PREDICATE.
7183 Reset frameset--target-display to nil. Doc fix.
7184
bb41480a
SM
71852013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7186
f001e98e
SM
7187 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7188 (bat-mode): Use it.
7189 (bat-mode-syntax-table): Mark \n as end-of-comment.
7190 (bat-font-lock-keywords): Remove comment rule.
7191
7679edb1
SM
7192 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7193 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7194
bb41480a
SM
7195 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7196 (byte-compile-callargs-warn): Use `push'.
7197 (byte-compile-arglist-warn): Ignore higher-order "calls".
7198 (byte-compile-file-form-autoload): Use `pcase'.
7199 (byte-compile-function-form): If quoting a symbol, check that it exists.
7200
cdc1ebb9
EZ
72012013-08-07 Eli Zaretskii <eliz@gnu.org>
7202
7203 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7204 and add a few popular commands found in batch files.
7205 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7206 (dos-mode): Doc fixes.
7207
312b1740
SM
72082013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7211 (dos-mode): Use setq-local. Add space after "rem".
7212 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7213 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7214
400a3178
AM
72152013-08-07 Arni Magnusson <arnima@hafro.is>
7216
7217 * progmodes/dos.el: New file.
7218 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7219 dos-mode.
7220
3b5c03d3
GM
72212013-08-06 Glenn Morris <rgm@gnu.org>
7222
7223 * calendar/calendar.el: Add new faces, and day-header-array.
7224 (calendar-weekday-header, calendar-weekend-header)
7225 (calendar-month-header): New faces.
7226 (calendar-day-header-construct): New function.
7227 (calendar-day-header-width): Also :set calendar-day-header-array.
7228 (calendar-american-month-header, calendar-european-month-header)
7229 (calendar-iso-month-header): Use calendar- faces.
7230 (calendar-generate-month):
7231 Use calendar-day-header-array for day headers; apply faces to them.
7232 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7233 (calendar-abbrev-construct): Add optional maxlen argument.
7234 (calendar-day-name-array): Doc fix.
7235 (calendar-day-name-array, calendar-abbrev-length)
7236 (calendar-day-abbrev-array):
7237 Also :set calendar-day-header-array, and maybe redraw.
7238 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7239 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7240 (calendar-day-name): Add option to use header array.
7241
ec6a2d7a
LMI
72422013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243
7244 * net/shr.el (shr-render-td): Remove debugging.
7245 (shr-render-td): Make width computation consistent by defaulting
7246 all zero-width columns to 10 characters. This may not be optimal,
7247 but it's at least consistent.
2122cb6d
LMI
7248 (shr-make-table-1): Redo last change to fix the real problem in
7249 colspan handling.
ec6a2d7a 7250
ed4fd9c5
DA
72512013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7252
0ca3f70e
SM
7253 * files.el (cache-long-line-scans):
7254 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7255
64e22afe
JB
72562013-08-06 Juanma Barranquero <lekktu@gmail.com>
7257
024b38fc
JB
7258 * frameset.el (frameset, frameset-filter-alist)
7259 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7260 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7261 (frameset-compute-pos): Rename from frameset--compute-pos,
7262 and add docstring.
7263 (frameset-move-onscreen): Use frameset-compute-pos.
7264 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7265
64e22afe
JB
7266 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7267 Fix typos in docstrings.
7268
c8c2aca8
DA
72692013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7270
7271 * frame.el (get-other-frame): Tiny cleanup.
7272
1d237bba
JB
72732013-08-06 Juanma Barranquero <lekktu@gmail.com>
7274
8951efef
JB
7275 * vc/vc.el (vc-default-ignore-completion-table):
7276 Silence byte-compiler warning.
7277
307764cc 7278 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7279 slot, which can indeed be nil.
307764cc
JB
7280 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7281 Move entry for `left' from persistent to live filter alist.
7282 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7283 Doc fixes.
7284 (frameset-filter-params): When restoring a frame, copy items added to
7285 `filtered', to avoid unwittingly modifying the original parameters.
7286 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7287 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7288
1d237bba
JB
7289 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7290 to use looking-at-p instead of looking-at. (Bug#15028)
7291
dc6c0eda
SM
72922013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7293
7294 Revert introduction of isearch-filter-predicates (bug#14714).
7295 Rely on add-function instead.
7296 * isearch.el (isearch-filter-predicates): Rename it back to
7297 isearch-filter-predicate.
7298 (isearch-message-prefix): Use advice-function-mapc and advice
7299 properties to get the isearch-message-prefix.
7300 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7301 instead of run-hook-with-args-until-failure.
7302 (isearch-filter-visible): Not obsolete any more.
7303 * loadup.el: Preload nadvice.
7304 * replace.el (perform-replace): Revert to funcall
7305 instead of run-hook-with-args-until-failure.
7306 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7307 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7308 dired-isearch-filenames-toggle; make it into a proper minor mode.
7309 Use add/remove-function.
7310 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7311 Call the minor-mode rather than add/remove-hook.
7312 (dired-isearch-filter-filenames):
7313 Remove isearch-message-prefix property.
7314 * info.el (Info--search-loop): New function, extracted from Info-search.
7315 Funcall isearch-filter-predicate instead of
7316 run-hook-with-args-until-failure isearch-filter-predicates.
7317 (Info-search): Use it.
7318 (Info-mode): Use isearch-filter-predicate instead of
7319 isearch-filter-predicates.
7320
290d5b58
DA
73212013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7322
7323 Do not call to `selected-window' where it is assumed by default.
7324 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7325 `window-hscroll', `window-width', `window-height', `window-buffer',
7326 `window-frame', `window-start', `window-point', `next-window'
7327 and `window-display-table'.
7328 * abbrev.el (abbrev--default-expand):
7329 * bs.el (bs--show-with-configuration):
7330 * buff-menu.el (Buffer-menu-mouse-select):
7331 * calc/calc.el (calc):
7332 * calendar/calendar.el (calendar-generate-window):
7333 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7334 (diary-make-entry):
7335 * comint.el (send-invisible, comint-dynamic-complete-filename)
7336 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7337 * completion.el (complete):
7338 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7339 * disp-table.el (describe-current-display-table):
7340 * doc-view.el (doc-view-insert-image):
7341 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7342 * ehelp.el (with-electric-help):
7343 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7344 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7345 * emacs-lisp/helper.el (Helper-help-scroller):
7346 * emulation/cua-base.el (cua--post-command-handler-1):
7347 * eshell/esh-mode.el (eshell-output-filter):
7348 * ffap.el (ffap-gnus-wrapper):
7349 * help-macro.el (make-help-screen):
7350 * hilit-chg.el (highlight-compare-buffers):
7351 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7352 * hl-line.el (global-hl-line-highlight):
7353 * icomplete.el (icomplete-simple-completing-p):
7354 * isearch.el (isearch-done):
7355 * jit-lock.el (jit-lock-stealth-fontify):
7356 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7357 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7358 * mpc.el (mpc-tagbrowser, mpc):
7359 * net/rcirc.el (rcirc-any-buffer):
7360 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7361 * play/landmark.el (landmark-max-width, landmark-max-height):
7362 * play/zone.el (zone):
7363 * progmodes/compile.el (compilation-goto-locus):
7364 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7365 * progmodes/etags.el (find-tag-other-window):
7366 * progmodes/fortran.el (fortran-column-ruler):
7367 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7368 * progmodes/verilog-mode.el (verilog-point-text):
7369 * reposition.el (reposition-window):
7370 * rot13.el (toggle-rot13-mode):
7371 * server.el (server-switch-buffer):
7372 * shell.el (shell-dynamic-complete-command)
7373 (shell-dynamic-complete-environment-variable):
7374 * simple.el (insert-buffer, set-selective-display)
7375 (delete-completion-window):
7376 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7377 (speedbar-recenter):
7378 * startup.el (fancy-splash-head):
7379 * textmodes/ispell.el (ispell-command-loop):
7380 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7381 * tutorial.el (help-with-tutorial):
7382 * vc/add-log.el (add-change-log-entry):
7383 * vc/compare-w.el (compare-windows):
7384 * vc/ediff-help.el (ediff-indent-help-message):
7385 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7386 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7387 (ediff-setup-control-frame):
7388 * vc/emerge.el (emerge-position-region):
7389 * vc/pcvs-util.el (cvs-bury-buffer):
7390 * window.el (walk-windows, mouse-autoselect-window-select):
7391 * winner.el (winner-set-conf, winner-undo): Related users changed.
7392
38276e01
JB
73932013-08-05 Juanma Barranquero <lekktu@gmail.com>
7394
7395 * frameset.el (frameset--set-id): Doc fix.
7396 (frameset-frame-id, frameset-frame-id-equal-p)
7397 (frameset-locate-frame-id): New functions.
7398 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7399 (frameset-restore): Use them.
7400
12b4c0ea
DA
74012013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7402
7403 Do not call to `selected-frame' where it is assumed by default.
7404 Affected functions are `raise-frame', `redraw-frame',
7405 `frame-first-window', `frame-terminal' and `delete-frame'.
7406 * calendar/appt.el (appt-disp-window):
7407 * epg.el (epg-wait-for-completion):
7408 * follow.el (follow-delete-other-windows-and-split)
7409 (follow-avoid-tail-recenter):
7410 * international/mule.el (set-terminal-coding-system):
7411 * mail/rmail.el (rmail-mail-return):
7412 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7413 * progmodes/f90.el (f90-add-imenu-menu):
7414 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7415 * server.el (server-switch-buffer):
7416 * simple.el (delete-completion-window):
7417 * talk.el (talk):
7418 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7419 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7420 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7421 * vc/ediff.el (ediff-documentation): Related users changed.
7422 * frame.el (selected-terminal): Remove the leftover.
7423
17f25e76
GM
74242013-08-05 Glenn Morris <rgm@gnu.org>
7425
7426 * calendar/calendar.el (calendar-generate-month):
7427 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7428 (calendar-generate-month, calendar-font-lock-keywords):
7429 Fix for calendar-day-header-width > length of any day name.
17f25e76 7430
063233c3
JB
74312013-08-05 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * desktop.el (desktop-clear): Use new name of sort predicate.
7434
7435 * frameset.el (frameset): Add docstring. Move :version property to its
7436 own `version' slot.
7437 (frameset-copy): Rename from copy-frameset.
7438 (frameset-p): Check more thoroughly.
7439 (frameset-prop): Do not check for :version, which is no longer a prop.
7440 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7441 Use new :never value instead of t.
7442 (frameset-filter-alist): Expand and clarify docstring.
7443 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7444 (frameset-filter-minibuffer, frameset-filter-save-param)
7445 (frameset-filter-restore-param, frameset-filter-iconified):
7446 Add pointer to docstring of frameset-filter-alist.
7447 (frameset-filter-params): Rename filter values to be more meaningful:
7448 :never instead of t, and reverse the meanings of :save and :restore.
7449 (frameset--process-minibuffer-frames): Clarify error message.
7450 (frameset-save): Avoid unnecessary and confusing call to framep.
7451 Use new BOA constructor for framesets.
7452 (frameset--reuse-list): Doc fix.
7453 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7454 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7455 (frameset-minibufferless-first-p): Doc fix.
7456 Rename from frameset-sort-frames-for-deletion.
7457 (frameset-restore): Doc fixes. Use new function names.
7458 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7459
d5671a82
JB
74602013-08-04 Juanma Barranquero <lekktu@gmail.com>
7461
7462 * desktop.el (desktop-restore-forces-onscreen)
7463 (desktop-restore-reuses-frames): Document :keyword constant values.
7464 (desktop-filter-parameters-alist): Remove, now identical to
7465 frameset-filter-alist.
7466 (desktop--filter-tty*): Remove, moved to frameset.el.
7467 (desktop-save-frameset, desktop-restore-frameset):
7468 Do not pass :filters argument.
7469
7470 * frameset.el (frameset-live-filter-alist)
7471 (frameset-persistent-filter-alist): New variables.
7472 (frameset-filter-alist): Use them. Add autoload cookie.
7473 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7474 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7475 `frameset--id' (it's supposed to be internal to frameset.el).
7476 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7477 (frameset--initial-params): New function.
7478 (frameset--get-frame): Use it. Doc fix.
7479 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7480 Accept :all, not 'all.
7481 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7482 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7483 with fbound symbols. Fix frame id matching, and remove matching ids if
7484 the frame being restored is deleted. Obey :delete.
7485
671d5c16
SM
74862013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * subr.el (macrop): New function.
7489 (text-clone--maintaining): New var.
7490 (text-clone--maintain): Rename from text-clone-maintain. Use it
7491 instead of inhibit-modification-hooks.
7492
7493 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7494 a proxy, so as handle autoloads and redefinitions of the target.
7495 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7496
7497 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7498 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7499 (pcase--mutually-exclusive-p): New function.
7500 (pcase--split-consp): Use it.
7501 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7502 mutually exclusive with the current predicate.
7503
7504 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7505 (edebug-macrop): Remove. Use `macrop' instead.
7506 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7507 (ad-macro-p):
7508 * eshell/esh-cmd.el (eshell-macrop):
7509 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7510
1d44e9dc
SM
75112013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7514 (advice-mapc): New function, using it.
7515 (advice-function-member-p): New function.
7516 (advice--normalize): Store the cdr in advice--saved-rewrite since
7517 that's the part that will be changed.
7518 (advice--symbol-function): New function.
7519 (advice-remove): Handle removal before the function is defined.
7520 Adjust to new advice--saved-rewrite.
7521 (advice-member-p): Use advice-function-member-p and
7522 advice--symbol-function.
7523
5414a283
JB
75242013-08-04 Juanma Barranquero <lekktu@gmail.com>
7525
51d30f2c
JB
7526 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7527 (frameset-filter-minibuffer): Doc fix.
7528 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7529 (frameset--set-id, frameset--process-minibuffer-frames)
7530 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7531 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7532
5414a283
JB
7533 * desktop.el (desktop-clear): Only delete frames when called
7534 interactively and desktop-restore-frames is non-nil. Doc fix.
7535 (desktop-read): Set desktop-saved-frameset to nil.
7536
ab419665
XF
75372013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7538
7539 * vc/vc.el (vc-ignore): Rewrite.
7540 (vc-default-ignore-completion-table):
7541 (vc--read-lines):
7542 (vc--add-line, vc--remove-regexp): New functions.
7543
7544 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7545 (vc-svn-ignore-completion-table): New function.
7546
7547 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7548 (vc-hg-ignore-completion-table):
7549 (vc-hg-find-ignore-file): New functions.
7550
7551 * vc/vc-git.el (vc-git-ignore): Rewrite.
7552 (vc-git-ignore-completion-table):
7553 (vc-git-find-ignore-file): New functions.
7554
7555 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7556
7557 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7558 (vc-bzr-ignore-completion-table):
7559 (vc-bzr-find-ignore-file): New functions.
7560
2613dea2
JB
75612013-08-03 Juanma Barranquero <lekktu@gmail.com>
7562
7563 * frameset.el (frameset-prop): New function and setter.
7564 (frameset-save): Do not modify frame list passed by the caller.
7565
9c959872
SM
75662013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7569
a104f656
SM
75702013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7571
70122acf
SM
7572 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7573 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7574
a104f656
SM
7575 * custom.el (custom-initialize-default, custom-initialize-set)
7576 (custom-initialize-reset, custom-initialize-changed): Affect the
7577 toplevel-default-value (bug#6275, bug#14586).
7578 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7579 for bug#6275.
7580
f078d570
JB
75812013-08-02 Juanma Barranquero <lekktu@gmail.com>
7582
185e3b5a
JB
7583 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7584 Add cl-def* expressions.
7585
f078d570
JB
7586 * frameset.el (frameset-filter-params): Fix order of arguments.
7587
9421876d
JB
75882013-08-02 Juanma Barranquero <lekktu@gmail.com>
7589
7590 Move code related to saving frames to frameset.el.
7591 * desktop.el: Require frameset.
7592 (desktop-restore-frames): Doc fix.
7593 (desktop-restore-reuses-frames): Rename from
7594 desktop-restoring-reuses-frames.
7595 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7596 (desktop-clear): Clear frames too.
7597 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7598 (desktop--filter-tty*, desktop-save, desktop-read):
7599 Use frameset functions.
7600 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7601 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7602 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7603 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7604 (desktop--process-minibuffer-frames, desktop-save-frames)
7605 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7606 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7607 (desktop--sort-states, desktop-restoring-frames-p)
7608 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7609 (desktop-restoring-frameset-p, desktop-restore-frameset)
7610 (desktop--check-dont-save, desktop-save-frameset): New functions.
7611 (desktop--app-id): New constant.
7612 (desktop-first-buffer, desktop-buffer-ok-count)
7613 (desktop-buffer-fail-count): Move before first use.
7614 * frameset.el: New file.
7615
76dc5996
SM
76162013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * files.el: Use lexical-binding.
7619 (dir-locals-read-from-file): Remove unused `err' variable.
7620 (hack-dir-local-variables--warned-coding): New var.
7621 (hack-dir-local-variables): Use it to avoid repeated warnings.
7622 (make-backup-file-name--default-function): New function.
7623 (make-backup-file-name-function): Use it as default.
7624 (buffer-stale--default-function): New function.
7625 (buffer-stale-function): Use it as default.
7626 (revert-buffer-insert-file-contents--default-function): New function.
7627 (revert-buffer-insert-file-contents-function): Use it as default.
7628 (insert-directory): Avoid add-to-list.
7629
7630 * autorevert.el (auto-revert-handler): Simplify.
7631 Use buffer-stale--default-function.
7632
06d36e2b
TH
76332013-08-01 Tassilo Horn <tsdh@gnu.org>
7634
5f648ab4
TH
7635 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7636
06d36e2b
TH
7637 * whitespace.el (whitespace-ensure-local-variables): New function.
7638 (whitespace-cleanup-region): Call it.
7639 (whitespace-turn-on): Call it.
7640
a43dc424
MA
76412013-08-01 Michael Albinus <michael.albinus@gmx.de>
7642
7643 Complete file name handlers.
7644
7645 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7646 (tramp-handle-verify-visited-file-modtime)
7647 (tramp-handle-file-notify-rm-watch): New functions.
7648 (tramp-call-process): Do not bind `default-directory'.
7649
44e18199
JB
7650 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7651 Order alphabetically.
a43dc424
MA
7652 [access-file, add-name-to-file, dired-call-process]:
7653 [dired-compress-file, file-acl, file-notify-rm-watch]:
7654 [file-ownership-preserved-p, file-selinux-context]:
7655 [make-directory-internal, make-symbolic-link, set-file-acl]:
7656 [set-file-selinux-context, set-visited-file-modtime]:
7657 [verify-visited-file-modtime]: Add handler.
7658 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7659
7660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7661 [file-notify-add-watch, file-notify-rm-watch]:
7662 [set-file-times, set-visited-file-modtime]:
7663 [verify-visited-file-modtime]: Add handler.
7664 (with-tramp-gvfs-error-message)
7665 (tramp-gvfs-handle-set-visited-file-modtime)
7666 (tramp-gvfs-fuse-file-name): Remove.
7667 (tramp-gvfs-handle-file-notify-add-watch)
7668 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7669 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7670
44e18199
JB
7671 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7672 Order alphabetically.
a43dc424
MA
7673 [file-notify-rm-watch ]: Use default Tramp handler.
7674 [executable-find]: Remove private handler.
7675 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7676 `default-directory'.
7677 (tramp-sh-handle-executable-find)
7678 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7679 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7680 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7681 Do not use `format' in `tramp-message'.
7682
7683 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7684 [file-notify-rm-watch, set-visited-file-modtime]:
7685 [verify-visited-file-modtime]: Add handler.
7686 (tramp-smb-call-winexe): Do not bind `default-directory'.
7687
7188b515
XF
76882013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7689
7690 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7691
2412ee1a
DG
76922013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7693
7694 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7695 use it.
7696 (log-view-diff-changeset): Same.
7697 (log-view-diff-common): Call backend command `previous-revision'
7698 to find out the previous revision, in both cases. Swap the
7699 variables `to' and `fr', so that `fr' usually refers to the
7700 earlier revision (Bug#14989).
7701
5002a754
KRC
77022013-07-31 Kan-Ru Chen <kanru@kanru.info>
7703
7704 * ibuf-ext.el (ibuffer-filter-by-filename):
7705 Make it work with dired buffers too.
7706
44e18199 77072013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7708
7709 * emacs-lisp/re-builder.el (reb-color-display-p):
7710 * files.el (save-buffers-kill-terminal):
7711 * net/browse-url.el (browse-url):
7712 * server.el (server-save-buffers-kill-terminal):
7713 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7714 Prefer nil to selected-frame for the first arg of frame-parameter.
7715
aeca3fbb
XF
77162013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7717
7718 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7719
158bc55c
SB
77202013-07-30 Stephen Berman <stephen.berman@gmx.net>
7721
7722 * minibuffer.el (completion--twq-all): Try and preserve each
7723 completion's case choice (bug#14907).
7724
d50fceab
LMI
77252013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
ac38e731
LMI
7727 * net/network-stream.el (open-network-stream): Mention the new
7728 :nogreeting parameter.
7729 (network-stream-open-starttls): Use the :nogreeting parameter
7730 (bug#14938).
7731
1211de50
LMI
7732 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7733
997798bf
LMI
7734 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7735 more natural than popping.
7736
d50fceab 7737 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7738 (shr-urlify): Highlight under mouse.
d50fceab 7739
5c09de04
XF
77402013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7741
207d1d04
XF
7742 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7743
7744 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7745
5c09de04
XF
7746 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7747 buffer for output.
7748
3cd51eaa
XF
7749 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7750 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7751
44e18199 7752 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7753 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7754
7755 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7756
7757 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7758 buffer for output.
7759
35a89bdd
EZ
77602013-07-29 Eli Zaretskii <eliz@gnu.org>
7761
7762 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7763 initial frame is minibuffer-less. (Bug#14841)
7764
78822e94
MA
77652013-07-29 Michael Albinus <michael.albinus@gmx.de>
7766
7767 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7768 option.
7769
7770 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7771 (tramp-maybe-open-connection): Use it.
7772
9503c190
JB
77732013-07-28 Juanma Barranquero <lekktu@gmail.com>
7774
7775 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7776 minimal set of parameters passed when creating a frame, because
7777 the minibuffer status of a frame cannot be changed later.
7778
d5a845b4
SB
77792013-07-28 Stephen Berman <stephen.berman@gmx.net>
7780
7781 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7782 replace-regexp-in-string and inadvertent omissions in previous change.
7783 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7784 name of filtered items buffer.
d5a845b4 7785
ddeffb17
JB
77862013-07-28 Juanma Barranquero <lekktu@gmail.com>
7787
7788 * desktop.el: Optionally force offscreen frames back onscreen.
7789 (desktop-restoring-reuses-frames): New option.
7790 (desktop--compute-pos, desktop--move-onscreen): New functions.
7791 (desktop--make-frame): Use desktop--move-onscreen.
7792
f5950f7a
AM
77932013-07-27 Alan Mackenzie <acm@muc.de>
7794
7795 Fontify a Java generic method as a function.
7796 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7797 value to t.
7798
ae43b66a
SB
77992013-07-27 Stephen Berman <stephen.berman@gmx.net>
7800
7801 * calendar/todo-mode.el: Add command to rename todo files.
7802 (todo-rename-file): New command.
7803 (todo-key-bindings-t): Add key binding for it. Change the
7804 bindings of todo-filter-regexp-items(-multifile) to use `x'
7805 instead of `r', since the latter is better suited to the new
7806 renaming command.
7807
5ab78d3d
AM
78082013-07-27 Alan Mackenzie <acm@muc.de>
7809
7810 Make Java try-with-resources statement parse properly.
7811 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7812 (c-block-stmt-1-2-key): New language constants/variables.
7813 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7814 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7815 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7816 with c-block-stmt-1-2-key.
5ab78d3d 7817
d85c4d50
JB
78182013-07-27 Juanma Barranquero <lekktu@gmail.com>
7819
7820 * desktop.el (desktop--make-frame): Apply most frame parameters after
7821 creating the frame to force (partially or totally) offscreen frames to
7822 be restored as such.
7823
e4c467f9
XF
78242013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7825
7826 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7827 (Bug#14948)
e4c467f9 7828
7ced0d04
SM
78292013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7832 `base' arg of backtrace-frame.
7833
fec92060
EZ
78342013-07-26 Eli Zaretskii <eliz@gnu.org>
7835
7836 * simple.el (list-processes): Doc fix.
7837
d58d31fb
JB
78382013-07-26 Juanma Barranquero <lekktu@gmail.com>
7839
7840 * desktop.el (desktop--select-frame):
d85c4d50 7841 Try harder to reuse existing frames.
d58d31fb 7842
53ff3e77
SM
78432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7846 (edebug-eval): Use backtrace-eval.
7847 (edebug--display, edebug--recursive-edit): Don't let-bind the
7848 edebug-outer-* vars that keep track of variables we locally let-bind.
7849 (edebug-outside-excursion): Don't restore outside values of locally
7850 let-bound vars.
7851 (edebug--display): Use user-error.
7852 (cl-lexical-debug, cl-debug-env): Remove.
7853
045f7a53
JB
78542013-07-26 Juanma Barranquero <lekktu@gmail.com>
7855
7856 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7857 are restored to be sure that they are visible before deleting any
7858 remaining ones.
7859
59070b32
MM
78602013-07-26 Matthias Meulien <orontee@gmail.com>
7861
742a3501
XF
7862 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7863 vc-print-root-log. (Bug#14948)
59070b32 7864
b1fb3596
RS
78652013-07-26 Richard Stallman <rms@gnu.org>
7866
7867 Add aliases for encrypting mail.
7868 * epa.el (epa-mail-aliases): New option.
7869 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7870 Bind inhibit-read-only so read-only text doesn't ruin everything.
7871 (epa-mail-default-recipients): New subroutine broken out.
7872 Handle epa-mail-aliases.
7873
56ea7291
SM
78742013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 Add support for lexical variables to the debugger's `e' command.
7877 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7878 vars, except for debugger-outer-match-data.
7879 (debugger-frame-number): Move check for "on a function call" from
7880 callers into it. Add `skip-base' argument.
7881 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7882 (debugger-env-macro): Only reset the state stored in non-variables,
7883 i.e. current-buffer and match-data.
7884 (debugger-eval-expression): Rewrite using backtrace-eval.
7885 * subr.el (internal--called-interactively-p--get-frame): Remove.
7886 (called-interactively-p):
7887 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7888 `base' arg of backtrace-frame instead.
7889
15ac32d5
GM
78902013-07-26 Glenn Morris <rgm@gnu.org>
7891
8358a09d
GM
7892 * align.el (align-regexp): Doc fix. (Bug#14857)
7893 (align-region): Explicit error if subexpression missing/does not match.
7894
15ac32d5
GM
7895 * simple.el (global-visual-line-mode):
7896 Do not duplicate the mode lighter. (Bug#14858)
7897
f47ad11b
MR
78982013-07-25 Martin Rudalics <rudalics@gmx.at>
7899
7900 * window.el (display-buffer): In display-buffer bind
7901 split-window-keep-point to t, bug#14829.
7902
02530987
JB
79032013-07-25 Juanma Barranquero <lekktu@gmail.com>
7904
7905 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7906 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7907 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7908 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7909 Change accordingly.
f63ebeb5
JB
7910 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7911 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7912
6ccb9cab 79132013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7914
6ccb9cab 7915 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7916
cb3a56d2
JB
79172013-07-25 Juanma Barranquero <lekktu@gmail.com>
7918
7919 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7920 parameter to modify-frame-parameters if the value has not changed;
7921 this is a workaround for bug#14949.
7922 (desktop--make-frame): On cl-delete-if call, check parameter name,
7923 not full parameter.
7924
7aa7fff0
XF
79252013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7926
7927 * vc/vc.el (vc-ignore): New function.
7928
7929 * vc/vc-svn.el (vc-svn-ignore): New function.
7930
7931 * vc/vc-hg.el (vc-hg-ignore): New function.
7932
7933 * vc/vc-git.el (vc-git-ignore): New function.
7934
7935 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7936 (vc-dir-ignore): New function.
7937
7938 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7939 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7940
7941 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7942
7943 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7944
889acc5c
JB
79452013-07-24 Juanma Barranquero <lekktu@gmail.com>
7946
7947 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7948 (desktop-restore-frames): Warn when deleting an existing frame failed.
7949
86c40970
GM
79502013-07-24 Glenn Morris <rgm@gnu.org>
7951
7952 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7953
d5d3c58a
MA
79542013-07-24 Michael Albinus <michael.albinus@gmx.de>
7955
7956 * filenotify.el (file-notify-supported-p):
7957 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7958 Remove functions.
7959
7960 * autorevert.el (auto-revert-use-notify):
7961 (auto-revert-notify-add-watch):
7962 * net/tramp.el (tramp-file-name-for-operation):
7963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7965 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7966 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7967 Remove `file-notify-supported-p' entry.
7968
d100084b
GM
79692013-07-24 Glenn Morris <rgm@gnu.org>
7970
7971 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7972 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7973
ac93e56b
SM
79742013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7975
249eea30
SM
7976 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7977 checked with memq (bug#14935).
7978
ac93e56b
SM
7979 * files.el (revert-buffer-function): Use a non-nil default.
7980 (revert-buffer-preserve-modes): Declare var to
7981 provide access to the `preserve-modes' argument.
7982 (revert-buffer): Let-bind it.
7983 (revert-buffer--default): New function, extracted from revert-buffer.
7984
2cdeb903
SM
79852013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * lpr.el: Signal print errors more prominently.
7988 (print-region-function): Don't default to nil.
7989 (lpr-print-region): New function, extracted from print-region-1.
7990 Check lpr's return value and signal an error in case of problem.
7991 (print-region-1): Use it.
7992 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7993 versions instead.
7994 (ps-printer-name): Default to nil.
7995 (ps-printer-name-option): Default to lpr-printer-switch.
7996 (ps-print-region-function): Don't default to nil.
7997 (ps-postscript-code-directory): Simplify default.
7998 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7999 (ps-string-list, ps-eval-switch, ps-flatten-list)
8000 (ps-flatten-list-1): Remove.
8001 (ps-multibyte-buffer): Avoid setq.
8002 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8003 (print-region-function, ps-print-region-function): Don't set them here.
8004
73600831
XF
80052013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8006
0e55c076
XF
8007 * ido.el (ido-fractionp):
8008 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8009 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8010 (ido-max-directory-size, ido-max-dir-file-cache)
8011 (ido-decorations): Doc fix.
8012
73600831
XF
8013 * ansi-color.el: Fix old URL.
8014
3d012865
MM
80152013-07-23 Michael R. Mauger <michael@mauger.com>
8016
e903c210 8017 * progmodes/sql.el: Version 3.3
3d012865
MM
8018 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8019 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8020 (sql-interactive-remove-continuation-prompt): Rewrite, use
8021 functions above. Fix continuation prompt and complete output line
8022 handling.
8023 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8024 redirected output buffer.
8025 (sql-mode): Restore deleted code (Bug#13591).
8026
da77a2e2
JB
80272013-07-23 Juanma Barranquero <lekktu@gmail.com>
8028
8029 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8030
80ff0c71
MA
80312013-07-23 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8034
8035 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8036 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8038
b61d71e4
JB
80392013-07-23 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * desktop.el (desktop-clear): Simplify; remove useless checks
8042 against invalid buffer names.
8043 (desktop-list*): Use cl-list*.
8044 (desktop-buffer-info, desktop-create-buffer): Simplify.
8045
c3512092
LL
80462013-07-23 Leo Liu <sdl.web@gmail.com>
8047
8048 * bookmark.el (bookmark-make-record): Restore NAME as a default
8049 value. (Bug#14933)
8050
0ac26976
SM
80512013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8052
7d22ce18
SM
8053 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8054 extracted from autoload--insert-text.
8055 (autoload--insert-text): Remove.
8056 (autoload--print-cookie-text): New function, extracted from
8057 autoload--insert-cookie-text.
8058 (autoload--insert-cookie-text): Remove.
8059 (autoload-generate-file-autoloads): Adjust calls accordingly.
8060
9b2607e8
SM
8061 * winner.el (winner-hook-installed-p): Remove.
8062 (winner-mode): Simplify accordingly.
8063
c43a8618
SM
8064 * subr.el (add-to-list): Fix compiler-macro when `append' is
8065 not constant. Don't use `cl-member' for the base case.
8066
0ac26976
SM
8067 * progmodes/subword.el: Fix boundary case (bug#13758).
8068 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8069 own group.
8070 (subword-backward-regexp): Make it a constant.
8071 (subword-forward-internal): Don't treat a trailing capital as the
8072 beginning of a word.
8073
6874724a
AR
80742013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8075
8076 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8077 global value of tabulated-list-revert-hook (bug#14930).
8078
70f1b5e8
JB
80792013-07-22 Juanma Barranquero <lekktu@gmail.com>
8080
a1c80d9d
JB
8081 * desktop.el: Require 'cl-lib.
8082 (desktop-before-saving-frames-functions): New hook.
8083 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8084 for frames being saved. Rename from desktop--save-minibuffer-frames.
8085 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8086 Do not save frames with non-nil `desktop-dont-save' parameter.
8087 Filter out deleted frames.
a1c80d9d
JB
8088 (desktop--find-frame): Use cl-find-if.
8089 (desktop--select-frame): Use cl-(first|second|third) to access values
8090 of desktop-mini.
8091 (desktop--make-frame): Use cl-delete-if.
8092 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8093 (desktop-restore-frames): Use cl-(first|second|third) to access values
8094 of desktop-mini. Look for visible frame at the end, not while
8095 restoring frames.
8096
70f1b5e8
JB
8097 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8098 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8099 Use string-match-p, looking-at-p (bug#14927).
8100
728dc3cc
JB
81012013-07-21 Juanma Barranquero <lekktu@gmail.com>
8102
56bc453c
JB
8103 * desktop.el (desktop-saved-frame-states):
8104 Rename from desktop--saved-states; all users changed.
8105 (desktop-save-frames): Rename from desktop--save-frames.
8106 Do not save state to desktop file.
8107 (desktop-save): Save desktop-saved-frame-states to desktop file
8108 and reset to nil.
8109 (desktop-restoring-frames-p): New function.
8110 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8111 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8112 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8113
728dc3cc
JB
8114 * desktop.el: Correctly restore iconified frames.
8115 (desktop--filter-iconified-position): New function.
8116 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8117
862f1c9c
GM
81182013-07-20 Glenn Morris <rgm@gnu.org>
8119
c4074c9f
GM
8120 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8121 Let `message' do the formatting.
8122 (def-gdb-preempt-display-buffer): Add explicit format.
8123
d828e5f9
GM
8124 * image-dired.el (image-dired-track-original-file):
8125 Use with-current-buffer.
8126 (image-dired-track-thumbnail): Use with-current-buffer.
8127 Avoid changing point of wrong window.
8128
862f1c9c
GM
8129 * image-dired.el (image-dired-track-original-file):
8130 Avoid changing point of wrong window. (Bug#14909)
8131
f0398ec1 81322013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8133
8134 * progmodes/gdb-mi.el (gdb-done-or-error):
8135 Guard against "%" in gdb output. (Bug#14127)
8136
1451928f
AS
81372013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8138
763a086d
JB
8139 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8140 (Bug#14826)
f7a03897 8141
1451928f
AS
8142 * international/mule.el (coding-system-iso-2022-flags): Fix last
8143 change.
8144
99107004
KH
81452013-07-20 Kenichi Handa <handa@gnu.org>
8146
763a086d
JB
8147 * international/mule.el (coding-system-iso-2022-flags):
8148 Add `8-bit-level-4'. (Bug#8522)
99107004 8149
48494e06
LMI
81502013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8151
8ba8eec5
LMI
8152 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8153 (bug#14815).
8154
dfbc66e3
LMI
8155 * net/eww.el (eww-process-text-input): Allow inputting when the
8156 point is at the start of the line, as the properties aren't
8157 front-sticky.
8158
48494e06
LMI
8159 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8160 degenerate widths.
8161
77c92cb9
RS
81622013-07-19 Richard Stallman <rms@gnu.org>
8163
aec7da77
RS
8164 * epa.el (epa-popup-info-window): Doc fix.
8165
77c92cb9
RS
8166 * subr.el (split-string): New arg TRIM.
8167
945c5bb1
JB
81682013-07-18 Juanma Barranquero <lekktu@gmail.com>
8169
8170 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8171 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8172
e06ec67f
MA
81732013-07-18 Michael Albinus <michael.albinus@gmx.de>
8174
c7064f05 8175 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8176 `file-notify-support'. Do not autoload. Adapt all uses.
8177 (file-notify-supported-p): New defun.
8178
c7064f05
JB
8179 * autorevert.el (auto-revert-use-notify):
8180 Use `file-notify-supported-p' instead of `file-notify-support'.
8181 Adapt docstring.
e06ec67f
MA
8182 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8183
8184 * net/tramp.el (tramp-file-name-for-operation):
8185 Add `file-notify-supported-p'.
8186
8187 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8188 New defun.
8189 (tramp-sh-file-name-handler-alist): Add it as handler for
8190 `file-notify-supported-p '.
8191
8192 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8193 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8194 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8195 Add `ignore' as handler for `file-notify-*' functions.
8196
5dc8a629
EZ
81972013-07-17 Eli Zaretskii <eliz@gnu.org>
8198
8199 * simple.el (line-move-partial, line-move): Don't start vscroll or
8200 scroll-up if the current line is not taller than the window.
8201 (Bug#14881)
8202
77aea2fb
DG
82032013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8204
8205 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8206 highlight question marks in the method names as strings.
ac72c08d
DG
8207 (ruby-block-beg-keywords): Inline.
8208 (ruby-font-lock-keyword-beg-re): Extract from
8209 `ruby-font-lock-keywords'.
77aea2fb 8210
18c26d81
JD
82112013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8212
8213 * frame.el (blink-cursor-blinks): New defcustom.
8214 (blink-cursor-blinks-done): New defvar.
8215 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8216 (blink-cursor-timer-function): Check if number of blinks has been
8217 done on X and NS.
8218 (blink-cursor-suspend, blink-cursor-check): New defuns.
8219
da48522e
GM
82202013-07-15 Glenn Morris <rgm@gnu.org>
8221
8222 * edmacro.el (edmacro-format-keys): Fix previous change.
8223
0463c1ef
PE
82242013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8225
8226 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8227 The hack didn't work outside English locales anyway.
8228
b43f6451
JB
82292013-07-15 Juanma Barranquero <lekktu@gmail.com>
8230
8231 * simple.el (define-alternatives): Rename from alternatives-define,
8232 per RMS' suggestion.
8233
b958c0ad
JB
82342013-07-14 Juanma Barranquero <lekktu@gmail.com>
8235
8236 * desktop.el (desktop-restore-frames): Change default to t.
8237 (desktop-restore-in-current-display): Now offer more options.
8238 (desktop-restoring-reuses-frames): New customization option.
8239 (desktop--saved-states): Doc fix.
8240 (desktop-filter-parameters-alist): New variable, renamed and expanded
8241 from desktop--excluded-frame-parameters.
8242 (desktop--target-display): New variable.
8243 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8244 (desktop--filter-tty*, desktop--filter-*-color)
8245 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8246 (desktop--filter-save-desktop-parm)
8247 (desktop-restore-in-original-display-p): New functions.
8248 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8249 (desktop--save-minibuffer-frames): New function, inspired by a similar
8250 function from Martin Rudalics.
8251 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8252 (desktop--restore-in-this-display-p): Remove.
8253 (desktop--find-frame): Rename from desktop--find-frame-in-display
8254 and add predicate argument.
8255 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8256 (desktop--reuse-list): New variable.
8257 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8258 New functions.
8259 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8260
f6dd8b36
MA
82612013-07-14 Michael Albinus <michael.albinus@gmx.de>
8262
8263 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8264
2ce3c565
DG
82652013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8266
763a086d
JB
8267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8268 Highlight conversion methods on Kernel.
2ce3c565 8269
2cdb7698
AM
82702013-07-13 Alan Mackenzie <acm@muc.de>
8271
8272 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8273 and comment it out. This out-commenting enables certain C++
8274 declarations to be parsed correctly.
8275
1a67b811
EZ
82762013-07-13 Eli Zaretskii <eliz@gnu.org>
8277
1b796d6b
EZ
8278 * international/mule.el (define-coding-system): Doc fix.
8279
1a67b811
EZ
8280 * simple.el (default-font-height): Don't call font-info if the
8281 frame's default font didn't change since the frame was created.
8282 (Bug#14838)
8283
58fbe886
LL
82842013-07-13 Leo Liu <sdl.web@gmail.com>
8285
8286 * ido.el (ido-read-file-name): Guard against non-symbol value.
8287
1f0480d4
FEG
82882013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8289
8290 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8291 in nested defuns.
8292
97ead0e5
LL
82932013-07-13 Leo Liu <sdl.web@gmail.com>
8294
8295 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8296 ido-set-matches call. (Bug#6852)
8297
0880a952
DG
82982013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8299
8300 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8301 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8302 Ruby 2.0.
8303 (ruby-font-lock-keywords): Distinguish calls to functions with
8304 module-like names from module references. Highlight character
8305 literals.
8306
a7d8babb
SDJ
83072013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8308
8309 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8310 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8311
acfcc8c5
JB
83122013-07-12 Juanma Barranquero <lekktu@gmail.com>
8313
8314 * desktop.el (desktop--v2s): Remove unused local variable.
8315 (desktop-save-buffer): Make defvar-local; adjust docstring.
8316 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8317 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8318
051f2775
AS
83192013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8320
8321 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8322
f24e7572
GM
83232013-07-12 Eli Zaretskii <eliz@gnu.org>
8324
8325 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8326 (Bug#14842)
8327
539a920c
GM
83282013-07-12 Glenn Morris <rgm@gnu.org>
8329
8330 * doc-view.el: Require cl-lib at runtime too.
8331 (doc-view-remove-if): Remove.
8332 (doc-view-search-next-match, doc-view-search-previous-match):
8333 Use cl-remove-if.
8334
8335 * edmacro.el: Require cl-lib at runtime too.
8336 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8337 (edmacro-mismatch, edmacro-subseq): Remove.
8338
8339 * shadowfile.el: Require cl-lib.
8340 (shadow-remove-if): Remove.
8341 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8342 Use cl-remove-if.
8343
8344 * wid-edit.el: Require cl-lib.
8345 (widget-choose): Use cl-remove-if.
8346 (widget-remove-if): Remove.
8347
8348 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8349 (ebrowse-delete-if-not): Remove.
8350 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8351 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8352 Use cl-delete-if-not.
8353
1048af7c
JB
83542013-07-12 Juanma Barranquero <lekktu@gmail.com>
8355
8356 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8357 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8358
6c0674ee
LL
83592013-07-12 Leo Liu <sdl.web@gmail.com>
8360
8361 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8362
a19b3c2d
GM
83632013-07-11 Glenn Morris <rgm@gnu.org>
8364
4582a01c
GM
8365 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8366 (edebug-gensym-index, edebug-gensym):
8367 Remove reimplementation of cl-gensym.
8368 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8369
8370 * thumbs.el: Require cl-lib at run-time too.
8371 (thumbs-gensym-counter, thumbs-gensym):
8372 Remove reimplementation of cl-gensym.
8373 (thumbs-temp-file): Use cl-gensym.
8374
a19b3c2d
GM
8375 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8376 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8377 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8378 (ert--union, ert--gensym-counter, ert--gensym-counter)
8379 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8380 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8381 (ert-make-test-unbound, ert--expand-should-1)
8382 (ert--expand-should, ert--should-error-handle-error)
8383 (should-error, ert--explain-equal-rec)
8384 (ert--plist-difference-explanation, ert-select-tests)
8385 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8386 Use cl-lib functions rather than reimplementations.
8387
88f6a933
MA
83882013-07-11 Michael Albinus <michael.albinus@gmx.de>
8389
8390 * net/tramp.el (tramp-methods): Extend docstring.
8391 (tramp-connection-timeout): New defcustom.
8392 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8393 (with-tramp-progress-reporter): Simplify.
8394 (tramp-process-actions): Improve messages.
8395
8396 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8397 * net/tramp-sh.el (tramp-maybe-open-connection):
8398 Use `tramp-connection-timeout'.
8399 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8400 (Bug#14808)
8401
a43d577e
LL
84022013-07-11 Leo Liu <sdl.web@gmail.com>
8403
8404 * ido.el (ido-read-file-name): Conform to the requirements of
8405 read-file-name. (Bug#11861)
8406 (ido-read-directory-name): Conform to the requirements of
8407 read-directory-name.
8408
d77974bf
JB
84092013-07-11 Juanma Barranquero <lekktu@gmail.com>
8410
8411 * subr.el (delay-warning): New function.
8412
35cb8a3e
EZ
84132013-07-10 Eli Zaretskii <eliz@gnu.org>
8414
8415 * simple.el (default-line-height): New function.
8416 (line-move-partial, line-move): Use it instead of computing the
8417 line height inline.
8418 (line-move-partial): Always compute ROWH. If the last line is
8419 partially-visible, but its text is completely visible, allow
8420 cursor to enter such a partially-visible line.
8421
525c5c77
MA
84222013-07-10 Michael Albinus <michael.albinus@gmx.de>
8423
8424 Improve error messages. (Bug#14808)
8425
8426 * net/tramp.el (tramp-current-connection): New defvar, moved from
8427 tramp-sh.el.
0ac26976 8428 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8429 needed anymore.
0ac26976
SM
8430 (tramp-error-with-buffer): Show message in minibuffer.
8431 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8432 (with-tramp-progress-reporter): Improve messages.
8433 (tramp-process-actions): Use progress reporter. Delete process in
8434 case of error. Improve messages.
8435
763a086d
JB
8436 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8437 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8438 (tramp-current-connection): Remove.
525c5c77
MA
8439 (tramp-maybe-open-connection): The car of
8440 `tramp-current-connection' are the first 3 slots of the vector.
8441
c7a4d368
TZ
84422013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8443
8444 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8445 inside continued strings.
8446
954b166e
PE
84472013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8448
8449 Timestamp fixes for undo (Bug#14824).
8450 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8451
56973319
LL
84522013-07-10 Leo Liu <sdl.web@gmail.com>
8453
8454 * files.el (require-final-newline): Allow safe local value.
8455 (Bug#14834)
8456
5550a72c
LL
84572013-07-09 Leo Liu <sdl.web@gmail.com>
8458
8459 * ido.el (ido-read-directory-name): Handle fallback.
8460 (ido-read-file-name): Update DIR to ido-current-directory.
8461 (Bug#1516)
c28b9050 8462 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8463
70c46b28
DG
84642013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8465
8466 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8467 "autoload". Remove "warn lower camel case" section, previously
8468 commented out. Highlight negation char. Do not highlight the
8469 target in singleton method definitions.
8470
0b64b838
SM
84712013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8472
7fd72e2c
SM
8473 * faces.el (tty-setup-hook): Declare the hook.
8474
0b64b838
SM
8475 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8476 and detect when a guard/pred depends on local vars (bug#14773).
8477 (pcase--u1): Adjust caller.
8478
ab49d60b
EZ
84792013-07-08 Eli Zaretskii <eliz@gnu.org>
8480
8481 * simple.el (line-move-partial, line-move): Account for
8482 line-spacing.
701d79aa
EZ
8483 (line-move-partial): Avoid setting vscroll when the last
8484 partially-visible line in window is of default height.
ab49d60b 8485
2d756ae0
LMI
84862013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8487
8488 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8489 been used a while.
8490
ed095bd7
JB
84912013-07-07 Juanma Barranquero <lekktu@gmail.com>
8492
8493 * subr.el (read-quoted-char): Remove unused local variable `char'.
8494
f1e6674b
MK
84952013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8496
584ee3fc
GM
8497 * ediff.el (ediff-version): Version update.
8498 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8499 (ediff-merge-with-ancestor-command, ediff-directories-command)
8500 (ediff-directories3-command, ediff-merge-directories-command)
8501 (ediff-merge-directories-with-ancestor-command): New functions.
8502 All are command-line interfaces to ediff: to facilitate calling
8503 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8504
8505 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8506 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8507
584ee3fc
GM
8508 * viper.el (viper-version): Version update.
8509 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8510
584ee3fc
GM
85112013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8514 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8515 (viper-intercept-ESC-key): Simplify.
8516 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8517 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8518 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8519 (viper-setup-ESC-to-escape): New functions.
8520 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8521 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8522
9aff9b38
EZ
85232013-07-07 Eli Zaretskii <eliz@gnu.org>
8524
5165d44a
JB
8525 * simple.el (default-font-height, window-screen-lines):
8526 New functions.
9aff9b38
EZ
8527 (line-move, line-move-partial): Use them instead of
8528 frame-char-height and window-text-height. This makes scrolling
8529 text smoother when the buffer's default face uses a font that is
8530 different from the frame's default font.
8531
1afb1d07
JD
85322013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8533
8534 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8535 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8536
23de972a
EZ
85372013-07-06 Eli Zaretskii <eliz@gnu.org>
8538
8539 * simple.el (line-move-partial): Adjust the row returned by
8540 posn-at-point for the current window-vscroll. (Bug#14567)
8541
54a42486
MA
85422013-07-06 Michael Albinus <michael.albinus@gmx.de>
8543
8544 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8545 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8546 spaces.
8547
34ada5f4
MR
85482013-07-06 Martin Rudalics <rudalics@gmx.at>
8549
8550 * window.el (window-state-put-stale-windows): New variable.
8551 (window--state-put-2): Save list of windows without matching buffer.
8552 (window-state-put): Remove "bufferless" windows if possible.
8553
11e03d89
JB
85542013-07-06 Juanma Barranquero <lekktu@gmail.com>
8555
8556 * simple.el (alternatives-define): Remove leftover :group keyword.
8557 Tweak docstring.
8558
3504a4be
LL
85592013-07-06 Leo Liu <sdl.web@gmail.com>
8560
8561 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8562 (ido-enable-virtual-buffers): New variable.
8563 (ido-buffer-internal, ido-toggle-virtual-buffers)
8564 (ido-make-buffer-list): Use it.
8565 (ido-exhibit): Support turning on and off virtual buffers
8566 automatically.
8567
61e56e2c
JB
85682013-07-06 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * simple.el (alternatives-define): New macro.
8571
321e1a9c
SM
85722013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * subr.el (read-quoted-char): Use read-key.
8575 (sit-for): Let read-event decode tty input (bug#14782).
8576
d610f6dd
SB
85772013-07-05 Stephen Berman <stephen.berman@gmx.net>
8578
8579 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8580 mode command and externally. Fix various related bugs.
8581 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8582 (todo-delete-file): New command.
8583 (todo-check-file): New function.
8584 (todo-show): Handle external deletion of the file we're trying to
8585 show (bug#14688). Replace called-interactively-p by an optional
8586 prefix argument to avoid problematic interaction with catch form
8587 when byte compiled (bug#14702).
8588 (todo-quit): Handle external deletion of the archive's todo file.
8589 Make sure the buffer that was visiting the archive file is still
8590 live before trying to bury it.
8591 (todo-category-completions): Handle external deletion of any
8592 category completion files.
8593 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8594 of todo files, in case of external deletion.
8595 (todo-add-file): Replace unnecessary setq by let-binding.
8596 (todo-find-archive): Check whether there are any archives.
8597 Replace unnecessary setq by let-binding.
8598 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8599 archive buffer whether or not the archive already exists.
8600 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8601 check if the archive is new; if it is, update list of archives.
8602 (todo-default-todo-file): Allow nil to be a valid value for when
8603 there are no todo files.
8604 (todo-reevaluate-default-file-defcustom): Use corrected definition
8605 of todo-default-todo-file.
8606 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8607 (todo-delete-category, todo-show-categories-table)
8608 (todo-category-number): Clarify comment.
8609 (todo-filter-items): Clarify documentation string.
8610 (todo-show-current-file, todo-display-as-todo-file)
8611 (todo-reset-and-enable-done-separator): Tweak documentation string.
8612 (todo-done-separator): Make separator length window-width, since
8613 bug#2749 is now fixed.
8614
ddbdfd6f
MA
86152013-07-05 Michael Albinus <michael.albinus@gmx.de>
8616
321e1a9c
SM
8617 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8618 Support both "gvfs-monitor-dir" and "inotifywait".
8619 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8620 `tramp-sh-file-notify-process-filter'.
8621 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8622 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8623
96eb829a
LL
86242013-07-05 Leo Liu <sdl.web@gmail.com>
8625
8626 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8627
cf13177e
YM
86282013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8629
8630 * frame.el (display-pixel-height, display-pixel-width)
8631 (display-mm-height, display-mm-width): Mention behavior on
8632 multi-monitor setups in docstrings.
8633 (w32-display-monitor-attributes-list): Declare function.
8634 (display-monitor-attributes-list): Use it.
8635
864c58ca
MA
86362013-07-04 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * filenotify.el: New package.
8639
8640 * autorevert.el (top): Require filenotify.el.
8641 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8642 instead.
8643 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8644 (auto-revert-notify-handler): Use `file-notify-*' functions.
8645
8646 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8647
321e1a9c
SM
8648 * net/tramp.el (tramp-file-name-for-operation):
8649 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8650
8651 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8652 for `file-notify-add-watch' and `file-notify-rm-watch'.
8653 (tramp-process-sentinel): Improve trace.
8654 (tramp-sh-handle-file-notify-add-watch)
8655 (tramp-sh-file-notify-process-filter)
8656 (tramp-sh-handle-file-notify-rm-watch)
8657 (tramp-get-remote-inotifywait): New defuns.
8658
96673afe
JL
86592013-07-03 Juri Linkov <juri@jurta.org>
8660
8661 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8662 call of `occur-read-primary-args' to interactive spec.
8663
8664 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8665 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8666
924494f4
MM
86672013-07-03 Matthias Meulien <orontee@gmail.com>
8668
8669 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8670 `Buffer-menu-multi-occur'. Add it to the menu.
8671 (Buffer-menu-mode): Document it in docstring.
8672 (Buffer-menu-multi-occur): New command. (Bug#14673)
8673
56f75efc
DG
86742013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8675
8676 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8677 keywords and built-ins.
8678
9b057d61
GM
86792013-07-03 Glenn Morris <rgm@gnu.org>
8680
208dee4d
GM
8681 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8682
9b057d61
GM
8683 Make info-xref checks case-sensitive by default
8684 * info.el (Info-find-node, Info-find-in-tag-table)
8685 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8686 Add option for exact case matching of nodes.
8687 * info-xref.el (info-xref): New custom group.
8688 (info-xref-case-fold): New option.
8689 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8690
e01aa29c
LL
86912013-07-03 Leo Liu <sdl.web@gmail.com>
8692
8693 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8694
3086ca2e
DG
86952013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8696
8697 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8698 middle of block statement initially, lower the depth. Remove
8699 FIXME comment, not longer valid. Remove middle of block statement
8700 detection, no need to do that anymore since we've been using
8701 `ruby-parse-region' here.
8702
a3b49114
JD
87032013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8704
8705 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8706
08e5c823 87072013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8708
8709 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8710
2addf922
JB
87112013-07-01 Juanma Barranquero <lekktu@gmail.com>
8712
8713 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8714 (desktop-restore-in-current-display): New customization option.
8715 (desktop--excluded-frame-parameters): Add `font'.
8716 (desktop--save-frames): Rename from desktop--save-windows.
8717 (desktop--restore-in-this-display-p): New function.
8718 (desktop--make-full-frame): Remove unwanted width/height from
8719 full(width|height) frames.
8720 (desktop--restore-frames): Rename from desktop--restore-windows.
8721 Obey desktop-restore-current-display. Do not delete old frames or
8722 select a new frame unless we were able to restore at least one frame.
8723
ef099a94
MN
87242013-06-30 Michal Nazarewicz <mina86@mina86.com>
8725
8726 * files.el (find-file-noselect): Simplify conditional expression.
8727
a12bf61e 8728 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8729 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8730
8731 Add `remember-notes' function to store random notes across Emacs
8732 restarts.
3fcfc4ee
JB
8733 * textmodes/remember.el (remember-data-file): Add :set callback to
8734 affect notes buffer (if any).
ef099a94
MN
8735 (remember-notes): New command.
8736 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8737 New defcustoms for the `remember-notes' function.
8738 (remember-notes-save-and-bury-buffer): New command.
8739 (remember-notes-mode-map): New variable.
8740 (remember-mode): New minor mode.
8741 (remember-notes--kill-buffer-query): New function.
8742 * startup.el (initial-buffer-choice): Add notes to custom type.
8743
0865d506
EZ
87442013-06-30 Eli Zaretskii <eliz@gnu.org>
8745
0ba54312
EZ
8746 * bindings.el (right-char, left-char): Don't call sit-for, this is
8747 no longer needed. Use arithmetic comparison only for numerical
8748 arguments.
8749
ef099a94
MN
8750 * international/mule-cmds.el (select-safe-coding-system):
8751 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8752
2fae38e5
LMI
87532013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8754
8755 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8756 progression on degenerate tables.
ef099a94 8757 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8758
a47cbd64
JB
87592013-06-30 Juanma Barranquero <lekktu@gmail.com>
8760
8761 Some fixes and improvements for desktop frame restoration.
8762 It is still experimental and disabled by default.
8763 * desktop.el (desktop--save-windows): Put the selected frame at
8764 the head of the list.
8765 (desktop--make-full-frame): New function.
8766 (desktop--restore-windows): Try to re-select the frame that was
8767 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8768 just show an error message and continue. Set up maximized frames
8769 so they have default non-maximized dimensions.
a47cbd64 8770
6dbafa30
DG
87712013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8772
ef099a94
MN
8773 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8774 Don't start heredoc inside a string or comment.
6dbafa30 8775
4c672a0f
EZ
87762013-06-29 Eli Zaretskii <eliz@gnu.org>
8777
8778 * bindings.el (visual-order-cursor-movement): New defcustom.
8779 (right-char, left-char): Provide visual-order cursor motion by
8780 calling move-point-visually. Update the doc strings.
8781
50960f36
KH
87822013-06-28 Kenichi Handa <handa@gnu.org>
8783
8784 * international/mule.el (define-coding-system): New coding system
8785 properties :inhibit-null-byte-detection,
8786 :inhibit-iso-escape-detection, and :prefer-utf-8.
8787 (set-buffer-file-coding-system): If :charset-list property of
8788 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8789 appropriate for setting.
8790
c1ea3abf
JB
8791 * international/mule-cmds.el (select-safe-coding-system):
8792 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8793 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8794
8795 * international/mule-conf.el (prefer-utf-8): New coding system.
8796 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8797 files.
8798
75dbaf9d
IK
87992013-06-28 Ivan Kanis <ivan@kanis.fr>
8800
eadb6068
IK
8801 * net/shr.el (shr-render-region): New function.
8802
75dbaf9d
IK
8803 * net/eww.el: Autoload `eww-browse-url'.
8804
9ea5cf9f
DG
88052013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8806
c1ea3abf
JB
8807 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8808 Adapt to `package-desc-version' being a list.
8809 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8810 archive element.
8811
39c0e36f
JB
88122013-06-27 Juanma Barranquero <lekktu@gmail.com>
8813
8814 New experimental feature to save&restore window and frame setup.
8815 * desktop.el (desktop-save-windows): New defcustom.
8816 (desktop--saved-states): New var.
8817 (desktop--excluded-frame-parameters): New defconst.
8818 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8819 (desktop--restore-windows, desktop--save-windows): New functions.
8820 (desktop-save): Call `desktop--save-windows'.
8821 (desktop-read): Call `desktop--restore-windows'.
8822
7f13406b
LMI
88232013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8824
ef099a94 8825 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8826
1e072639
SB
88272013-06-27 Stephen Berman <stephen.berman@gmx.net>
8828
8829 * info.el (Info-try-follow-nearest-node): Move search for footnote
8830 above search for node name to prevent missing a footnote (bug#14717).
8831
f3e2cbde
SB
88322013-06-27 Stephen Berman <stephen.berman@gmx.net>
8833
8834 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8835
99906aa0
LL
88362013-06-27 Leo Liu <sdl.web@gmail.com>
8837
8838 * net/eww.el (eww-read-bookmarks): Check file size.
8839
539f75f4
SM
88402013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8843 advice--pending if newdef is nil or an autoload (bug#13820).
8844 (advice-mapc): New function.
8845
843571cb
LMI
88462013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8847
8848 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8849 probably.
23a75d7f 8850 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8851 (eww-add-bookmark): New command.
8852 (eww-bookmark-mode): New mode and commands.
a285ce99 8853 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8854 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8855
f2136e1e
GM
88562013-06-26 Glenn Morris <rgm@gnu.org>
8857
eab35f39
GM
8858 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8859 (hfy-size): Handle ttys. (Bug#14668)
8860
f2136e1e
GM
8861 * info-xref.el: Update for Texinfo 5 change in *note format.
8862 (info-xref-node-re, info-xref-note-re): New constants.
8863 (info-xref-check-buffer): Use info-xref-note-re.
8864
a49ff80c
SM
88652013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8866
a343d218
SM
8867 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8868
a49ff80c
SM
8869 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8870 nil terminate the loop (bug#14718).
8871
8308f184
LMI
88722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8873
8874 * net/eww.el: Rework history traversal. When going forward/back,
8875 put these actions into the history, too, so that they can be
8876 replayed.
26bf2b82 8877 (eww-render): Move the history reset to the correct buffer.
8308f184 8878
ec64c273
JL
88792013-06-25 Juri Linkov <juri@jurta.org>
8880
8881 * files-x.el (modify-dir-local-variable): Change the header comment
8882 in the file with directory local variables. (Bug#14692)
8883
e080a9d7
JL
8884 * files-x.el (read-file-local-variable-value): Add `default'.
8885 (Bug#14710)
8886
bfbc93a1
IK
88872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8888
8889 * net/eww.el (eww-make-unique-file-name): Create a unique file
8890 name before saving to entering `y' accidentally asynchronously.
8891
88922013-06-25 Ivan Kanis <ivan@kanis.fr>
8893
8894 * net/eww.el (eww-download): New command and keystroke.
8895
16f74f10
LMI
88962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8897
a49ff80c 8898 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8899
8900 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8901 be more consistent with Info and dired.
8902
8903 * net/eww.el (eww-mode-map): Ditto.
8904
12059709
SM
89052013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8908 packages from archives.
8909 (package-archive-contents): Change format; include obsolete packages.
8910 (package-desc): Use `dir' to mark builtin packages.
8911 (package--from-builtin): Set the `dir' field to `builtin'.
8912 (generated-autoload-file, version-control): Declare.
8913 (package-compute-transaction): Change first arg and return value to be
8914 lists of package-descs. Adjust to new package-archive-contents format.
8915 (package--add-to-archive-contents): Adjust to new
8916 package-archive-contents format.
8917 (package-download-transaction): Arg is now a list of package-descs.
8918 (package-install): If `pkg' is a package name, pass it as
8919 a requirement, so it is subject to the usual (e.g. disabled) checks.
8920 (describe-package): Accept package-desc as well.
8921 (describe-package-1): Describe a specific package-desc. Add links to
8922 other package-descs for the same package name.
8923 (package-menu-describe-package): Pass the actual package-desc.
8924 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8925 works correctly.
8926 (package-desc-status): New function.
8927 (package-menu--refresh): New function, extracted
8928 from package-menu--generate.
8929 (package-menu--generate): Use it.
8930 (package-delete): Update package-alist.
8931 (package-menu-execute): Don't call package-initialize.
8932
8933 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8934 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8935 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8936 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8937 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8938 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8939
8bbdea0f
MR
89402013-06-25 Martin Rudalics <rudalics@gmx.at>
8941
8942 * window.el (window--state-get-1): Workaround for bug#14527.
8943 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8944
e82b0991
LMI
89452013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946
8947 * net/eww.el (eww-back-url): Implement the history by stashing all
8948 the data into a list.
d3f0f918 8949 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8950
c763842b
SM
89512013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8954 for values and use read--expression for expressions (bug#14710).
8955 (read-file-local-variable): Avoid setq.
8956 (read-file-local-variable-mode): Use minor-mode-list.
8957
bceff189
RW
89582013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8959
864c58ca 8960 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8961 for DOI URLs.
8962
45f431c6
RW
89632013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8964
864c58ca 8965 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8966 Update imenu-support when dialect changes.
8967
f42d8237
LL
89682013-06-25 Leo Liu <sdl.web@gmail.com>
8969
8970 * ido.el (ido-read-internal): Allow forward slash on windows.
8971
be549ce6
LMI
89722013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8973
8974 * net/eww.el (eww): Start of strings is \\`, not ^.
8975
71d4c19d
IK
89762013-06-24 Ivan Kanis <ivan@kanis.fr>
8977
5196f88a
IK
8978 * net/shr.el (shr-browse-url): Fix interactive spec.
8979
71d4c19d
IK
8980 * net/eww.el (eww): Add a trailing slash to domain names.
8981
ae36ca55
JB
89822013-06-24 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8985
0ebd92a3
LMI
89862013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8987
bdaa086b
LMI
8988 * net/shr.el (shr-browse-url): Use an external browser if given a
8989 prefix.
8990
c763842b 8991 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8992
b89fc156
IK
89932013-06-24 Ivan Kanis <ivan@kanis.fr>
8994
8995 * net/eww.el (eww): Work more correctly for file: URLs.
8996 (eww-detect-charset): Allow quoted charsets.
8997 (eww-yank-page-url): New command and keystroke.
8998
18eb4bca
DU
89992013-06-24 Daiki Ueno <ueno@gnu.org>
9000
9001 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9002 file name of gpg executable.
9003 (epg-context-program): New function.
9004 (epg-context-home-directory): New function.
9005 (epg-context-set-program): New function.
9006 (epg-context-set-home-directory): New function.
9007 (epg--start): Use `epg-context-program' instead of
9008 'epg-gpg-program'.
9009 (epg--list-keys-1): Likewise.
9010
6c6268c8
LL
90112013-06-24 Leo Liu <sdl.web@gmail.com>
9012
9013 * ido.el (ido-read-internal): Fix bug#14620.
9014
5e400cb3
JB
90152013-06-23 Juanma Barranquero <lekktu@gmail.com>
9016
9017 * faces.el (face-documentation): Simplify.
9018 (read-face-attribute, tty-find-type, x-resolve-font-name):
9019 Use `string-match-p'.
9020 (list-faces-display): Use `string-match-p'. Simplify.
9021 (face-spec-recalc): Check face to avoid face alias loops.
9022 (read-color): Use `string-match-p' and non-capturing parenthesis.
9023
f3f9606c
LMI
90242013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9025
9026 * net/shr.el (shr-rescale-image): Use the new
9027 :max-width/:max-height functionality.
9028
a3ca09b9
IK
90292013-06-23 Ivan Kanis <ivan@kanis.fr>
9030
9031 * net/eww.el (eww-search-prefix): New variable.
9032 (eww): Use it.
f865b474
IK
9033 (eww-external-browser): New variable.
9034 (eww-mode-map): New keystroke.
9035 (eww-browse-with-external-browser): New command.
a3ca09b9 9036
e854cfc7
IK
9037 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9038
18bb9e21
JB
90392013-06-23 Juanma Barranquero <lekktu@gmail.com>
9040
9041 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9042 Don't skip aligning the next header field when padding is 0;
9043 otherwise, field width is not respected unless the title is as
9044 wide as the field.
9045
5b165ade
SM
90462013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * emacs-lisp/package.el (package-el-version): Remove.
9049 (package-process-define-package): Fix inf-loop.
9050 (package-install): Allow symbols as arguments again.
9051
12adebe9
DG
90522013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9053
9054 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9055 add some more keyword-like methods.
9056 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9057
388573ee
JB
90582013-06-22 Juanma Barranquero <lekktu@gmail.com>
9059
9060 * bs.el (bs-buffer-show-mark): Make defvar-local.
9061 (bs-mode): Use setq-local.
9062
9063 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9064 (emacs-lock--try-unlocking): Make defvar-local.
9065
4582a01c 90662013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9067
2663dd23
GM
9068 * play/cookie1.el (cookie-apropos): Minor simplification.
9069
3d94f3ad
GM
9070 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9071
f72e2fdb
DG
90722013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9073
9074 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9075 `regexp-opt', it breaks the build during dumping.
9076
73eab938
DG
90772013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9078
c763842b
SM
9079 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9080 Highlight keyword-like methods on Kernel and Module with
73eab938 9081 font-lock-builtin-face.
5cf8176d
DG
9082 (auto-mode-alist): Consolidate different entries into one regexp
9083 and add more *file-s.
73eab938 9084
d26255f6
SB
90852013-06-21 Stephen Berman <stephen.berman@gmx.net>
9086
9087 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9088
9089 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9090 (diary-entry): Use it in the action of this button type instead of
9091 diary-goto-entry.
9092
9093 * calendar/todo-mode.el: New version.
9094 (todo-add-category): Append new category to end of file and give
9095 it the highest number, instead of putting it at the beginning and
9096 giving it 0. Incorporate noninteractive functionality.
9097 (todo-forward-category): Adapt to 1-based category numbering.
9098 Allow skipping over archived categories.
9099 (todo-backward-category): Derive from todo-forward-category.
9100 (todo-backward-item, todo-forward-item): Make noninteractive and
9101 delegate interactive part to new commands. Make sensitive to done items.
9102 (todo-categories): Make value an alist of category names and
9103 vectors of item counts.
9104 (todo-category-beg): Make a defconst.
9105 (todo-category-number): Use 1 instead of 0 as initial value.
9106 (todo-category-select): Make sensitive to overlays, optional item
9107 highlighting and done items.
9108 (todo-delete-item): Make sensitive to overlays and marked and done items.
9109 (todo-edit-item): Make sensitive to overlays and editing of
9110 date/time header optional. Add format checks.
9111 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9112 no-op if point is not on an item. Advertise using todo-edit-quit.
9113 (todo-edit-mode): Make sensitive to new format, font-locking, and
9114 multiple todo files.
9115 (todo-insert-item, todo-insert-item-here): Derive from
9116 todo-basic-insert-item and extend functionality.
9117 (todo-item-end, todo-item-start): Make sensitive to done items.
9118 (todo-item-string): Don't return text properties. Restore point.
9119 (todo-jump-to-category): Make sensitive to multiple todo files and
9120 todo archives. Use extended category completion.
9121 (todo-lower-item, todo-raise-item): Rename to *-priority and
9122 derive from todo-set-item-priority.
9123 (todo-mode): Derive from special-mode. Make sensitive to new
9124 format, font-locking and multiple todo files. Make read-only.
9125 (todo-mode-map): Don't suppress digit keys, so they can supply
9126 prefix arguments. Add many new key bindings.
9127 (todo-prefix): Insert as an overlay instead of file text.
9128 Change semantics from diary date expression to purely visual mark.
9129 (todo-print): Rename to todo-print-buffer. Make buffer display
9130 features printable. Remove option to restrict number of items
9131 printed. Add option to print to file.
9132 (todo-print-function): Rename to todo-print-buffer-function.
9133 (todo-quit): Extend to handle exiting new todo modes.
9134 (todo-remove-item): Make sensitive to overlays.
9135 (todo-save): Extend to buffers of filtered items.
9136 (todo-show): Make sensitive to done items, multiple todo files and
9137 new todo modes. Offer to convert legacy todo file before creating
9138 first new todo file.
9139 (todo-show-priorities): Rename to todo-top-priorities.
9140 Change semantics of value 0.
9141 (todo-top-priorities): Rename to todo-filter-top-priorities,
9142 derive from todo-filter-items and extend functionality.
9143 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9144 and extend functionality to other types of filtered items.
9145 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9146 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9147 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9148 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9149 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9150 (todo-edit-mode-hook, todo-entry-prefix-function)
9151 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9152 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9153 (todo-initials, todo-insert-threshold, todo-item-string-start)
9154 (todo-line-string, todo-menu, todo-mode-hook)
9155 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9156 (todo-print-priorities, todo-remove-separator)
9157 (todo-save-top-priorities-too, todo-string-count-lines)
9158 (todo-string-multiline-p, todo-time-string-format)
9159 (todo-tmp-buffer-name): Remove.
9160 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9161 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9162 (todo-edit-category-diary-inclusion)
9163 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9164 (todo-edit-file, todo-edit-item-date-day)
9165 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9166 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9167 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9168 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9169 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9170 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9171 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9172 (todo-filter-top-priorities-multifile, todo-find-archive)
9173 (todo-find-filtered-items-file, todo-go-to-source-item)
9174 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9175 (todo-jump-to-archive-category, todo-lower-category)
9176 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9177 (todo-move-category, todo-move-item, todo-next-button)
9178 (todo-next-item, todo-padded-string, todo-powerset)
9179 (todo-previous-button, todo-previous-item)
9180 (todo-print-buffer-to-file, todo-raise-category)
9181 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9182 (todo-set-category-number, todo-set-item-priority)
9183 (todo-set-top-priorities-in-category)
9184 (todo-set-top-priorities-in-file, todo-show-categories-table)
9185 (todo-sort-categories-alphabetically-or-numerically)
9186 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9187 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9188 (todo-toggle-item-header, todo-toggle-item-highlighting)
9189 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9190 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9191 (todo-unarchive-items, todo-unmark-category): New commands.
9192 (todo-absolute-file-name, todo-add-to-buffer-list)
9193 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9194 (todo-basic-insert-item, todo-category-completions)
9195 (todo-category-number, todo-category-string-matcher-1)
9196 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9197 (todo-check-format, todo-clear-matches)
9198 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9199 (todo-current-category, todo-date-string-matcher)
9200 (todo-define-insertion-command, todo-diary-expired-matcher)
9201 (todo-diary-goto-entry, todo-diary-item-p)
9202 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9203 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9204 (todo-done-item-section-p, todo-done-separator)
9205 (todo-done-string-matcher, todo-files, todo-filter-items)
9206 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9207 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9208 (todo-insert-category-line, todo-insert-item-from-calendar)
9209 (todo-insert-sort-button, todo-insert-with-overlays)
9210 (todo-insertion-command-name, todo-insertion-key-bindings)
9211 (todo-label-to-key, todo-longest-category-name-length)
9212 (todo-make-categories-list, todo-mode-external-set)
9213 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9214 (todo-modes-set-3, todo-multiple-filter-files)
9215 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9216 (todo-read-category, todo-read-date, todo-read-dayname)
9217 (todo-read-file-name, todo-read-time)
9218 (todo-reevaluate-category-completions-files-defcustom)
9219 (todo-reevaluate-default-file-defcustom)
9220 (todo-reevaluate-filelist-defcustoms)
9221 (todo-reevaluate-filter-files-defcustom)
9222 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9223 (todo-reset-done-separator, todo-reset-done-separator-string)
9224 (todo-reset-done-string, todo-reset-global-current-todo-file)
9225 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9226 (todo-reset-prefix, todo-set-categories)
9227 (todo-set-date-from-calendar, todo-set-show-current-file)
9228 (todo-set-top-priorities, todo-short-file-name)
9229 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9230 (todo-total-item-counts, todo-update-buffer-list)
9231 (todo-update-categories-display, todo-update-categories-sexp)
9232 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9233 New functions.
9234 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9235 New major modes.
9236 (todo-categories, todo-display, todo-edit, todo-faces)
9237 (todo-filtered): New defgroups.
9238 (todo-archived-only, todo-button, todo-category-string, todo-date)
9239 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9240 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9241 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9242 (todo-add-item-if-new-category, todo-always-add-time-string)
9243 (todo-categories-align, todo-categories-archived-label)
9244 (todo-categories-category-label, todo-categories-diary-label)
9245 (todo-categories-done-label, todo-categories-number-separator)
9246 (todo-categories-todo-label, todo-categories-totals-label)
9247 (todo-category-completions-files, todo-completion-ignore-case)
9248 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9249 (todo-done-separator-string, todo-done-string)
9250 (todo-files-function, todo-filter-done-items, todo-filter-files)
9251 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9252 (todo-initial-category, todo-initial-file, todo-item-mark)
9253 (todo-legacy-date-time-regexp, todo-mode-line-function)
9254 (todo-nondiary-marker, todo-number-prefix)
9255 (todo-print-buffer-function, todo-show-current-file)
9256 (todo-show-done-only, todo-show-first, todo-show-with-done)
9257 (todo-skip-archived-categories, todo-top-priorities-overrides)
9258 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9259 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9260 New defcustoms.
9261 (todo-category-done, todo-date-pattern, todo-date-string-start)
9262 (todo-diary-items-buffer, todo-done-string-start)
9263 (todo-filtered-items-buffer, todo-item-start)
9264 (todo-month-abbrev-array, todo-month-name-array)
9265 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9266 (todo-top-priorities-buffer): New defconsts.
9267 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9268 (todo-categories-with-marks, todo-category-string-face)
9269 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9270 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9271 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9272 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9273 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9274 (todo-font-lock-keywords, todo-global-current-todo-file)
9275 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9276 (todo-insertion-commands-args)
9277 (todo-insertion-commands-args-genlist)
9278 (todo-insertion-commands-names, todo-insertion-map)
9279 (todo-key-bindings-t, todo-key-bindings-t+a)
9280 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9281 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9282 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9283 (todo-visited): New variables.
9284
cad5d1cb
GM
92852013-06-21 Glenn Morris <rgm@gnu.org>
9286
9287 * play/cookie1.el (cookie-apropos): Add optional display argument.
9288 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9289 (psychoanalyze-pinhead): Use cookie-doctor.
9290
9e277302
JB
92912013-06-21 Juanma Barranquero <lekktu@gmail.com>
9292
9293 * emacs-lisp/package.el (tar-get-file-descriptor)
9294 (tar--extract): Declare.
9295
c5b0993e
EW
92962013-06-21 Eduard Wiebe <usenet@pusto.de>
9297
9298 Extend flymake's warning predicate to be a function (bug#14217).
9299 * progmodes/flymake.el (flymake-warning-predicate): New.
9300 (flymake-parse-line): Use it.
9301 (flymake-warning-re): Make obsolete alias to
9302 `flymake-warning-predicate'.
9303
a7d2d465
SM
93042013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9307 (package-obsolete-list): Remove.
9308 (package-activate): Remove min-version argument. Add `force' argument.
9309 Adjust to new package-alist format.
9310 (package-mark-obsolete): Remove.
9311 (package-unpack): Force reload of the package's autoloads.
9312 (package-installed-p): Check builtins if the installed package is not
9313 recent enough.
9314 (package-initialize): Don't reset package-obsolete-list.
9315 Don't specify which package version to activate.
9316 (package-process-define-package, describe-package-1)
9317 (package-menu--generate): Adjust to new package-alist format.
9318
cedf5c9d
JB
93192013-06-21 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * allout-widgets.el (allout-widgets-mode-off)
9322 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9323 (allout-widgets-post-command-business)
9324 (allout-widgets-after-copy-or-kill-function)
9325 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9326 (allout-decorate-item-and-context)
9327 (allout-graphics-modification-handler): Fix typos in docstrings.
9328 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9329
9330 * cmuscheme.el (scheme-start-file): Doc fix.
9331 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9332 (scheme-input-filter): Use `string-match-p'.
9333
9334 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9335
9336 * dired-x.el: Use Dired consistently in docstrings.
9337
9338 * dired.el: Use Dired consistently in docstrings.
9339 (dired-readin, dired-mode): Use `setq-local'.
9340 (dired-switches-alist): Make defvar-local.
9341 (dired-buffers-for-dir): Use `zerop'.
9342 (dired-safe-switches-p, dired-switches-escape-p)
9343 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9344 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9345 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9346 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9347 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9348 (dired-toggle-marks, dired-mark-files-containing-regexp)
9349 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9350 (dired-flag-auto-save-files, dired-flag-backup-files):
9351 Use `looking-at-p'.
9352 (dired-mark-files-regexp, dired-build-subdir-alist):
9353 Use `string-match-p', `looking-at-p'.
9354
9355 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9356 (direct-print-region-helper): Use `string-match-p'.
9357
aed838b5
LL
93582013-06-21 Leo Liu <sdl.web@gmail.com>
9359
cedf5c9d
JB
9360 * comint.el (comint-redirect-results-list-from-process):
9361 Fix infinite loop.
aed838b5 9362
d80a808f
LMI
93632013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9364
9365 * net/eww.el (eww-update-header-line-format): Quote % characters.
9366
e7a526e3
GM
93672013-06-21 Glenn Morris <rgm@gnu.org>
9368
9369 * play/cookie1.el (cookie): New custom group.
9370 (cookie-file): New option.
9371 (cookie-check-file): New function.
9372 (cookie): Make it interactive. Make start and end messages optional.
9373 Interactively, display the result. Default to cookie-file.
9374 (cookie-insert): Default to cookie-file.
9375 (cookie-snarf): Make start and end messages optional.
9376 Default to cookie-file. Use with-temp-buffer.
9377 (cookie-read): Rename from read-cookie.
9378 Make start and end messages optional. Default to cookie-file.
9379 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9380 Do not autoload it.
e7a526e3
GM
9381 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9382 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9383
62efb35e
LL
93842013-06-21 Leo Liu <sdl.web@gmail.com>
9385
9386 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9387
21e3f963
GM
93882013-06-21 Glenn Morris <rgm@gnu.org>
9389
9390 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9391
fd846ab4
SM
93922013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9393 Daniel Hackney <dan@haxney.org>
9394
9395 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9396 Consolidate the single-file vs tarball code.
9397 (package-desc-suffix): New function.
9398 (package-desc-full-name): Don't bother inlining it.
9399 (package-load-descriptor): Return the new package-desc.
9400 (package-mark-obsolete): Remove unused arg `package'.
9401 (package-unpack): Make it work for single files as well.
9402 Make it update package-alist.
9403 (package--make-autoloads-and-stuff): Rename from
9404 package--make-autoloads-and-compile. Don't compile any more.
9405 (package--compile): New function.
9406 (package-generate-description-file): New function, extracted from
9407 package-unpack-single.
9408 (package-unpack-single): Remove.
9409 (package--with-work-buffer): Add indentation and debugging info.
9410 (package-download-single): Remove.
9411 (package-install-from-archive): Rename from package-download-tar, make
9412 it take a pkg-desc, and make it work for single files as well.
9413 (package-download-transaction): Simplify.
9414 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9415 external tar program.
9416 (package-install-from-buffer): Remove `pkg-desc' argument.
9417 Use package-tar-file-info for tar-mode buffers.
9418 (package-install-file): Simplify accordingly.
9419 (package-archive-base): Change to take a pkg-desc.
9420 * tar-mode.el (tar--check-descriptor): New function, extracted from
9421 tar-get-descriptor.
9422 (tar-get-descriptor): Use it.
9423 (tar-get-file-descriptor): New function.
9424 (tar--extract): New function, extracted from tar-extract.
9425 (tar--extract): Use it.
9426 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9427 case the summary uses non-ascii. Adjust to new calling convention of
9428 package-tar-file-info.
9429
b7deae5e
LL
94302013-06-21 Leo Liu <sdl.web@gmail.com>
9431
fd846ab4
SM
9432 * comint.el (comint-redirect-results-list-from-process):
9433 Fix random delay. (Bug#14681)
b7deae5e 9434
7a65a0b2
JB
94352013-06-21 Juanma Barranquero <lekktu@gmail.com>
9436
9437 * profiler.el (profiler-format-number): Use log, not log10.
9438
1493c2af
JB
94392013-06-20 Juanma Barranquero <lekktu@gmail.com>
9440
9441 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9442
aff6371e
SM
94432013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9446 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9447 yet available.
9448 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9449 (AUTOGENEL): ... here.
9450 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9451 (cl--defsubst-expand): Use it.
9452
89561f72
PE
94532013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9454
9455 * subr.el (log10): Move here from C code, and declare as obsolete.
9456 All uses of (log10 X) replaced with (log X 10).
9457
47199123
JB
94582013-06-20 Juanma Barranquero <lekktu@gmail.com>
9459
9460 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9461 Declare with `defvar-local'.
9462 (tabulated-list-use-header-line, tabulated-list-entries)
9463 (tabulated-list-padding, tabulated-list-printer)
9464 (tabulated-list-sort-key): Declare with `defvar-local'.
9465 (tabulated-list-init-header, tabulated-list-print-fake-header):
9466 Use `setq-local'.
9467
4a172eab
MA
94682013-06-20 Michael Albinus <michael.albinus@gmx.de>
9469
47199123
JB
9470 * arc-mode.el (archive-mode): Add `archive-write-file' to
9471 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9472
5fc0acc0
JB
94732013-06-20 Juanma Barranquero <lekktu@gmail.com>
9474
d5b27848
JB
9475 * cus-edit.el (custom-commands): Fix typos.
9476 (custom-display): Fix tooltip text.
9477 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9478 Fix typos in docstrings.
9479 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9480 (custom-unlispify-menu-entry, custom-magic-value-create)
9481 (custom-add-see-also, custom-group-value-create): Use ?\s.
9482 (custom-guess-type, customize-apropos, editable-field)
9483 (custom-face-value-create): Use `string-match-p'.
9484 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9485
9486 * custom.el (custom-load-symbol): Use `string-match-p'.
9487
a5c581d8
JB
9488 * ansi-color.el: Convert to lexical binding.
9489 (ansi-colors): Fix URL.
9490 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9491 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9492 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9493
970ad972
G
94942013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9495
9496 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9497
9498 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9499
95002013-06-19 Tom Tromey <tromey@redhat.com>
9501
9502 * net/eww.el (eww-top-url): Remove.
9503 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9504 (eww-render): Set new variables. Don't set eww-top-url.
9505 (eww-handle-link): Handle "prev", "home", and "contents".
9506 Downcase the rel text.
9507 (eww-top-url): Choose best top URL.
9508
95092013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9510
9511 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9512 relying in widget.el. Using widget.el leads to too many
9513 user interface inconsistencies.
9514 (eww-self-insert): Implement entering commands in text fields.
9515 (eww-process-text-input): New function to make text input field editing
9516 work.
9517 (eww-submit): Rewrite to use the new-style form methods.
9518 (eww-select-display): Display the correct selected item.
9519 (eww-change-select): Implement changing the select value.
9520 (eww-toggle-checkbox): Implement radio/checkboxes.
9521 (eww-update-field): Fix compilation error.
9522 (eww-tag-textarea): Implement <textarea>.
9523
9524 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9525 we don't shadow mode-specific bindings.
9526
9527 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9528 nothing to push.
9529
9530 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9531
4582a01c 95322013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9533
9534 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9535
15b263dc
MA
95362013-06-19 Michael Albinus <michael.albinus@gmx.de>
9537
9538 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9539 not needed.
9540
9541 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9542
8f5297f7
LMI
95432013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9544
9545 * net/browse-url.el (browse-url-browser-function):
9546 `eww-browse-url' has the right calling signature, `eww' does not.
9547
011c4552
GM
95482013-06-19 Glenn Morris <rgm@gnu.org>
9549
2285bd27
GM
9550 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9551 Only eval autoloaded macros.
9552 (byte-compile-autoload): Only give the macro warning for macros.
9553
1d653303
GM
9554 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9555 (ps-underlined-faces): Declare.
9556
bdd779ec
GM
9557 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9558 (speedbar-add-supported-extension): Declare.
9559
011c4552
GM
9560 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9561 Don't include a date stamp in the header of the generated file;
9562 it leads to needless differences between output files.
9563
e59dfb0e
MA
95642013-06-19 Michael Albinus <michael.albinus@gmx.de>
9565
c763842b
SM
9566 * net/secrets.el (secrets-struct-secret-content-type):
9567 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9568 Some servers do not offer introspection.
e59dfb0e 9569
102626e2
SM
95702013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * electric.el (electric-pair-mode): Improve interaction with
9573 electric-layout-mode.
9574 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9575 (electric-pair-syntax): Use text-mode-syntax-table in comments
9576 and strings.
9577 (electric-pair--insert): New function.
9578 (electric-pair-post-self-insert-function): Use it and
9579 electric--after-char-pos.
9580
ad528125
LL
95812013-06-19 Leo Liu <sdl.web@gmail.com>
9582
9583 * progmodes/octave.el (octave-help): Fix regexp.
9584
924d6997
G
95852013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9586
9587 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9588 (shr-table-horizontal-line): Allow nil as a value, and change the
9589 default.
9590 (shr-insert-table-ruler): Respect the nil value.
9591
95922013-06-18 Tom Tromey <tromey@barimba>
9593
9594 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9595 New defvars.
9596 (eww-open-file): New defun.
9597 (eww-render): Initialize new variables.
9598 (eww-display-html): Handle "link" and "a".
9599 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9600 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9601 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9602 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9603 New defuns.
924d6997 9604
d1bbba4f
DG
96052013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9606
9607 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9608 Distinguish ternary operator tokens from slash symbol and slash
9609 char literal.
9610
14dd22d2
JB
96112013-06-18 Juanma Barranquero <lekktu@gmail.com>
9612
9613 Convert symbol prettification into minor mode and global minor mode.
9614
9615 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9616 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9617 (prettify-symbols--keywords): Rename from
9618 `prog-prettify-symbols-alist' and make a local defvar.
9619 (prettify-symbols--compose-symbol): Rename from
9620 `prog--prettify-font-lock-compose-symbol'.
9621 (prettify-symbols--make-keywords): Rename from
9622 `prog-prettify-font-lock-symbols-keywords' and simplify.
9623 (prog-prettify-install): Remove.
9624 (prettify-symbols-mode): New minor mode, based on
9625 `prog-prettify-install'.
9626 (turn-on-prettify-symbols-mode): New function.
9627 (global-prettify-symbols-mode): New globalized minor mode.
9628
9629 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9630 * progmodes/cfengine.el (cfengine3-mode):
9631 * progmodes/perl-mode.el (perl-mode): Don't call
9632 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9633
292c880c
JL
96342013-06-18 Juri Linkov <juri@jurta.org>
9635
9636 * files-x.el (modify-file-local-variable-message): New function.
9637 (modify-file-local-variable)
9638 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9639 and call `modify-file-local-variable-message' when it's non-nil.
9640 (add-file-local-variable, delete-file-local-variable)
9641 (add-file-local-variable-prop-line)
9642 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9643 and use it. (Bug#9820)
9644
0950aa27
JL
96452013-06-18 Juri Linkov <juri@jurta.org>
9646
9647 * emulation/vi.el (vi-shell-op):
9648 * emulation/vip.el (vip-execute-com, ex-command):
9649 * emulation/viper-cmd.el (viper-exec-bang):
9650 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9651 the call of `shell-command-on-region'. (Bug#14637)
9652
9653 * simple.el (shell-command-on-region): Doc fix.
9654
8fbcca16
SM
96552013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9658 (bug#14633).
9659
dd7426ea
GM
96602013-06-18 Glenn Morris <rgm@gnu.org>
9661
4ba54f7d
GM
9662 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9663
dd7426ea
GM
9664 * newcomment.el (comment-search-forward, comment-search-backward):
9665 Doc fix. (Bug#14376)
9666
58aa805b
JB
96672013-06-18 Juanma Barranquero <lekktu@gmail.com>
9668
9669 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9670 (buffer-face-mode-invoke): Doc fix.
9671
9a08a617
MM
96722013-06-18 Matthias Meulien <orontee@gmail.com>
9673
9674 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9675 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9676
f2f426ca
GM
96772013-06-18 Glenn Morris <rgm@gnu.org>
9678
9445f99b
GM
9679 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9680 Replace obsolete function generic-make-keywords with its expansion.
9681
e0df2d14
GM
9682 * progmodes/python.el (ffap-alist): Declare.
9683
f2f426ca
GM
9684 * textmodes/reftex.el (bibtex-mode-map): Declare.
9685
f7f9a720
SM
96862013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9689 (package-unpack, package-unpack-single): Return the pkg-dir.
9690 (package-download-transaction): Use it to update package-alist.
9691
57ff04e0
LMI
96922013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9693
9694 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9695 possible choice.
9696
c048c022
JL
96972013-06-17 Juri Linkov <juri@jurta.org>
9698
9699 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9700
b5bcaee5
DG
97012013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9702
a020afb9
JB
9703 * emacs-lisp/package.el (package-load-descriptor):
9704 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9705 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9706
551e07e5
JB
97072013-06-17 Juanma Barranquero <lekktu@gmail.com>
9708
9709 * startup.el (command-line): Expand package name returned by
9710 `package--description-file' (bug#14639).
9711
d363bffb
DG
97122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9713
9714 * emacs-lisp/package.el (package-load-descriptor): Do not call
9715 `emacs-lisp-mode', just use its syntax table.
9716
f612933b
JB
97172013-06-17 Juanma Barranquero <lekktu@gmail.com>
9718
9719 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9720 `font-lock-extra-managed-props' if any prettifying keyword is added.
9721 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9722 (prog-mode): Use `setq-local'.
9723
db3b7db5
SM
97242013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 * international/characters.el (standard-case-table): Set syntax of ?»
9727 and ?« to punctuation.
9728
f3d674df
JB
97292013-06-16 Juanma Barranquero <lekktu@gmail.com>
9730
9731 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9732 Save relevant match data before calling `syntax-ppss' (bug#14595).
9733
31489a32
JL
97342013-06-15 Juri Linkov <juri@jurta.org>
9735
9736 * files-x.el (modify-file-local-variable-prop-line): Add local
9737 variables to the end of the existing comment on the first line.
9738 Use `file-auto-mode-skip' to skip interpreter magic line,
9739 and also skip XML declaration.
9740
66bd25ab
SM
97412013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9742
9743 * startup.el (package--builtin-versions): New var.
9744 (package-subdirectory-regexp): Remove.
9745 (package--description-file): Hard code its value instead.
9746
9747 * emacs-lisp/package.el: Don't activate packages older than builtin.
9748 (package-obsolete-list): Rename from package-obsolete-alist, and make
9749 it into a simple list of package-desc.
9750 (package-strip-version): Remove.
9751 (package-built-in-p): Use package--builtin-versions.
9752 (package-mark-obsolete): Simplify.
9753 (package-process-define-package): Mark it obsolete if older than the
9754 builtin version.
9755 (package-handle-response): Use line-end-position.
9756 (package-read-archive-contents, package--download-one-archive):
9757 Simplify.
9758 (package--add-to-archive-contents): Skip if older than the builtin or
9759 installed version.
9760 (package-menu-describe-package): Fix last change.
9761 (package-list-unversioned): New var.
9762 (package-menu--generate): Use it.
9763
9764 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9765 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9766 (autoload-builtin-package-versions): New variable.
9767 (autoload-generate-file-autoloads): Use them.
9768 Remove the list of autoloaded functions/macros from the
9769 (autoload...) comments.
9770
9771 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9772
9583ec36
EZ
97732013-06-15 Eli Zaretskii <eliz@gnu.org>
9774
9775 * simple.el (line-move-partial): Don't jump to the next screen
9776 line as soon as it becomes visible. Instead, continue enlarging
9777 the vscroll until the portion of a tall screen line that's left on
9778 display is about the height of the frame's default font.
9779 (Bug#14567)
9780
f0100d8a
GM
97812013-06-15 Glenn Morris <rgm@gnu.org>
9782
b86a85ca
GM
9783 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9784 compilation-error-regexp-alist void, or local while let-bound.
9785
f0100d8a
GM
9786 * progmodes/make-mode.el (makefile-mode-syntax-table):
9787 Treat "=" as punctuation. (Bug#14614)
9788
05e7ce90
JB
97892013-06-15 Juanma Barranquero <lekktu@gmail.com>
9790
9791 * help-fns.el (describe-variable):
9792 Add extra line for permanent-local variables.
9793
12e5e86e
SH
97942013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9795
9796 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9797 Add export, import, library. (Bug#9164)
9798 (library): Set indent function.
9799
230dcbaf
GM
98002013-06-14 Glenn Morris <rgm@gnu.org>
9801
9802 * term/xterm.el (xterm--query):
9803 Stop after first matching handler. (Bug#14615)
9804
e36b2d20 98052013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9806
9807 Add support for dired in saveplace.
9808 * dired.el (dired-initial-position-hook): New variable.
9809 (dired-initial-position): Call hook to place cursor position.
9810 * saveplace.el (save-place-to-alist): Add dired position.
9811 (save-place-dired-hook): New function.
9812
0b31660d
SM
98132013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9814
bf1e6ae8
SM
9815 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9816 through a symbol rather than letrec.
9817
1b8dff23
SM
9818 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9819 (package-desc): Add `dir' field.
9820 (package-desc-full-name): New function.
9821 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9822 (package-maybe-load-descriptor): Remove.
9823 (package-load-all-descriptors): Just call package-load-descriptor.
9824 (package--disabled-p): New function.
9825 (package-desc-vers, package-desc-doc): Remove aliases.
9826 (package--dir): Remove function.
9827 (package-activate): Check if a package is disabled.
9828 (package-process-define-package): New function, extracted from
9829 define-package.
9830 (define-package): Turn into a place holder.
9831 (package-unpack-single, package-tar-file-info):
9832 Use package--description-file.
9833 (package-compute-transaction): Use package--disabled-p.
9834 (package-download-transaction): Don't call
9835 package-maybe-load-descriptor since they're all loaded anyway.
9836 (package-install): Change argument to be a pkg-desc.
9837 (package-delete): Use a single pkg-desc argument.
9838 (describe-package-1): Use package-desc-dir instead of package--dir.
9839 Use package-desc property instead of package-symbol.
9840 (package-install-button-action): Adjust accordingly.
9841 (package--push): Rewrite.
9842 (package-menu--print-info): Adjust accordingly. Change the ID format
9843 to be a pkg-desc.
9844 (package-menu-describe-package, package-menu-get-status)
9845 (package-menu--find-upgrades, package-menu-mark-upgrades)
9846 (package-menu-execute, package-menu--name-predicate):
9847 Adjust accordingly.
9848 * startup.el (package--description-file): New function.
9849 (command-line): Use it.
9850 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9851 Use package-desc-version.
9852
0b31660d
SM
9853 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9854 (byte-compile-preprocess): Use it.
9855 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9856 can't quite recognize.
9857 (byte-compile-add-to-list): Remove.
9858 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9859 (cconv-closure-convert): Add assertion.
9860
9861 * emacs-lisp/map-ynp.el: Use lexical-binding.
9862 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9863 Factor out some repeated code.
9864
de0503df
SM
98652013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * subr.el (with-eval-after-load): New macro.
9868 (eval-after-load): Allow form to be a function.
9869 take advantage of lexical-binding.
9870 (do-after-load-evaluation): Use dolist and adjust to new format.
9871 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9872
bc5c8c5a
JL
98732013-06-13 Juri Linkov <juri@jurta.org>
9874
9875 * replace.el (perform-replace): Display "symbol " and other search
9876 modes from `isearch-message-prefix' in the *Help* buffer.
9877
9878 * isearch.el (isearch-query-replace): Add " symbol" and other
9879 possible search modes from `isearch-message-prefix' to the prompt.
9880 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9881 when reading a regexp to collect.
9882
a22289f7
JL
98832013-06-13 Juri Linkov <juri@jurta.org>
9884
9885 * isearch.el (word-search-regexp): Match whitespace if the search
9886 string begins or ends in whitespace. The LAX arg is applied to
9887 both ends of the search string. Use `regexp-quote' and explicit
9888 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9889 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9890 boundaries are replaced with symbol boundaries, and characters
9891 between symbols match non-word non-symbol syntax. (Bug#14602)
9892
cb89acab
JL
98932013-06-13 Juri Linkov <juri@jurta.org>
9894
9895 * isearch.el (isearch-del-char): Don't exceed the length of
9896 `isearch-string' by the prefix arg. (Bug#14563)
9897
6e8cfc81
JL
98982013-06-13 Juri Linkov <juri@jurta.org>
9899
9900 * isearch.el (isearch-yank-word, isearch-yank-line)
9901 (isearch-char-by-name, isearch-quote-char)
9902 (isearch-printing-char, isearch-process-search-char):
9903 Add optional count prefix arg. (Bug#14563)
9904
9905 * international/isearch-x.el
9906 (isearch-process-search-multibyte-characters):
9907 Add optional count prefix arg.
9908
c23d55f4
VS
99092013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9912 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9913 lexical-binding.
9914
99152013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9916
9917 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9918
ba947bc4
GM
99192013-06-13 Glenn Morris <rgm@gnu.org>
9920
8baeb37a
GM
9921 * startup.el (tty-handle-args):
9922 Don't just discard "--" and anything after. (Bug#14608)
9923
ba947bc4
GM
9924 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9925
9abefce4
MA
99262013-06-13 Michael Albinus <michael.albinus@gmx.de>
9927
9928 Implement changes in Secret Service API. Make it backward compatible.
9929 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9930 (secrets-create-item): Use it. Prefix properties with interface.
9931
5755011f
MH
99322013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9933
9934 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9935 (term-emulate-terminal): Respect term-suppress-hard-newline.
9936
1261d2da
S
99372013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9938
9939 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9940 Only remove a `thumb-file' overlay. (Bug#14548)
9941
868490bb
GJ
99422013-06-12 Grégoire Jadi <daimrod@gmail.com>
9943
9944 * mail/reporter.el (reporter-submit-bug-report):
9945 Handle missing package-name. (Bug#14600)
9946
79d7167f
TH
99472013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9948
9949 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9950 (reftex-citation-prompt, reftex-default-bibliography)
9951 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9952 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9953 (reftex-bib-sort-author, reftex-bib-sort-year)
9954 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9955 (reftex-extract-bib-entries-from-thebibliography)
9956 (reftex-get-bibkey-default, reftex-get-bib-names)
9957 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9958 (reftex-format-bib-entry, reftex-parse-bibitem)
9959 (reftex-format-bibitem, reftex-do-citation)
9960 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9961 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9962 (reftex-insert-bib-matches, reftex-format-citation)
9963 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9964 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9965 existing comments into docstrings.
9966
5f9dbd7a
XF
99672013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9968
9969 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9970
94df41ab
AS
99712013-06-12 Andreas Schwab <schwab@suse.de>
9972
9973 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9974 for auto-save files.
9975
a7f3fecc
GM
99762013-06-12 Glenn Morris <rgm@gnu.org>
9977
001809f6
GM
9978 * ido.el (ido-delete-ignored-files): Remove.
9979 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9980 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9981
834b5ded
EL
99822013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9983
08c73ed2
EL
9984 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9985
834b5ded
EL
9986 * ido.el (ido-delete-ignored-files): New function,
9987 split from ido-make-file-list-1.
9988 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9989 (ido-make-file-list-1): Use ido-delete-ignored-files.
9990
daabf15a
LL
99912013-06-12 Leo Liu <sdl.web@gmail.com>
9992
9993 * progmodes/octave.el (inferior-octave-startup)
9994 (inferior-octave-completion-table)
9995 (inferior-octave-track-window-width-change)
9996 (octave-eldoc-function-signatures, octave-help)
9997 (octave-find-definition): Use single quoted strings.
9998 (inferior-octave-startup-args): Change default value.
9999 (inferior-octave-startup): Do not hard code "-i" and
10000 "--no-line-editing".
10001 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10002 (inferior-octave-directory-tracker): Use it.
10003 (octave-goto-function-definition): Robustify.
10004 (octave-help): Support highlighting operators in 'See also'.
10005 (octave-find-definition): Find subfunctions only in Octave mode.
10006
cf4e5178
SM
100072013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * help-fns.el (help-fns--compiler-macro): If the handler function is
10010 named, then put a link to it.
10011 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10012 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10013 (cl-typep): Use it.
10014 (cl-eval-when): Simplify debug spec.
10015 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10016 compiler-macro function instead of setting `compiler-macro-file'.
10017
99c81280 100182013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10019
10020 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10021 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10022
f56be016
SM
100232013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10024 Daniel Hackney <dan@haxney.org>
10025
10026 First part of Daniel Hackney's patch to package.el.
10027 * emacs-lisp/package.el: Use defstruct.
10028 (package-desc): New, main struct.
10029 (package--bi-desc, package--ac-desc): New structs, used to describe the
10030 format in external files.
10031 (package-desc-vers): Replace with package-desc-version accessor.
10032 (package-desc-doc): Replace with package-desc-summary accessor.
10033 (package-activate-1): Remove `package' arg since the pkg-vec now
10034 includes the name.
10035 (define-package): Use package-desc-from-define.
10036 (package-unpack-single): Change file-name arg to be a symbol.
10037 (package--add-to-archive-contents): Use package-desc-create and new
10038 accessor functions to package--ac-desc.
10039 (package-buffer-info, package-tar-file-info): Return a package-desc.
10040 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10041 arg to be a package-desc.
10042 (package-install-file): Adjust accordingly. Use \' to match EOS.
10043 (package--from-builtin): New function.
10044 (describe-package-1, package-menu--generate): Use it.
10045 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10046 (package-generate-autoloads): Idem and return the name of the file.
10047 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10048 Change pkg-info arg to be a package-desc.
10049 Use package-make-ac-desc.
10050 (package-upload-file): Use \' to match EOS.
10051 * finder.el (finder-compile-keywords): Use package-make-builtin.
10052
31119d63
SM
100532013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10054
931a2762
SM
10055 * vc/vc.el (vc-deduce-fileset): Change error message.
10056 (vc-read-backend): New function.
10057 (vc-next-action): Use it.
10058
5a3eb0c6
SM
10059 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10060
e3eb1bb7
SM
10061 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10062 (prolog-font-lock-keywords): Use regexp-opt instead.
10063 Don't manually highlight strings.
10064 (prolog-mode-variables): Simplify comment-start-skip.
10065 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10066
31119d63
SM
10067 * emacs-lisp/generic.el (generic--normalise-comments)
10068 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10069 (generic-mode-set-comments): Use them.
10070 (generic-bracket-support): Use setq-local.
10071 (generic-make-keywords-list): Declare obsolete.
10072
7de135d0
GM
100732013-06-11 Glenn Morris <rgm@gnu.org>
10074
10075 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10076 Prettify after setting font-lock-defaults. (Bug#14574)
10077
fa6bc6fd
JB
100782013-06-11 Juanma Barranquero <lekktu@gmail.com>
10079
10080 * replace.el (query-replace, occur-read-regexp-defaults-function)
10081 (replace-search):
10082 * subr.el (declare-function, number-sequence, local-set-key)
10083 (substitute-key-definition, locate-user-emacs-file)
10084 (with-silent-modifications, split-string, eval-after-load):
10085 Fix typos, remove unneeded backslashes and reflow some docstrings.
10086
cf1f9b9a
SM
100872013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10090 default for Elisp files.
10091
56602a4b
GM
100922013-06-11 Glenn Morris <rgm@gnu.org>
10093
10094 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10095 although define-derived-mode was doing this anyway. (Bug#14583)
10096
30ae0b2c
JB
100972013-06-10 Juanma Barranquero <lekktu@gmail.com>
10098
10099 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10100 Fix make-variable-buffer-local call to refer to the correct variable.
10101
fa472906
AG
101022013-06-10 Aidan Gauland <aidalgol@amuri.net>
10103
10104 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10105 (eshell-visual-subcommands, eshell-visual-options):
10106 Add summary line to docstrings. Add cross-references.
fa472906 10107
ff4871b9
GM
101082013-06-10 Glenn Morris <rgm@gnu.org>
10109
10110 * epa.el (epa-read-file-name): New function. (Bug#14510)
10111 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10112
04fcf1b0
AG
101132013-06-09 Aidan Gauland <aidalgol@amuri.net>
10114
10115 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10116 output redirection to be ignored with visual commands.
10117
88b00caa
AG
101182013-06-09 Aidan Gauland <aidalgol@amuri.net>
10119
10120 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10121 (eshell-term-initialize): Move long lambda to separate function
10122 eshell-visual-command-p.
e7b41c4c
JB
10123 * eshell/em-dirs.el (eshell-dirs-initialise):
10124 * eshell/em-script.el (eshell-script-initialize):
10125 Add missing #' to lambda.
88b00caa 10126
fda74125
LL
101272013-06-08 Leo Liu <sdl.web@gmail.com>
10128
10129 * progmodes/octave.el (octave-add-log-current-defun): New function.
10130 (octave-mode): Set add-log-current-defun-function.
10131 (octave-goto-function-definition): Do not move point if not found.
10132 (octave-find-definition): Enhance to try subfunctions first.
10133
467f3b33
GM
101342013-06-08 Glenn Morris <rgm@gnu.org>
10135
10136 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10137 (byte-compile-backward-char, byte-compile-backward-word):
10138 Improve previous change, to handle non-explicit nil.
10139
544badc3
SM
101402013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10143 (smie--opener/closer-at-point): New function.
10144 (smie--matching-block-data): Use it. Don't match from right after an
10145 opener or right before a closer. Obey smie-blink-matching-inners.
10146 Don't signal a mismatch for repeated inners like "switch..case..case".
10147
a175bf33
LL
101482013-06-07 Leo Liu <sdl.web@gmail.com>
10149
10150 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10151 to t. (Bug#14303)
ce8209d4
LL
10152 (octave-function-header-regexp): Fix. (Bug#14570)
10153 (octave-help-mode-finish-hook, octave-help-mode-finish):
10154 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10155
10156 * newcomment.el (comment-search-backward): Revert last change.
10157 (Bug#14434)
10158
10159 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10160
a822acff
EZ
101612013-06-07 Eli Zaretskii <eliz@gnu.org>
10162
10163 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10164 through xargs, to avoid failure due to MS-Windows limitations on
10165 command-line length.
10166
961166f5
GM
101672013-06-06 Glenn Morris <rgm@gnu.org>
10168
d0341459
GM
10169 * font-lock.el (lisp-font-lock-keywords-2):
10170 Treat user-error like error.
10171
961166f5
GM
10172 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10173 (byte-compile-backward-char, byte-compile-backward-word):
10174 Handle explicit nil arguments. (Bug#14565)
10175
80fa505f
AM
101762013-06-05 Alan Mackenzie <acm@muc.de>
10177
10178 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10179 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10180 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10181 (Bug#9706)
80fa505f 10182
fccdc796
SM
101832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * autorevert.el (auto-revert-notify-handler): Use memq.
10186 Hide assertion failure.
10187
10188 * skeleton.el: Use cl-lib.
10189 (skeleton-further-elements): Use defvar-local.
10190 (skeleton-insert): Use cl-progv.
10191
9bfff84b
TZ
101922013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10193
10194 * progmodes/prog-mode.el (prog-prettify-symbols)
10195 (prog-prettify-install): Update docstrings.
10196
55577e7c
SM
101972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * simple.el: Move all the prog-mode code to prog-mode.el.
10200 * progmodes/prog-mode.el: New file.
10201 * loadup.el: Add prog-mode.el.
10202
8fc57765
TZ
102032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10204
10205 * simple.el (prog-prettify-symbols): Add version.
10206 (prog-prettify-install): Add convenience function to prettify symbols.
10207
10208 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10209 (perl--augmented-font-lock-keywords-1)
10210 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10211 variables and use it.
10212
10213 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10214 (cfengine3-mode): Remove unneeded variable and use it.
10215
10216 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10217 (lisp--augmented-font-lock-keywords-1)
10218 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10219 Remove unneeded variables and use it.
10220
650645d5 102212013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10222
10223 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10224 to point when opening the connection. (Bug#14380)
28f5da6d 10225
781b4af6
SM
102262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * subr.el (load-history-regexp, load-history-filename-element)
10229 (eval-after-load, after-load-functions, do-after-load-evaluation)
10230 (eval-next-after-load, display-delayed-warnings)
10231 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10232 definition of save-match-data.
10233 (overriding-local-map): Remove accidental obsolescence declaration.
10234
10235 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10236
3ca0d0b4
TZ
102372013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10238
10239 Generalize symbol prettify support to prog-mode and implement it
10240 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10241 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10242 (prog--prettify-font-lock-compose-symbol)
10243 (prog-prettify-font-lock-symbols-keywords): New variables and
10244 functions to support symbol prettification.
10245 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10246 (lisp--augmented-font-lock-keywords-1)
10247 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10248 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10249 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10250 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10251 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10252 * progmodes/perl-mode.el (perl-prettify-symbols)
10253 (perl--font-lock-compose-symbol)
10254 (perl--font-lock-symbols-keywords): Move to prog-mode.
10255 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10256 (perl-font-lock-keywords-1)
10257 (perl-font-lock-keywords-2): Remove explicit prettify support.
10258 (perl--augmented-font-lock-keywords)
10259 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10260 (perl--augmented-font-lock-keywords-2, perl-mode):
10261 Implement prettify support.
3ca0d0b4 10262
976cb066
LL
102632013-06-05 Leo Liu <sdl.web@gmail.com>
10264
10265 Re-implement smie matching block highlight using
10266 show-paren-data-function. (Bug#14395)
10267 * emacs-lisp/smie.el (smie-matching-block-highlight)
10268 (smie--highlight-matching-block-overlay)
10269 (smie--highlight-matching-block-lastpos)
10270 (smie-highlight-matching-block)
10271 (smie-highlight-matching-block-mode): Remove.
10272 (smie--matching-block-data-cache): New variable.
10273 (smie--matching-block-data): New function.
10274 (smie-setup): Use smie--matching-block-data for
10275 show-paren-data-function.
10276
10277 * progmodes/octave.el (octave-mode-menu): Fix.
10278 (octave-find-definition): Skip garbage lines.
10279
208d0342
SM
102802013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 Fix compilation error with simultaneous dynamic+lexical scoping.
10283 Add warning when a defvar appears after the first let-binding.
10284 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10285 (byte-compile-close-variables): Initialize it.
10286 (byte-compile--declare-var): New function.
10287 (byte-compile-file-form-defvar)
10288 (byte-compile-file-form-define-abbrev-table)
10289 (byte-compile-file-form-custom-declare-variable): Use it.
10290 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10291 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10292 (byte-compile-bind): Handle dynamic bindings that shadow
10293 lexical bindings.
10294 (byte-compile-unbind): Make arg non-optional.
10295 (byte-compile-let): Simplify.
10296 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10297 (cconv--analyse-function, cconv-analyse-form): Populate it.
10298 Protect byte-compile-bound-variables to limit the scope of defvars.
10299 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10300 Remove unneeded rule for `declare'.
10301
10302 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10303 so as to avoid depending on cl-adjoin at run-time.
10304 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10305
10306 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10307 (macroexp--warn-and-return): Use it.
10308
1ac2891e
GM
103092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10310
a12bf61e 10311 * subr.el: Convert to lexical binding.
1ac2891e
GM
10312 (overriding-local-map): Make obsolete.
10313 (add-to-list): Doc fix. Add compiler macro.
10314 (read-key): Swap values of local maps.
10315
2587b005
LL
103162013-06-05 Leo Liu <sdl.web@gmail.com>
10317
10318 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10319
f1da3c88
LL
103202013-06-04 Leo Liu <sdl.web@gmail.com>
10321
10322 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10323 (compilation-auto-jump): Suppress the "Mark set" message to give
10324 way to exit message.
10325
3caa391f
AM
103262013-06-04 Alan Mackenzie <acm@muc.de>
10327
10328 Remove faulty optimisation from indentation calculation.
10329 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10330 search limit based on 2000 characters back from indent-point.
10331
068922a2
TH
103322013-06-03 Tassilo Horn <tsdh@gnu.org>
10333
10334 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10335
1f8fdd53
SM
103362013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10337
bbcc4d97
SM
10338 * emacs-lisp/lisp.el: Use lexical-binding.
10339 (lisp--local-variables-1, lisp--local-variables): New functions.
10340 (lisp--local-variables-completion-table): New var.
208d0342 10341 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10342
1f8fdd53
SM
10343 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10344 eagerly (bug#14422).
10345
c9628c79
MA
103462013-06-03 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * autorevert.el (auto-revert-notify-enabled)
10349 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10350 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10351 (auto-revert-notify-handler): Handle also gfilenotify.
10352
e7b41c4c 10353 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10354 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10355 Remove.
c9628c79 10356
e5e4a942
JL
103572013-06-03 Juri Linkov <juri@jurta.org>
10358
10359 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10360 `M-s h .'. (Bug#14427)
10361
10362 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10363 command `hi-lock-face-symbol-at-point'.
10364 (hi-lock-face-symbol-at-point): New command.
10365 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10366 (hi-lock-menu): Add `highlight-symbol-at-point'.
10367 (hi-lock-mode): Doc fix.
10368
10369 * isearch.el (isearch-forward-symbol-at-point): New command.
10370 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10371 (isearch-highlight-regexp): Add a regexp which matches
10372 words/symbols for word/symbol mode.
10373
10374 * subr.el (find-tag-default-bounds): New function with the body
10375 mostly moved from `find-tag-default'.
10376 (find-tag-default): Move most code to `find-tag-default-bounds',
10377 call it and apply `buffer-substring-no-properties' afterwards.
10378
26b3353a
TH
103792013-06-03 Tassilo Horn <tsdh@gnu.org>
10380
781b4af6
SM
10381 * eshell/em-term.el (eshell-term-initialize):
10382 Use `cl-intersection' rather than `intersection'.
26b3353a 10383
51b60f53
XF
103842013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10385
fe054b63 10386 * vc/log-view.el: Doc fix.
d3ffe17c 10387 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10388
a0eb10b3 103892013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10390
10391 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10392 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10393 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10394 (eieio-unbound, eieio-default-superclass)
10395 (eieio--define-field-accessors, method-static, method-before)
10396 (method-primary, method-after, method-num-lists)
10397 (method-generic-before, method-generic-primary)
10398 (method-generic-after, method-num-slots)
10399 (eieio-specialized-key-to-generic-key)
10400 (eieio--check-type, class-v, class-p)
10401 (eieio-class-name, define-obsolete-function-alias)
10402 (eieio-class-parents-fast, eieio-class-children-fast)
10403 (same-class-fast-p, class-constructor, generic-p)
10404 (generic-primary-only-p, generic-primary-only-one-p)
10405 (class-option-assoc, class-option, eieio-object-p)
10406 (class-abstract-p, class-method-invocation-order)
10407 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10408 (eieio-class-un-autoload, eieio-defclass)
10409 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10410 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10411 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10412 (eieio-defgeneric-reset-generic-form)
10413 (eieio-defgeneric-form-primary-only)
10414 (eieio-defgeneric-reset-generic-form-primary-only)
10415 (eieio-defgeneric-form-primary-only-one)
10416 (eieio-defgeneric-reset-generic-form-primary-only-one)
10417 (eieio-unbind-method-implementations)
10418 (eieio--defmethod, eieio--typep)
10419 (eieio-perform-slot-validation, eieio-validate-slot-value)
10420 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10421 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10422 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10423 (eieio-slot-name-index, eieio-class-slot-name-index)
10424 (eieio-set-defaults, eieio-initarg-to-attribute)
10425 (eieio-attribute-to-initarg, eieio-c3-candidate)
10426 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10427 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10428 (eieio-class-precedence-list, eieio-generic-call-methodname)
10429 (eieio-generic-call-arglst, eieio-generic-call-key)
10430 (eieio-generic-call-next-method-list)
10431 (eieio-pre-method-execution-functions, eieio-generic-call)
10432 (eieio-generic-call-primary-only, eieiomt-method-list)
10433 (eieiomt-optimizing-obarray, eieiomt-install)
10434 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10435 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10436 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10437 (defclass): Remove `eval-and-compile' from macro.
10438 (call-next-method, shared-initialize): Instead of using
10439 `scoped-class' variable, use new eieio--scoped-class, and
10440 eieio--with-scoped-class.
10441 (initialize-instance): Rename local variable 'scoped-class' to
10442 'this-class' to remove ambiguitity from old global.
10443
10444 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10445 eieio.el.
4f405069
JB
10446 (eieio--scoped-class-stack): New variable.
10447 (eieio--scoped-class): New fcn.
890f7890
DE
10448 (eieio--with-scoped-class): New scoping macro.
10449 (eieio-defclass): Use pushnew instead of add-to-list.
10450 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10451 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10452 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10453 `scoped-class' variable, use new eieio--scoped-class, and
10454 eieio--with-scoped-class.
10455
10456 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10457
d105b0e2
TH
104582013-06-02 Tassilo Horn <tsdh@gnu.org>
10459
10460 * eshell/esh-ext.el (eshell-external-command): Pass args to
10461 `eshell-find-interpreter'.
10462 (eshell-find-interpreter): Add new second parameter ARGS.
10463
10464 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10465 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10466
10467 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10468 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10469
10470 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10471 (eshell-visual-options): New defcustom.
10472 (eshell-escape-control-x): Adapt docstring.
10473 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10474 `eshell-visual-options' in addition to `eshell-visual-commands'.
10475 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10476
f46305c8 104772013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10478
10479 * progmodes/python.el (python-indent-block-enders): Add break,
10480 continue and raise keywords.
10481
d870df21
GM
104822013-06-01 Glenn Morris <rgm@gnu.org>
10483
9133b82e
GM
10484 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10485
02c992ec 10486 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10487 * progmodes/cc-cmds.el (delete-forward-p):
10488 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10489 * progmodes/cc-engine.el (buffer-syntactic-context):
10490 * progmodes/cc-fonts.el (face-property-instance):
10491 * progmodes/cc-mode.el (set-keymap-parents):
10492 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10493 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10494 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10495 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10496 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10497
31e7b090
GM
10498 * progmodes/cc-vars.el (other): Emacs has this widget since
10499 at least 21.1, so don't (re)define it.
10500
d870df21
GM
10501 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10502 Replace the obsolete alias pcomplete-arg-quote-list.
10503
c75c93c7
LL
105042013-06-01 Leo Liu <sdl.web@gmail.com>
10505
10506 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10507 punctuation syntax.
10508 (inferior-octave-minimal-columns)
10509 (inferior-octave-last-column-width): New variables.
10510 (inferior-octave-track-window-width-change): New function.
10511 (inferior-octave-mode): Adjust column width so that Octave output,
10512 for example from 'ls', can fit into the window nicely.
10513
973d1e12
DG
105142013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10515
10516 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10517 Highlight expansions inside regexp literals.
10518
0888c286
GM
105192013-05-31 Glenn Morris <rgm@gnu.org>
10520
e26aac1f
GM
10521 * obsolete/sym-comp.el (symbol-complete):
10522 Replace obsolete completion-annotate-function.
10523
0888c286
GM
10524 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10525
19bb8e62
DG
105262013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10527
781b4af6
SM
10528 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10529 New function, checks if point is inside a literal that allows
19bb8e62
DG
10530 expression expansion.
10531 (ruby-syntax-propertize-expansion): Use it.
10532 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10533 around the body.
10534
01dea85f
JL
105352013-05-30 Juri Linkov <juri@jurta.org>
10536
10537 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10538 to "\M-si".
10539 (isearch-invisible): New variable.
10540 (isearch-forward): Doc fix.
10541 (isearch-mode): Set `isearch-invisible'
10542 to the value of `search-invisible'.
10543 (isearch-toggle-case-fold): Doc fix.
10544 (isearch-toggle-invisible): New command.
10545 (isearch-query-replace): Let-bind `search-invisible'
10546 to the value of `isearch-invisible'.
10547 (isearch-search): Use `isearch-invisible' instead of
10548 `search-invisible'. Let-bind `search-invisible'
10549 to the value of `isearch-invisible'. (Bug#11378)
10550
ab1bdce5
JL
105512013-05-30 Juri Linkov <juri@jurta.org>
10552
10553 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10554 call when `query-flag' is nil and `search-invisible' is non-nil.
10555 (Bug#11746)
10556
d6d236e2
GM
105572013-05-30 Glenn Morris <rgm@gnu.org>
10558
8accd027
GM
10559 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10560
2a8bed1c
GM
10561 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10562 (cc-require): Suppress spurious "noruntime" warnings.
10563 (cc-require-when-compile): Use fboundp, for sake of compiler.
10564
d6d236e2
GM
10565 * progmodes/cc-mode.el: Move load of cc-vars before that of
10566 cc-langs (which in turn loads cc-vars), to quieten compiler.
10567
9190b35b
SM
105682013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10569
10570 * paren.el: Simplify the code.
10571 (show-paren-mode): Always start the timer.
10572 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10573 (show-paren--overlay, show-paren--overlay-1): Rename from
10574 show-paren-overlay and show-paren-overlay-1, and initialize to an
10575 overlay rather than to nil.
10576 (show-paren-function): Misc cleanup and simplifications.
10577
4f8d1cf6
SM
105782013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * paren.el (show-paren-data-function): New hook.
10581 (show-paren--default): New function, extracted from show-paren-function.
10582 (show-paren-function): Use show-paren-data-function.
10583
02d844b5
GM
105842013-05-30 Glenn Morris <rgm@gnu.org>
10585
d209d4a9
GM
10586 * ielm.el (ielm-map, ielm-complete-symbol):
10587 Use completion-at-point rather than obsolete functions.
10588 (inferior-emacs-lisp-mode): Doc fix.
10589 Set completion-at-point-functions, rather than
10590 comint-dynamic-complete-functions.
10591
2082faa6
GM
10592 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10593 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10594 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10595
dd8620de
GM
10596 * image.el (image-animated-p): Tweak definition.
10597
ceca95b1
GM
10598 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10599 (rlogin-process-connection-type): Tweak default. Add set-after.
10600 (rlogin-host): Doc fix.
10601 (rlogin): Tweak prompt.
10602 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10603
ee9f1acc
GM
10604 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10605 * progmodes/tcl.el (inferior-tcl-mode-map):
10606 Use completion-at-point rather than obsolete alias.
10607
45ce222e
GM
10608 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10609
02d844b5
GM
10610 * minibuffer.el (read-file-name-completion-ignore-case):
10611 Move before completion--in-region, for eager macro expansion.
10612
ac44d6c1
JL
106132013-05-29 Juri Linkov <juri@jurta.org>
10614
10615 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10616 for total count of matching lines. Add `global-matches' for total
10617 count of matches. Rename `matches' to `lines' for count of
10618 matching lines. Add `matches' for count of matches.
10619 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10620 to `prev-line' for line number of prev match endpt.
10621 Increment `matches' for every match. Print the number of
10622 matching lines in the header.
10623 (occur-context-lines): Rename `lines' to `curr-line'.
10624 Rename `prev-lines' to `prev-line'. (Bug#14017)
10625
3c9c9d38
JL
106262013-05-29 Juri Linkov <juri@jurta.org>
10627
10628 * replace.el (perform-replace): Add `skip-read-only-count',
10629 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10630 Increment them for corresponding conditions and report the number
10631 of skipped occurrences in the final message. (Bug#11746)
10632 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10633 (replace-string, replace-regexp): Doc fix.
10634
33e249a2
SM
106352013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10636
8e399682
SM
10637 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10638
33e249a2 10639 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10640 prog-mode-map (bug#14504).
33e249a2 10641
f236dd84
LL
106422013-05-29 Leo Liu <sdl.web@gmail.com>
10643
10644 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10645 (octave-help): Small simplification.
10646
10647 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10648 off the highlight first.
10649
3694d13f
GM
106502013-05-29 Glenn Morris <rgm@gnu.org>
10651
03983bdc
GM
10652 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10653 Handle idlwave-last-system-routine-info-cons-cell being nil.
10654
bc74a74a
GM
10655 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10656 (idlwave-write-paths): Simplify via with-temp-buffer.
10657
8b394200
GM
10658 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10659 * emulation/cua-rect.el: Also load cua-base at run time.
10660
3694d13f
GM
10661 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10662 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10663 (cperl-imenu-on-info): Require imenu.
10664
336d7284
AM
106652013-05-28 Alan Mackenzie <acm@muc.de>
10666
10667 Handle "capitalised keywords" correctly.
33e249a2 10668 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10669
cb29c582
AG
106702013-05-28 Aidan Gauland <aidalgol@amuri.net>
10671
781b4af6 10672 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10673
690e44b2
GM
106742013-05-28 Glenn Morris <rgm@gnu.org>
10675
e658d75c
GM
10676 * vc/vc-arch.el (vc-exec-after): Declare.
10677 (vc-switches): Autoload.
10678 * vc/vc-bzr.el: No need to require vc when compiling.
10679 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10680 (vc-resynch-buffer, vc-dir-refresh): Declare.
10681 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10682 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10683 (vc-resynch-buffer): Declare.
10684 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10685 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10686 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10687 (grep-read-regexp, grep-read-files, grep-expand-template)
10688 (vc-dir-refresh): Declare.
10689 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10690 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10691 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10692 * vc/vc-mtn.el (vc-exec-after): Declare.
10693 (vc-switches): Autoload.
10694 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10695 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10696 (vc-file-tree-walk): Declare.
712b9732
GM
10697 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10698 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10699 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10700 * vc/vc-svn.el (vc-exec-after): Declare.
10701 (vc-switches, vc-setup-buffer): Autoload.
10702 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10703 Autoload.
10704 (vc-resynch-buffer): Declare.
10705
98e87fb3
GM
10706 * obsolete/fast-lock.el (byte-compile-warnings):
10707 Don't warn about obsolete features in this obsolete file.
10708
f5379553
GM
10709 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10710 Move definition before use.
10711
7a20ef83
GM
10712 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10713 (dun-unix-verbs): Remove dun-zippy.
10714 (dun-zippy): Remove function.
10715
690e44b2
GM
10716 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10717
3a52ccf7
JL
107182013-05-27 Juri Linkov <juri@jurta.org>
10719
10720 * replace.el (replace-search): New function with code moved out
10721 from `perform-replace'.
10722 (replace-highlight, replace-dehighlight): Move function definitions
10723 up closer to `replace-search'. (Bug#11746)
10724
d289938a
JL
107252013-05-27 Juri Linkov <juri@jurta.org>
10726
10727 * replace.el (perform-replace): Ignore invisible matches.
10728 In addition to checking `query-replace-skip-read-only', also
10729 filter out matches by calling `run-hook-with-args-until-failure'
10730 on `isearch-filter-predicates', and also check `search-invisible'
10731 for t or call `isearch-range-invisible'.
10732 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10733
66fc57e3
JL
107342013-05-27 Juri Linkov <juri@jurta.org>
10735
10736 * isearch.el (isearch-filter-predicates): Rename from
10737 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10738 (isearch-message-prefix): Display text from the property
10739 `isearch-message-prefix' of the currently active filters.
10740 (isearch-search): Don't compare `isearch-filter-predicate' with
10741 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10742 on `isearch-filter-predicates'. Also check `search-invisible' for t
10743 or call `isearch-range-invisible'.
10744 (isearch-filter-visible): Make obsolete.
10745 (isearch-lazy-highlight-search):
10746 Call `run-hook-with-args-until-failure' on
10747 `isearch-filter-predicates' and use `isearch-range-invisible'.
10748
10749 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10750 `isearch-filter-predicates' instead of `funcall'ing
10751 `isearch-filter-predicate'.
10752 (Info-mode): Set `Info-isearch-filter' to
10753 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10754
10755 * dired-aux.el (dired-isearch-filter-predicate-orig):
10756 Remove variable.
10757 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10758 (dired-isearch-filenames-end): Add and remove
10759 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10760 instead of changing the value of `isearch-filter-predicate'.
10761 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10762 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10763 Put property `isearch-message-prefix' to "filename " on
10764 `dired-isearch-filter-filenames'.
10765
10766 * wdired.el (wdired-change-to-wdired-mode):
10767 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10768 locally instead of changing `isearch-filter-predicate'.
10769 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10770
f1a60a0f
DG
107712013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10772
10773 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10774 return the commit hash (Bug#14459). Also set the
10775 `vc-git-detached' property.
10776 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10777 (vc-git-mode-line-string): Use the same help-echo format whether
10778 in detached mode or not, because we know the actual revision now.
10779 When in detached mode, shorten the revision to 7 chars.
10780
7f17cc40
SM
107812013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * emacs-lisp/easy-mmode.el (define-minor-mode):
10784 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10785 mode hook and provide a docstring.
10786
25c8401c
AM
107872013-05-27 Alan Mackenzie <acm@muc.de>
10788
10789 Remove spurious syntax-table text properties inserted by C-y.
10790 * progmodes/cc-mode.el (c-after-change): Also clear hard
10791 syntax-table property with value nil.
10792
dde84790
MA
107932013-05-27 Michael Albinus <michael.albinus@gmx.de>
10794
10795 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10796 when reading the events; the buffer layout shall not be changed.
10797
837fd9af
LL
107982013-05-27 Leo Liu <sdl.web@gmail.com>
10799
10800 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10801 New variable.
10802 (inferior-octave-directory-tracker): Automatically re-sync
10803 default-directory.
10804 (octave-help): Improve handling of 'See also'.
10805
4fd996b3
SM
108062013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10807
416f1802
SM
10808 * doc-view.el: Minor naming convention tweaks.
10809 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10810
4fd996b3
SM
10811 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10812 even if there's no `display' property yet (bug#14435).
10813
a052ef3b
EZ
108142013-05-25 Eli Zaretskii <eliz@gnu.org>
10815
4fd996b3 10816 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10817
10818 * Makefile.in (custom-deps, finder-data, autoloads)
10819 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10820 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10821 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10822
c9023370
SM
108232013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10826 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10827 Don't burp at EOB.
c9023370 10828
24d699fa
LL
108292013-05-25 Leo Liu <sdl.web@gmail.com>
10830
10831 * comint.el (comint-previous-matching-input): Do not flood the
10832 *Messages* buffer with trivial messages.
10833
17e5c0cc
SM
108342013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * progmodes/flymake.el (flymake-nop): Don't return a string.
10837 (flymake-set-at): Fix typo.
10838
10839 * simple.el (read--expression): New function, extracted from
10840 eval-expression. Set completion-at-point-functions (bug#14465).
10841 (eval-expression, eval-minibuffer): Use it.
10842
5d028165
XF
108432013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10844
10845 * progmodes/flymake.el (flymake-save-buffer-in-file)
10846 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10847 (flymake-selected-frame, flymake-log, flymake-ins-after)
10848 (flymake-set-at, flymake-get-buildfile-from-cache)
10849 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10850 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10851 Refine the doc string.
10852 (flymake-get-file-name-mode-and-masks): Reformat.
10853 (flymake-get-real-file-name-function): Fix a minor bug.
10854
7a1d7ba7
JL
108552013-05-24 Juri Linkov <juri@jurta.org>
10856
10857 * progmodes/grep.el (grep-mode-font-lock-keywords):
10858 Support =linenumber= format used by git-grep for lines with
10859 function names. (Bug#13549)
10860
650cff3d
SM
108612013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10864 0 after a semi-colon; it works better for smie-auto-fill.
10865 (octave--indent-new-comment-line): New function.
10866 (octave-indent-new-comment-line): Use it (indirectly).
10867 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10868 modify comment-line-break-function.
10869
10870 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10871 (smie-setup): Use add-function to set it.
10872
9631677d
SS
108732013-05-24 Sam Steingold <sds@gnu.org>
10874
10875 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10876 argument (before the `interactive' argument).
10877
50105835
SM
108782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * image-mode.el (image-mode-winprops): Add winprops to
10881 image-mode-winprops-alist before running
10882 image-mode-new-window-functions.
10883 * doc-view.el (doc-view-new-window-function): Don't delay
10884 doc-view-goto-page via timers (bug#14435).
10885
57b9823e
TH
108862013-05-24 Tassilo Horn <tsdh@gnu.org>
10887
10888 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10889 (doc-view-desktop-save-buffer): New function.
10890 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10891 (desktop-buffer-mode-handlers):
10892 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10893 handler.
10894 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10895 `desktop-save-buffer' function.
10896
91aafa16
MA
108972013-05-24 Michael Albinus <michael.albinus@gmx.de>
10898
10899 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10900 (tramp-gvfs-file-name-handler): Raise a user error when
10901 `tramp-gvfs-enabled' is nil.
10902 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10903 Do not raise a user error when loading package. (Bug#14447)
10904
ec076379
MA
10905 * net/xesam.el: Move to obsolete/.
10906
db785726
GM
109072013-05-24 Glenn Morris <rgm@gnu.org>
10908
af5c7606
GM
10909 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10910
e5d1916a
GM
10911 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10912
ded62b08
GM
10913 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10914 (Info-find-node, Man-getpage-in-background): Declare.
10915
9e614a3f
GM
10916 * mail/unrmail.el (unrmail):
10917 Replace obsolete detect-coding-with-priority.
10918
892f8ca3
GM
10919 * net/socks.el (socks-split-string): Use this rather than split-string.
10920 (socks-nslookup-host): Update for above change.
10921 (dynamic-choice, s5-dynamic-choice-match)
10922 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10923 Comment out unused code.
10924
3c291973
GM
10925 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10926 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10927 (gud-tooltip-echo-area): Make obsolete.
10928 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10929
43cc956b
GM
10930 * progmodes/js.el (js--optimize-arglist): Declare.
10931
dab49a3b
GM
10932 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10933
36b9d085
GM
10934 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10935 (ediff-window-C): Declare.
10936
e354ae76
GM
10937 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10938 Tweak requires to silence compiler.
10939
b8e57bf4
GM
10940 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10941 (he-search-string, he-tried-table, he-expand-list)
10942 (he-init-string, he-string-member, he-substitute-string)
10943 (he-reset-string): Declare.
10944
db785726
GM
10945 * obsolete/options.el (list-options): Use custom-variable-p,
10946 rather than obsolete alias.
10947
b3531901
SS
109482013-05-23 Sam Steingold <sds@gnu.org>
10949
10950 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10951 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10952 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10953
bdda4c66
SM
109542013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emacs-lisp/smie.el (smie-indent-forward-token)
10957 (smie-indent-backward-token): Handle string tokens (bug#14381).
10958
c43d45f9
TH
109592013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10960
fe1eb856
RS
10961 * ielm.el (ielm-menu): New menu.
10962 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10963
fe1eb856
RS
109642013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10965
a12bf61e 10966 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10967 Fix deactivate action.
10968
a12bf61e 10969 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10970 Add cleveref macros.
074dd971 10971
a12bf61e 10972 * textmodes/reftex-parse.el
c43d45f9
TH
10973 (reftex-locate-bibliography-files): Accept options for
10974 bibliography commands.
a12bf61e 10975 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10976 Add addbibresource. Basic Biblatex support.
10977
7764286e
MA
109782013-05-23 Michael Albinus <michael.albinus@gmx.de>
10979
10980 * net/tramp-gvfs.el (top):
10981 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10982 when loading package. (Bug#14447)
10983
d361bc10
GM
109842013-05-23 Glenn Morris <rgm@gnu.org>
10985
8fa23984
GM
10986 * progmodes/js.el: No need to load comint when compiling.
10987 (ring-insert, comint-send-string, comint-send-input)
10988 (comint-last-input-end, ido-chop): Declare.
10989
a5c7df1a
GM
10990 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10991 * vc/ediff-mult.el: Adjust requires.
10992 (ediff-directories-internal, ediff-directory-revisions-internal)
10993 (ediff-patch-file-internal): Declare.
10994 * vc/ediff-ptch.el: Adjust requires.
10995 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10996 (ediff-find-file): Autoload.
10997 * vc/ediff-util.el: No need to load ediff when compiling.
10998 (ediff-regions-internal): Declare.
10999 * vc/ediff-wind.el: Adjust requires.
11000 (ediff-compute-toolbar-width): Define when compiling.
11001 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11002 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11003 (dired-get-filename, dired-get-marked-files)
11004 (ediff-last-dir-patch, ediff-patch-default-directory)
11005 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11006 (ediff-patch-buffer-internal): Declare.
11007
e2aec513
GM
11008 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11009 (ispell-process, ispell-buffer-local-words, lm-summary)
11010 (lm-section-start, lm-section-end): Declare.
11011 (checkdoc-ispell-init): Simplify.
11012
e68bbd7c
GM
11013 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11014 (he-string-member, he-reset-string, he-substitute-string): Declare.
11015
7efe0991
GM
11016 * eshell/em-ls.el: Adjust requires.
11017 (eshell-glob-regexp): Declare.
f87b1284
GM
11018 * eshell/em-tramp.el: Adjust requires.
11019 (eshell-parse-command): Autoload.
11020 * eshell/em-xtra.el: Adjust requires.
11021 (eshell-parse-command): Autoload.
11022 * eshell/esh-ext.el: Adjust requires.
11023 (eshell-parse-command, eshell-close-handles): Autoload.
11024 * eshell/esh-io.el: Adjust requires.
11025 (eshell-output-filter): Autoload.
11026 * eshell/esh-util.el: No need to load tramp when compiling.
11027 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11028 Declare.
11029 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11030 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11031 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11032 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11033 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11034 * eshell/esh-opt.el, eshell/esh-proc.el:
11035 * eshell/esh-var.el: Adjust requires.
11036 * eshell/eshell.el: Do not require esh-util twice.
11037 (eshell-add-input-to-history): Declare.
11038 (eshell-command): Check history module is active before using it.
11039
d361bc10
GM
11040 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11041
85d090a9
LL
110422013-05-22 Leo Liu <sdl.web@gmail.com>
11043
11044 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11045
5d0acd9d
MA
110462013-05-22 Michael Albinus <michael.albinus@gmx.de>
11047
11048 * autorevert.el (auto-revert-notify-add-watch)
11049 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11050 it indicates changes in file modification time.
11051
0cdffd7d
GM
110522013-05-22 Glenn Morris <rgm@gnu.org>
11053
ca5995ec
GM
11054 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11055 Always delete the autoloaded function from the noruntime and
11056 unresolved functions lists.
11057
6450907e
GM
11058 * allout.el: No need to load epa, epg, overlay when compiling.
11059 (epg-context-set-passphrase-callback, epg-list-keys)
11060 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11061 (epg-key-user-id-list): Declare.
11062
9c6906f6
GM
11063 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11064 (viper-set-parsing-style-toggling-macro)
11065 (viper-set-emacs-state-searchstyle-macros):
11066 Use called-interactively-p on Emacs.
11067 (viper-looking-back): Make it an obsolete alias. Update callers.
11068 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11069 Use looking-back rather than viper-looking-back.
11070 (viper-tmp-insert-at-eob, viper-enlarge-region)
11071 (viper-read-string-with-history, viper-register-to-point)
11072 (viper-append-to-register, viper-change-state-to-vi)
11073 (viper-backward-char-carefully, viper-forward-char-carefully)
11074 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11075 (viper-change-state-to-emacs): Declare.
11076 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11077 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11078 * emulation/viper-mous.el: Do not load viper-cmd.
11079 (viper-backward-char-carefully, viper-forward-char-carefully)
11080 (viper-forward-word, viper-adjust-window): Declare.
11081
5f70c169
GM
11082 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11083
b1b7f300
GM
11084 * progmodes/idlw-help.el (idlwave-help-fontify):
11085 Use called-interactively-p.
11086
f6ebbb46
GM
11087 * term/w32console.el (w32-get-console-codepage)
11088 (w32-get-console-output-codepage): Declare.
11089
0cdffd7d
GM
11090 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11091 Remove unnecessary declarations.
11092 (dframe-message): Doc fix.
11093
11094 * info.el (dframe-select-attached-frame, dframe-current-frame):
11095 Declare.
11096
11097 * speedbar.el (speedbar-message): Make it an obsolete alias.
11098 Update all callers.
11099 (speedbar-with-attached-buffer)
11100 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11101 (speedbar-with-writable): Use backquote.
11102 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11103 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11104 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11105 rather than speedbar- aliases.
11106 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11107 (speedbar-make-specialized-keymap, speedbar-insert-button)
11108 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11109 (speedbar-do-function-pointer): Declare.
11110 (rmail-speedbar-button, rmail-speedbar-find-file)
11111 (rmail-speedbar-move-message):
11112 Use dframe-with-attached-buffer rather than speedbar- alias.
11113 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11114 (dframe-message, speedbar-make-specialized-keymap)
11115 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11116 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11117 (speedbar-insert-button, dframe-select-attached-frame)
11118 (dframe-maybee-jump-to-attached-frame)
11119 (speedbar-change-initial-expansion-list)
11120 (speedbar-previously-used-expansion-list-name): Declare.
11121 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11122 Use dframe-message, dframe-with-attached-buffer rather than
11123 speedbar- aliases.
11124 (gud-sentinel): Silence compiler.
11125 * progmodes/vhdl-mode.el (speedbar-refresh)
11126 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11127 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11128 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11129 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11130 (speedbar-file-lists, speedbar-make-tag-line)
11131 (speedbar-line-directory, speedbar-goto-this-file)
11132 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11133 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11134 (speedbar-make-button, speedbar-reset-scanners)
11135 (speedbar-files-item-info, speedbar-line-text)
11136 (speedbar-find-file-in-frame, speedbar-set-timer)
11137 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11138 (speedbar-with-writable): Do not (re)define it.
11139 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11140 rather than speedbar- alias.
11141
ee44b62a
LL
111422013-05-21 Leo Liu <sdl.web@gmail.com>
11143
11144 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11145 menu items.
11146 (octave-mode): Tweak fill-nobreak-predicate.
11147 (inferior-octave-startup): Check process to avoid infinite loop.
11148 (inferior-octave): Pop to buffer first to show abornmal process
11149 exit information.
11150
640f050f
GM
111512013-05-21 Glenn Morris <rgm@gnu.org>
11152
79458038
GM
11153 * printing.el (pr-menu-bar): Define when compiling.
11154
9cc3e83f
LL
111552013-05-21 Leo Liu <sdl.web@gmail.com>
11156
11157 * progmodes/octave.el (octave-auto-fill): Remove.
11158 (octave-indent-new-comment-line): Improve.
11159 (octave-mode): Use auto fill mode through
4f405069 11160 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11161 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11162 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11163 (octave-help): Show parent directory.
11164
f440830d
GM
111652013-05-21 Glenn Morris <rgm@gnu.org>
11166
11167 * files.el (dired-unmark):
11168 * progmodes/gud.el (gdb-input): Update declarations.
11169
11170 * calculator.el (electric, ehelp): No need to load when compiling.
11171 (Electric-command-loop, electric-describe-mode): Declare.
11172
11173 * doc-view.el (doc-view-current-converter-processes): Move before use.
11174
11175 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11176 Move MODE-set-explicitly definition before use.
11177
11178 * international/mule-diag.el (mule-diag):
11179 Don't use obsolete window-system-version.
11180
11181 * mail/feedmail.el (smtpmail): No need to load when compiling.
11182 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11183
11184 * mail/mail-utils.el (rfc822): No need to load when compiling.
11185 (rfc822-addresses): Autoload it.
11186 (mail-strip-quoted-names): Trivial simplification.
11187
11188 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11189 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11190
11191 * net/snmp-mode.el (tempo): Don't duplicate requires.
11192
11193 * progmodes/prolog.el (info): No need to load when compiling.
11194 (comint): Require before shell requires it.
11195 (Info-goto-node): Autoload it.
11196 (Info-follow-nearest-node): Declare.
11197 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11198
11199 * textmodes/artist.el (picture-mode-exit): Declare.
11200
11201 * textmodes/reftex-parse.el (reftex-parse-from-file):
11202 Trivial rewrite so the compiler can parse it better.
11203
b4da2cbb
LL
112042013-05-20 Leo Liu <sdl.web@gmail.com>
11205
11206 * progmodes/octave.el (octave-help-mode-map)
11207 (octave-help-mode-finish-hook): New variables.
11208 (octave-help-mode, octave-help-mode-finish): New functions.
11209 (octave-help): Use octave-help-mode.
11210
33c0f65b
GM
112112013-05-20 Glenn Morris <rgm@gnu.org>
11212
11213 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11214
1a0a0a8a
DG
112152013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11216
11217 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11218 start at point, so that expansion starting right after opening
11219 slash in a regexp is recognized.
11220 (ruby-syntax-before-regexp-re): New defvar, extracted from
11221 ruby-syntax-propertize-function. Since the value of this regexp
11222 is looked up at runtime now, we should be able to turn
11223 `ruby-syntax-methods-before-regexp' into a defcustom later.
11224 (ruby-syntax-propertize-function): Split regexp matching into two
11225 parts, for opening and closing slashes. That allows us to skip
11226 over string interpolations and support multiline regexps.
11227 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11228 for them, which calls `ruby-syntax-propertize-expansion'.
11229 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11230 call to `ruby-syntax-propertize-function'.
11231 (ruby-syntax-propertize-expansion): Extracted from
11232 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11233 (ruby-syntax-propertize-percent-literal): Leave point right after
11234 the percent symbol, so that the expression expansion rule can
11235 propertize the contents.
462388b6
DG
11236 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11237 heredoc openers.
11238 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11239
c1a6c0a4
JL
112402013-05-18 Juri Linkov <juri@jurta.org>
11241
11242 * man.el (Man-default-man-entry): Remove `-' from the end
11243 of the default value. (Bug#14400)
11244
8051fccd
GM
112452013-05-18 Glenn Morris <rgm@gnu.org>
11246
11247 * comint.el (comint-password-prompt-regexp):
11248 Allow "password for XXX" where XXX contains colons (eg https://...).
11249
5e80b74f
LL
112502013-05-18 Leo Liu <sdl.web@gmail.com>
11251
11252 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11253 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11254 (octave-source-directories): Don't check process.
11255 (octave-source-directories, octave-find-definition): Doc fix.
11256
521a54c5
GM
112572013-05-18 Glenn Morris <rgm@gnu.org>
11258
86a94b05
GM
11259 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11260 Remove backspace/delete bindings. (Bug#14392)
11261
521a54c5
GM
11262 * cus-dep.el (custom-make-dependencies): Sort the output.
11263 (custom-versions-load-alist): Convert comment to doc.
11264
42caeb89
LL
112652013-05-17 Leo Liu <sdl.web@gmail.com>
11266
11267 * newcomment.el (comment-search-backward): Stricter in finding
11268 comment start. (Bug#14303)
11269
11270 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11271 (octave-comment-start-skip): Properly anchored.
11272
e219dd97
LL
112732013-05-17 Leo Liu <sdl.web@gmail.com>
11274
fe1eb856
RS
11275 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11276 Clean up when turned off. (Bug#14395)
e219dd97
LL
11277 (smie--highlight-matching-block-overlay): No longer buffer-local.
11278 (smie-highlight-matching-block): Adjust.
11279
dc5dcb4b
PE
112802013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11281
11282 Doc string fix for "nanoseconds" (Bug#14406).
11283 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11284 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11285
1db165f0
JB
112862013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11287
11288 * calc/calc-units.el (math-extract-units): Preserve powers
11289 of units.
11290
c7a8fcac
LL
112912013-05-17 Leo Liu <sdl.web@gmail.com>
11292
11293 * subr.el (delete-consecutive-dups): New function.
11294 * ido.el (ido-set-matches-1): Use it.
11295 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11296 * ido.el (ido-remove-consecutive-dups): Remove.
11297
f678b18a
SM
112982013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11299
11300 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11301 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11302 regexp-opt's `words'.
11303
ebfe68e8
LL
113042013-05-16 Leo Liu <sdl.web@gmail.com>
11305
11306 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11307 (smie--highlight-matching-block-overlay)
11308 (smie--highlight-matching-block-lastpos)
11309 (smie--highlight-matching-block-timer): New variables.
11310 (smie-highlight-matching-block): New function.
11311 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11312 (smie-setup): Conditionally enable smie-blink-matching-open.
11313
bc8bc17d
WS
113142013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11315
11316 Sync with upstream verilog-mode r840.
11317 * progmodes/verilog-mode.el (verilog-mode-version)
11318 (verilog-mode-release-date): Update.
11319 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11320 (verilog-sig-tieoff): Fix string error on
11321 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11322 (verilog-read-decls): Fix parameters confusing
11323 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11324
df065a0b
EZ
113252013-05-16 Eli Zaretskii <eliz@gnu.org>
11326
11327 * subr.el (reveal-filename): New function.
11328
11329 * loadup.el: Compute Emacs executable versions on MS-Windows,
11330 where executables have the .exe extension. Add a hard link
11331 emacs-XX.YY.ZZ.exe on MS-Windows.
11332
11333 * Makefile.in (XARGS_LIMIT): New variable.
11334 (custom-deps, finder-data, autoloads)
11335 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11336 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11337 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11338 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11339
2d4bf34b
LL
113402013-05-16 Leo Liu <sdl.web@gmail.com>
11341
11342 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11343 (octave-mode-menu, octave-mode-map): Remove its uses.
11344
6b9c2d85
RZ
113452013-05-16 Reto Zimmermann <reto@gnu.org>
11346
11347 Sync with upstream vhdl mode v3.34.2.
11348 * progmodes/vhdl-mode.el: Use `push' throughout.
11349 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11350 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11351 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11352 (vhdl-actual-generic-name): New option to derive actual generic name.
11353 (vhdl-port-paste-signals): Replace formal by actual generics.
11354 (vhdl-beautify): New name for old group vhdl-align. Update users.
11355 (vhdl-beautify-options): New option.
11356 (vhdl-last-input-event): New compat alias. Use throughout.
11357 (vhdl-goto-line): Replace user level function `goto-line'.
11358 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11359 vhdl-fix-statement-buffer.
11360 (vhdl-create-mode-menu): Add some entries.
11361 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11362 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11363 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11364 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11365 to force statements on one line.
11366 (vhdl-remove-trailing-spaces-region):
11367 New, split from vhdl-remove-trailing-spaces.
11368 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11369 Respect vhdl-beautify-options.
11370 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11371 (vhdl-update-sensitivity-list): Not add with index if exists without.
11372 Not include array index with signal. Ignore keywords in comments.
11373 (vhdl-get-visible-signals): Regexp tweaks.
11374 (vhdl-template-component-inst): Handle empty library.
11375 (vhdl-template-type): Add template for 'enum' type.
11376 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11377 Use vhdl-replace-string.
11378 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11379 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11380 (vhdl-speedbar-initialize): Update for above name change.
11381 (vhdl-compose-wire-components): Fix in handling of constants.
11382 (vhdl-error-regexp-emacs-alist): New variable.
11383 (vhdl-error-regexp-add-emacs): New function;
11384 adds support for new compile.el (Emacs 22+)
11385 (vhdl-generate-makefile-1): Change target order for single lib. units.
11386 Allow use of absolute file names.
11387
9df4ec5e
LL
113882013-05-16 Leo Liu <sdl.web@gmail.com>
11389
11390 * simple.el (prog-indent-sexp): Indent enclosing defun.
11391
f5ba00a6
GM
113922013-05-15 Glenn Morris <rgm@gnu.org>
11393
ed8be7ff
GM
11394 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11395 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11396 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11397 (whitespace-highlight): Move to whitespace group.
11398
11399 * comint.el (comint-source):
11400 * pcmpl-linux.el (pcmpl-linux):
11401 * shell.el (shell-faces):
11402 * eshell/esh-opt.el (eshell-opt):
11403 * international/ccl.el (ccl): Remove empty custom groups.
11404
11405 * completion.el (dynamic-completion-mode):
11406 * jit-lock.el (jit-lock-debug-mode):
11407 * minibuffer.el (completion-in-region-mode):
11408 * type-break.el (type-break-mode-line-message-mode)
11409 (type-break-query-mode):
11410 * emulation/tpu-edt.el (tpu-edt-mode):
11411 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11412 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11413 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11414
11415 * term/xterm.el (xterm): Change parent group to terminals.
11416
11417 * master.el (master): Remove empty custom group.
11418 (master-mode): Remove unused :group argument.
11419 * textmodes/refill.el (refill): Remove empty custom group.
11420 (refill-mode): Remove unused :group argument.
11421
11422 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11423
82a7c41b
GM
11424 * cus-dep.el: Provide a feature.
11425 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11426 Don't mistakenly ignore files whose basenames match a basename
11427 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11428 Add a fallback method for getting :group.
f5ba00a6 11429
6d65486d
JL
114302013-05-15 Juri Linkov <juri@jurta.org>
11431
da547b32
JL
11432 * isearch.el (isearch-char-by-name): Rename from
11433 `isearch-insert-char-by-name'. Doc fix.
11434 (isearch-forward): Mention `isearch-char-by-name' in
11435 the docstring. (Bug#13348)
11436
6d65486d
JL
11437 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11438 `exit-minibuffer' instead of
11439 `isearch-nonincremental-exit-minibuffer'.
11440 (isearch-edit-string): Remove mention of
11441 `isearch-nonincremental-exit-minibuffer' from docstring.
11442 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11443 (isearch-forward-exit-minibuffer)
11444 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11445
c9990474
SM
114462013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11447
6e911150
SM
11448 * loadup.el: Just use unversioned DOC.
11449
c9990474
SM
11450 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11451 literals as extending to EOB.
11452 (nxml-last-fontify-end): Remove unused variable.
11453 (nxml-after-change1): Use with-silent-modifications.
11454 (nxml-extend-after-change-region): Simplify.
11455 (nxml-extend-after-change-region1): Remove function.
11456 (nxml-after-change1): Don't adjust for dependent regions.
11457 (nxml-fontify-matcher): Simplify.
11458 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11459 (xmltok-add-dependent): Remove function.
11460 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11461 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11462 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11463 unclosed <[[, <?, comment, and other literals as extending to EOB.
11464 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11465 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11466 Remove functions.
11467 (rng-do-some-validation-1): Don't mark dependent regions.
11468 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11469 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11470 (nxml-clear-dependent-regions): Remove functions.
11471 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11472 (nxml-ensure-scan-up-to-date):
11473 Don't clear&mark dependent regions.
11474
e3772e98
LL
114752013-05-15 Leo Liu <sdl.web@gmail.com>
11476
c9990474
SM
11477 * progmodes/octave.el (octave-goto-function-definition):
11478 Improve and fix callers.
e3772e98 11479
5ac2eb34
SM
114802013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11481
c46c57b0
SM
11482 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11483 the setter (bug#14387).
11484
5ac2eb34
SM
11485 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11486 surrounding group (bug#14402).
11487
180ed218
JL
114882013-05-14 Juri Linkov <juri@jurta.org>
11489
11490 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11491 (Bug#14390)
11492
0ac0fecb
GM
114932013-05-14 Glenn Morris <rgm@gnu.org>
11494
11495 * progmodes/f90.el (f90-imenu-generic-expression):
11496 Fix typo in 2013-05-08 change. (Bug#14402)
11497
2e78e6a7
JPG
114982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11499
5ac2eb34
SM
11500 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11501 Remove signals for which replies are never received.
2e78e6a7 11502
53267cca
JPG
115032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11504
11505 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11506 (gdb-handler-alist, gdb-handler-number): Remove variables.
11507 (gdb-handler-list): New variable.
11508 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11509 (gdb-pending-handler-p, gdb-handle-reply)
11510 (gdb-remove-all-pending-triggers): New functions.
11511 (gdb-discard-unordered-replies): New defcustom.
11512 (gdb-handler): New defstruct.
11513 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11514 instead of gdb-pending-triggers. Update docstring.
11515 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11516 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11517 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11518 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11519 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11520 (gdb-frame-handler): Pending triggers are now automatically managed.
11521 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11522 Remove argument.
11523 (gdb-input): Automatically handles pending triggers. Update docstring.
11524 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11525 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11526 Update comments.
11527 (gdb-done-or-error): Now use gdb-handle-reply.
11528
d04ce803
JPG
115292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11530
11531 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11532 gdb-debug-log.
11533
0114073a
GM
115342013-05-14 Glenn Morris <rgm@gnu.org>
11535
11536 * subr.el (user-emacs-directory-warning): New option.
11537 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11538
4d25fd7e
LL
115392013-05-14 Leo Liu <sdl.web@gmail.com>
11540
11541 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11542 during redisplay.
11543 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11544 (octave-font-lock-texinfo-comment): Fix invalid search bound
11545 error: wrong side of point.
4d25fd7e 11546
27c8b6eb
GM
115472013-05-14 Glenn Morris <rgm@gnu.org>
11548
61aaeb01
GM
11549 * progmodes/flymake.el (flymake-xml-program): New option.
11550 (flymake-xml-init): Use it.
11551
5bf90bc5
GM
11552 * term/xterm.el: Provide a feature.
11553
11554 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11555
f4c7dfd2
GM
115562013-05-13 Glenn Morris <rgm@gnu.org>
11557
11558 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11559 Add compat aliases as a hack workaround. (Bug#14384)
11560
2aeb3a1d
LL
115612013-05-13 Leo Liu <sdl.web@gmail.com>
11562
b0e069c2
LL
11563 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11564 ###, and %!.
f5a9432f
LL
11565 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11566 C-M-q.
b0e069c2
LL
11567 (octave-comment-start-skip): Include %!.
11568 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11569
30ea8374
LL
115702013-05-12 Leo Liu <sdl.web@gmail.com>
11571
11572 * progmodes/octave.el (inferior-octave-startup): Store the value
11573 of __octave_srcdir__ for octave-source-directories.
11574 (inferior-octave-check-process): New function refactored out of
11575 inferior-octave-send-list-and-digest.
11576 (octave-source-directories)
11577 (octave-find-definition-filename-function): New variables.
11578 (octave-source-directories)
11579 (octave-find-definition-default-filename): New functions.
11580 (octave-find-definition): Improve to find functions implemented in C++.
11581
472a3834
GM
115822013-05-12 Glenn Morris <rgm@gnu.org>
11583
11584 * calendar/diary-lib.el (diary-outlook-format-1):
11585 Don't include dayname in the output. (Bug#14349)
11586
3191b52f
GM
115872013-05-11 Glenn Morris <rgm@gnu.org>
11588
0060ac73
GM
11589 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11590
3191b52f
GM
11591 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11592 Treat cc-provide like provide.
11593
e065ba74
KR
115942013-05-11 Kevin Ryde <user42@zip.com.au>
11595
11596 * cus-dep.el (custom-make-dependencies):
11597 Use generated-autoload-load-name for the sake of files such
11598 such cedet/semantic/bovine/c.el, where the base file name
11599 is not in load-path. (Bug#5277)
11600
36f84c37
GM
116012013-05-11 Glenn Morris <rgm@gnu.org>
11602
11603 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11604 Provide features.
11605
c8730c3a
LL
116062013-05-11 Leo Liu <sdl.web@gmail.com>
11607
11608 * progmodes/octave.el (octave-indent-comment): Improve.
11609 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11610 (octave-eldoc-function-signatures, octave-eldoc-function):
11611 New functions.
c8730c3a
LL
11612 (octave-mode, inferior-octave-mode): Add eldoc support.
11613
212e29f2
RS
116142013-05-11 Richard Stallman <rms@gnu.org>
11615
11616 * epa.el (epa-decrypt-file): Take output file name as argument
11617 and read it using `interactive'.
11618
083fe0d7
LL
116192013-05-11 Leo Liu <sdl.web@gmail.com>
11620
11621 * progmodes/octave.el (octave-beginning-of-line)
11622 (octave-end-of-line): Check before using up-list because it jumps
11623 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11624 (octave-indent-comment): New function.
11625 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11626 (octave-begin-keywords, octave-end-keywords)
11627 (octave-reserved-words, octave-smie-bnf-table)
11628 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11629
8582e4c4
GM
116302013-05-11 Glenn Morris <rgm@gnu.org>
11631
f20def1f
GM
11632 * faces.el (internal-face-x-get-resource):
11633 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11634 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11635 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11636 Fix declarations.
f20def1f 11637
445f95e2
GM
11638 * calc/calc-menu.el: Make it loadable in isolation.
11639
11640 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11641 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11642 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11643 (eudc-bbdb-query-internal): Require 'bbdb.
11644
99fb2756
GM
11645 * lpr.el (lpr-headers-switches):
11646 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11647
11648 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11649
0da7ad96
GM
11650 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11651
8582e4c4
GM
11652 * term.el (term-set-escape-char): Make it idempotent.
11653
f71c50d0
LL
116542013-05-10 Leo Liu <sdl.web@gmail.com>
11655
5ac2eb34
SM
11656 * progmodes/octave.el (inferior-octave-completion-table):
11657 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11658 completion due to bug#11906.
11659 (octave-beginning-of-defun): Re-write to be more general.
11660
d5837773
GM
116612013-05-10 Glenn Morris <rgm@gnu.org>
11662
11663 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11664
027c0f75
SM
116652013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * comint.el (comint-redirect-send-command-to-process): Use :around
11668 rather than :override for comint-redirect-filter.
11669 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11670 Call it instead of comint-redirect-original-filter-function (which
11671 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11672
4465bfb4
JD
116732013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11674
11675 * frame.el (display-monitor-attributes-list): Add NS case.
11676 (ns-display-monitor-attributes-list): Declare.
11677
2d809ffa 116782013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11679
11680 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11681
e54eeb9b
GM
116822013-05-09 Glenn Morris <rgm@gnu.org>
11683
56cd351d
GM
11684 * international/fontset.el (vertical-centering-font-regexp):
11685 Set standard-value.
11686
d84b6108
GM
11687 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11688
a931698a
GM
11689 * bookmark.el (bookmark-search-delay):
11690 * cus-start.el (vertical-centering-font-regexp):
11691 * ps-mule.el (ps-mule-font-info-database-default):
11692 * ps-print.el (ps-default-fg, ps-default-bg):
11693 * type-break.el (type-break-good-break-interval):
11694 * whitespace.el (whitespace-indentation-regexp)
11695 (whitespace-space-after-tab-regexp):
11696 * emacs-lisp/testcover.el (testcover-1value-functions)
11697 (testcover-noreturn-functions, testcover-progn-functions)
11698 (testcover-prog1-functions):
11699 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11700 * eshell/em-glob.el (eshell-glob-translate-alist):
11701 * play/tetris.el (tetris-tty-colors):
11702 * progmodes/cpp.el (cpp-face-default-list):
11703 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11704 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11705 (idlwave-help-browser-generic-args):
11706 * progmodes/make-mode.el (makefile-special-targets-list):
11707 * progmodes/python.el (python-shell-virtualenv-path):
11708 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11709 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11710 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11711 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11712 * textmodes/reftex-vars.el (reftex-format-label-function):
11713 * textmodes/remember.el (remember-diary-file): Fix custom types.
11714
e54eeb9b
GM
11715 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11716 Add :version.
11717
455851dd
LL
117182013-05-09 Leo Liu <sdl.web@gmail.com>
11719
11720 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11721 Restore file completion. (Bug#14300)
455851dd
LL
11722 (inferior-octave-startup): Fix incorrect highlighting for the
11723 first prompt.
11724
a9e4425b
SM
117252013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 * progmodes/ruby-mode.el: First cut at SMIE support.
11728 (ruby-use-smie): New var.
11729 (ruby-smie-grammar): New constant.
11730 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11731 (ruby-smie--forward-token, ruby-smie--backward-token)
11732 (ruby-smie-rules): New functions.
11733 (ruby-mode-variables): Setup SMIE if applicable.
11734
060ca408
EZ
117352013-05-08 Eli Zaretskii <eliz@gnu.org>
11736
11737 * simple.el (line-move-visual): Signal beginning/end of buffer
11738 only if vertical-motion moved less than it was requested. Avoids
11739 silly incorrect error messages when there are display strings with
11740 multiple newlines at EOL.
11741
1d5963cc
SM
117422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11745 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11746 (prolog-char-quote-workaround):
11747 * progmodes/cperl-mode.el (cperl-under-as-char):
11748 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11749 Mark as obsolete.
11750 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11751 their declaration.
11752 (vhdl-mode-syntax-table-init): Remove.
11753
c9990474
SM
11754 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11755 last change.
1d5963cc
SM
11756
11757 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11758 syntax for "_".
11759 (ld-script-font-lock-keywords):
11760 Change regexps to use things like \_< and \_>.
11761
11762 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11763 Change all regexps to use things like \_< and \_>.
11764
11765 * progmodes/autoconf.el (autoconf-definition-regexp)
11766 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11767 Handle a _ with symbol syntax.
11768 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11769
c9990474
SM
11770 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11771 Consolidate declaration.
1d5963cc
SM
11772 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11773 the declaration.
11774 (ada-create-syntax-table): Remove.
11775 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11776 already has the right syntax nowadays.
11777 (ada-goto-next-word): Don't change the syntax of "_".
11778
11779 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11780 with-wrapper-hook.
11781
72d3cfca
SS
117822013-05-08 Sam Steingold <sds@gnu.org>
11783
11784 * thingatpt.el (thing-at-point): Accept optional second argument
11785 NO-PROPERTIES to strip the text properties from the return value.
11786 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11787 to `thing-at-point' instead of stripping the properties ourselves.
11788 Also, when `thing-at-point' fails to find a url, prepend "http://"
11789 to the filename at point on the assumption that the user is
11790 pointing at something like gnu.org/gnu.
11791
5cb15713
JB
117922013-05-08 Juanma Barranquero <lekktu@gmail.com>
11793
11794 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11795 * faces.el (crm-separator):
11796 Silence byte-compiler.
11797
11798 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11799 (tool-bar-map): Remove unneeded defvars.
11800
ea78b95b
LL
118012013-05-08 Leo Liu <sdl.web@gmail.com>
11802
11803 Re-work a fix for bug#10994 based on Le Wang's patch.
11804 * ido.el (ido-remove-consecutive-dups): New helper.
11805 (ido-completing-read): Use it.
11806 (ido-chop): Revert fix for bug#10994.
11807
dc7466df
AS
118082013-05-08 Adam Spiers <emacs@adamspiers.org>
11809
11810 * cus-edit.el (custom-save-variables):
11811 Pretty-print long values. (Bug#14187)
11812
9ecf672a
GM
118132013-05-08 Glenn Morris <rgm@gnu.org>
11814
11815 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11816 (m4-mode-syntax-table): Init in the defvar.
11817 (m4-mode-abbrev-table): Let define-derived-mode define it.
11818
3f555be8
TT
118192013-05-08 Tom Tromey <tromey@redhat.com>
11820
11821 * progmodes/m4-mode.el (m4-mode-syntax-table):
11822 Do not treat "_" as word constituent. (Bug#14167)
11823
7cc8ae06
GM
118242013-05-07 Glenn Morris <rgm@gnu.org>
11825
4f58bc06
GM
11826 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11827 Remove explicit eshell-isearch-cancel-map.
11828
7cc8ae06
GM
11829 * progmodes/f90.el (f90-smart-end-names): New option.
11830 (f90-smart-end): Doc fix.
11831 (f90-end-block-optional-name): New constant.
11832 (f90-block-match): Respect f90-smart-end-names.
11833
ceb57e59
SM
118342013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11837 about implicit semi-colons (bug#14218).
11838
4e3f9230
YM
118392013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11840
11841 * frame.el (display-monitor-attributes-list)
11842 (frame-monitor-attributes): New functions.
11843
203a5572
LL
118442013-05-06 Leo Liu <sdl.web@gmail.com>
11845
11846 * progmodes/octave.el (octave-syntax-propertize-function): Change
11847 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11848 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11849 (octave-completion-at-point): Rename from
203a5572
LL
11850 octave-completion-at-point-function.
11851 (inferior-octave-directory-tracker): Robustify.
11852 (octave-text-functions): Remove and fix its uses. No such things
11853 any more.
11854
ee6cff99
SM
118552013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * emacs-lisp/trace.el (trace--display-buffer): New function.
11858 (trace-make-advice): Use it.
11859
32985194
JL
118602013-05-06 Juri Linkov <juri@jurta.org>
11861
11862 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11863 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11864 Doc fix.
11865 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11866 in the help string. (Bug#12985)
11867
a1c700de
KD
118682013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11869
11870 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11871
c67c0839
SM
118722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11873
323885fd
SM
11874 * progmodes/perl-mode.el: Add support for here documents.
11875 (perl-syntax-propertize-function): Match here-doc markers.
11876 (perl-syntax-propertize-special-constructs): Find their end.
11877 (perl-imenu-generic-expression): Use [:alnum:].
11878
c67c0839
SM
11879 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11880 (advice--add-function): Refresh the advice if already present
11881 (bug#14317).
11882
d491e7a8
IA
118832013-05-06 Ivan Andrus <darthandrus@gmail.com>
11884
11885 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11886
ddf9925e
GM
118872013-05-06 Glenn Morris <rgm@gnu.org>
11888
7cc3af27
GM
11889 * w32-fns.el (w32-charset-info-alist): Declare.
11890
16e343d6
GM
11891 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11892 of its defcustom properties.
11893 (eshell-cmpl-initialize): No need to load pcomplete.
11894
7d889a47
GM
11895 * generic-x.el: No need to require comint when compiling.
11896
ddf9925e
GM
11897 * net/eudc-export.el: Make it loadable without bbdb.
11898 (top-level): Use require rather than load-library.
11899 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11900 (eudc-batch-export-records-to-bbdb)
11901 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11902 Require bbdb.
11903
1e2c18df
SM
119042013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11907 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11908 some tweaks, instead.
11909
02502a5f
LL
119102013-05-05 Leo Liu <sdl.web@gmail.com>
11911
11912 * progmodes/octave.el (octave-font-lock-keywords)
11913 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11914 (inferior-octave-send-list-and-digest): Improve error message.
11915 (octave-mode, inferior-octave-mode): Use setq-local.
11916 (octave-help): Set info-lookup-mode.
11917
0dc04f42
RS
119182013-05-05 Richard Stallman <rms@gnu.org>
11919
6c54491c
RS
11920 * vc/compare-w.el (compare-windows-whitespace):
11921 Treat no-break space as whitespace.
11922
0dc04f42
RS
11923 * mail/rmailsum.el (rmail-summary-rmail-update):
11924 Detect empty summary and don't change selected message.
11925 (rmail-summary-goto-msg): Likewise.
11926
df8f35df
RS
11927 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11928 Doc fixes, rename args.
11929
5356e1a3
AM
119302013-05-05 Alan Mackenzie <acm@muc.de>
11931
11932 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11933
d44014cb
JL
119342013-05-05 Juri Linkov <juri@jurta.org>
11935
11936 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11937 to not add the length of the summary segment to the return value.
11938 (Bug#14125)
11939
c129b51f
LL
119402013-05-05 Leo Liu <sdl.web@gmail.com>
11941
11942 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11943 (inferior-octave-output-filter): Remove.
11944 (octave-send-region, inferior-octave-startup): Fix callers.
11945 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11946 (octave-binary-file-extensions): New user variable.
11947 (octave-find-definition): Confirm if opening binary files.
11948 (octave-help-file): Use octave-find-definition to get the binary
11949 confirmation.
11950 (octave-help): Adjust for octave-help-file change.
11951
aa7dab97
SM
119522013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11955 Merge the two entries that handle function definitions.
11956 (pascal--syntax-propertize): New const.
11957 (pascal-mode): Use it. Use setq-local.
11958
fd3a9a6b
GM
119592013-05-04 Glenn Morris <rgm@gnu.org>
11960
11961 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11962 (diary-from-outlook): Respect diary-from-outlook-function.
11963
30c7e542
SM
119642013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11967 Move the declaration from C.
11968 (read-minibuffer, eval-minibuffer): Move from C.
11969 (completion-setup-function): Avoid minibuffer-completion-contents.
11970
b54f978b
LL
119712013-05-03 Leo Liu <sdl.web@gmail.com>
11972
11973 * progmodes/octave.el (octave-font-lock-keywords): Do not
11974 dehighlight 'end' in comments or strings.
30c7e542
SM
11975 (octave-completing-read, octave-goto-function-definition):
11976 New helpers.
d4d0f9b3
LL
11977 (octave-help-buffer): New user variable.
11978 (octave-help-file, octave-help-function): New button types.
11979 (octave-help): New command and bind it to C-h ;.
11980 (octave-find-definition): New command and bind it to M-.
d74a1581 11981 (user-error): Alias to error if not defined.
b54f978b 11982
27135018
LL
119832013-05-02 Leo Liu <sdl.web@gmail.com>
11984
11985 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11986 for \. (bug#14332)
11987 (octave-font-lock-keywords): Include [ and {.
11988
0d634d3a
LL
119892013-05-02 Leo Liu <sdl.web@gmail.com>
11990
11991 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11992 (inferior-octave): Remove calling comint-mode and return the buffer.
11993 (inferior-octave-startup): Cosmetic changes.
11994
b4c8295e
LL
119952013-05-02 Leo Liu <sdl.web@gmail.com>
11996
30c7e542
SM
11997 * progmodes/octave.el (octave-syntax-propertize-function):
11998 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11999
f12ad6ec
GM
120002013-05-02 Glenn Morris <rgm@gnu.org>
12001
12002 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12003 * desktop.el (vc-dir-mode): Just autoload it here.
12004
30cac1e0
AM
120052013-05-02 Alan Mackenzie <acm@muc.de>
12006
12007 Eliminate variable c-standard-font-lock-fontify-region-function.
12008 * progmodes/cc-mode.el
12009 (c-standard-font-lock-fontify-region-function): Remove.
12010 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12011
d8ef28b1
LL
120122013-05-01 Leo Liu <sdl.web@gmail.com>
12013
2640d52e 12014 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12015 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12016 variables were removed from Octave in 2007.
d8ef28b1
LL
12017 (inferior-octave-startup): Fix uses.
12018 (comint-line-beginning-position): Remove compatibility code for
12019 emacs 21.
12020
ac63ec89
JL
120212013-05-01 Juri Linkov <juri@jurta.org>
12022
12023 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12024
9e9be37c
JL
120252013-05-01 Juri Linkov <juri@jurta.org>
12026
12027 * comint.el (comint-previous-matching-input): Don't print message
12028 "History item: %d" when `isearch-mode' is active.
12029 (comint-history-isearch-message): Print message "History item: %d"
12030 when `comint-input-ring-index' is not empty and this function is
12031 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12032
9b92c13b
LL
120332013-05-01 Leo Liu <sdl.web@gmail.com>
12034
12035 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12036 definitions. Use completion-at-point to insert keywords.
12037 (octave-abbrev-start): Remove.
12038 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12039
b12d33d7
LL
120402013-04-30 Leo Liu <sdl.web@gmail.com>
12041
12042 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12043 change.
12044
3d1c39fa
AM
120452013-04-30 Alan Mackenzie <acm@muc.de>
12046
12047 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12048 * progmodes/cc-engine.el (c-back-over-member-initializers):
12049 new function.
3d1c39fa
AM
12050 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12051 (most) member init lists.
12052
5147fc17
RS
120532013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12054
12055 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12056 variable.
12057
5b78d7fc
LL
120582013-04-30 Leo Liu <sdl.web@gmail.com>
12059
12060 * progmodes/octave.el (octave-variables): Remove. No builtin
12061 variables any more. All converted to functions.
12062 (octave-font-lock-keywords, octave-completion-at-point-function):
12063 Fix uses.
12064 (octave-font-lock-texinfo-comment): New user variable.
12065 (octave-texinfo-font-lock-keywords): New variable for texinfo
12066 comment block.
12067 (octave-function-comment-block): New face.
12068 (octave-font-lock-texinfo-comment): New function.
12069 (octave-mode): Font lock texinfo comment block.
12070
38d8527b
LL
120712013-04-29 Leo Liu <sdl.web@gmail.com>
12072
12073 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12074 indexing expression.
12075 (octave-continuation-string): Do not use \.
12076 (inferior-octave-complete-impossible): Remove.
12077 (inferior-octave-completion-table)
12078 (inferior-octave-completion-at-point): Remove its uses.
12079 (inferior-octave-startup): completion_matches was introduced to
12080 Octave in 1996 so safe to assume it.
12081 (octave-function-file-comment): Improve to follow how Octave does it.
12082 (octave-update-function-file-comment): Tweak.
12083
2ec12cb0
LL
120842013-04-29 Leo Liu <sdl.web@gmail.com>
12085
12086 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12087 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12088 (octave-function-file-comment): Fix typo.
12089 (octave-sync-function-file-names): Use read-char-choice.
12090
6eaed048
JB
120912013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12092
12093 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12094 to t for the less important warnings.
12095
3ffa2d4f
DH
120962013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12097
12098 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12099
685c9501
GM
121002013-04-27 Glenn Morris <rgm@gnu.org>
12101
12102 * vc/log-view.el (log-view-current-entry):
12103 Treat "---" separator lines as part of the following rev. (Bug#14169)
12104
0208ede7
JL
121052013-04-27 Juri Linkov <juri@jurta.org>
12106
12107 * subr.el (read-number): Doc fix about using it by interactive
12108 code letter `n'. (Bug#14254)
12109
5db9dace
JL
121102013-04-27 Juri Linkov <juri@jurta.org>
12111
12112 * desktop.el (desktop-auto-save-timeout): New option.
12113 (desktop-file-checksum): New variable.
12114 (desktop-save): Add optional arg `auto-save' and don't auto-save
12115 if nothing changed.
12116 (desktop-auto-save-timer): New variable.
12117 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12118 (after-init-hook): Call `desktop-auto-save-set-timer'.
12119 Suggested by Reuben Thomas <rrt@sc3d.org> in
12120 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12121
b7260dd4
LL
121222013-04-27 Leo Liu <sdl.web@gmail.com>
12123
12124 * progmodes/octave.el (octave-function-file-p)
12125 (octave-skip-comment-forward, octave-function-file-comment)
12126 (octave-update-function-file-comment): New functions.
12127 (octave-mode-map): Bind C-c ; to
12128 octave-update-function-file-comment.
12129 (octave-mode-menu): Add octave-update-function-file-comment.
12130 (octave-mode, inferior-octave-mode): Fix doc-string.
12131 (octave-insert-defun): Conform to Octave's coding convention.
12132 (Bug#14285)
12133
12134 * files.el (basic-save-buffer): Don't let errors in
12135 before-save-hook prevent saving buffer.
12136
c46da669
RW
121372013-04-20 Roland Winkler <winkler@gnu.org>
12138
12139 * faces.el (read-face-name): Use completing-read if arg multiple
12140 is nil.
12141
a81ee1eb
IL
121422013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12143
12144 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12145 displayed, move point to after the totals line.
12146 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12147 for the details.
12148
4fac34ce
SM
121492013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12152 Add current dir to the load-path.
12153 (package-generate-autoloads): Don't rely on
12154 autoload-ensure-default-file.
12155
f6bfc063
RT
121562013-04-26 Reuben Thomas <rrt@sc3d.org>
12157
d40ab5cf
BG
12158 * textmodes/remember.el (remember-store-in-files): Document that
12159 the file name format is passed to `format-time-string'.
f6bfc063 12160
e55d3b04
LL
121612013-04-26 Leo Liu <sdl.web@gmail.com>
12162
12163 * progmodes/octave.el (octave-sync-function-file-names): New function.
12164 (octave-mode): Use it in before-save-hook.
12165
e53052d3
SM
121662013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12167
140ef50c
SM
12168 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12169 (bug#14274).
12170
e53052d3
SM
12171 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12172 \n and comment, even if it's not an implicit ; (bug#14218).
12173
af80458d 121742013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12175
12176 * subr.el (read-number): Once more use `read' rather than
12177 `string-to-number', to trap non-numeric input. (Bug#14254)
12178
af80458d 121792013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12180
12181 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12182 Use `syntax-multiline' text property consistently instead of
8a621d53 12183 `font-lock-multiline'. (Bug#14237)
70203c2e 12184
e6ea1f6c
GM
121852013-04-26 Glenn Morris <rgm@gnu.org>
12186
12187 * emacs-lisp/shadow.el (list-load-path-shadows):
12188 No longer necessary to check for duplicate simple.el, since
12189 2012-07-07 change to init_lread to not include installation lisp
12190 directories in load-path when running uninstalled. (Bug#14270)
12191
070ccca4
LL
121922013-04-26 Leo Liu <sdl.web@gmail.com>
12193
12194 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12195 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12196 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12197 octave-in-string-or-comment-p.
12198 (octave-in-comment-p, octave-in-string-p)
12199 (octave-in-string-or-comment-p): Replace defsubst with defun.
12200
9d1c5fb6
PE
122012013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12202
12203 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12204
c034abda
BG
122052013-04-25 Bastien Guerry <bzg@gnu.org>
12206
12207 * textmodes/remember.el (remember-data-directory)
12208 (remember-directory-file-name-format): Fix custom types.
12209
584ea277
LL
122102013-04-25 Leo Liu <sdl.web@gmail.com>
12211
e53052d3
SM
12212 * progmodes/octave.el (octave-completion-at-point-function):
12213 Make use of inferior octave process.
584ea277
LL
12214 (octave-initialize-completions): Remove.
12215 (inferior-octave-completion-table): New function.
12216 (inferior-octave-completion-at-point): Use it.
12217 (octave-completion-alist): Remove.
12218
1693b06a
SM
122192013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12222 (opascal-mode-syntax-table): New var.
12223 (opascal-literal-kind, opascal-is-literal-end)
12224 (opascal-literal-token-at): Rewrite.
12225 (opascal--literal-start-re, opascal-font-lock-keywords)
12226 (opascal--syntax-propertize): New constants.
12227 (opascal-font-lock-defaults): Adjust.
12228 (opascal-mode): Use them. Set comment-<foo> variables as well.
12229 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12230 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12231 (delphi-other-face, opascal-other-face): Remove face variables.
12232 (opascal-save-state): Remove macro.
12233 (opascal-fontifying-progress-step): Remove constant.
12234 (opascal--ignore-changes): Remove var.
12235 (opascal-set-token-property, opascal-parse-next-literal)
12236 (opascal-is-stable-literal, opascal-complete-literal)
12237 (opascal-is-literal-start, opascal-face-of)
12238 (opascal-parse-region, opascal-parse-region-until-stable)
12239 (opascal-fontify-region, opascal-after-change)
12240 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12241 (opascal-debug-parse-region, opascal-debug-parse-window)
12242 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12243 (opascal-debug-fontify-buffer): Remove.
12244 (opascal-debug-mode-map): Adjust accordingly.
12245
be64c05d
LL
122462013-04-25 Leo Liu <sdl.web@gmail.com>
12247
12248 Merge octave-mod.el and octave-inf.el into octave.el with some
12249 cleanups.
12250 * progmodes/octave.el: New file renamed from octave-mod.el.
12251 * progmodes/octave-inf.el: Merged into octave.el.
12252 * progmodes/octave-mod.el: Renamed to octave.el.
12253
d79d37bd
TH
122542013-04-25 Tassilo Horn <tsdh@gnu.org>
12255
12256 * textmodes/reftex-vars.el
12257 (reftex-label-ignored-macros-and-environments): New defcustom.
12258
12259 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12260
ced3fc5d
SM
122612013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12264 (smie-indent-keyword): Improve the check to ensure that the next
12265 comment is really on the same line.
12266 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12267
12268 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12269 semi-colons if the line is not otherwise empty (bug#14218).
12270
1c141dad
GM
122712013-04-25 Glenn Morris <rgm@gnu.org>
12272
12273 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12274
5058062a
SM
122752013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * progmodes/opascal.el (opascal-set-token-property): Rename from
12278 opascal-set-text-properties and only set `token' (bug#14134).
12279 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12280 (opascal-literal-text-properties): Remove.
12281 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12282 Adjust callers.
12283
5db9dace 122842013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12285
12286 * textmodes/remember.el (remember-handler-functions): Add an
12287 option for a new handler `remember-store-in-files'.
12288 (remember-data-directory, remember-directory-file-name-format):
12289 New options.
12290 (remember-store-in-files): New function to store remember notes
12291 as separate files within a directory.
12292
4391916c
MH
122932013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12294
12295 * progmodes/compile.el (compilation-next-error-function):
12296 Pass "formats" to compilation-find-file (bug#11777).
12297
bb7cdf58
GM
122982013-04-24 Glenn Morris <rgm@gnu.org>
12299
3b8fe752 12300 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12301 * vc/vc-hg.el (vc-hg-print-log):
12302 * vc/vc-svn.el (vc-svn-print-log):
12303 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12304
bb7cdf58
GM
12305 * vc/vc-bzr.el (vc-bzr-print-log):
12306 * vc/vc-cvs.el (vc-cvs-print-log):
12307 * vc/vc-git.el (vc-git-print-log):
12308 * vc/vc-hg.el (vc-hg-print-log):
12309 * vc/vc-mtn.el (vc-mtn-print-log):
12310 * vc/vc-rcs.el (vc-rcs-print-log):
12311 * vc/vc-sccs.el (vc-sccs-print-log):
12312 * vc/vc-svn.el (vc-svn-print-log):
12313 * vc/vc.el (vc-print-log-internal): Doc fixes.
12314
b46a056e
GM
123152013-04-23 Glenn Morris <rgm@gnu.org>
12316
12317 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12318 Remove venerable code attempting to avoid substitute-command-keys.
12319
0aecf718
TH
123202013-04-23 Tassilo Horn <tsdh@gnu.org>
12321
4391916c
MH
12322 * textmodes/reftex-vars.el (reftex-label-regexps):
12323 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12324
117f94cf
SM
123252013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12326
4391916c 12327 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12328 Use lexical-binding.
12329 (jit-lock-force-redisplay): Use markers, check buffer's continued
12330 existence and beware narrowed buffers.
12331 (jit-lock-fontify-now): Adjust call accordingly.
12332
1d829c64
SM
123332013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12336 to avoid misleading the user.
12337
72d548a9
LL
123382013-04-22 Leo Liu <sdl.web@gmail.com>
12339
12340 * info-look.el: Prefer latex2e.info. (Bug#14240)
12341
d0853629
MA
123422013-04-22 Michael Albinus <michael.albinus@gmx.de>
12343
12344 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12345
12346 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12347 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12348 (tramp-set-completion-function, tramp-parse-putty):
12349 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12350 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12351 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12352 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12353 (tramp-call-local-coding-command): Use `tramp-call-process'
12354 instead of `tramp-compat-call-process'.
12355
12356 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12357 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12358 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12359 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12360 (tramp-maybe-send-script): Check for Perl binary.
12361 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12362
38cc0210
DU
123632013-04-22 Daiki Ueno <ueno@gnu.org>
12364
12365 * epg.el (epg-context-pinentry-mode): New function.
12366 (epg-context-set-pinentry-mode): New function.
12367 (epg--start): Pass --pinentry-mode option to gpg command.
12368
cc641ee1
XF
123692013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12370
02d844b5 12371 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12372 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12373 `completion-at-point'. (Bug#13774)
5d4e5c31 12374
cc641ee1
XF
12375 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12376 default key binding for `describe-distribution' has been moved to
12377 `C-h C-o'. (Bug#13970)
12378
1b42ee43
GM
123792013-04-21 Glenn Morris <rgm@gnu.org>
12380
12381 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12382 Add doc strings.
12383 (vc-print-log): Clarify interactive prompt.
12384
a6d63d97
GM
123852013-04-20 Glenn Morris <rgm@gnu.org>
12386
12387 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12388 No longer include timestamp etc information.
12389
d7f5c16f
RW
123902013-04-20 Roland Winkler <winkler@gnu.org>
12391
12392 * faces.el (read-face-name): Bug fix, return just one face if arg
12393 multiple is nil. (Bug#14209)
12394
bcd7a0a4
SM
123952013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12396
12397 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12398 (remove-function): Autoload.
12399
12400 * comint.el (comint-redirect-original-filter-function): Remove.
12401 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12402 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12403 (vc-cvs-annotate-command):
bcd7a0a4
SM
12404 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12405 * progmodes/prolog.el (prolog-consult-compile):
12406 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12407 Use add/remove-function instead.
12408 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12409 (gud-tooltip-process-output, gud-tooltip-tips):
12410 Use add/remove-function instead.
12411 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12412 (scheme-interaction-mode, exit-scheme-interaction-mode):
12413 Use add/remove-function instead.
12414
12415 * vc/vc-dispatcher.el: Use lexical-binding.
12416 (vc--process-sentinel): Rename from vc-process-sentinel.
12417 Change last arg to be the code to run. Don't use vc-previous-sentinel
12418 and vc-sentinel-commands any more.
12419 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12420 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12421
e36b2d20 124222013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12423
bcd7a0a4 12424 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12425 Handle function names with a single character. (Bug#14111)
4d3268ba 12426
781b4af6 124272013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12428
12429 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12430 for subroutines defined in an eval (bug#14182).
12431
7d688336
TV
124322013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12433
12434 * bookmark.el (bookmark-completing-read): Improve handling of empty
12435 string (bug#14176).
12436
31dcede0
SM
124372013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12438
12439 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12440
adc31213
FEG
124412013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12442
12443 New faster Imenu implementation (bug#14058).
12444 * progmodes/python.el:
12445 (python-imenu-prev-index-position):
12446 (python-imenu-format-item-label-function)
12447 (python-imenu-format-parent-item-label-function)
12448 (python-imenu-format-parent-item-jump-label-function):
12449 New vars.
12450 (python-imenu-format-item-label)
12451 (python-imenu-format-parent-item-label)
12452 (python-imenu-format-parent-item-jump-label)
12453 (python-imenu--put-parent, python-imenu--build-tree)
12454 (python-imenu-create-index, python-imenu-create-flat-index)
12455 (python-util-popn): New functions.
12456 (python-mode): Set imenu-create-index-function to
12457 python-imenu-create-index.
12458
cdca8255
SM
124592013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12460
12461 * winner.el (winner-active-region): Use region-active-p, activate-mark
12462 and deactivate-mark (bug#14225).
12463
12464 * simple.el (deactivate-mark): Don't inline it.
12465
beb42340
MA
124662013-04-18 Michael Albinus <michael.albinus@gmx.de>
12467
12468 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12469
fc7f4d7e
TH
124702013-04-18 Tassilo Horn <tsdh@gnu.org>
12471
12472 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12473 file extensions from the archive-mode entry in order to prefer
12474 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12475
29f47822
LL
124762013-04-18 Leo Liu <sdl.web@gmail.com>
12477
12478 * bindings.el (help-event-list): Add ?\?.
12479
d36ed1c8
SM
124802013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12481
12482 * subr.el (with-wrapper-hook): Declare obsolete.
12483 * simple.el (filter-buffer-substring-function): New hook.
12484 (filter-buffer-substring): Use it.
12485 (filter-buffer-substring-functions): Mark obsolete.
12486 * minibuffer.el (completion-in-region-function): New hook.
12487 (completion-in-region): Use it.
12488 (completion-in-region-functions): Mark obsolete.
12489 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12490 * abbrev.el (abbrev-expand-function): New hook.
12491 (expand-abbrev): Use it.
12492 (abbrev-expand-functions): Mark obsolete.
12493 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12494 and :filter-return.
12495
04754d36
FEG
124962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12497
12498 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12499 and do not care about match data.
12500
dd8791e9
SM
125012013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12504 completion tables when completing error conditions and
12505 `declare' arguments.
12506 (lisp-complete-symbol, field-complete): Mark as obsolete.
12507 (check-parens): Unmatched parens are user errors.
12508 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12509
ffe54a13
AM
125102013-04-17 Michal Nazarewicz <mina86@mina86.com>
12511
dd8791e9
SM
12512 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12513 command changed buffer (ie. `flyspell-pre-buffer' is not current
12514 buffer), which prevents making decisions based on invalid value of
12515 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12516 cause an error when `flyspell-pre-point' was nil after switching
12517 buffers.
12518 (flyspell-post-command-hook): No longer needs to change buffers when
12519 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12520
ec7e39f2
AM
125212013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12522
12523 * textmodes/ispell.el (ispell-add-per-file-word-list):
12524 Fix `flyspell-correct-word-before-point' error when accepting
12525 words and `coment-padding' is an integer by using
12526 `comment-normalize-vars' (Bug #14214).
12527
083850a6
FEG
125282013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12529
12530 New defun movement commands.
12531 * progmodes/python.el (python-nav--syntactically)
12532 (python-nav--forward-defun, python-nav-backward-defun)
12533 (python-nav-forward-defun): New functions.
12534
619ed6e1
FEG
125352013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12536
12537 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12538 (python-syntax-context): Use named compiler-macro for backwards
12539 compatibility with Emacs 24.x.
12540
7a1beb6c
LL
125412013-04-17 Leo Liu <sdl.web@gmail.com>
12542
12543 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12544 octave-hide-process-buffer.
12545
2d3fa3e5
SM
125462013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12547
12548 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12549 (bug#14216).
12550
7ce5be54
JPG
125512013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12552
12553 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12554 Fix adjustment of offset when receiving incomplete responses from GDB
12555 (bug#14129).
12556
351edece
SM
125572013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12560 python-mode-abbrev-table.
12561 (python-skeleton-define): Adjust accordingly.
12562 (python-mode-abbrev-table): New table that inherits from it so that
12563 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12564
12565 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12566 (abbrev-symbol): Use it.
12567 (abbrev--before-point): Use it since we already handle inheritance.
12568
613f9481
LL
125692013-04-16 Leo Liu <sdl.web@gmail.com>
12570
12571 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12572 binding to info-lookup-symbol.
12573
51646b62
JB
125742013-04-16 Juanma Barranquero <lekktu@gmail.com>
12575
12576 * minibuffer.el (completion--twq-all):
12577 * term/ns-win.el (ns-initialize-window-system):
12578 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12579
efb3f01d
SM
125802013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12581
36c0a301
SM
12582 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12583 global bindings.
12584
efb3f01d
SM
12585 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12586
fb549d64
DG
125872013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12588
12589 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12590 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12591 to nil.
12592 (ruby-end-of-defun): Remove the unused arg, change the docstring
12593 to reflect that this function is only used as the value of
12594 `end-of-defun-function'.
12595 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12596 to reflect an earlier change that beginning/end-of-defun functions
12597 jump between methods in a class definition, as well as top-level
12598 functions.
12599
21e8fe2f
SM
126002013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * minibuffer.el (minibuffer-complete): Don't just scroll
12603 a *Completions* that's been iconified.
12604 (minibuffer-force-complete): Make sure repetitions do cycle when going
12605 through completion-in-region -> minibuffer-complete.
12606
20e527d0
AM
126072013-04-15 Alan Mackenzie <acm@muc.de>
12608
12609 Correct the placement of c-cpp-delimiters when there're #s not at
12610 col 0.
12611
12612 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12613 place a submatch around the #.
21e8fe2f
SM
12614 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12615 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12616 on the #, not BOL.
12617
dabefae5
SM
126182013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12621 (advice--member-p): New arg `name'.
12622 (advice--add-function, advice-member-p): Use it (bug#14202).
12623
85c9ab64
AM
126242013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12625
12626 Reformulate java imenu-generic-expression.
12627 The old expression contained ill formed regexps.
12628
12629 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12630 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12631 (cc-imenu-java-method-arg-regexp): New defconsts.
12632 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12633 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12634 handling of spaces in the regexp.
12635
0f821d99
AM
126362013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12637
12638 * textmodes/ispell.el (ispell-command-loop): Remove
12639 flyspell highlight of a word when ispell accepts it (bug #14178).
12640
eb922adf
MA
126412013-04-15 Michael Albinus <michael.albinus@gmx.de>
12642
12643 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12644 uses code from the previous `ange-ftp-run-real-handler'.
12645 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12646 only in case that function exist. This is needed for proper
12647 unloading of Tramp.
12648
4d9a0979
TH
126492013-04-15 Tassilo Horn <tsdh@gnu.org>
12650
12651 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12652
12653 * textmodes/reftex.el (reftex-compile-variables): Use it.
12654
a829b0dc
SM
126552013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12656
91e8293c
SM
12657 * files.el (normal-mode): Only use default major-mode if no other mode
12658 was specified.
12659
830aed4d
SM
12660 * emacs-lisp/trace.el (trace-values): New function.
12661
a829b0dc
SM
12662 * files.el: Allow : in local variables (bug#14089).
12663 (hack-local-variable-regexp): New var.
12664 (hack-local-variables-prop-line, hack-local-variables): Use it.
12665
7ae9f0fb
RW
126662013-04-13 Roland Winkler <winkler@gnu.org>
12667
12668 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12669 data before it gets modified by bibtex-beginning-of-entry.
12670
6646e848
RW
126712013-04-13 Roland Winkler <winkler@gnu.org>
12672
12673 * textmodes/bibtex.el (bibtex-url): Doc fix.
12674
126752013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12676
12677 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12678 does not visit a BibTeX file, exclude it from the list of buffers
12679 returned by bibtex-initialize.
12680
0aa3616e
SB
126812013-04-13 Stephen Berman <stephen.berman@gmx.net>
12682
12683 * window.el (split-window): Remove interactive form, since as a
12684 command this function is a special case of split-window-below.
12685 Correct doc string.
12686
011cddd6
RW
126872013-04-12 Roland Winkler <winkler@gnu.org>
12688
12689 * faces.el (read-face-name): Do not override value of arg default.
12690 Allow single faces and strings as default values. Remove those
12691 elements from return value that are not faces.
12692 (describe-face): Simplify.
12693 (face-at-point): New optional args thing and multiple so that this
12694 function can provide the same functionality previously provided by
12695 read-face-name.
12696 (make-face-bold, make-face-unbold, make-face-italic)
12697 (make-face-unitalic, make-face-bold-italic, invert-face)
12698 (modify-face, read-face-and-attribute): Use face-at-point.
12699
12700 * cus-edit.el (customize-face, customize-face-other-window)
12701 * cus-theme.el (custom-theme-add-face)
12702 * face-remap.el (buffer-face-set)
12703 * facemenu.el (facemenu-set-face): Use face-at-point.
12704
f24e0036
MA
127052013-04-12 Michael Albinus <michael.albinus@gmx.de>
12706
12707 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12708
da3cda2d
TH
127092013-04-10 Tassilo Horn <tsdh@gnu.org>
12710
12711 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12712 off leading { and trailing } from field values.
12713
15e54145
SM
127142013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12715
78ce603d
SM
12716 * emacs-lisp/timer.el (timer--check): New function.
12717 (timer--time, timer-set-function, timer-event-handler): Use it.
12718 (timer-set-idle-time): Simplify.
12719 (timer--activate): CSE.
12720 (timer-event-handler): Give more info in error message.
12721 (internal-timer-start-idle): New function, moved from C.
12722
15e54145
SM
12723 * mpc.el (mpc-proc): Add `restart' argument.
12724 (mpc-proc-cmd): Use it.
12725 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12726 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12727 less often.
12728
7144c627
MY
127292013-04-10 Masatake YAMATO <yamato@redhat.com>
12730
12731 * progmodes/sh-script.el: Implement `sh-mode' own
12732 `add-log-current-defun-function' (bug#14112).
12733 (sh-current-defun-name): New function.
12734 (sh-mode): Use the function.
12735
b39792eb
BG
127362013-04-09 Bastien Guerry <bzg@gnu.org>
12737
12738 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12739
8acdeb71
SM
127402013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12741
6fcdab68
SM
12742 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12743
8acdeb71
SM
12744 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12745 timer (bug#14156).
12746
e3e7b504
NF
127472013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12748
12749 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12750 declaration.
12751
201bb296
LL
127522013-04-07 Leo Liu <sdl.web@gmail.com>
12753
12754 * pcmpl-x.el: New file.
12755
ebb19708
DA
127562013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12757
12758 Do not set x-display-name until X connection is established.
12759 This is needed to prevent from weird situation described at
12760 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12761 * frame.el (make-frame): Set x-display-name after call to
12762 window system initialization function, not before.
12763 * term/x-win.el (x-initialize-window-system): Add optional
12764 display argument and use it.
12765 * term/w32-win.el (w32-initialize-window-system):
12766 * term/ns-win.el (ns-initialize-window-system):
12767 * term/pc-win.el (msdos-initialize-window-system):
12768 Add compatible optional display argument.
12769
33bb237a
EZ
127702013-04-06 Eli Zaretskii <eliz@gnu.org>
12771
12772 * files.el (normal-backup-enable-predicate): On MS-Windows and
12773 MS-DOS compare truenames of temporary-file-directory and of the
12774 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12775 don't fail comparison by compare-strings. Also, compare file
12776 names case-insensitively on MS-Windows and MS-DOS.
12777
134abf1f
SM
127782013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12779
12780 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12781 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12782
d695cb94
DG
127832013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12784
e3e7b504
NF
12785 * whitespace.el (whitespace-color-on, whitespace-color-off):
12786 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12787
f4ad7ea1 127882013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12789
12790 * ispell.el (ispell-set-spellchecker-params):
12791 Really set `ispell-args' for all equivs.
12792
632556e4
SM
127932013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12794
12795 * ido.el (ido-completions): Use extra elements of ido-decorations
12796 (bug#14143).
12797 (ido-decorations): Update docstring.
12798
2a417372
MA
127992013-04-05 Michael Albinus <michael.albinus@gmx.de>
12800
12801 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12802 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12803 nil during initialization, in order not to miss changes since the
12804 file was opened. (Bug#14140)
12805
fc164b0c
LL
128062013-04-05 Leo Liu <sdl.web@gmail.com>
12807
12808 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12809
0ccecc08
JB
128102013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12811
12812 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12813
51af1aa2
GM
128142013-04-04 Glenn Morris <rgm@gnu.org>
12815
12816 * electric.el (electric-pair-inhibit-predicate): Add :version.
12817
b208ebc6
SM
128182013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12819
12820 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12821 when a package is required several times (bug#14082).
12822
f3d3eaf0
RW
128232013-04-04 Roland Winkler <winkler@gnu.org>
12824
12825 * faces.el (read-face-name): Behave as promised by the docstring.
12826 Assume that arg default is a list of faces.
12827 (describe-face): Call read-face-name with list of default faces.
12828
2575da50
TV
128292013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12830
12831 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12832 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12833 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12834 the header.
12835 (bookmark-exit-hook-internal): Save even if list is empty.
12836
397703b4
YH
128372013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12838
12839 * emacs-lisp/package.el (package-pinned-packages): New var.
12840 (package--add-to-archive-contents): Obey it (bug#14118).
12841
691e26ae
AM
128422013-04-03 Alan Mackenzie <acm@muc.de>
12843
8a621d53
JB
12844 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12845 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12846
12847 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12848 parameter `not-in-delimiter'. Handle being inside comment opener.
12849 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12850 character in case we're typing a '*' after a '/'.
12851 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12852 instead by passing the parameter to c-state-pp-to-literal.
12853
12854 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12855 for elt. 7 of a parse state.
12856
4b725a70
PE
128572013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12858
12859 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12860 * international/latin1-disp.el, international/mule-util.el:
12861 * language/cyril-util.el, language/european.el, language/ind-util.el:
12862 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12863 * language/tibetan.el, language/viet-util.el:
12864 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12865
15c579f0
SM
128662013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12869 (electric-pair-post-self-insert-function): Use it.
12870 (electric-pair-default-inhibit): New function, extracted from
12871 electric-pair-post-self-insert-function.
12872
a77e2924
RW
128732013-03-31 Roland Winkler <winkler@gnu.org>
12874
12875 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12876
2bd8a4a8
SM
128772013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12880
8d3655be 128812013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12882
12883 Un-indent after "pass" and "return" statements (Bug#13888)
12884 * progmodes/python.el (python-indent-block-enders): New var.
12885 (python-indent-calculate-indentation): Use it.
12886
8d3655be 128872013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12888
12889 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12890 defun. Defining it as defalias could introduce too eager
12891 byte-compiler optimization. (Bug#14030)
12892
8d3655be 128932013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12894
12895 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12896
0b1619da
LL
128972013-03-30 Leo Liu <sdl.web@gmail.com>
12898
12899 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12900 (kmacro-execute-from-register): Pass the keyboard macro to
12901 kmacro-call-macro or repeating won't work correctly.
12902
0b938190
TZ
129032013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12904
12905 * progmodes/subword.el: Back to using `forward-symbol'.
12906
12907 * subr.el (forward-whitespace, forward-symbol)
12908 (forward-same-syntax): Move from thingatpt.el.
12909
35710234
LL
129102013-03-29 Leo Liu <sdl.web@gmail.com>
12911
12912 * kmacro.el (kmacro-to-register): New command.
12913 (kmacro-execute-from-register): New function.
12914 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12915
efc0bb73
SM
129162013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * mpc.el: Use defvar-local and setq-local.
12919 (mpc--proc-connect): Connection failures are not bugs.
12920 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12921 (mpc-volume-map): Bind to the up-events.
12922
75a2f981
TZ
129232013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12924
12925 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12926 instead of `forward-symbol'.
12927
17c781d1
SM
129282013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12931 (edebug--recursive-edit): Use it.
12932 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12933 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12934
f67bfbcf
LL
129352013-03-28 Leo Liu <sdl.web@gmail.com>
12936
12937 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12938
b59f639d
EZ
129392013-03-27 Eli Zaretskii <eliz@gnu.org>
12940
12941 * facemenu.el (list-colors-callback): New defvar.
12942 (list-colors-redisplay): New function.
12943 (list-colors-display): Install list-colors-redisplay as the
12944 revert-buffer-function. (Bug#14063)
12945
f557c1b1
SM
129462013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12947
b1da2957
SM
12948 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12949 and suffixes don't overlap (bug#14061).
12950
f557c1b1
SM
12951 * case-table.el: Use lexical-binding.
12952 (case-table-get-table): New function.
12953 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12954
002668e1
TZ
129552013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12956
12957 * progmodes/subword.el: Add `superword-mode' to do word motion
12958 over symbol_words (parallels and leverages `subword-mode' which
12959 does word motion inside MixedCaseWords).
12960
73572c72
AG
129612013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12962
78b8f320 12963 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12964 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12965
69b2c07e
SM
129662013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12969 Change return value to be a sexp. Delay `get-buffer' to after
12970 restoring the desktop (bug#13951).
12971
08bb5ee2
LL
129722013-03-26 Leo Liu <sdl.web@gmail.com>
12973
12974 * register.el: Move semantic tag handling back to
12975 cedet/semantic/senator.el. (Bug#14052)
12976
8d4c974e
SM
129772013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12980 into the prompt either (bug#13963).
12981
b234d92c
SM
129822013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12985 part of "(error-foo)".
12986
ddfa3cb4
JL
129872013-03-24 Juri Linkov <juri@jurta.org>
12988
12989 * replace.el (list-matching-lines-prefix-face): New defcustom.
12990 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12991 `occur-engine' if `face-differs-from-default-p' returns t.
12992 (occur-engine): Add `,' inside backquote construct to evaluate
12993 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12994 Pass `prefix-face' to the functions `occur-context-lines' and
12995 `occur-engine-add-prefix'.
12996 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12997 `prefix-face' and propertize the prefix with `prefix-face'.
12998 (Bug#14017)
12999
7b0e2f85
LL
130002013-03-24 Leo Liu <sdl.web@gmail.com>
13001
13002 * nxml/rng-valid.el (rng-validate-while-idle)
13003 (rng-validate-quick-while-idle): Guard against deleted buffer.
13004 (Bug#13999)
13005
13006 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13007 is the last entry in kill-buffer-hook.
13008
13009 * files.el (kill-buffer-hook): Doc fix.
13010
b3082f49
DG
130112013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13012
b234d92c
SM
13013 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13014 Make it safe-local.
bde73d27 13015
b3082f49
DG
13016 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13017
a320a2db
LL
130182013-03-23 Leo Liu <sdl.web@gmail.com>
13019
7e74b0fb
LL
13020 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13021 Remove.
13022
13023 * nxml/rng-valid.el (rng-validate-mode)
13024 (rng-after-change-function, rng-do-some-validation):
13025 * nxml/rng-maint.el (rng-validate-buffer):
13026 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13027 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13028 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13029 (nxml-extend-after-change-region): Use with-silent-modifications.
13030
a320a2db
LL
13031 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13032 timer-idle-list.
13033
13034 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13035 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13036 timer-idle-list. (Bug#13999)
13037
e38e6780
JL
130382013-03-23 Juri Linkov <juri@jurta.org>
13039
13040 * info.el (info-index-match): New face.
13041 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13042 main pattern and add text properties with the new face to matches
13043 in index entries relative to the beginning of the index entry.
13044 (Bug#14015)
13045
e8cc7880
DE
130462013-03-21 Eric Ludlam <zappo@gnu.org>
13047
39c87140 13048 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13049 Inhibit read only while inserting objects.
13050
9bb0d822
TZ
130512013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13052
13053 * progmodes/cfengine.el: Update docs to mention
13054 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13055 symbol motion. Remove "_" from the word syntax.
13056
aa703640
TZ
130572013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13058
13059 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13060 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13061
afff09d0
JL
130622013-03-20 Juri Linkov <juri@jurta.org>
13063
13064 * info.el (Info-next-reference-or-link)
13065 (Info-prev-reference-or-link): New functions.
13066 (Info-next-reference, Info-prev-reference): Use them.
13067 (Info-try-follow-nearest-node): Handle footnote navigation.
13068 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13069
9a1ff164
SM
130702013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13071
13072 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13073 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13074
2667d15d
PE
130752013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13076
13077 Suppress unnecessary non-ASCII chatter during build process.
13078 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13079 (batch-skkdic-convert): Suppress most of the chatter.
13080 It's not needed so much now that machines are faster,
13081 and its non-ASCII component was confusing; see Dmitry Gutov in
13082 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13083
438b0579
LL
130842013-03-20 Leo Liu <sdl.web@gmail.com>
13085
13086 * ido.el (ido-chop): Fix bug#10994.
13087
c128ab07
DG
130882013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13089
13090 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13091 Remove vars.
9a1ff164
SM
13092 (whitespace-color-on, whitespace-color-off):
13093 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13094
0e6008c5
SM
130952013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13098 remapping in mode-line.
13099 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13100
627b52b0
DG
131012013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13102
13103 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13104 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13105 (whitespace-font-lock-keywords): Change description.
13106 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13107 the constructed keywords instead.
13108 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13109
50c3a20b
LL
131102013-03-19 Leo Liu <sdl.web@gmail.com>
13111
13112 * progmodes/compile.el (compilation-display-error): New command.
13113 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13114 C-o. (Bug#13992)
13115
2aa2157b
PE
131162013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13117
13118 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13119
e477dbfa
JD
131202013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13121
13122 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13123
64ab82d1
MA
131242013-03-18 Michael Albinus <michael.albinus@gmx.de>
13125
13126 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13127
13128 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13129 * net/tramp-gvfs.el (top):
13130 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13131 (tramp-handle-shell-command): Use it.
13132 (tramp-dissect-file-name): Raise an error when hostname is a
13133 method name, and neither method nor user is specified.
13134
13135 * net/trampver.el: Update release number.
13136
33cef733
LL
131372013-03-18 Leo Liu <sdl.web@gmail.com>
13138
13139 Make sure eldoc can be turned off properly.
13140 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13141 eldoc-mode.
13142 (eldoc-display-message-p): Revert last change.
13143 (eldoc-display-message-no-interference-p)
13144 (eldoc-print-current-symbol-info): Tweak.
13145
2167b7b2
TH
131462013-03-18 Tassilo Horn <tsdh@gnu.org>
13147
13148 * doc-view.el (doc-view-new-window-function): Check the new window
13149 overlay's display property instead the char property of the
13150 buffer's first char. Use `with-selected-window' instead of
13151 `save-window-excursion' with `select-window'.
13152 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13153 display property instead the char property of the buffer's first char.
2167b7b2 13154
982efbcd
PE
131552013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13156
13157 Automate the build of ja-dic.el (Bug#13984).
13158 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13159 from the input, rather than assume that it's been done for us by the
13160 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13161 the current date into a ja-dic.el comment, as that complicates
13162 regression testing.
13163
2fcc7665
SM
131642013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13165
13166 * whitespace.el: Fix double evaluation.
13167 (whitespace-space, whitespace-hspace, whitespace-tab)
13168 (whitespace-newline, whitespace-trailing, whitespace-line)
13169 (whitespace-space-before-tab, whitespace-indentation)
13170 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13171 obsolete defvars.
13172 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13173 (whitespace-color-on): Use a single font-lock-add-keywords call.
13174 Fix double-evaluation of face variables.
13175
67c0a6e6
MA
131762013-03-17 Michael Albinus <michael.albinus@gmx.de>
13177
2fcc7665
SM
13178 * net/tramp-adb.el (tramp-adb-parse-device-names):
13179 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13180 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13181
69489f1d
LL
131822013-03-17 Leo Liu <sdl.web@gmail.com>
13183
13184 Extend eldoc to display info in the mode-line. (Bug#13978)
13185 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13186 (eldoc-mode-line-string): New variable.
13187 (eldoc-minibuffer-message): New function.
13188 (eldoc-message-function): New variable.
13189 (eldoc-message): Use it.
13190 (eldoc-display-message-p)
2fcc7665
SM
13191 (eldoc-display-message-no-interference-p):
13192 Support eldoc-post-insert-mode.
69489f1d
LL
13193
13194 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13195 (eval-expression): Run it.
13196
9c44569e
RW
131972013-03-17 Roland Winkler <winkler@gnu.org>
13198
13199 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13200 strings in the list of return values.
13201
327f1f6f
JB
132022013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13203
13204 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13205 radix before checking for HMS forms.
13206
67ed8fcd
LL
132072013-03-16 Leo Liu <sdl.web@gmail.com>
13208
13209 * progmodes/scheme.el: Add indentation and font-locking for λ.
13210 (Bug#13975)
13211
78be8b64 132122013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13213
13214 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13215 token before point (bug#13942).
13216
78be8b64 132172013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13218
95b43468 13219 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13220
98e775e6
EZ
132212013-03-16 Eli Zaretskii <eliz@gnu.org>
13222
13223 * startup.el (command-line-normalize-file-name): Fix handling of
13224 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13225 <xfq.free@gmail.com> in
13226 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13227
2edd6029
MA
132282013-03-15 Michael Albinus <michael.albinus@gmx.de>
13229
13230 Sync with Tramp 2.2.7.
13231
13232 * net/trampver.el: Update release number.
13233
d35f5864
TH
132342013-03-14 Tassilo Horn <tsdh@gnu.org>
13235
e903c210 13236 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13237 (doc-view-insert-image): Don't modify overlay associated to
13238 non-live windows, and implement horizontal centering of image in
13239 case it's smaller than the window.
13240 (doc-view-new-window-function): Force redisplay of new windows on
13241 doc-view buffers.
d35f5864 13242
1c4a85ed
KF
132432013-03-13 Karl Fogel <kfogel@red-bean.com>
13244
13245 * saveplace.el (save-place-alist-to-file): Don't sort
13246 `save-place-alist', just pretty-print it (bug#13882).
13247
85b66a21
MA
132482013-03-13 Michael Albinus <michael.albinus@gmx.de>
13249
a020afb9
JB
13250 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13251 Check whether `default-file-name-coding-system' is bound.
13252 It isn't in XEmacs.
85b66a21 13253
175600da
SM
132542013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13255
e7f7cb1a
SM
13256 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13257 backquotes for `obsolete' (bug#13929).
13258
175600da
SM
13259 * international/mule.el (find-auto-coding): Include file name in
13260 obsolescence warning (bug#13922).
13261
ca68a22e
TZ
132622013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13263
13264 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13265 for CFEngine 3-specific indentation.
13266 (cfengine3-indent-line): Use it. Fix up category regex.
13267 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13268
940e5099
SM
132692013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * type-break.el (type-break-file-name):
13272 * textmodes/remember.el (remember-data-file):
13273 * strokes.el (strokes-file):
13274 * shadowfile.el (shadow-initialize):
13275 * saveplace.el (save-place-file):
13276 * ps-bdf.el (bdf-cache-file):
13277 * progmodes/idlwave.el (idlwave-config-directory):
13278 * net/quickurl.el (quickurl-url-file):
13279 * international/kkc.el (kkc-init-file-name):
13280 * ido.el (ido-save-directory-list-file):
13281 * emulation/viper.el (viper-custom-file-name):
13282 * emulation/vip.el (vip-startup-file):
13283 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13284 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13285
cc725808
PE
132862013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13287
13288 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13289 * language/thai-word.el: Switch to UTF-8.
13290
a020afb9 13291See ChangeLog.16 for earlier changes.
e3d51b27
MR
13292
13293;; Local Variables:
13294;; coding: utf-8
e3d51b27
MR
13295;; End:
13296
ba318903 13297 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13298
13299 This file is part of GNU Emacs.
13300
13301 GNU Emacs is free software: you can redistribute it and/or modify
13302 it under the terms of the GNU General Public License as published by
13303 the Free Software Foundation, either version 3 of the License, or
13304 (at your option) any later version.
13305
13306 GNU Emacs is distributed in the hope that it will be useful,
13307 but WITHOUT ANY WARRANTY; without even the implied warranty of
13308 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13309 GNU General Public License for more details.
13310
13311 You should have received a copy of the GNU General Public License
13312 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.